CmdID / az / az servicebus / az servicebus namespace / az servicebus namespace network-rule-set
az servicebus namespace network-rule-set update
Update NetworkRuleSet for a Namespace. Azure CLI reference
1 example 6 options Its page in the Azure CLI reference
Examples
Update network rule properties of the given Namespace, can be used to update public network access, trusted service and default action.
az servicebus namespace network-rule-set update --resource-group myresourcegroup --namespace-name mynamespace --public-network-access EnabledIdentify--resource-groupName of resource group.--namespace-nameThe namespace name--public-network-accessThis determines if traffic is allowed over public network.Options
--default-actionDefault Action for Network Rule Set--enable-trusted-service-access, -tValue that indicates whether Trusted Service Access is Enabled or not.--ip-rulesList of IpRules--namespace-nameThe namespace name--public-network-accessThis determines if traffic is allowed over public network.--virtual-network-rulesList VirtualNetwork Rules