az eventhubs namespace network-rule-set ip-rule

Manage Azure eventhubs ip-rules in networkruleSet for namespace.

Commands

Name Description Type Status
az eventhubs namespace network-rule-set ip-rule add

Add a IP-Rule for network rule of namespace.

Core GA
az eventhubs namespace network-rule-set ip-rule remove

Remove Ip-Rule from network rule of namespace.

Core GA

az eventhubs namespace network-rule-set ip-rule add

Add a IP-Rule for network rule of namespace.

az eventhubs namespace network-rule-set ip-rule add --name
                                                    --resource-group
                                                    [--ip-rule]

Examples

add a IP rule in NetworkruleSet for a namespace

az eventhubs namespace network-rule-set ip-rule add --resource-group myresourcegroup --namespace-name mynamespace --ip-rule ip-address=10.0.0.0/24 action=Allow

Required Parameters

--name --namespace-name -n

Name of the Namespace.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--ip-rule

List VirtualNetwork Rules.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az eventhubs namespace network-rule-set ip-rule remove

Remove Ip-Rule from network rule of namespace.

az eventhubs namespace network-rule-set ip-rule remove --name
                                                       --resource-group
                                                       [--ip-rule]

Examples

remove IP rule from NetworkruleSet for a namespace

az eventhubs namespace network-rule-set ip-rule remove --resource-group myresourcegroup --namespace-name mynamespace --ip-rule ip-address=10.0.0.0/24

Required Parameters

--name --namespace-name -n

Name of the Namespace.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--ip-rule

List VirtualNetwork Rules.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.