Interface VolumeGroupsClient
public interface VolumeGroupsClient
An instance of this class provides access to all the operations defined in VolumeGroupsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeGroupDetailsInner>,
VolumeGroupDetailsInner> beginCreate
(String resourceGroupName, String accountName, String volumeGroupName, VolumeGroupDetailsInner body) Create the specified volume group and volumes.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeGroupDetailsInner>,
VolumeGroupDetailsInner> beginCreate
(String resourceGroupName, String accountName, String volumeGroupName, VolumeGroupDetailsInner body, com.azure.core.util.Context context) Create the specified volume group and volumes.beginDelete
(String resourceGroupName, String accountName, String volumeGroupName) Delete a volume groupbeginDelete
(String resourceGroupName, String accountName, String volumeGroupName, com.azure.core.util.Context context) Delete a volume groupcreate
(String resourceGroupName, String accountName, String volumeGroupName, VolumeGroupDetailsInner body) Create the specified volume group and volumes.create
(String resourceGroupName, String accountName, String volumeGroupName, VolumeGroupDetailsInner body, com.azure.core.util.Context context) Create the specified volume group and volumes.void
Delete a volume groupvoid
delete
(String resourceGroupName, String accountName, String volumeGroupName, com.azure.core.util.Context context) Delete a volume groupDescribe a Volume Groupcom.azure.core.http.rest.Response<VolumeGroupDetailsInner>
getWithResponse
(String resourceGroupName, String accountName, String volumeGroupName, com.azure.core.util.Context context) Describe a Volume Groupcom.azure.core.http.rest.PagedIterable<VolumeGroupInner>
listByNetAppAccount
(String resourceGroupName, String accountName) Describe all volume groupscom.azure.core.http.rest.PagedIterable<VolumeGroupInner>
listByNetAppAccount
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Describe all volume groups
-
Method Details
-
listByNetAppAccount
com.azure.core.http.rest.PagedIterable<VolumeGroupInner> listByNetAppAccount(String resourceGroupName, String accountName) Describe all volume groupsList all volume groups for given account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.- Returns:
- list of volume group resources 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.
-
listByNetAppAccount
com.azure.core.http.rest.PagedIterable<VolumeGroupInner> listByNetAppAccount(String resourceGroupName, String accountName, com.azure.core.util.Context context) Describe all volume groupsList all volume groups for given account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.context
- The context to associate with this operation.- Returns:
- list of volume group resources 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
Describe a Volume GroupGet details of the specified volume group.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.volumeGroupName
- The name of the volumeGroup.- Returns:
- details of the specified volume group.
- 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<VolumeGroupDetailsInner> getWithResponse(String resourceGroupName, String accountName, String volumeGroupName, com.azure.core.util.Context context) Describe a Volume GroupGet details of the specified volume group.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.volumeGroupName
- The name of the volumeGroup.context
- The context to associate with this operation.- Returns:
- details of the specified volume group 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<VolumeGroupDetailsInner>,VolumeGroupDetailsInner> beginCreate(String resourceGroupName, String accountName, String volumeGroupName, VolumeGroupDetailsInner body) Create the specified volume group and volumes. Creating volume group will create all the volumes specified in request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes thereafter.Create a volume group along with specified volumes.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.volumeGroupName
- The name of the volumeGroup.body
- Volume Group object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of volume group resource for create. - 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<VolumeGroupDetailsInner>,VolumeGroupDetailsInner> beginCreate(String resourceGroupName, String accountName, String volumeGroupName, VolumeGroupDetailsInner body, com.azure.core.util.Context context) Create the specified volume group and volumes. Creating volume group will create all the volumes specified in request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes thereafter.Create a volume group along with specified volumes.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.volumeGroupName
- The name of the volumeGroup.body
- Volume Group object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of volume group resource for create. - 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
VolumeGroupDetailsInner create(String resourceGroupName, String accountName, String volumeGroupName, VolumeGroupDetailsInner body) Create the specified volume group and volumes. Creating volume group will create all the volumes specified in request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes thereafter.Create a volume group along with specified volumes.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.volumeGroupName
- The name of the volumeGroup.body
- Volume Group object supplied in the body of the operation.- Returns:
- volume group resource for create.
- 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
VolumeGroupDetailsInner create(String resourceGroupName, String accountName, String volumeGroupName, VolumeGroupDetailsInner body, com.azure.core.util.Context context) Create the specified volume group and volumes. Creating volume group will create all the volumes specified in request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes thereafter.Create a volume group along with specified volumes.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.volumeGroupName
- The name of the volumeGroup.body
- Volume Group object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- volume group resource for create.
- 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 volumeGroupName) Delete a volume groupDelete the specified volume group only if there are no volumes under volume group.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.volumeGroupName
- The name of the volumeGroup.- 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 volumeGroupName, com.azure.core.util.Context context) Delete a volume groupDelete the specified volume group only if there are no volumes under volume group.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.volumeGroupName
- The name of the volumeGroup.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
Delete a volume groupDelete the specified volume group only if there are no volumes under volume group.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.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 accountName, String volumeGroupName, com.azure.core.util.Context context) Delete a volume groupDelete the specified volume group only if there are no volumes under volume group.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.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.
-