Interface GenerateDetailedCostReports


public interface GenerateDetailedCostReports
Resource collection API of GenerateDetailedCostReports.
  • Method Details

    • createOperation

      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.
      Parameters:
      scope - The ARM Resource ID for subscription, resource group, billing account, or other billing scopes. For details, see https://aka.ms/costmgmt/scopes.
      parameters - Parameters supplied to the Create detailed cost report operation.
      Returns:
      the result of the long running operation for cost detailed report.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOperation

      GenerateDetailedCostReportOperationResult createOperation(String scope, GenerateDetailedCostReportDefinition parameters, com.azure.core.util.Context context)
      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.
      Parameters:
      scope - The ARM Resource ID for subscription, resource group, billing account, or other billing scopes. For details, see https://aka.ms/costmgmt/scopes.
      parameters - Parameters supplied to the Create detailed cost report operation.
      context - The context to associate with this operation.
      Returns:
      the result of the long running operation for cost detailed report.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.