Interface CloudValidationsClient


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

    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<CloudValidationInner> getByResourceGroupWithResponse(String resourceGroupName, String cloudValidationName, com.azure.core.util.Context context)
      Get a cloud validation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cloudValidationName - The name of the CloudValidation.
      context - The context to associate with this operation.
      Returns:
      a cloud validation 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.
    • getByResourceGroup

      CloudValidationInner getByResourceGroup(String resourceGroupName, String cloudValidationName)
      Get a cloud validation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cloudValidationName - The name of the CloudValidation.
      Returns:
      a cloud validation.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudValidationInner>, CloudValidationInner> beginCreateOrUpdate(String resourceGroupName, String cloudValidationName, CloudValidationInner resource)
      Create or update a cloud validation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cloudValidationName - The name of the CloudValidation.
      resource - Resource create parameters.
      Returns:
      the SyncPoller for polling of cloud Validation Resource.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudValidationInner>, CloudValidationInner> beginCreateOrUpdate(String resourceGroupName, String cloudValidationName, CloudValidationInner resource, com.azure.core.util.Context context)
      Create or update a cloud validation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cloudValidationName - The name of the CloudValidation.
      resource - Resource create parameters.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of cloud Validation Resource.
      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.
    • createOrUpdate

      CloudValidationInner createOrUpdate(String resourceGroupName, String cloudValidationName, CloudValidationInner resource)
      Create or update a cloud validation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cloudValidationName - The name of the CloudValidation.
      resource - Resource create parameters.
      Returns:
      cloud Validation Resource.
      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.
    • createOrUpdate

      CloudValidationInner createOrUpdate(String resourceGroupName, String cloudValidationName, CloudValidationInner resource, com.azure.core.util.Context context)
      Create or update a cloud validation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cloudValidationName - The name of the CloudValidation.
      resource - Resource create parameters.
      context - The context to associate with this operation.
      Returns:
      cloud Validation Resource.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudValidationInner>, CloudValidationInner> beginUpdate(String resourceGroupName, String cloudValidationName, CloudValidationUpdate properties)
      Update a cloud validation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cloudValidationName - The name of the CloudValidation.
      properties - The resource properties to be updated.
      Returns:
      the SyncPoller for polling of cloud Validation Resource.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudValidationInner>, CloudValidationInner> beginUpdate(String resourceGroupName, String cloudValidationName, CloudValidationUpdate properties, com.azure.core.util.Context context)
      Update a cloud validation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cloudValidationName - The name of the CloudValidation.
      properties - The resource properties to be updated.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of cloud Validation Resource.
      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.
    • update

      CloudValidationInner update(String resourceGroupName, String cloudValidationName, CloudValidationUpdate properties)
      Update a cloud validation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cloudValidationName - The name of the CloudValidation.
      properties - The resource properties to be updated.
      Returns:
      cloud Validation Resource.
      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.
    • update

      CloudValidationInner update(String resourceGroupName, String cloudValidationName, CloudValidationUpdate properties, com.azure.core.util.Context context)
      Update a cloud validation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cloudValidationName - The name of the CloudValidation.
      properties - The resource properties to be updated.
      context - The context to associate with this operation.
      Returns:
      cloud Validation Resource.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String cloudValidationName)
      Delete a cloud validation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cloudValidationName - The name of the CloudValidation.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String cloudValidationName, com.azure.core.util.Context context)
      Delete a cloud validation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cloudValidationName - The name of the CloudValidation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • delete

      void delete(String resourceGroupName, String cloudValidationName)
      Delete a cloud validation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cloudValidationName - The name of the CloudValidation.
      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.
    • delete

      void delete(String resourceGroupName, String cloudValidationName, com.azure.core.util.Context context)
      Delete a cloud validation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cloudValidationName - The name of the CloudValidation.
      context - The context to associate with this operation.
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<CloudValidationInner> listByResourceGroup(String resourceGroupName)
      List cloud validations by resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      the response of a CloudValidation list operation as paginated response with PagedIterable.
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<CloudValidationInner> listByResourceGroup(String resourceGroupName, String filter, com.azure.core.util.Context context)
      List cloud validations by resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      filter - The OData filter expression to apply to the list operation.
      context - The context to associate with this operation.
      Returns:
      the response of a CloudValidation list operation as paginated response with PagedIterable.
      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.
    • list

      com.azure.core.http.rest.PagedIterable<CloudValidationInner> list()
      List cloud validations by subscription.
      Returns:
      the response of a CloudValidation list operation as paginated response with PagedIterable.
      Throws:
      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.
    • list

      com.azure.core.http.rest.PagedIterable<CloudValidationInner> list(String filter, com.azure.core.util.Context context)
      List cloud validations by subscription.
      Parameters:
      filter - The OData filter expression to apply to the list operation.
      context - The context to associate with this operation.
      Returns:
      the response of a CloudValidation list operation as paginated response with PagedIterable.
      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.