az devcenter dev catalog
Note
This reference is part of the devcenter extension for the Azure CLI (version 2.67.0 or higher). 當您第一次執行 az devcenter dev catalog 命令時,擴充功能會自動安裝。 Learn more about extensions.
Manage catalogs.
命令
名稱 | Description | 類型 | 狀態 |
---|---|---|---|
az devcenter dev catalog list |
列出專案可用的所有目錄。 |
Extension | GA |
az devcenter dev catalog show |
取得專案內的指定目錄。 |
Extension | GA |
az devcenter dev catalog list
列出專案可用的所有目錄。
az devcenter dev catalog list --project --project-name
[--dev-center --dev-center-name]
[--endpoint]
範例
使用開發人員中心列出
az devcenter dev catalog list --dev-center-name "ContosoDevCenter" --project-name "DevProject"
使用端點列出
az devcenter dev catalog list --endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" --project-name "DevProject"
必要參數
項目的名稱。 使用 az configure -d project=<project_name>
來設定預設值。
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
開發人員中心的名稱。 使用 az configure -d dev-center=<dev_center_name>
來設定預設值。
開發人員資源的 API 端點。 使用 az configure -d endpoint=<endpoint_uri>
來設定預設值。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |
az devcenter dev catalog show
取得專案內的指定目錄。
az devcenter dev catalog show --catalog-name --name
--project --project-name
[--dev-center --dev-center-name]
[--endpoint]
範例
使用開發人員中心
az devcenter dev catalog show --dev-center-name "ContosoDevCenter" --project-name "DevProject" --catalog-name "foo"
使用端點
az devcenter dev catalog show --endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" --project-name "DevProject" --catalog-name "foo"
必要參數
目錄名稱
項目的名稱。 使用 az configure -d project=<project_name>
來設定預設值。
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
開發人員中心的名稱。 使用 az configure -d dev-center=<dev_center_name>
來設定預設值。
開發人員資源的 API 端點。 使用 az configure -d endpoint=<endpoint_uri>
來設定預設值。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |