Interface CloudValidations


public interface CloudValidations
Resource collection API of CloudValidations.
  • Method Details

    • getByResourceGroupWithResponse

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

      CloudValidation 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.
    • deleteByResourceGroup

      void deleteByResourceGroup(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<CloudValidation> 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<CloudValidation> 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<CloudValidation> 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<CloudValidation> 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.
    • getById

      CloudValidation getById(String id)
      Get a cloud validation.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<CloudValidation> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get a cloud validation.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Delete a cloud validation.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete a cloud validation.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new CloudValidation resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new CloudValidation definition.