Interface FeatureSupports
public interface FeatureSupports
Resource collection API of FeatureSupports.
-
Method Summary
Modifier and TypeMethodDescriptionvalidate
(String azureRegion, FeatureSupportRequest parameters) It will validate if given feature with resource properties is supported in service.com.azure.core.http.rest.Response<AzureVMResourceFeatureSupportResponse>
validateWithResponse
(String azureRegion, FeatureSupportRequest parameters, com.azure.core.util.Context context) It will validate if given feature with resource properties is supported in service.
-
Method Details
-
validateWithResponse
com.azure.core.http.rest.Response<AzureVMResourceFeatureSupportResponse> validateWithResponse(String azureRegion, FeatureSupportRequest parameters, com.azure.core.util.Context context) It will validate if given feature with resource properties is supported in service.- Parameters:
azureRegion
- Azure region to hit Api.parameters
- Feature support request object.context
- The context to associate with this operation.- Returns:
- response for feature support requests for Azure IaasVm 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.
-
validate
AzureVMResourceFeatureSupportResponse validate(String azureRegion, FeatureSupportRequest parameters) It will validate if given feature with resource properties is supported in service.- Parameters:
azureRegion
- Azure region to hit Api.parameters
- Feature support request object.- Returns:
- response for feature support requests for Azure IaasVm.
- 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.
-