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-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
This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
Action SQL expression.
Content type of message.
Dictionary object for custom filters.
Identifier of correlation.
A boolean value that indicates whether the rule action requires preprocessing.
A boolean value that indicates whether the rule action requires preprocessing.
A boolean value that indicates whether the rule action requires preprocessing.
SQL expression. e.g. myproperty=test.
Rule Filter types.
Application specific label.
Identifier of message.
Do not wait for the long-running operation to finish.
Address of the queue to reply to.
Session identifier to reply to.
Session identifier.
Address to send to.
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 servicebus topic subscription rule delete
Delete an existing rule.
az servicebus topic subscription rule delete [--ids]
[--name]
[--namespace-name]
[--resource-group]
[--subscription]
[--subscription-name]
[--topic-name]
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.
The rule name.
The namespace name.
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
.
The subscription name.
The topic name.
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 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
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.
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 servicebus topic subscription rule show
Get the description for the specified rule.
az servicebus topic subscription rule show [--ids]
[--name]
[--namespace-name]
[--resource-group]
[--subscription]
[--subscription-name]
[--topic-name]
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.
The rule name.
The namespace name.
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
.
The subscription name.
The topic name.
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 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 {0, 1, f, false, n, no, t, true, y, yes}]
[--action-sql-expression]
[--add]
[--compatibility-level]
[--content-type]
[--correlation-id]
[--enable-correlation-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]
[--filter-type {CorrelationFilter, SqlFilter}]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--label]
[--message-id]
[--name]
[--namespace-name]
[--properties]
[--remove]
[--reply-to]
[--reply-to-session-id]
[--resource-group]
[--session-id]
[--set]
[--subscription]
[--subscription-name]
[--to]
[--topic-name]
Optional Parameters
This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
Value that indicates whether the rule action requires preprocessing.
SQL expression. e.g. MyProperty='ABC'.
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>
.
This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
Content type of the message.
Identifier of the correlation.
Value that indicates whether the rule action requires preprocessing.
Value that indicates whether the rule action requires preprocessing.
The SQL expression. e.g. MyProperty='ABC'.
Filter type that is evaluated against a BrokeredMessage.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
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.
Application specific label.
Identifier of the message.
The rule name.
The namespace name.
Dictionary object for custom filters Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Address of the queue to reply to.
Session identifier to reply to.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Session identifier.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The subscription name.
Address to send to.
The topic name.
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.