az servicebus topic subscription
Servicebus topic subscription.
Commands
Name | Description | Type | Status |
---|---|---|---|
az servicebus topic subscription create |
Create a topic subscription. |
Core | GA |
az servicebus topic subscription delete |
Delete a subscription from the specified topic. |
Core | GA |
az servicebus topic subscription list |
List all the subscriptions under a specified topic. |
Core | GA |
az servicebus topic subscription rule |
Servicebus topic subscription rule. |
Core | GA |
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 show |
Get a subscription description for the specified topic. |
Core | GA |
az servicebus topic subscription update |
Update a topic subscription. |
Core | GA |
az servicebus topic subscription create
Create a topic subscription.
az servicebus topic subscription create --name --subscription-name
--namespace-name
--resource-group
--topic-name
[--auto-delete-on-idle]
[--client-id]
[--dead-letter-on-filter-exceptions {0, 1, f, false, n, no, t, true, y, yes}]
[--default-message-time-to-live]
[--duplicate-detection-history-time-window]
[--enable-batched-operations {0, 1, f, false, n, no, t, true, y, yes}]
[--enable-dead-lettering-on-message-expiration --message-expiration {0, 1, f, false, n, no, t, true, y, yes}]
[--enable-session {0, 1, f, false, n, no, t, true, y, yes}]
[--forward-dead-lettered-messages-to]
[--forward-to]
[--is-client-affine {0, 1, f, false, n, no, t, true, y, yes}]
[--is-durable {0, 1, f, false, n, no, t, true, y, yes}]
[--is-shared {0, 1, f, false, n, no, t, true, y, yes}]
[--lock-duration]
[--max-delivery-count]
[--status {Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, Restoring, SendDisabled, Unknown}]
Required Parameters
The subscription name.
The namespace name.
Name of resource group. You can configure the default group using az configure --defaults group=<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.
ISO 8061 timeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Indicates the Client ID of the application that created the client-affine subscription.
Property | Value |
---|---|
Parameter group: | ClientAffineProperties Arguments |
Value that indicates whether a subscription has dead letter support on filter evaluation exceptions.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
ISO 8061 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Value that indicates whether server-side batched operations are enabled.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
A value that indicates whether this queue has dead letter support when a message expires.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
A value that indicates whether the queue supports the concept of sessions.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Queue/Topic name to forward the Dead Letter message.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Queue/Topic name to forward the messages.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Value that indicates whether the subscription has an affinity to the client id.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
For client-affine subscriptions, this value indicates whether the subscription is durable or not.
Property | Value |
---|---|
Parameter group: | ClientAffineProperties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
For client-affine subscriptions, this value indicates whether the subscription is shared or not.
Property | Value |
---|---|
Parameter group: | ClientAffineProperties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
ISO 8061 lock duration timespan for the subscription. The default value is 1 minute.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Number of maximum deliveries.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Enumerates the possible values for the status of a messaging entity.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, Restoring, SendDisabled, Unknown |
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 delete
Delete a subscription from the specified topic.
az servicebus topic subscription delete [--ids]
[--name --subscription-name]
[--namespace-name]
[--resource-group]
[--subscription]
[--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 subscription 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 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 list
List all the subscriptions under a specified topic.
az servicebus topic subscription list --namespace-name
--resource-group
--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 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 show
Get a subscription description for the specified topic.
az servicebus topic subscription show [--ids]
[--name --subscription-name]
[--namespace-name]
[--resource-group]
[--subscription]
[--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 subscription 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 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 update
Update a topic subscription.
az servicebus topic subscription update [--add]
[--auto-delete-on-idle]
[--client-id]
[--dead-letter-on-filter-exceptions {0, 1, f, false, n, no, t, true, y, yes}]
[--default-message-time-to-live]
[--duplicate-detection-history-time-window]
[--enable-batched-operations {0, 1, f, false, n, no, t, true, y, yes}]
[--enable-dead-lettering-on-message-expiration --message-expiration {0, 1, f, false, n, no, t, true, y, yes}]
[--enable-session {0, 1, f, false, n, no, t, true, y, yes}]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--forward-dead-lettered-messages-to]
[--forward-to]
[--ids]
[--is-client-affine {0, 1, f, false, n, no, t, true, y, yes}]
[--is-durable {0, 1, f, false, n, no, t, true, y, yes}]
[--is-shared {0, 1, f, false, n, no, t, true, y, yes}]
[--lock-duration]
[--max-delivery-count]
[--name --subscription-name]
[--namespace-name]
[--remove]
[--resource-group]
[--set]
[--status {Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, Restoring, SendDisabled, Unknown}]
[--subscription]
[--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.
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 |
ISO 8061 timeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Indicates the Client ID of the application that created the client-affine subscription.
Property | Value |
---|---|
Parameter group: | ClientAffineProperties Arguments |
Value that indicates whether a subscription has dead letter support on filter evaluation exceptions.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
ISO 8061 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Value that indicates whether server-side batched operations are enabled.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
A value that indicates whether this queue has dead letter support when a message expires.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
A value that indicates whether the queue supports the concept of sessions.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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 |
Queue/Topic name to forward the Dead Letter message.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Queue/Topic name to forward the messages.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
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 |
Value that indicates whether the subscription has an affinity to the client id.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
For client-affine subscriptions, this value indicates whether the subscription is durable or not.
Property | Value |
---|---|
Parameter group: | ClientAffineProperties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
For client-affine subscriptions, this value indicates whether the subscription is shared or not.
Property | Value |
---|---|
Parameter group: | ClientAffineProperties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
ISO 8061 lock duration timespan for the subscription. The default value is 1 minute.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Number of maximum deliveries.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
The subscription name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The namespace name.
Property | Value |
---|---|
Parameter group: | Resource Id 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 |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id 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 |
Enumerates the possible values for the status of a messaging entity.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, Restoring, SendDisabled, Unknown |
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 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 |