az storage account private-endpoint-connection

Manage storage account private endpoint connection.

Commands

az storage account private-endpoint-connection approve

Approve a private endpoint connection request for storage account.

az storage account private-endpoint-connection delete

Delete a private endpoint connection request for storage account.

az storage account private-endpoint-connection reject

Reject a private endpoint connection request for storage account.

az storage account private-endpoint-connection show

Show details of a private endpoint connection request for storage account.

az storage account private-endpoint-connection approve

Approve a private endpoint connection request for storage account.

az storage account private-endpoint-connection approve [--account-name]
                                                       [--description]
                                                       [--id]
                                                       [--name]
                                                       [--resource-group]
                                                       [--subscription]

Examples

Approve a private endpoint connection request for storage account by ID.

az storage account private-endpoint-connection approve --id "/subscriptions/0000-0000-0000-0000/resourceGroups/MyResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount/privateEndpointConnections/mystorageaccount.b56b5a95-0588-4f8b-b348-15db61590a6c"

Approve a private endpoint connection request for storage account by ID.

id = (az storage account show -n mystorageaccount --query "privateEndpointConnections[0].id")
az storage account private-endpoint-connection approve --id $id

Approve a private endpoint connection request for storage account using account name and connection name.

az storage account private-endpoint-connection approve -g myRg --account-name mystorageaccount --name myconnection

Approve a private endpoint connection request for storage account using account name and connection name.

name = (az storage account show -n mystorageaccount --query "privateEndpointConnections[0].name")
az storage account private-endpoint-connection approve -g myRg --account-name mystorageaccount --name $name

Optional Parameters

--account-name

The storage account name.

--description

Comments for approve operation.

--id

The ID of the private endpoint connection associated with the Storage Account. You can get it using az storage account show.

--name -n

The name of the private endpoint connection associated with the Storage Account.

--resource-group -g

The resource group name of specified storage account.

--subscription

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

az storage account private-endpoint-connection delete

Delete a private endpoint connection request for storage account.

az storage account private-endpoint-connection delete [--account-name]
                                                      [--id]
                                                      [--name]
                                                      [--resource-group]
                                                      [--subscription]
                                                      [--yes]

Examples

Delete a private endpoint connection request for storage account by ID.

az storage account private-endpoint-connection delete --id "/subscriptions/0000-0000-0000-0000/resourceGroups/MyResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount/privateEndpointConnections/mystorageaccount.b56b5a95-0588-4f8b-b348-15db61590a6c"

Delete a private endpoint connection request for storage account by ID.

id = (az storage account show -n mystorageaccount --query "privateEndpointConnections[0].id")
az storage account private-endpoint-connection delete --id $id

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

az storage account private-endpoint-connection delete -g myRg --account-name mystorageaccount --name myconnection

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

name = (az storage account show -n mystorageaccount --query "privateEndpointConnections[0].name")
az storage account private-endpoint-connection delete -g myRg --account-name mystorageaccount --name $name

Optional Parameters

--account-name

The storage account name.

--id

The ID of the private endpoint connection associated with the Storage Account. You can get it using az storage account show.

--name -n

The name of the private endpoint connection associated with the Storage Account.

--resource-group -g

The resource group name of specified storage account.

--subscription

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

--yes -y

Do not prompt for confirmation.

az storage account private-endpoint-connection reject

Reject a private endpoint connection request for storage account.

az storage account private-endpoint-connection reject [--account-name]
                                                      [--description]
                                                      [--id]
                                                      [--name]
                                                      [--resource-group]
                                                      [--subscription]

Examples

Reject a private endpoint connection request for storage account by ID.

az storage account private-endpoint-connection reject --id "/subscriptions/0000-0000-0000-0000/resourceGroups/MyResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount/privateEndpointConnections/mystorageaccount.b56b5a95-0588-4f8b-b348-15db61590a6c"

Reject a private endpoint connection request for storage account by ID.

id = (az storage account show -n mystorageaccount --query "privateEndpointConnections[0].id")
az storage account private-endpoint-connection reject --id $id

Reject a private endpoint connection request for storage account using account name and connection name.

az storage account private-endpoint-connection reject -g myRg --account-name mystorageaccount --name myconnection

Reject a private endpoint connection request for storage account using account name and connection name.

name = (az storage account show -n mystorageaccount --query "privateEndpointConnections[0].name")
az storage account private-endpoint-connection reject -g myRg --account-name mystorageaccount --name $name

Optional Parameters

--account-name

The storage account name.

--description

Comments for reject operation.

--id

The ID of the private endpoint connection associated with the Storage Account. You can get it using az storage account show.

--name -n

The name of the private endpoint connection associated with the Storage Account.

--resource-group -g

The resource group name of specified storage account.

--subscription

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

az storage account private-endpoint-connection show

Show details of a private endpoint connection request for storage account.

az storage account private-endpoint-connection show [--account-name]
                                                    [--id]
                                                    [--name]
                                                    [--query-examples]
                                                    [--resource-group]
                                                    [--subscription]

Examples

Show details of a private endpoint connection request for storage account by ID.

az storage account private-endpoint-connection show --id "/subscriptions/0000-0000-0000-0000/resourceGroups/MyResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount/privateEndpointConnections/mystorageaccount.b56b5a95-0588-4f8b-b348-15db61590a6c"

Show details of a private endpoint connection request for storage account by ID.

id = (az storage account show -n mystorageaccount --query "privateEndpointConnections[0].id")
az storage account private-endpoint-connection show --id $id

Show details of a private endpoint connection request for storage account using account name and connection name.

az storage account private-endpoint-connection show -g myRg --account-name mystorageaccount --name myconnection

Show details of a private endpoint connection request for storage account using account name and connection name.

name = (az storage account show -n mystorageaccount --query "privateEndpointConnections[0].name")
az storage account private-endpoint-connection show -g myRg --account-name mystorageaccount --name $name

Optional Parameters

--account-name

The storage account name.

--id

The ID of the private endpoint connection associated with the Storage Account. You can get it using az storage account show.

--name -n

The name of the private endpoint connection associated with the Storage Account.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

The resource group name of specified storage account.

--subscription

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