Share via


az eventhubs namespace application-group policy

Append or Remove application group policies.

Commands

Name Description Type Status
az eventhubs namespace application-group policy add

Appends an application group policy to the existing policy. This cmdlet can be used to append one or more throttling policies.

Core GA
az eventhubs namespace application-group policy remove

Removes an application group policy from the existing policies. This cmdlet can be used to remove one or more throttling policies.

Core GA

az eventhubs namespace application-group policy add

Experimental Preview Deprecated

Appends an application group policy to the existing policy. This cmdlet can be used to append one or more throttling policies.

az eventhubs namespace application-group policy add --policy-config
                                                    [--ids]
                                                    [--name]
                                                    [--namespace-name]
                                                    [--resource-group]
                                                    [--subscription]

Examples

Append 2 throttling policies to an application group. Maximum allowed throttling policies is 4.

az eventhubs namespace application-group policy add --namespace-name mynamespace -g MyResourceGroup --name myAppGroup --throttling-policy-config name=policy1 metric-id=OutgoingMessages rate-limit-threshold=10500 --throttling-policy-config name=policy2 metric-id=IncomingBytes rate-limit-threshold=20000

Required Parameters

--policy-config --throttling-policy --throttling-policy-config
Experimental Preview Deprecated

List of Throttling Policy Objects.

Optional Parameters

--ids
Experimental Preview Deprecated

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n
Experimental Preview Deprecated

Name of Application Group.

--namespace-name
Experimental Preview Deprecated

Name of Namespace.

--resource-group -g
Experimental Preview Deprecated

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

--subscription
Experimental Preview Deprecated

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

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query
Experimental Preview Deprecated

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

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

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

az eventhubs namespace application-group policy remove

Experimental Preview Deprecated

Removes an application group policy from the existing policies. This cmdlet can be used to remove one or more throttling policies.

az eventhubs namespace application-group policy remove --policy
                                                       [--ids]
                                                       [--name]
                                                       [--namespace-name]
                                                       [--resource-group]
                                                       [--subscription]

Examples

Removes a throttling policy from an application group myAppGroup.

az eventhubs namespace application-group policy remove --namespace-name mynamespace -g MyResourceGroup --name myAppGroup --policy name=policy1

Required Parameters

--policy
Experimental Preview Deprecated

List of Throttling Policy Objects.

Optional Parameters

--ids
Experimental Preview Deprecated

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n
Experimental Preview Deprecated

Name of Application Group.

--namespace-name
Experimental Preview Deprecated

Name of Namespace.

--resource-group -g
Experimental Preview Deprecated

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

--subscription
Experimental Preview Deprecated

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

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query
Experimental Preview Deprecated

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

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

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