ConfigureCosmosClient(string, AzureKeyCredential)
public void ConfigureCosmosClient(string accountEndpoint, AzureKeyCredential authKeyOrResourceTokenCredential) 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/
authKeyOrResourceTokenCredentialAzureKeyCredentialAzure.AzureKeyCredentialwith master-key or resource token.
