Interface FeatureSupportsClient


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

    • validateWithResponse

      com.azure.core.http.rest.Response<AzureVMResourceFeatureSupportResponseInner> 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

      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.