Interface ReservationOrderAlias


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

    • create

      ReservationOrderAliasResponse create(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:
      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

      ReservationOrderAliasResponse 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<ReservationOrderAliasResponse> 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

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