Interface ResourceProvidersClient


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

    • validatePurchaseWithResponse

      com.azure.core.http.rest.Response<SavingsPlanValidateResponseInner> validatePurchaseWithResponse(SavingsPlanPurchaseValidateRequest body, com.azure.core.util.Context context)
      Validate savings plan purchase.
      Parameters:
      body - Request body for validating the purchase of a savings plan.
      context - The context to associate with this operation.
      Returns:
      the response body 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.
    • validatePurchase

      Validate savings plan purchase.
      Parameters:
      body - Request body for validating the purchase of a savings plan.
      Returns:
      the 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.