az storage account private-endpoint-connection

This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage storage account private endpoint connection.

Commands

Name Description Type Status
az storage account private-endpoint-connection approve

Approve a private endpoint connection request for storage account.

Core Preview
az storage account private-endpoint-connection delete

Delete a private endpoint connection request for storage account.

Core Preview
az storage account private-endpoint-connection reject

Reject a private endpoint connection request for storage account.

Core Preview
az storage account private-endpoint-connection show

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

Core Preview

az storage account private-endpoint-connection approve

Preview

Command group 'storage account private-endpoint-connection' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Approve a private endpoint connection request for storage account.

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

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.

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 storage account private-endpoint-connection delete

Preview

Command group 'storage account private-endpoint-connection' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Delete a private endpoint connection request for storage account.

az storage account private-endpoint-connection delete [--account-name]
                                                      [--id]
                                                      [--name]
                                                      [--resource-group]
                                                      [--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.

--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 storage account private-endpoint-connection reject

Preview

Command group 'storage account private-endpoint-connection' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Reject a private endpoint connection request for storage account.

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

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.

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 storage account private-endpoint-connection show

Preview

Command group 'storage account private-endpoint-connection' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

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

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

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.

--resource-group -g

The resource group name of specified storage account.

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.