Interface UsageMeteringApiGetMonthlyCostAttributionRequest

Hierarchy

  • UsageMeteringApiGetMonthlyCostAttributionRequest

Properties

endMonth?: Date

Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM] for cost ending this month.

fields: string

Comma-separated list specifying cost types (e.g., <billing_dimension>_on_demand_cost, <billing_dimension>_committed_cost, <billing_dimension>_total_cost) and the proportions (<billing_dimension>_percentage_in_org, <billing_dimension>_percentage_in_account). Use * to retrieve all fields. Example: infra_host_on_demand_cost,infra_host_percentage_in_account To obtain the complete list of active billing dimensions that can be used to replace <billing_dimension> in the field names, make a request to the Get active billing dimensions API.

includeDescendants?: boolean

Include child org cost in the response. Defaults to true.

nextRecordId?: string

List following results with a next_record_id provided in the previous query.

sortDirection?: SortDirection

The direction to sort by: [desc, asc].

sortName?: string

The billing dimension to sort by. Always sorted by total cost. Example: infra_host.

startMonth: Date

Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM] for cost beginning in this month.

tagBreakdownKeys?: string

Comma separated list of tag keys used to group cost. If no value is provided the cost will not be broken down by tags. To see which tags are available, look for the value of tag_config_source in the API response.

Generated using TypeDoc