共用方式為


az footprint measurement-endpoint-condition

Note

This reference is part of the footprint extension for the Azure CLI (version 2.11.0 or higher). 擴充功能會在您第一次執行 az footprint measurement-endpoint-condition 命令時自動安裝Learn more about extensions.

此命令群組是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

管理度量端點下度量端點條件的命令。

命令

名稱 Description 類型 狀態
az footprint measurement-endpoint-condition create

使用指定的屬性,在 [使用量] 測量下建立或更新度量端點條件。

Extension Experimental
az footprint measurement-endpoint-condition delete

刪除 [使用量] 度量下的現有度量端點條件。

Extension Experimental
az footprint measurement-endpoint-condition list

擷取使用量測量端點下所有度量端點條件的相關信息。

Extension Experimental
az footprint measurement-endpoint-condition show

擷取使用量度量端點下單一度量端點條件的相關信息。

Extension Experimental
az footprint measurement-endpoint-condition update

使用指定的屬性,在 [使用量] 測量下建立或更新度量端點條件。

Extension Experimental

az footprint measurement-endpoint-condition create

實驗

命令群組「使用量測量端點條件」是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

使用指定的屬性,在 [使用量] 測量下建立或更新度量端點條件。

az footprint measurement-endpoint-condition create --constant
                                                   --endpoint-name
                                                   --name
                                                   --operator {ContainsValue, ContainsValueIgnoreCasing, DoesNotContainValue, DoesNotContainValueIgnoreCasing, IsExactValue, MatchValueIgnoreCasing}
                                                   --profile-name
                                                   --resource-group
                                                   --variable

範例

建立或更新度量端點條件。

az footprint measurement-endpoint-condition create --name "condition0" --endpoint-name "endpoint1" --constant "Edge-Prod-WST" --operator "MatchValueIgnoreCasing" --variable "X-FD-EdgeEnvironment" --profile-name "fpProfile1" --resource-group "rgName"

必要參數

--constant

使用量測量端點條件的常數。

--endpoint-name

使用量度量端點資源的名稱。

--name

使用量測量端點條件資源的名稱。

--operator

使用量測量端點條件的運算元。

屬性
接受的值: ContainsValue, ContainsValueIgnoreCasing, DoesNotContainValue, DoesNotContainValueIgnoreCasing, IsExactValue, MatchValueIgnoreCasing
--profile-name

使用量配置檔資源的名稱。

--resource-group -g

資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。

--variable

使用量測量端點條件的變數。

全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

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

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az footprint measurement-endpoint-condition delete

實驗

命令群組「使用量測量端點條件」是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

刪除 [使用量] 度量下的現有度量端點條件。

az footprint measurement-endpoint-condition delete [--endpoint-name]
                                                   [--ids]
                                                   [--name]
                                                   [--profile-name]
                                                   [--resource-group]
                                                   [--subscription]
                                                   [--yes]

範例

刪除度量端點條件。

az footprint measurement-endpoint-condition delete --name "condition0" --endpoint-name "endpoint1" --profile-name "fpProfile1" --resource-group "rgName"

選擇性參數

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--endpoint-name

使用量度量端點資源的名稱。

屬性
Parameter group: Resource Id Arguments
--ids

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

屬性
Parameter group: Resource Id Arguments
--name

使用量測量端點條件資源的名稱。

屬性
Parameter group: Resource Id Arguments
--profile-name

使用量配置檔資源的名稱。

屬性
Parameter group: Resource Id Arguments
--resource-group -g

資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。

屬性
Parameter group: Resource Id Arguments
--subscription

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

屬性
Parameter group: Resource Id Arguments
--yes -y

請勿提示確認。

屬性
預設值: False
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az footprint measurement-endpoint-condition list

實驗

命令群組「使用量測量端點條件」是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

擷取使用量測量端點下所有度量端點條件的相關信息。

az footprint measurement-endpoint-condition list --endpoint-name
                                                 --profile-name
                                                 --resource-group

範例

列出測量端點下的所有條件。

az footprint measurement-endpoint-condition list --endpoint-name "endpoint1" --profile-name "fpProfile1" --resource-group "rgName"

必要參數

--endpoint-name

使用量度量端點資源的名稱。

--profile-name

使用量配置檔資源的名稱。

--resource-group -g

資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。

全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

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

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az footprint measurement-endpoint-condition show

實驗

命令群組「使用量測量端點條件」是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

擷取使用量度量端點下單一度量端點條件的相關信息。

az footprint measurement-endpoint-condition show [--endpoint-name]
                                                 [--ids]
                                                 [--name]
                                                 [--profile-name]
                                                 [--resource-group]
                                                 [--subscription]

範例

取得測量端點條件的詳細數據。

az footprint measurement-endpoint-condition show --name "condition0" --endpoint-name "endpoint1" --profile-name "fpProfile1" --resource-group "rgName"

選擇性參數

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--endpoint-name

使用量度量端點資源的名稱。

屬性
Parameter group: Resource Id Arguments
--ids

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

屬性
Parameter group: Resource Id Arguments
--name

使用量測量端點條件資源的名稱。

屬性
Parameter group: Resource Id Arguments
--profile-name

使用量配置檔資源的名稱。

屬性
Parameter group: Resource Id Arguments
--resource-group -g

資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。

屬性
Parameter group: Resource Id Arguments
--subscription

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

屬性
Parameter group: Resource Id Arguments
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az footprint measurement-endpoint-condition update

實驗

命令群組「使用量測量端點條件」是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

使用指定的屬性,在 [使用量] 測量下建立或更新度量端點條件。

az footprint measurement-endpoint-condition update --constant
                                                   --operator {ContainsValue, ContainsValueIgnoreCasing, DoesNotContainValue, DoesNotContainValueIgnoreCasing, IsExactValue, MatchValueIgnoreCasing}
                                                   --variable
                                                   [--endpoint-name]
                                                   [--ids]
                                                   [--name]
                                                   [--profile-name]
                                                   [--resource-group]
                                                   [--subscription]

必要參數

--constant

使用量測量端點條件的常數。

--operator

使用量測量端點條件的運算元。

屬性
接受的值: ContainsValue, ContainsValueIgnoreCasing, DoesNotContainValue, DoesNotContainValueIgnoreCasing, IsExactValue, MatchValueIgnoreCasing
--variable

使用量測量端點條件的變數。

選擇性參數

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--endpoint-name

使用量度量端點資源的名稱。

屬性
Parameter group: Resource Id Arguments
--ids

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

屬性
Parameter group: Resource Id Arguments
--name

使用量測量端點條件資源的名稱。

屬性
Parameter group: Resource Id Arguments
--profile-name

使用量配置檔資源的名稱。

屬性
Parameter group: Resource Id Arguments
--resource-group -g

資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。

屬性
Parameter group: Resource Id Arguments
--subscription

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

屬性
Parameter group: Resource Id Arguments
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False