Interface ReservationOrderAliasClient


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

    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReservationOrderAliasResponseInner>,ReservationOrderAliasResponseInner> beginCreate(String reservationOrderAliasName, ReservationOrderAliasRequest body)
      Create a reservation order alias.
      Parameters:
      reservationOrderAliasName - Name of the reservation order alias.
      body - Request body for creating a reservation order alias.
      Returns:
      the SyncPoller for polling of reservation order alias.
      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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReservationOrderAliasResponseInner>,ReservationOrderAliasResponseInner> beginCreate(String reservationOrderAliasName, ReservationOrderAliasRequest body, com.azure.core.util.Context context)
      Create a reservation order alias.
      Parameters:
      reservationOrderAliasName - Name of the reservation order alias.
      body - Request body for creating a reservation order alias.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of reservation order alias.
      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.
    • create

      Create a reservation order alias.
      Parameters:
      reservationOrderAliasName - Name of the reservation order alias.
      body - Request body for creating a reservation order alias.
      Returns:
      reservation order alias.
      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.
    • create

      ReservationOrderAliasResponseInner create(String reservationOrderAliasName, ReservationOrderAliasRequest body, com.azure.core.util.Context context)
      Create a reservation order alias.
      Parameters:
      reservationOrderAliasName - Name of the reservation order alias.
      body - Request body for creating a reservation order alias.
      context - The context to associate with this operation.
      Returns:
      reservation order alias.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<ReservationOrderAliasResponseInner> getWithResponse(String reservationOrderAliasName, com.azure.core.util.Context context)
      Get a reservation order alias.
      Parameters:
      reservationOrderAliasName - Name of the reservation order alias.
      context - The context to associate with this operation.
      Returns:
      a reservation order alias along with Response.
      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.
    • get

      ReservationOrderAliasResponseInner get(String reservationOrderAliasName)
      Get a reservation order alias.
      Parameters:
      reservationOrderAliasName - Name of the reservation order alias.
      Returns:
      a reservation order alias.
      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.