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
[--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
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 of Application Group.
Name of Namespace.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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 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
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 of Application Group.
Name of Namespace.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.