CmdID / az / az cosmosdb / az cosmosdb sql / az cosmosdb sql role
az cosmosdb sql role assignment
Manage Azure Cosmos DB SQL role assignments. Azure CLI reference
7 commands 6 options Its page in the Azure CLI reference
Commands
createCreate a SQL role assignment under an Azure Cosmos DB account.deleteDelete a SQL role assignment under an Azure Cosmos DB account.existsCheck if an Azure Cosmos DB role assignment exists.listList all SQL role assignments under an Azure Cosmos DB account.showShow the properties of a SQL role assignment under an Azure Cosmos DB account.updateUpdate a SQL role assignment under an Azure Cosmos DB account.waitPoll on a SQL role assignment until a specific condition is met.Options
--account-name, -aCosmosdb account name.--principal-id, -pAAD Object ID of the principal to which this Role Assignment is being granted.--role-assignment-id, -iOptional for Create.--role-definition-id, -dUnique ID of the Role Definition that this Role Assignment refers to.--role-definition-name, -nUnique Name of the Role Definition that this Role Assignment refers to.--scope, -sData plane resource path at which this Role Assignment is being granted.