ConfigureCosmosClient(string, TokenCredential)
public void ConfigureCosmosClient(string accountEndpoint, TokenCredential tokenCredential) Configures the Cosmos DB client.
Parameters
accountEndpointstring- The account endpoint. In the form of , https://learn.microsoft.com/rest/api/cosmos-db/cosmosdb-resource-uri-syntax-for-resthttps://{databaseaccount}.documents.azure.com:443/
tokenCredentialTokenCredential- The token to provide AAD for authorization.
