Interface GenerateReservationDetailsReports


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

    • byBillingAccountId

      OperationStatus byBillingAccountId(String billingAccountId, String startDate, String endDate)
      Generates the reservations details report for provided date range asynchronously based on enrollment id. The Reservation usage details can be viewed only by certain enterprise roles. For more details on the roles see, https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role.
      Parameters:
      billingAccountId - Enrollment ID (Legacy BillingAccount ID).
      startDate - Start Date.
      endDate - End Date.
      Returns:
      the status of the long running operation.
      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.
    • byBillingAccountId

      OperationStatus byBillingAccountId(String billingAccountId, String startDate, String endDate, com.azure.core.util.Context context)
      Generates the reservations details report for provided date range asynchronously based on enrollment id. The Reservation usage details can be viewed only by certain enterprise roles. For more details on the roles see, https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role.
      Parameters:
      billingAccountId - Enrollment ID (Legacy BillingAccount ID).
      startDate - Start Date.
      endDate - End Date.
      context - The context to associate with this operation.
      Returns:
      the status of the long running operation.
      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.
    • byBillingProfileId

      OperationStatus byBillingProfileId(String billingAccountId, String billingProfileId, String startDate, String endDate)
      Generates the reservations details report for provided date range asynchronously by billing profile. The Reservation usage details can be viewed by only certain enterprise roles by default. For more details on the roles see, https://docs.microsoft.com/en-us/azure/cost-management-billing/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access.
      Parameters:
      billingAccountId - Billing account ID.
      billingProfileId - Billing profile ID.
      startDate - Start Date.
      endDate - End Date.
      Returns:
      the status of the long running operation.
      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.
    • byBillingProfileId

      OperationStatus byBillingProfileId(String billingAccountId, String billingProfileId, String startDate, String endDate, com.azure.core.util.Context context)
      Generates the reservations details report for provided date range asynchronously by billing profile. The Reservation usage details can be viewed by only certain enterprise roles by default. For more details on the roles see, https://docs.microsoft.com/en-us/azure/cost-management-billing/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access.
      Parameters:
      billingAccountId - Billing account ID.
      billingProfileId - Billing profile ID.
      startDate - Start Date.
      endDate - End Date.
      context - The context to associate with this operation.
      Returns:
      the status of the long running operation.
      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.