az servicebus topic subscription rule
Servicebus topic subscription rule.
Commands
Name | Description | Type | Status |
---|---|---|---|
az servicebus topic subscription rule create |
Create the ServiceBus Rule for Subscription. |
Core | GA |
az servicebus topic subscription rule delete |
Delete an existing rule. |
Core | GA |
az servicebus topic subscription rule list |
List all the rules within given topic-subscription. |
Core | GA |
az servicebus topic subscription rule show |
Get the description for the specified rule. |
Core | GA |
az servicebus topic subscription rule update |
Update a new rule and updates an existing rule. |
Core | GA |
az servicebus topic subscription rule create
Create the ServiceBus Rule for Subscription.
az servicebus topic subscription rule create --name
--namespace-name
--resource-group
--subscription-name
--topic-name
[--action-compatibility-level]
[--action-sql-expression]
[--content-type]
[--correlation-filter --correlation-filter-property]
[--correlation-id]
[--enable-action-preprocessing {false, true}]
[--enable-correlation-preprocessing {false, true}]
[--enable-sql-preprocessing {false, true}]
[--filter-sql-expression]
[--filter-type {CorrelationFilter, SqlFilter}]
[--label]
[--message-id]
[--no-wait]
[--reply-to]
[--reply-to-session-id]
[--session-id]
[--to]
Examples
Create Rule.
az servicebus topic subscription rule create --resource-group myresourcegroup --namespace-name mynamespace --topic-name mytopic --subscription-name mysubscription --name myrule --filter-sql-expression myproperty=myvalue
Required Parameters
Name of Rule.
Name of Namespace.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of Subscription.
Name of Topic.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
Property | Value |
---|---|
Parameter group: | Action Arguments |
Action SQL expression.
Property | Value |
---|---|
Parameter group: | Action Arguments |
Content type of message.
Property | Value |
---|---|
Parameter group: | Correlation Filter Arguments |
Dictionary object for custom filters.
Property | Value |
---|---|
Parameter group: | Correlation Filter Arguments |
Identifier of correlation.
Property | Value |
---|---|
Parameter group: | Correlation Filter Arguments |
A boolean value that indicates whether the rule action requires preprocessing.
Property | Value |
---|---|
Parameter group: | Action Arguments |
Accepted values: | false, true |
A boolean value that indicates whether the rule action requires preprocessing.
Property | Value |
---|---|
Parameter group: | Correlation Filter Arguments |
Accepted values: | false, true |
A boolean value that indicates whether the rule action requires preprocessing.
Property | Value |
---|---|
Parameter group: | SQL Filter Arguments |
Accepted values: | false, true |
SQL expression. e.g. myproperty=test.
Property | Value |
---|---|
Parameter group: | SQL Filter Arguments |
Rule Filter types.
Property | Value |
---|---|
Parameter group: | Action Arguments |
Accepted values: | CorrelationFilter, SqlFilter |
Application specific label.
Property | Value |
---|---|
Parameter group: | Correlation Filter Arguments |
Identifier of message.
Property | Value |
---|---|
Parameter group: | Correlation Filter Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Address of the queue to reply to.
Property | Value |
---|---|
Parameter group: | Correlation Filter Arguments |
Session identifier to reply to.
Property | Value |
---|---|
Parameter group: | Correlation Filter Arguments |
Session identifier.
Property | Value |
---|---|
Parameter group: | Correlation Filter Arguments |
Address to send to.
Property | Value |
---|---|
Parameter group: | Correlation Filter 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.
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.
Property | Value |
---|---|
Default value: | False |
az servicebus topic subscription rule delete
Delete an existing rule.
az servicebus topic subscription rule delete [--ids]
[--name --rule-name]
[--namespace-name]
[--resource-group]
[--subscription]
[--subscription-name]
[--topic-name]
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 |
The rule name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The namespace name.
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 |
The subscription name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The topic name.
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 servicebus topic subscription rule list
List all the rules within given topic-subscription.
az servicebus topic subscription rule list --namespace-name
--resource-group
--subscription-name
--topic-name
[--skip]
[--top]
Required Parameters
The namespace name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The subscription name.
The topic name.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls.
May be used to limit the number of results to the most recent N usageDetails.
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.
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.
Property | Value |
---|---|
Default value: | False |
az servicebus topic subscription rule show
Get the description for the specified rule.
az servicebus topic subscription rule show [--ids]
[--name --rule-name]
[--namespace-name]
[--resource-group]
[--subscription]
[--subscription-name]
[--topic-name]
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 |
The rule name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The namespace name.
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 |
The subscription name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The topic name.
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 servicebus topic subscription rule update
Update a new rule and updates an existing rule.
az servicebus topic subscription rule update [--action-compatibility-level]
[--action-preprocessing --enable-action-preprocessing {0, 1, f, false, n, no, t, true, y, yes}]
[--action-sql-expression]
[--add]
[--compatibility-level]
[--content-type]
[--correlation-id]
[--enable-correlation-preprocessing --requires-preprocessing {0, 1, f, false, n, no, t, true, y, yes}]
[--enable-sql-preprocessing {0, 1, f, false, n, no, t, true, y, yes}]
[--filter-sql-expression --sql-expression]
[--filter-type {CorrelationFilter, SqlFilter}]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--label]
[--message-id]
[--name --rule-name]
[--namespace-name]
[--properties]
[--remove]
[--reply-to]
[--reply-to-session-id]
[--resource-group]
[--session-id]
[--set]
[--subscription]
[--subscription-name]
[--to]
[--topic-name]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
Property | Value |
---|---|
Parameter group: | Action Arguments |
Value that indicates whether the rule action requires preprocessing.
Property | Value |
---|---|
Parameter group: | Action Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
SQL expression. e.g. MyProperty='ABC'.
Property | Value |
---|---|
Parameter group: | Action Arguments |
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
Property | Value |
---|---|
Parameter group: | SqlFilter Arguments |
Content type of the message.
Property | Value |
---|---|
Parameter group: | CorrelationFilter Arguments |
Identifier of the correlation.
Property | Value |
---|---|
Parameter group: | CorrelationFilter Arguments |
Value that indicates whether the rule action requires preprocessing.
Property | Value |
---|---|
Parameter group: | CorrelationFilter Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Value that indicates whether the rule action requires preprocessing.
Property | Value |
---|---|
Parameter group: | SqlFilter Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The SQL expression. e.g. MyProperty='ABC'.
Property | Value |
---|---|
Parameter group: | SqlFilter Arguments |
Filter type that is evaluated against a BrokeredMessage.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | CorrelationFilter, SqlFilter |
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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 |
Application specific label.
Property | Value |
---|---|
Parameter group: | CorrelationFilter Arguments |
Identifier of the message.
Property | Value |
---|---|
Parameter group: | CorrelationFilter Arguments |
The rule name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The namespace name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Dictionary object for custom filters Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | CorrelationFilter Arguments |
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Address of the queue to reply to.
Property | Value |
---|---|
Parameter group: | CorrelationFilter Arguments |
Session identifier to reply to.
Property | Value |
---|---|
Parameter group: | CorrelationFilter Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Session identifier.
Property | Value |
---|---|
Parameter group: | CorrelationFilter Arguments |
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Property | Value |
---|---|
Parameter group: | Generic Update 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 |
The subscription name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Address to send to.
Property | Value |
---|---|
Parameter group: | CorrelationFilter Arguments |
The topic name.
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 |