Interface VolumeGroups


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

    • listByElasticSan

      com.azure.core.http.rest.PagedIterable<VolumeGroup> listByElasticSan(String resourceGroupName, String elasticSanName)
      List VolumeGroups.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      elasticSanName - The name of the ElasticSan.
      Returns:
      list of Volume Groups 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.
    • listByElasticSan

      com.azure.core.http.rest.PagedIterable<VolumeGroup> listByElasticSan(String resourceGroupName, String elasticSanName, com.azure.core.util.Context context)
      List VolumeGroups.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      elasticSanName - The name of the ElasticSan.
      context - The context to associate with this operation.
      Returns:
      list of Volume Groups 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.
    • delete

      void delete(String resourceGroupName, String elasticSanName, String volumeGroupName)
      Delete an VolumeGroup.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      elasticSanName - The name of the ElasticSan.
      volumeGroupName - The name of the VolumeGroup.
      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 elasticSanName, String volumeGroupName, com.azure.core.util.Context context)
      Delete an VolumeGroup.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      elasticSanName - The name of the ElasticSan.
      volumeGroupName - The name of the VolumeGroup.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<VolumeGroup> getWithResponse(String resourceGroupName, String elasticSanName, String volumeGroupName, com.azure.core.util.Context context)
      Get an VolumeGroups.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      elasticSanName - The name of the ElasticSan.
      volumeGroupName - The name of the VolumeGroup.
      context - The context to associate with this operation.
      Returns:
      an VolumeGroups 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.
    • get

      VolumeGroup get(String resourceGroupName, String elasticSanName, String volumeGroupName)
      Get an VolumeGroups.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      elasticSanName - The name of the ElasticSan.
      volumeGroupName - The name of the VolumeGroup.
      Returns:
      an VolumeGroups.
      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

      VolumeGroup getById(String id)
      Get an VolumeGroups.
      Parameters:
      id - the resource ID.
      Returns:
      an VolumeGroups 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<VolumeGroup> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get an VolumeGroups.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      an VolumeGroups 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 an VolumeGroup.
      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 an VolumeGroup.
      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 VolumeGroup resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new VolumeGroup definition.