Interface GenerateReservationDetailsReportsClient


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

    • beginByBillingAccountId

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

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

      OperationStatusInner 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

      OperationStatusInner 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.
    • beginByBillingProfileId

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

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

      OperationStatusInner 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

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