GenerateDetailedCostReport interface

Interface representing a GenerateDetailedCostReport.

Methods

beginCreateOperation(string, GenerateDetailedCostReportDefinition, GenerateDetailedCostReportCreateOperationOptionalParams)

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.

beginCreateOperationAndWait(string, GenerateDetailedCostReportDefinition, GenerateDetailedCostReportCreateOperationOptionalParams)

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.

Method Details

beginCreateOperation(string, GenerateDetailedCostReportDefinition, GenerateDetailedCostReportCreateOperationOptionalParams)

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.

function beginCreateOperation(scope: string, parameters: GenerateDetailedCostReportDefinition, options?: GenerateDetailedCostReportCreateOperationOptionalParams): Promise<SimplePollerLike<OperationState<GenerateDetailedCostReportOperationResult>, GenerateDetailedCostReportOperationResult>>

Parameters

scope

string

The ARM Resource ID for subscription, resource group, billing account, or other billing scopes. For details, see https://aka.ms/costmgmt/scopes.

parameters
GenerateDetailedCostReportDefinition

Parameters supplied to the Create detailed cost report operation.

Returns

beginCreateOperationAndWait(string, GenerateDetailedCostReportDefinition, GenerateDetailedCostReportCreateOperationOptionalParams)

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.

function beginCreateOperationAndWait(scope: string, parameters: GenerateDetailedCostReportDefinition, options?: GenerateDetailedCostReportCreateOperationOptionalParams): Promise<GenerateDetailedCostReportOperationResult>

Parameters

scope

string

The ARM Resource ID for subscription, resource group, billing account, or other billing scopes. For details, see https://aka.ms/costmgmt/scopes.

parameters
GenerateDetailedCostReportDefinition

Parameters supplied to the Create detailed cost report operation.

Returns