CmdID / az / az cosmosdb / az cosmosdb postgres / az cosmosdb postgres firewall-rule
az cosmosdb postgres firewall-rule update
Update an existing cluster firewall rule. Azure CLI reference
1 example 4 options Its page in the Azure CLI reference
Examples
Update start ip address of the firewall rule of the cluster
az cosmosdb postgres firewall-rule update -n "rule1" --start-ip-address "0.0.0.1" --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.--cluster-nameThe name of the cluster.-gName of resource group.--subscriptionName or ID of subscription.Options
--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.