שתף באמצעות


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.

Commands

Name Description Type Status
az costmanagement export

Costmanagement export.

Extension GA
az costmanagement export create

The operation to create an export.

Extension GA
az costmanagement export delete

The operation to delete an export.

Extension GA
az costmanagement export list

The operation to list all exports at the given scope.

Extension GA
az costmanagement export show

The operation to get the execution history of an export for the defined scope by export name.

Extension GA
az costmanagement export update

The operation to update an export.

Extension GA
az costmanagement show-operation-result

Get the result of the specified operation. The link with this operationId is provided as a response header of the initial request.

Extension GA

az costmanagement show-operation-result

Get the result of the specified operation. The link with this operationId is provided as a response header of the initial request.

az costmanagement show-operation-result --operation-id
                                        --scope
                                        [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]

Required Parameters

--operation-id

The target operation Id.

--scope

The ARM Resource ID for subscription, resource group, billing account, or other billing scopes. For details, see https://aka.ms/costmgmt/scopes.

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.