az billing period
管理訂用帳戶的計費期間。
命令
名稱 | Description | 類型 | 狀態 |
---|---|---|---|
az billing period list |
以反向時間順序列出訂用帳戶的可用計費週期。 |
Core | GA |
az billing period show |
顯示具名計費週期。 |
Core | GA |
az billing period list
以反向時間順序列出訂用帳戶的可用計費週期。
只有 Azure Web-Direct 訂用帳戶才支援此功能。 此預覽 API 不支援未透過 Azure 入口網站直接購買的其他訂用帳戶類型。
az billing period list [--filter]
[--max-items]
[--next-token]
[--skiptoken]
[--top]
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
可用來依 billingPeriodEndDate 篩選計費週期。 篩選支援 'eq'、'lt'、'gt'、'le'、'ge'和 'and'。 它目前不支援 『ne』、『or』 或 『not』。
命令輸出中要傳回的項目總數。 如果可用的專案總數超過指定的值,則會在命令的輸出中提供令牌。 若要繼續分頁,請在後續命令的 --next-token
自變數中提供令牌值。
屬性 | 值 |
---|---|
Parameter group: | Pagination Arguments |
標記,指定要開始分頁的位置。 這是先前截斷回應中的令牌值。
屬性 | 值 |
---|---|
Parameter group: | Pagination Arguments |
只有在先前的作業傳回部分結果時,才會使用Skiptoken。 如果先前的回應包含 nextLink 元素,則 nextLink 元素的值會包含 skiptoken 參數,指定要用於後續呼叫的起點。
可用來將結果數目限制為最近 N 個計費週期。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | 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 billing period show
顯示具名計費週期。
只有 Azure Web-Direct 訂用帳戶才支援此功能。 此預覽 API 不支援未透過 Azure 入口網站直接購買的其他訂用帳戶類型。
az billing period show --name
必要參數
計費週期的名稱。 執行 az billing period list 命令來列出計費週期的名稱。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | 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 |