Pretty sure this is a trivial question but couldn`t find any clue on the @azure/cosmos
package documentation.
I'm searching for something like we have in Azure CLI, this is a sample, but in @azure/cosmos
package. More help of what I want in az cosmosdb create
command documentation.
You are pointing to the Cosmos DB JS SQL SDK, which as the rest of the Cosmos DB SDKs (.NET, Java, Python) is used for Data Plane operations.
Creation of accounts is a Management operation.