az spring container-registry
備註
此參考是 Azure CLI 的 spring 延伸模組的一部分(2.56.0 版或更高版本)。 擴充功能會在您第一次執行 az spring container-registry 命令時,自動安裝
此命令群組已隱含取代,因為命令群組 'spring' 已被取代,並將在未來版本中移除。
(僅限企業層)管理 Container Registry 資源的命令。
命令
| 名稱 | Description | 類型 | 狀態 |
|---|---|---|---|
| az spring container-registry create |
建立容器登錄。 |
擴充套件 | Deprecated |
| az spring container-registry delete |
刪除容器登錄。 |
擴充套件 | Deprecated |
| az spring container-registry list |
列出所有容器登錄。 |
擴充套件 | Deprecated |
| az spring container-registry show |
顯示容器登錄。 |
擴充套件 | Deprecated |
| az spring container-registry update |
更新容器登錄。 |
擴充套件 | Deprecated |
az spring container-registry create
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
建立容器登錄。
az spring container-registry create --resource-group
--service
[--name]
[--no-wait]
[--password]
[--server]
[--username]
範例
建立容器登錄。
az spring container-registry create --name my-acr --server test.azurecr.io --username test --password xxx --service clitest --resource-group cli
必要參數
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
Azure Spring Apps 實例的名稱,您可以使用 az configure --defaults spring=<name>來設定預設服務。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
容器登錄名稱。
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
容器登錄密碼。
容器登錄伺服器。
容器登錄用戶名稱。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az spring container-registry delete
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
刪除容器登錄。
az spring container-registry delete --name
--resource-group
--service
[--no-wait]
[--yes]
範例
刪除容器登錄。
az spring container-registry delete --name my-acr --service clitest --resource-group cli
必要參數
容器登錄名稱。
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
Azure Spring Apps 實例的名稱,您可以使用 az configure --defaults spring=<name>來設定預設服務。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
請勿提示確認。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az spring container-registry list
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
列出所有容器登錄。
az spring container-registry list --resource-group
--service
範例
列出所有容器登錄。
az spring container-registry list --service clitest --resource-group cli
必要參數
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
Azure Spring Apps 實例的名稱,您可以使用 az configure --defaults spring=<name>來設定預設服務。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az spring container-registry show
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
顯示容器登錄。
az spring container-registry show --resource-group
--service
[--name]
範例
顯示容器登錄。
az spring container-registry show --name my-acr --service clitest --resource-group cli
必要參數
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
Azure Spring Apps 實例的名稱,您可以使用 az configure --defaults spring=<name>來設定預設服務。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
容器登錄名稱。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az spring container-registry update
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
更新容器登錄。
az spring container-registry update --resource-group
--service
[--name]
[--no-wait]
[--password]
[--server]
[--username]
範例
更新容器登錄。
az spring container-registry update --name my-acr --server test.azurecr.io --username test --password xxx --service clitest --resource-group cli
必要參數
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
Azure Spring Apps 實例的名稱,您可以使用 az configure --defaults spring=<name>來設定預設服務。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
容器登錄名稱。
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
容器登錄密碼。
容器登錄伺服器。
容器登錄用戶名稱。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |