你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

az storage account private-endpoint-connection

此命令组处于预览状态,正在开发中。 参考和支持级别: https://aka.ms/CLI_refstatus

管理存储帐户专用终结点连接。

命令

名称 说明 类型 状态
az storage account private-endpoint-connection approve

批准存储帐户的专用终结点连接请求。

核心 预览版
az storage account private-endpoint-connection delete

删除存储帐户的专用终结点连接请求。

核心 预览
az storage account private-endpoint-connection reject

拒绝存储帐户的专用终结点连接请求。

核心 预览版
az storage account private-endpoint-connection show

显示存储帐户的专用终结点连接请求的详细信息。

核心 预览版

az storage account private-endpoint-connection approve

预览

命令组“存储帐户专用终结点连接”处于预览状态,正在开发中。 参考和支持级别: https://aka.ms/CLI_refstatus

批准存储帐户的专用终结点连接请求。

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

示例

按 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"

按 ID 批准存储帐户的专用终结点连接请求。

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

使用帐户名称和连接名称批准存储帐户的专用终结点连接请求。

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

使用帐户名称和连接名称批准存储帐户的专用终结点连接请求。

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

可选参数

--account-name

存储帐户名称。

--description

审批操作的注释。

--id

与 存储 帐户关联的专用终结点连接的 ID。 可以使用它。az storage account show

--name -n

与 存储 帐户关联的专用终结点连接的名称。

--resource-group -g

指定存储帐户的资源组名称。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az storage account private-endpoint-connection delete

预览

命令组“存储帐户专用终结点连接”处于预览状态,正在开发中。 参考和支持级别: https://aka.ms/CLI_refstatus

删除存储帐户的专用终结点连接请求。

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

示例

按 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"

按 ID 删除存储帐户的专用终结点连接请求。

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

使用帐户名称和连接名称删除存储帐户的专用终结点连接请求。

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

使用帐户名称和连接名称删除存储帐户的专用终结点连接请求。

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

可选参数

--account-name

存储帐户名称。

--id

与 存储 帐户关联的专用终结点连接的 ID。 可以使用它。az storage account show

--name -n

与 存储 帐户关联的专用终结点连接的名称。

--resource-group -g

指定存储帐户的资源组名称。

--yes -y

不提示确认。

默认值: False
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az storage account private-endpoint-connection reject

预览

命令组“存储帐户专用终结点连接”处于预览状态,正在开发中。 参考和支持级别: https://aka.ms/CLI_refstatus

拒绝存储帐户的专用终结点连接请求。

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

示例

按 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"

按 ID 拒绝存储帐户的专用终结点连接请求。

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

使用帐户名称和连接名称拒绝存储帐户的专用终结点连接请求。

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

使用帐户名称和连接名称拒绝存储帐户的专用终结点连接请求。

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

可选参数

--account-name

存储帐户名称。

--description

拒绝操作的注释。

--id

与 存储 帐户关联的专用终结点连接的 ID。 可以使用它。az storage account show

--name -n

与 存储 帐户关联的专用终结点连接的名称。

--resource-group -g

指定存储帐户的资源组名称。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az storage account private-endpoint-connection show

预览

命令组“存储帐户专用终结点连接”处于预览状态,正在开发中。 参考和支持级别: https://aka.ms/CLI_refstatus

显示存储帐户的专用终结点连接请求的详细信息。

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

示例

按 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"

按 ID 显示存储帐户的专用终结点连接请求的详细信息。

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

使用帐户名称和连接名称显示存储帐户的专用终结点连接请求的详细信息。

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

使用帐户名称和连接名称显示存储帐户的专用终结点连接请求的详细信息。

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

可选参数

--account-name

存储帐户名称。

--id

与 存储 帐户关联的专用终结点连接的 ID。 可以使用它。az storage account show

--name -n

与 存储 帐户关联的专用终结点连接的名称。

--resource-group -g

指定存储帐户的资源组名称。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。