Interface GenerateDetailedCostReportsClient


public interface GenerateDetailedCostReportsClient
An instance of this class provides access to all the operations defined in GenerateDetailedCostReportsClient.
  • Method Details

    • beginCreateOperation

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GenerateDetailedCostReportOperationResultInner>,GenerateDetailedCostReportOperationResultInner> beginCreateOperation(String scope, GenerateDetailedCostReportDefinition parameters)
      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 SyncPoller for polling of 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.
    • beginCreateOperation

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GenerateDetailedCostReportOperationResultInner>,GenerateDetailedCostReportOperationResultInner> beginCreateOperation(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 SyncPoller for polling of 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

      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

      GenerateDetailedCostReportOperationResultInner 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.