Skip to main content

generate_detailed_cost_report_operation_status

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

Overview

Namegenerate_detailed_cost_report_operation_status
TypeResource
Idazure.cost_management.generate_detailed_cost_report_operation_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
downloadUrlstringThe URL to download the generated report.
endTimestringThe endTime of the operation.
errorobjectThe details of the error.
expiryTimestring (date-time)The time at which report URL becomes invalid/expires in UTC e.g. 2020-12-08T05:55:59.4394737Z.
startTimestringThe startTime of the operation.
statusobjectThe status of the long running operation.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
validTillstring (date-time)The time at which report URL becomes invalid/expires in UTC e.g. 2020-12-08T05:55:59.4394737Z.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectoperation_id, 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
operation_idstringThe target operation Id. Required.
scopestringThe fully qualified Azure Resource manager identifier of the resource. Required.

SELECT examples

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

SELECT
id,
name,
downloadUrl,
endTime,
error,
expiryTime,
startTime,
status,
systemData,
type,
validTill
FROM azure.cost_management.generate_detailed_cost_report_operation_status
WHERE operation_id = '{{ operation_id }}' -- required
AND scope = '{{ scope }}' -- required
;