az servicebus namespace network-rule-set virtual-network-rule
Manage Azure ServiceBus subnet-rule in networkruleSet for namespace.
Commands
Name | Description | Type | Status |
---|---|---|---|
az servicebus namespace network-rule-set virtual-network-rule add |
Add a Virtual-Network-Rule for network rule of namespace. |
Core | GA |
az servicebus namespace network-rule-set virtual-network-rule remove |
Remove network rule for a namespace. |
Core | GA |
az servicebus namespace network-rule-set virtual-network-rule add
Add a Virtual-Network-Rule for network rule of namespace.
az servicebus namespace network-rule-set virtual-network-rule add --namespace-name
--resource-group
[--subnet]
Examples
add a VirtualNetwork rule in NetworkruleSet for a namespace
az servicebus namespace network-rule-set virtual-network-rule add --resource-group myresourcegroup --namespace-name mynamespace --subnet id={subnetId} ignore-missing-endpoint=True
Required Parameters
Name of the Namespace.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
List VirtualNetwork Rules.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az servicebus namespace network-rule-set virtual-network-rule remove
Remove network rule for a namespace.
az servicebus namespace network-rule-set virtual-network-rule remove --namespace-name
--resource-group
[--subnet]
Examples
remove VirtualNetwork rule from NetworkruleSet of namespace
az servicebus namespace network-rule-set virtual-network-rule remove --resource-group myresourcegroup --namespace-name mynamespace --subnet id=/subscriptions/{subscriptionId}/resourceGroups/{resourcegroup}/providers/Microsoft.Network/virtualNetworks/{vnetname}/subnets/{subnetname}
Required Parameters
Name of the Namespace.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
List VirtualNetwork Rules.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.