Hi Amit Kumar,
Thank you for reaching out to us on the Microsoft Q&A forum.
As outlined in the documentation under the "Modify your function's JSON implementation code" section, step 2 specifies that we should replace "your-database" with the name of our Azure Cosmos DB account.
Please refer to the attached screenshot below for reference:
For example, you can update "connection": "your-database_DOCUMENTDB" to "connection": "mycosmosdb1234_DOCUMENTDB" in the function.json file.
Kindly note that there is no need to update the code of the function.json file in the document. The function.json file contains placeholder values (e.g., 'your-database') which should be substituted with our specific details wherever necessary.
Should you have further questions or need additional assistance, please feel free to reach out. We are happy to help you.
If you find this information beneficial, please indicate your acknowledgment by clicking the "Upvote" and "Accept Answer" buttons on the post.