detailed_cost_reports
Creates, updates, deletes, gets or lists a detailed_cost_reports
resource.
Overview
Name | detailed_cost_reports |
Type | Resource |
Id | azure.cost_management.detailed_cost_reports |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create_operation | INSERT | scope | Generates the detailed cost report for provided date range, billing period(only enterprise customers) or Invoice ID asynchronously at a certain scope. Call returns a 202 with header Azure-Consumption-AsyncOperation providing a link to the operation created. A call on the operation will provide the status and if the operation is completed the blob file where generated detailed cost report is being stored. |
INSERT
example
Use the following StackQL query and manifest file to create a new detailed_cost_reports
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.cost_management.detailed_cost_reports (
scope,
metric,
timePeriod,
billingPeriod,
invoiceId,
customerId
)
SELECT
'{{ scope }}',
'{{ metric }}',
'{{ timePeriod }}',
'{{ billingPeriod }}',
'{{ invoiceId }}',
'{{ customerId }}'
;
- name: your_resource_model_name
props:
- name: metric
value: string
- name: timePeriod
value:
- name: start
value: string
- name: end
value: string
- name: billingPeriod
value: string
- name: invoiceId
value: string
- name: customerId
value: string