CmdID

CmdID / az / az cosmosdb / az cosmosdb postgres / az cosmosdb postgres firewall-rule

az cosmosdb postgres firewall-rule create

Create a new cluster firewall rule or updates an existing cluster firewall rule. Azure CLI reference

1 example 4 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 firewall rule of the cluster

az cosmosdb postgres firewall-rule create -n "rule1" --start-ip-address "0.0.0.0" --end-ip-address "255.255.255.255" --cluster-name "test-cluster" -g "testGroup" --subscription "ffffffff-ffff-ffff-ffff-ffffffffffff"Identify
-nThe name of the cluster firewall rule.
--start-ip-addressThe start IP address of the cluster firewall rule.
--end-ip-addressThe end IP address of the cluster firewall rule.
--cluster-nameThe name of the cluster.
-gName of resource group.
--subscriptionName or ID of subscription.

Options

4 in the Azure CLI reference
--cluster-nameThe name of the cluster.
--end-ip-addressThe end IP address of the cluster firewall rule.
--firewall-rule-name, --name, -nThe name of the cluster firewall rule.
--start-ip-addressThe start IP address of the cluster firewall rule.