generate_detailed_cost_report_operation_status
Creates, updates, deletes, gets or lists a generate_detailed_cost_report_operation_status resource.
Overview
| Name | generate_detailed_cost_report_operation_status |
| Type | Resource |
| Id | azure.cost_management.generate_detailed_cost_report_operation_status |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
downloadUrl | string | The URL to download the generated report. |
endTime | string | The endTime of the operation. |
error | object | The details of the error. |
expiryTime | string (date-time) | The time at which report URL becomes invalid/expires in UTC e.g. 2020-12-08T05:55:59.4394737Z. |
startTime | string | The startTime of the operation. |
status | object | The status of the long running operation. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
validTill | string (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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | operation_id, scope | Get 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.
| Name | Datatype | Description |
|---|---|---|
operation_id | string | The target operation Id. Required. |
scope | string | The fully qualified Azure Resource manager identifier of the resource. Required. |
SELECT examples
- get
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
;