az storage account private-endpoint-connection

此命令群組處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

管理儲存體帳戶私人端點連線。

命令

名稱 Description 類型 狀態
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

預覽

命令群組 'storage account private-endpoint-connection' 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

核准儲存體帳戶的私人端點連線要求。

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

範例

依識別碼核准儲存體帳戶的私人端點連線要求。

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 = (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

與 儲存體 帳戶相關聯的私人端點連線識別碼。 您可以使用 來取得它 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

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az storage account private-endpoint-connection delete

預覽

命令群組 'storage account private-endpoint-connection' 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

刪除儲存體帳戶的私人端點連線要求。

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

範例

依識別碼刪除儲存體帳戶的私人端點連線要求。

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 = (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

與 儲存體 帳戶相關聯的私人端點連線識別碼。 您可以使用 來取得它 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

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az storage account private-endpoint-connection reject

預覽

命令群組 'storage account private-endpoint-connection' 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

拒絕儲存體帳戶的私人端點連線要求。

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

範例

依識別碼拒絕儲存體帳戶的私人端點連線要求。

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 = (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

與 儲存體 帳戶相關聯的私人端點連線識別碼。 您可以使用 來取得它 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

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az storage account private-endpoint-connection show

預覽

命令群組 'storage account private-endpoint-connection' 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

顯示儲存體帳戶的私人端點連線要求詳細資料。

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

範例

依識別碼顯示儲存體帳戶的私人端點連線要求詳細資料。

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 = (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

與 儲存體 帳戶相關聯的私人端點連線識別碼。 您可以使用 來取得它 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

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。