Cosmos Db Throughput
Is there any option to retrieve Cosmos DB (SQL API) throughput programmatically. I'm using the below code to get the list of DB DocumentClient client = new DocumentClient(ClientURL, ClientKey,); var databaseList = client.CreateDatabaseQuery().ToList(); Next I wanted to know the throughput for each of the database. Please let me know if this is feasible You could refer to CreateOfferQuery method to get throughout settings of Database or Collections. Also,please refer to this rest api: https://docs.microsoft.com/en-us/rest/api/cosmos-db/get-an-offer 来源: https://stackoverflow.com/questions