az eventhubs namespace private-endpoint-connection

Manage eventhubs namespace private endpoint connection.

Commands

az eventhubs namespace private-endpoint-connection approve

Approve a private endpoint connection request for eventhubs namesapce.

az eventhubs namespace private-endpoint-connection delete

Delete a private endpoint connection request for eventhubs namespace.

az eventhubs namespace private-endpoint-connection list

Gets the available PrivateEndpointConnections within a namespace.

az eventhubs namespace private-endpoint-connection reject

Reject a private endpoint connection request for eventhubs namespace.

az eventhubs namespace private-endpoint-connection show

Show details of a private endpoint connection request for eventhubs namespace.

az eventhubs namespace private-endpoint-connection approve

Approve a private endpoint connection request for eventhubs namesapce.

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

Examples

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

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

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

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

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

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

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

name = (az eventhubs namespace show -n mynamespace --query "privateEndpointConnections[0].name")
az eventhubs 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 EventHubs Namespace. You can get it using az eventhubs namespace show.

--name -n

The name of the private endpoint connection associated with the EventHubs Namespace.

--namespace-name

The eventhubs namesapce name.

--resource-group -g

The resource group name of specified eventhubs namespace.

az eventhubs namespace private-endpoint-connection delete

Delete a private endpoint connection request for eventhubs namespace.

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

Examples

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

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

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

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

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

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

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

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

Optional Parameters

--id

The ID of the private endpoint connection associated with the EventHubs Namespace. You can get it using az eventhubs namespace show.

--name -n

The name of the private endpoint connection associated with the EventHubs Namespace.

--namespace-name

The eventhubs namesapce name.

--resource-group -g

The resource group name of specified eventhubs namespace.

--yes -y

Do not prompt for confirmation.

default value: False

az eventhubs namespace private-endpoint-connection list

Gets the available PrivateEndpointConnections within a namespace.

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

Required Parameters

--namespace-name

Name of the Namespace.

--resource-group -g

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

az eventhubs namespace private-endpoint-connection reject

Reject a private endpoint connection request for eventhubs namespace.

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

Examples

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

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

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

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

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

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

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

name = (az eventhubs namespace show -n mynamespace --query "privateEndpointConnections[0].name")
az eventhubs 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 EventHubs Namespace. You can get it using az eventhubs namespace show.

--name -n

The name of the private endpoint connection associated with the EventHubs Namespace.

--namespace-name

The eventhubs namesapce name.

--resource-group -g

The resource group name of specified eventhubs namespace.

az eventhubs namespace private-endpoint-connection show

Show details of a private endpoint connection request for eventhubs namespace.

az eventhubs namespace private-endpoint-connection show [--id]
                                                        [--name]
                                                        [--namespace-name]
                                                        [--resource-group]

Examples

Show details of a private endpoint connection request for eventhubs namespace by ID.

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

Show details of a private endpoint connection request for eventhubs namespace by ID.

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

Show details of a private endpoint connection request for eventhubs namespace using namespace name and connection name.

az eventhubs namespace private-endpoint-connection show -g myRg --namespace-name mynamespace --name myconnection

Show details of a private endpoint connection request for eventhubs namespace using namespace name and connection name.

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

Optional Parameters

--id

The ID of the private endpoint connection associated with the EventHubs Namespace. You can get it using az eventhubs namespace show.

--name -n

The name of the private endpoint connection associated with the EventHubs Namespace.

--namespace-name

The eventhubs namesapce name.

--resource-group -g

The resource group name of specified eventhubs namespace.