CmdID / az / az cosmosdb / az cosmosdb postgres / az cosmosdb postgres role
az cosmosdb postgres role show
Get information about a cluster role. Azure CLI reference
1 example 2 options Its page in the Azure CLI reference
Examples
Show the role of the cluster
az az cosmosdb postgres role show -n "testrole" --cluster-name "test-cluster" -g "testGroup" --subscription "ffffffff-ffff-ffff-ffff-ffffffffffff"IdentifyOptions
--cluster-nameThe name of the cluster.--role-name, --name, -nThe name of the cluster role.