Interface SubvolumesClient
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SubvolumeInfoInner>,
SubvolumeInfoInner> beginCreate
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumeInfoInner body) Create or clone a new subvolumecom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SubvolumeInfoInner>,
SubvolumeInfoInner> beginCreate
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumeInfoInner body, com.azure.core.util.Context context) Create or clone a new subvolumebeginDelete
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Delete a subvolumebeginDelete
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Delete a subvolumecom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SubvolumeModelInner>,
SubvolumeModelInner> beginGetMetadata
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Describe a subvolumecom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SubvolumeModelInner>,
SubvolumeModelInner> beginGetMetadata
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Describe a subvolumecom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SubvolumeInfoInner>,
SubvolumeInfoInner> beginUpdate
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumePatchRequest body) Update a subvolumecom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SubvolumeInfoInner>,
SubvolumeInfoInner> beginUpdate
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumePatchRequest body, com.azure.core.util.Context context) Update a subvolumecreate
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumeInfoInner body) Create or clone a new subvolumecreate
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumeInfoInner body, com.azure.core.util.Context context) Create or clone a new subvolumevoid
delete
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Delete a subvolumevoid
delete
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Delete a subvolumeget
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Get the path associated with the subvolumeNamegetMetadata
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Describe a subvolumegetMetadata
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Describe a subvolumecom.azure.core.http.rest.Response<SubvolumeInfoInner>
getWithResponse
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Get the path associated with the subvolumeNamecom.azure.core.http.rest.PagedIterable<SubvolumeInfoInner>
listByVolume
(String resourceGroupName, String accountName, String poolName, String volumeName) List of all the subvolumescom.azure.core.http.rest.PagedIterable<SubvolumeInfoInner>
listByVolume
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) List of all the subvolumesupdate
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumePatchRequest body) Update a subvolumeupdate
(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumePatchRequest body, com.azure.core.util.Context context) Update a subvolume
-
Method Details
-
listByVolume
com.azure.core.http.rest.PagedIterable<SubvolumeInfoInner> listByVolume(String resourceGroupName, String accountName, String poolName, String volumeName) List of all the subvolumesReturns 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<SubvolumeInfoInner> listByVolume(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) List of all the subvolumesReturns 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
SubvolumeInfoInner get(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Get the path associated with the subvolumeNameReturns 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<SubvolumeInfoInner> getWithResponse(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Get the path associated with the subvolumeNameReturns 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SubvolumeInfoInner>,SubvolumeInfoInner> beginCreate(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumeInfoInner body) Create or clone a new subvolumeCreates a subvolume in the path or clones the subvolume mentioned in the parentPath.
- 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.body
- Subvolume object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SubvolumeInfoInner>,SubvolumeInfoInner> beginCreate(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumeInfoInner body, com.azure.core.util.Context context) Create or clone a new subvolumeCreates a subvolume in the path or clones the subvolume mentioned in the parentPath.
- 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.body
- Subvolume object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of 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.
-
create
SubvolumeInfoInner create(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumeInfoInner body) Create or clone a new subvolumeCreates a subvolume in the path or clones the subvolume mentioned in the parentPath.
- 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.body
- Subvolume object supplied in the body of the operation.- 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.
-
create
SubvolumeInfoInner create(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumeInfoInner body, com.azure.core.util.Context context) Create or clone a new subvolumeCreates a subvolume in the path or clones the subvolume mentioned in the parentPath.
- 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.body
- Subvolume object supplied in the body of the operation.context
- The context to associate with this operation.- 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SubvolumeInfoInner>,SubvolumeInfoInner> beginUpdate(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumePatchRequest body) Update a subvolumePatch a 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.body
- Subvolume object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SubvolumeInfoInner>,SubvolumeInfoInner> beginUpdate(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumePatchRequest body, com.azure.core.util.Context context) Update a subvolumePatch a 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.body
- Subvolume object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of 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.
-
update
SubvolumeInfoInner update(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumePatchRequest body) Update a subvolumePatch a 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.body
- Subvolume object supplied in the body of the operation.- 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.
-
update
SubvolumeInfoInner update(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, SubvolumePatchRequest body, com.azure.core.util.Context context) Update a subvolumePatch a 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.body
- Subvolume object supplied in the body of the operation.context
- The context to associate with this operation.- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Delete a subvolumeDelete 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:
- 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 accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Delete a subvolumeDelete 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:
- 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 accountName, String poolName, String volumeName, String subvolumeName) Delete a subvolumeDelete 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 a subvolumeDelete 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.
-
beginGetMetadata
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SubvolumeModelInner>,SubvolumeModelInner> beginGetMetadata(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Describe a subvolumeGet 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:
- the
SyncPoller
for polling of 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.
-
beginGetMetadata
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SubvolumeModelInner>,SubvolumeModelInner> beginGetMetadata(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Describe a subvolumeGet 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:
- the
SyncPoller
for polling of 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
SubvolumeModelInner getMetadata(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) Describe a subvolumeGet 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
SubvolumeModelInner getMetadata(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName, com.azure.core.util.Context context) Describe a subvolumeGet 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.
-