Share via


az acr artifact-streaming operation

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

管理 ACR 的串流成品建立作業。

命令

名稱 Description 類型 狀態
az acr artifact-streaming operation cancel

取消 ACR 的指定串流成品作業。

核心 預覽​​
az acr artifact-streaming operation show

檢查 ACR 中成品串流的作業狀態。

核心 預覽​​

az acr artifact-streaming operation cancel

預覽

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

取消 ACR 的指定串流成品作業。

az acr artifact-streaming operation cancel --name
                                           [--id]
                                           [--image]
                                           [--password]
                                           [--repository]
                                           [--suffix]
                                           [--username]

範例

取消與 ACR 'myregistry' 中存放庫 'MyRepo' 下標識符 'OperationId' 相關聯的串流成品建立。

az acr artifact-streaming operation cancel -n myregistry --repository MyRepo --id OperationId

必要參數

--name -n

容器登錄的名稱。 它應該以小寫指定。 您可以使用 來設定預設登錄名稱 az configure --defaults acr=<registry name>

選擇性參數

--id

建立串流成品時傳回的標識碼。

--image -t

影像的名稱。 可以包含格式為 『name:tag』 的標記,或格式為 『name@digest』 的摘要。

--password -p

用來登入容器登錄的密碼。

--repository

存放庫的名稱。

--suffix

登錄登入伺服器中的租用戶後綴。 如果您的登錄登入伺服器格式為 『registry-tenant.azurecr.io』,您可以指定 '--suffix tenant'。 適用於您從不同的訂用帳戶存取登錄,或您有權存取映射,但無權管理登錄資源。

--username -u

用來登入容器登錄的用戶名稱。

全域參數
--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 acr artifact-streaming operation show

預覽

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

檢查 ACR 中成品串流的作業狀態。

az acr artifact-streaming operation show --name
                                         [--id]
                                         [--image]
                                         [--password]
                                         [--repository]
                                         [--suffix]
                                         [--username]

範例

取得 ACR 'myregistry' 中存放庫 'MyRepo' 底下標識符 'OperationId' 的串流成品建立狀態。

az acr artifact-streaming operation show -n myregistry --repository MyRepo --id OperationId

必要參數

--name -n

容器登錄的名稱。 它應該以小寫指定。 您可以使用 來設定預設登錄名稱 az configure --defaults acr=<registry name>

選擇性參數

--id

建立串流成品時傳回的標識碼。

--image -t

影像的名稱。 可以包含格式為 『name:tag』 的標記,或格式為 『name@digest』 的摘要。

--password -p

用來登入容器登錄的密碼。

--repository

存放庫的名稱。

--suffix

登錄登入伺服器中的租用戶後綴。 如果您的登錄登入伺服器格式為 『registry-tenant.azurecr.io』,您可以指定 '--suffix tenant'。 適用於您從不同的訂用帳戶存取登錄,或您有權存取映射,但無權管理登錄資源。

--username -u

用來登入容器登錄的用戶名稱。

全域參數
--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 來取得完整偵錯記錄。