Share via


az servicebus namespace private-endpoint-connection

Manage servicebus namespace private endpoint connection.

Commands

Name Description Type Status
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-endpoint-connection approve

Approve a private endpoint connection request for servicebus namespace.

az servicebus namespace private-endpoint-connection approve [--description]
                                                            [--id]
                                                            [--name]
                                                            [--namespace-name]
                                                            [--resource-group]

Examples

Approve a private endpoint connection request for servicebus namespace by ID.

az servicebus namespace private-endpoint-connection approve --id "/subscriptions/0000-0000-0000-0000/resourceGroups/MyResourceGroup/providers/Microsoft.ServiceBus/namesapces/mynamepsace/privateEndpointConnections/mynamespace.b56b5a95-0588-4f8b-b348-15db61590a6c"

Approve a private endpoint connection request for servicebus namespace by ID.

id = (az servicebus namespace show -n mynamespace --query "privateEndpointConnections[0].id")
az servicebus namespace private-endpoint-connection approve --id $id

Approve a private endpoint connection request for servicebus namespace using namespace name and connection name.

az servicebus namespace private-endpoint-connection approve -g myRg --namespace-name mynamespace --name myconnection

Approve a private endpoint connection request for servicebus namespace using namespace name and connection name.

name = (az servicebus namespace show -n mynamespace --query "privateEndpointConnections[0].name")
az servicebus namespace private-endpoint-connection approve -g myRg --namespace-name mynamespace --name $name

Optional Parameters

--description

Comments for approve operation.

--id

The ID of the private endpoint connection associated with the Service Bus Namespace. You can get it using az servicebus namespace show.

--name -n

The name of the private endpoint connection associated with the Service Bus Namespace.

--namespace-name

The Service Bus namesapce name.

--resource-group -g

The resource group name of specified Service bus namespace.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az servicebus namespace private-endpoint-connection create

Create PrivateEndpointConnections of service namespace.

az servicebus namespace private-endpoint-connection create --name
                                                           --namespace-name
                                                           --resource-group
                                                           [--description]
                                                           [--provisioning-state {Canceled, Creating, Deleting, Failed, Succeeded, Updating}]
                                                           [--status {Approved, Disconnected, Pending, Rejected}]

Required Parameters

--name --private-endpoint-connection-name -n

The PrivateEndpointConnection name.

--namespace-name

The namespace name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--description

Description of the connection state.

--provisioning-state

Provisioning state of the Private Endpoint Connection.

Accepted values: Canceled, Creating, Deleting, Failed, Succeeded, Updating
--status

Status of the connection.

Accepted values: Approved, Disconnected, Pending, Rejected
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az servicebus namespace private-endpoint-connection delete

Delete a private endpoint connection request for servicebus namespace.

az servicebus namespace private-endpoint-connection delete [--description]
                                                           [--id]
                                                           [--name]
                                                           [--namespace-name]
                                                           [--resource-group]
                                                           [--yes]

Examples

Delete a private endpoint connection request for servicebus namespace by ID.

az servicebus namespace private-endpoint-connection delete --id "/subscriptions/0000-0000-0000-0000/resourceGroups/MyResourceGroup/providers/Microsoft.ServiceBus/namespaces/mynamespace/privateEndpointConnections/mynamespace.b56b5a95-0588-4f8b-b348-15db61590a6c"

Delete a private endpoint connection request for servicebus namespace by ID.

id = (az servicebus namespace show -n mynamespace --query "privateEndpointConnections[0].id")
az servicebus namespace private-endpoint-connection delete --id $id

Delete a private endpoint connection request for servicebus namespace using account name and connection name.

az servicebus namespace private-endpoint-connection delete -g myRg --namespace-name mynamespace --name myconnection

Delete a private endpoint connection request for servicebus namespace using namespace name and connection name.

name = (az servicebus namespace show -n mynamespace --query "privateEndpointConnections[0].name")
az servicebus namespace private-endpoint-connection delete -g myRg --namespace-name mynamespace --name $name

Optional Parameters

--description

Comments for delete operation.

--id

The ID of the private endpoint connection associated with the Service Bus Namespace. You can get it using az servicebus namespace show.

--name -n

The name of the private endpoint connection associated with the Service Bus Namespace.

--namespace-name

The Service Bus namesapce name.

--resource-group -g

The resource group name of specified Service bus namespace.

--yes -y

Do not prompt for confirmation.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az servicebus namespace private-endpoint-connection list

