Interface ResourceProviders
public interface ResourceProviders
Resource collection API of ResourceProviders.
-
Method Summary
Modifier and TypeMethodDescriptionValidate savings plan purchase.com.azure.core.http.rest.Response<SavingsPlanValidateResponse>
validatePurchaseWithResponse
(SavingsPlanPurchaseValidateRequest body, com.azure.core.util.Context context) Validate savings plan purchase.
-
Method Details
-
validatePurchaseWithResponse
com.azure.core.http.rest.Response<SavingsPlanValidateResponse> 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.
-