CmdID / az / az cosmosdb / az cosmosdb mongomi / az cosmosdb mongomi role
az cosmosdb mongomi role assignment
Manage Azure Cosmos DB MongoMI role assignments. Azure CLI extensions reference
6 commands 6 options Its page in the Azure CLI extensions reference
Commands
createCreate a MongoMI role assignment under an Azure Cosmos DB account.deleteDelete a MongoMI role assignment under an Azure Cosmos DB account.existsCheck if an Azure Cosmos DB role assignment exists.listList all MongoMI role assignments under an Azure Cosmos DB account.showShow the properties of a MongoMI role assignment under an Azure Cosmos DB account.updateUpdate a MongoMI role assignment under an Azure Cosmos DB account.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.