CmdID

CmdID / az / az cosmosdb / az cosmosdb postgres / az cosmosdb postgres role

az cosmosdb postgres role create

Create a new role or updates an existing role. Azure CLI reference

1 example 3 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create a new role for cluster

az cosmosdb postgres role create -n "testrole" --password "password" --cluster-name "test-cluster" -g "testGroup" --subscription "ffffffff-ffff-ffff-ffff-ffffffffffff"Identify
-nThe name of the cluster role.
--passwordThe password of the cluster role.
--cluster-nameThe name of the cluster.
-gName of resource group.
--subscriptionName or ID of subscription.

Options

3 in the Azure CLI reference
--cluster-nameThe name of the cluster.
--passwordThe password of the cluster role.
--role-name, --name, -nThe name of the cluster role.