az costmanagement
Note
This reference is part of the costmanagement extension for the Azure CLI (version 2.55.0 or higher). The extension will automatically install the first time you run an az costmanagement command. Learn more about extensions.
Costmanagement.
命令
名称 | 说明 | 类型 | Status |
---|---|---|---|
az costmanagement export |
Costmanagement export. |
Extension | GA |
az costmanagement export create |
用于创建导出的作。 |
Extension | GA |
az costmanagement export delete |
用于删除导出的作。 |
Extension | GA |
az costmanagement export list |
列出给定范围内所有导出的作。 |
Extension | GA |
az costmanagement export show |
通过导出名称获取定义的范围的导出的执行历史记录的操作。 |
Extension | GA |
az costmanagement export update |
用于更新导出的作。 |
Extension | GA |
az costmanagement show-operation-result |
获取指定作的结果。 此 operationId 的链接作为初始请求的响应标头提供。 |
Extension | GA |
az costmanagement show-operation-result
获取指定作的结果。 此 operationId 的链接作为初始请求的响应标头提供。
az costmanagement show-operation-result --operation-id
--scope
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
必需参数
目标作 ID。
订阅、资源组、计费帐户或其他计费范围的 ARM 资源 ID。 有关详细信息,请参阅 https://aka.ms/costmgmt/scopes。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |