Skip to main content

detailed_cost_report_operation_status

Creates, updates, deletes, gets or lists a detailed_cost_report_operation_status resource.

Overview

Namedetailed_cost_report_operation_status
TypeResource
Idazure.cost_management.detailed_cost_report_operation_status

Fields

The following fields are returned by SELECT queries:

OK. The request has succeeded.

NameDatatypeDescription
idstringThe ID of the long running operation.
namestringThe name of the long running operation.
endTimestringThe endTime of the operation.
errorobjectThe details of the error.
propertiesobjectThe properties of the usage file generated.
startTimestringThe startTime of the operation.
statusobjectThe status of the long running operation.
typestringThe type of the long running operation.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectoperationId, scopeGet the status of the specified operation. This link is provided in the GenerateDetailedCostReport creation request response header.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
operationIdstringThe target operation Id.
scopestringThe ARM Resource ID for subscription, billing account, or other billing scopes.Currently Resource Group and Management Group are not supported. For details, see https://aka.ms/costmgmt/scopes.

SELECT examples

Get the status of the specified operation. This link is provided in the GenerateDetailedCostReport creation request response header.

SELECT
id,
name,
endTime,
error,
properties,
startTime,
status,
type
FROM azure.cost_management.detailed_cost_report_operation_status
WHERE operationId = '{{ operationId }}' -- required
AND scope = '{{ scope }}' -- required
;