CmdID / az / az documentdb / az documentdb mongocluster / az documentdb mongocluster firewall-rule
az documentdb mongocluster firewall-rule show
Get information about a mongo cluster firewall rule. Azure CLI extensions reference
1 example 2 options Its page in the Azure CLI extensions reference
Examples
Get a firewall rule.
az documentdb mongocluster firewall-rule show -n AllowOffice --cluster-name MyCluster -g MyResourceGroupIdentify-nThe name of the mongo cluster firewall rule.--cluster-nameThe name of the mongo cluster.-gName of resource group.Options
--cluster-nameThe name of the mongo cluster.--firewall-rule-name, --name, -nThe name of the mongo cluster firewall rule.