Interface Subvolumes
public interface Subvolumes
Resource collection API of Subvolumes.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new SubvolumeInfo resource.void
delete
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Delete subvolume.void
delete
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Delete subvolume.void
deleteById
(String id) Delete subvolume.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete subvolume.get
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Returns the path associated with the subvolumeName provided.Returns the path associated with the subvolumeName provided.com.azure.core.http.rest.Response<SubvolumeInfo>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Returns the path associated with the subvolumeName provided.getMetadata
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Get details of the specified subvolume.getMetadata
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Get details of the specified subvolume.com.azure.core.http.rest.Response<SubvolumeInfo>
getWithResponse
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Returns the path associated with the subvolumeName provided.com.azure.core.http.rest.PagedIterable<SubvolumeInfo>
listByVolume
(String resourceGroupName, String accountName, String poolName, String volumeName) Returns a list of the subvolumes in the volume.com.azure.core.http.rest.PagedIterable<SubvolumeInfo>
listByVolume
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Returns a list of the subvolumes in the volume.
-
Method Details
-
listByVolume
com.azure.core.http.rest.PagedIterable<SubvolumeInfo> listByVolume(String resourceGroupName, String accountName, String poolName, String volumeName) Returns a list of the subvolumes in the volume.- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- Returns:
- list of Subvolumes 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.
-
listByVolume
com.azure.core.http.rest.PagedIterable<SubvolumeInfo> listByVolume(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Returns a list of the subvolumes in the volume.- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.context
- The context to associate with this operation.- Returns:
- list of Subvolumes 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.
-
get
SubvolumeInfo get(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Returns the path associated with the subvolumeName provided.- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.subvolumeName
- The name of the subvolume.- Returns:
- subvolume Information properties.
- 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<SubvolumeInfo> getWithResponse(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Returns the path associated with the subvolumeName provided.- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.subvolumeName
- The name of the subvolume.context
- The context to associate with this operation.- Returns:
- subvolume Information properties 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.
-
delete
void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Delete subvolume.- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.subvolumeName
- The name of the subvolume.- 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 accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Delete subvolume.- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.subvolumeName
- The name of the subvolume.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.
-
getMetadata
SubvolumeModel getMetadata(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Get details of the specified subvolume.- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.subvolumeName
- The name of the subvolume.- Returns:
- details of the specified subvolume.
- 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.
-
getMetadata
SubvolumeModel getMetadata(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Get details of the specified subvolume.- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.subvolumeName
- The name of the subvolume.context
- The context to associate with this operation.- Returns:
- details of the specified subvolume.
- 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
Returns the path associated with the subvolumeName provided.- Parameters:
id
- the resource ID.- Returns:
- subvolume Information properties 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<SubvolumeInfo> getByIdWithResponse(String id, com.azure.core.util.Context context) Returns the path associated with the subvolumeName provided.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- subvolume Information properties 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
Delete subvolume.- 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
Delete subvolume.- 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 SubvolumeInfo resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new SubvolumeInfo definition.
-