List the available PrivateEndpointConnections within a namespace.

az servicebus namespace private-endpoint-connection list --namespace-name
                                                         --resource-group

Required Parameters

--namespace-name

The namespace name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az servicebus namespace private-endpoint-connection reject

Reject a private endpoint connection request for servicebus namespace.

az servicebus namespace private-endpoint-connection reject [--description]
                                                           [--id]
                                                           [--name]
                                                           [--namespace-name]
                                                           [--resource-group]

Examples

Reject a private endpoint connection request for servicebus namespace by ID.

az servicebus namespace private-endpoint-connection reject --id "/subscriptions/0000-0000-0000-0000/resourceGroups/MyResourceGroup/providers/Microsoft.ServiceBus/namespaces/mynamespace/privateEndpointConnections/mynamespace.b56b5a95-0588-4f8b-b348-15db61590a6c"

Reject a private endpoint connection request for servicebus namespace by ID.

id = (az servicebus namespace show -n mynamespace --query "privateEndpointConnections[0].id")
az servicebus namespace private-endpoint-connection reject --id $id

Reject a private endpoint connection request for servicebus namespace using namespace name and connection name.

az servicebus namespace private-endpoint-connection reject -g myRg --namespace-name mynamespace --name myconnection

Reject a private endpoint connection request for servicebus namespace using namespace name and connection name.

name = (az servicebus namespace show -n mynamespace --query "privateEndpointConnections[0].name")
az servicebus namespace private-endpoint-connection reject -g myRg --namespace-name mynamespace --name $name

Optional Parameters

--description

Comments for reject operation.

--id

The ID of the private endpoint connection associated with the Service Bus Namespace. You can get it using az servicebus namespace show.

--name -n

The name of the private endpoint connection associated with the Service Bus Namespace.

--namespace-name

The Service Bus namesapce name.

--resource-group -g

The resource group name of specified Service bus namespace.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az servicebus namespace private-endpoint-connection show

Get a description for the specified Private Endpoint Connection.

az servicebus namespace private-endpoint-connection show [--id]
                                                         [--ids]
                                                         [--name]
                                                         [--namespace-name]
                                                         [--resource-group]
                                                         [--subscription]

Optional Parameters

--id

The ID of the private endpoint connection associated with the Service Bus Namespace. You can get it using az servicebus namespace show.

--ids

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 --private-endpoint-connection-name -n

The PrivateEndpointConnection name.

--namespace-name

The namespace name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az servicebus namespace private-endpoint-connection update

Update PrivateEndpointConnections of service namespace.

az servicebus namespace private-endpoint-connection update [--add]
                                                           [--description]
                                                           [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                                                           [--ids]
                                                           [--name]
                                                           [--namespace-name]
                                                           [--provisioning-state {Canceled, Creating, Deleting, Failed, Succeeded, Updating}]
                                                           [--remove]
                                                           [--resource-group]
                                                           [--set]
                                                           [--status {Approved, Disconnected, Pending, Rejected}]
                                                           [--subscription]

Optional Parameters

--add

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>.

--description

Description of the connection state.

--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--ids

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 --private-endpoint-connection-name -n

The PrivateEndpointConnection name.

--namespace-name

The namespace name.

--provisioning-state

Provisioning state of the Private Endpoint Connection.

Accepted values: Canceled, Creating, Deleting, Failed, Succeeded, Updating
--remove

Remove a property or an element from a list. Example: --remove property.list <indexToRemove> OR --remove propertyToRemove.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>.

--status

Status of the connection.

Accepted values: Approved, Disconnected, Pending, Rejected
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az servicebus namespace private-endpoint-connection wait

Place the CLI in a waiting state until a condition is met.

az servicebus namespace private-endpoint-connection wait [--created]
                                                         [--custom]
                                                         [--deleted]
                                                         [--exists]
                                                         [--ids]
                                                         [--interval]
                                                         [--name]
                                                         [--namespace-name]
                                                         [--resource-group]
                                                         [--subscription]
                                                         [--timeout]
                                                         [--updated]

Optional Parameters

--created

Wait until created with 'provisioningState' at 'Succeeded'.

Default value: False
--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

Default value: False
--exists

Wait until the resource exists.

Default value: False
--ids

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.

--interval

Polling interval in seconds.

Default value: 30
--name --private-endpoint-connection-name -n

The PrivateEndpointConnection name.

--namespace-name

The namespace name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--timeout

Maximum wait in seconds.

Default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.