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
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 --throttling-policy --throttling-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
List of Throttling Policy Objects.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of Application Group.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of Namespace.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
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.
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
List of Throttling Policy Objects.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of Application Group.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of Namespace.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |