Skip to content

Commit ab5f7c5

Browse files
authored
Merge pull request #307186 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents 99ae198 + b254312 commit ab5f7c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

articles/azure-functions/functions-add-output-binding-cosmos-db-vs-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ app = func.FunctionApp()
199199
@app.function_name(name="HttpTrigger1")
200200
@app.route(route="hello", auth_level=func.AuthLevel.ANONYMOUS)
201201
@app.queue_output(arg_name="msg", queue_name="outqueue", connection="AzureWebJobsStorage")
202-
@app.cosmos_db_output(arg_name="outputDocument", database_name="my-database", container_name="my-container", connection="CosmosDbConnectionSetting")
202+
@app.cosmos_db_output(arg_name="outputDocument", database_name="my-database", container_name="my-container", connection="CosmosDbConnectionString")
203203
def test_function(req: func.HttpRequest, msg: func.Out[func.QueueMessage],
204204
outputDocument: func.Out[func.Document]) -> func.HttpResponse:
205205
logging.info('Python HTTP trigger function processed a request.')

0 commit comments

Comments
 (0)