az billing role-definition
此命令群組處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
顯示計費角色定義。
命令
名稱 | Description | 類型 | 狀態 |
---|---|---|---|
az billing role-definition list |
列出計費帳戶的角色定義。 合約類型Microsoft合作夥伴合約或Microsoft客戶合約的計費帳戶支援此作業。 |
Core | Preview |
az billing role-definition show |
顯示角色定義詳細數據。 |
Core | Preview |
az billing role-definition list
命令群組「計費角色定義」處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
列出計費帳戶的角色定義。 合約類型Microsoft合作夥伴合約或Microsoft客戶合約的計費帳戶支援此作業。
az billing role-definition list --account-name
[--invoice-section-name]
[--profile-name]
範例
列出計費帳戶的角色定義
az billing role-definition list --account-name "{billingAccountName}"
列出帳單配置檔的角色定義。
az billing role-definition list --account-name "{billingAccountName}" --profile-name "{billingProfileName}"
列出發票區段的角色定義。
az billing role-definition list --account-name "{billingAccountName}" --profile-name "{billingProfileName}" --invoice-section-name "{invoiceSectionName}"
必要參數
可唯一識別計費帳戶的標識碼。
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
可唯一識別發票區段的標識碼。
可唯一識別帳單配置檔的標識碼。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | 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 role-definition show
命令群組「計費角色定義」處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
顯示角色定義詳細數據。
az billing role-definition show --account-name
--name
[--invoice-section-name]
[--profile-name]
範例
在計費帳戶上顯示角色的定義。 合約類型Microsoft合作夥伴合約或Microsoft客戶合約的計費帳戶支援此作業。
az billing role-definition show --account-name "{billingAccountName}" --name "{billingRoleDefinitionName}"
在帳單配置檔上顯示角色的定義。 合約類型Microsoft合作夥伴合約或Microsoft客戶合約的計費帳戶支援此作業。
az billing role-definition show --account-name "{billingAccountName}" --profile-name "{billingProfileName}" --name "{billingRoleDefinitionName}"
在發票區段上顯示角色的定義。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業
az billing role-definition show --account-name "{billingAccountName}" --invoice-section-name "{invoiceSectionName}" --name "{billingRoleDefinitionName}"
必要參數
可唯一識別計費帳戶的標識碼。
可唯一識別角色定義的名稱。
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
可唯一識別發票區段的標識碼。
可唯一識別帳單配置檔的標識碼。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | 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 |