az servicebus namespace
Servicebus namespace.
Commands
Name | Description | Type | Status |
---|---|---|---|
az servicebus namespace authorization-rule |
Servicebus namespace authorization-rule. |
Core | GA |
az servicebus namespace authorization-rule create |
Create an authorization rule for a namespace. |
Core | GA |
az servicebus namespace authorization-rule delete |
Delete a namespace authorization rule. |
Core | GA |
az servicebus namespace authorization-rule keys |
Servicebus namespace authorization-rule keys. |
Core | GA |
az servicebus namespace authorization-rule keys list |
Gets the primary and secondary connection strings for the namespace. |
Core | GA |
az servicebus namespace authorization-rule keys renew |
Regenerates the primary or secondary connection strings for the namespace. |
Core | GA |
az servicebus namespace authorization-rule list |
List the authorization rules for a namespace. |
Core | GA |
az servicebus namespace authorization-rule show |
Get an authorization rule for a namespace by rule name. |
Core | GA |
az servicebus namespace authorization-rule update |
Update an authorization rule for a namespace. |
Core | GA |
az servicebus namespace create |
Create a Service Bus Namespace. |
Core | GA |
az servicebus namespace delete |
Delete an existing namespace. This operation also removes all associated resources under the namespace. |
Core | GA |
az servicebus namespace encryption |
Manage servicebus namespace encryption properties. |
Core | GA |
az servicebus namespace encryption add |
Add Encryption properties to a namespace. |
Core | GA |
az servicebus namespace encryption remove |
Remove one or more Encryption properties from a namespace. |
Core | GA |
az servicebus namespace exists |
Check the give namespace name availability. |
Core | GA |
az servicebus namespace identity |
Manage servicebus namespace identity. |
Core | GA |
az servicebus namespace identity assign |
Assign System or User or System, User assigned identities to a namespace. |
Core | GA |
az servicebus namespace identity remove |
Removes System or User or System, User assigned identities from a namespace. |
Core | GA |
az servicebus namespace list |
List all the available namespaces within the subscription by resource group & also irrespective of the resource groups. |
Core | GA |
az servicebus namespace network-rule-set |
Servicebus namespace network-rule-set. |
Core | GA |
az servicebus namespace network-rule-set create |
Create NetworkRuleSet for a Namespace. |
Core | GA |
az servicebus namespace network-rule-set ip-rule |
Manage Azure ServiceBus ip-rules in networkruleSet for namespace. |
Core | GA |
az servicebus namespace network-rule-set ip-rule add |
Add a IP-Rule for network rule of namespace. |
Core | GA |
az servicebus namespace network-rule-set ip-rule remove |
Remove Ip-Rule from network rule of namespace. |
Core | GA |
az servicebus namespace network-rule-set list |
List list of NetworkRuleSet for a Namespace. |
Core | GA |
az servicebus namespace network-rule-set show |
Get NetworkRuleSet for a Namespace. |
Core | GA |
az servicebus namespace network-rule-set update |
Update NetworkRuleSet for a Namespace. |
Core | GA |
az servicebus namespace network-rule-set virtual-network-rule |
Manage Azure ServiceBus subnet-rule in networkruleSet for namespace. |
Core | GA |
az servicebus namespace network-rule-set virtual-network-rule add |
Add a Virtual-Network-Rule for network rule of namespace. |
Core | GA |
az servicebus namespace network-rule-set virtual-network-rule remove |
Remove network rule for a namespace. |
Core | GA |
az servicebus namespace private-endpoint-connection |
Manage servicebus namespace private endpoint connection. |
Core | GA |
az servicebus namespace private-endpoint-connection approve |
Approve a private endpoint connection request for servicebus namespace. |
Core | GA |
az servicebus namespace private-endpoint-connection create |
Create PrivateEndpointConnections of service namespace. |
Core | GA |
az servicebus namespace private-endpoint-connection delete |
Delete a private endpoint connection request for servicebus namespace. |
Core | GA |
az servicebus namespace private-endpoint-connection list |
List the available PrivateEndpointConnections within a namespace. |
Core | GA |
az servicebus namespace private-endpoint-connection reject |
Reject a private endpoint connection request for servicebus namespace. |
Core | GA |
az servicebus namespace private-endpoint-connection show |
Get a description for the specified Private Endpoint Connection. |
Core | GA |
az servicebus namespace private-endpoint-connection update |
Update PrivateEndpointConnections of service namespace. |
Core | GA |
az servicebus namespace private-endpoint-connection wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az servicebus namespace private-link-resource |
Manage servicebus namespace private link resources. |
Core | GA |
az servicebus namespace private-link-resource show |
List lists of resources that supports Privatelinks. |
Core | GA |
az servicebus namespace show |
Get a description for the specified namespace. |
Core | GA |
az servicebus namespace update |
Update a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. |
Core | GA |
az servicebus namespace wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az servicebus namespace create
Create a Service Bus Namespace.
az servicebus namespace create --name
--resource-group
[--alternate-name]
[--capacity {1, 16, 2, 4, 8}]
[--disable-local-auth {false, true}]
[--encryption-config]
[--infra-encryption {false, true}]
[--location]
[--mi-system-assigned {false, true}]
[--mi-user-assigned]
[--min-tls {1.0, 1.1, 1.2}]
[--no-wait]
[--premium-messaging-partitions]
[--public-network {Disabled, Enabled}]
[--sku {Basic, Premium, Standard}]
[--tags]
[--zone-redundant {false, true}]
Examples
Create a Service Bus Namespace.
az servicebus namespace create --resource-group myresourcegroup --name mynamespace --location westus --tags tag1=value1 tag2=value2 --sku Standard
Create a new namespace with Identity and Encryption enabled.
az servicebus namespace create --resource-group myresourcegroup --name mynamespace --location westus --sku Premium --mi-user-assigned /subscriptions/{subscriptionId}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName --encryption-config key-name=key1 key-vault-uri=https://mykeyvault.vault.azure.net/ user-assigned-identity=/subscriptions/{subscriptionId}}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName --encryption-config key-name=key1 key-vault-uri=https://mykeyvault.vault.azure.net/ user-assigned-identity=/subscriptions/{subscriptionId}}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName
Required Parameters
Name of Namespace.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Alternate name specified when alias and namespace names are same.
Number of message units. This property is only applicable to namespaces of Premium SKU.
A boolean value that indicates whether SAS authentication is enabled/disabled for the Service Bus.
List of KeyVaultProperties objects.
A boolean value that indicates whether Infrastructure Encryption (Double Encryption).
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Enable System Assigned Identity.
List of User Assigned Identity ids.
The minimum TLS version for the cluster to support, e.g. 1.2.
Do not wait for the long-running operation to finish.
The number of partitions of a Service Bus namespace. This property is only applicable to Premium SKU namespaces. The default value is 1 and possible values are 1, 2 and 4.
This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile' access rules.
Namespace SKU.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Enabling this property creates a ServiceBus Zone Redundant Namespace in regions supported availability zones.
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 namespace delete
Delete an existing namespace. This operation also removes all associated resources under the namespace.
az servicebus namespace delete [--ids]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
Examples
Deletes the Service Bus Namespace
az servicebus namespace delete --resource-group myresourcegroup --name mynamespace
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 namespace name.
Do not wait for the long-running operation to finish.
The resourceGroup 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 servicebus namespace exists
Check the give namespace name availability.
az servicebus namespace exists --name
Required Parameters
The Name to check the namespace name availability and The namespace name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number.
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 namespace list
List all the available namespaces within the subscription by resource group & also irrespective of the resource groups.
az servicebus namespace list [--resource-group]
Examples
List the Service Bus Namespaces under resourcegroup.
az servicebus namespace list --resource-group myresourcegroup
List the Service Bus Namespaces under subscription
az servicebus namespace list
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<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 namespace show
Get a description for the specified namespace.
az servicebus namespace show [--ids]
[--name]
[--resource-group]
[--subscription]
Examples
shows the Namespace details.
az servicebus namespace show --resource-group myresourcegroup --name mynamespace
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 namespace name.
The resourceGroup 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 servicebus namespace update
Update a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
az servicebus namespace update [--add]
[--alternate-name]
[--capacity]
[--connections]
[--disable-local-auth {0, 1, f, false, n, no, t, true, y, yes}]
[--encryption]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--identity]
[--ids]
[--minimum-tls-version {1.0, 1.1, 1.2}]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--premium-messaging-partitions]
[--public-network-access {Disabled, Enabled, SecuredByPerimeter}]
[--remove]
[--resource-group]
[--set]
[--sku {Basic, Premium, Standard}]
[--subscription]
[--tags]
[--tier {Basic, Premium, Standard}]
Examples
Updates a Service Bus Namespace
az servicebus namespace update --resource-group myresourcegroup --name mynamespace --tags tag=value
az az servicebus namespace update --name mynamespace --resource-group myresourcegroup --sku Basic
Optional Parameters
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>
.
Alternate name for namespace.
Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64.
List of private endpoint connections. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
This property disables SAS authentication for the Service Bus namespace.
Properties of BYOK Encryption description Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Properties of BYOK Identity description Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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 minimum TLS version for the cluster to support, e.g. '1.2'.
The namespace name.
Do not wait for the long-running operation to finish.
The number of partitions of a Service Bus namespace. This property is only applicable to Premium SKU namespaces. The default value is 1 and possible values are 1, 2 and 4.
This determines if traffic is allowed over public network. By default it is enabled.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
The resourceGroup name.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Name of this SKU.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Resource tags Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
The billing tier of this particular SKU.
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 namespace wait
Place the CLI in a waiting state until a condition is met.
az servicebus namespace wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
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.
Polling interval in seconds.
The namespace name.
The resourceGroup name.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
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.