az footprint measurement-endpoint-condition

注意

此參考是 Azure CLI 的使用量 延伸模組的一部分 (2.11.0 版或更高版本)。 擴充功能會在您第一次執行 az footprint measurement-endpoint-condition 命令時自動安裝。 深入了解擴充功能。

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

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

命令

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

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

擴充 實驗性
az footprint measurement-endpoint-condition delete

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

擴充 實驗性
az footprint measurement-endpoint-condition list

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

擴充 實驗性
az footprint measurement-endpoint-condition show

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

擴充 實驗性
az footprint measurement-endpoint-condition update

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

擴充 實驗性

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

增加記錄詳細資訊,以顯示所有偵錯記錄。

--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 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"

選擇性參數

--endpoint-name

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

--ids

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

--name

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

--profile-name

使用量設定檔資源的名稱。

--resource-group -g

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

--subscription

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

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

增加記錄詳細資訊,以顯示所有偵錯記錄。

--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 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"

選擇性參數

--endpoint-name

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

--ids

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

--name

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

--profile-name

使用量設定檔資源的名稱。

--resource-group -g

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

--subscription

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

全域參數
--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 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

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

選擇性參數

--endpoint-name

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

--ids

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

--name

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

--profile-name

使用量設定檔資源的名稱。

--resource-group -g

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

--subscription

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

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