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<VolumeGroupInner>,
VolumeGroupInner> beginCreate
(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupInner parameters) Create a Volume Group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeGroupInner>,
VolumeGroupInner> beginCreate
(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupInner parameters, com.azure.core.util.Context context) Create a Volume Group.beginDelete
(String resourceGroupName, String elasticSanName, String volumeGroupName) Delete an VolumeGroup.beginDelete
(String resourceGroupName, String elasticSanName, String volumeGroupName, com.azure.core.util.Context context) Delete an VolumeGroup.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeGroupInner>,
VolumeGroupInner> beginUpdate
(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupUpdate parameters) Update an VolumeGroup.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeGroupInner>,
VolumeGroupInner> beginUpdate
(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupUpdate parameters, com.azure.core.util.Context context) Update an VolumeGroup.create
(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupInner parameters) Create a Volume Group.create
(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupInner parameters, com.azure.core.util.Context context) Create a Volume Group.void
Delete an VolumeGroup.void
delete
(String resourceGroupName, String elasticSanName, String volumeGroupName, com.azure.core.util.Context context) Delete an VolumeGroup.Get an VolumeGroups.com.azure.core.http.rest.Response<VolumeGroupInner>
getWithResponse
(String resourceGroupName, String elasticSanName, String volumeGroupName, com.azure.core.util.Context context) Get an VolumeGroups.com.azure.core.http.rest.PagedIterable<VolumeGroupInner>
listByElasticSan
(String resourceGroupName, String elasticSanName) List VolumeGroups.com.azure.core.http.rest.PagedIterable<VolumeGroupInner>
listByElasticSan
(String resourceGroupName, String elasticSanName, com.azure.core.util.Context context) List VolumeGroups.update
(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupUpdate parameters) Update an VolumeGroup.update
(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupUpdate parameters, com.azure.core.util.Context context) Update an VolumeGroup.
-
Method Details
-
listByElasticSan
com.azure.core.http.rest.PagedIterable<VolumeGroupInner> 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<VolumeGroupInner> 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeGroupInner>,VolumeGroupInner> beginCreate(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupInner parameters) Create a Volume Group.- 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.parameters
- Volume Group object.- Returns:
- the
SyncPoller
for polling of response for Volume Group request. - 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<VolumeGroupInner>,VolumeGroupInner> beginCreate(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupInner parameters, com.azure.core.util.Context context) Create a Volume Group.- 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.parameters
- Volume Group object.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of response for Volume Group request. - 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
VolumeGroupInner create(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupInner parameters) Create a Volume Group.- 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.parameters
- Volume Group object.- Returns:
- response for Volume Group request.
- 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
VolumeGroupInner create(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupInner parameters, com.azure.core.util.Context context) Create a Volume Group.- 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.parameters
- Volume Group object.context
- The context to associate with this operation.- Returns:
- response for Volume Group request.
- 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<VolumeGroupInner>,VolumeGroupInner> beginUpdate(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupUpdate parameters) Update 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.parameters
- Volume Group object.- Returns:
- the
SyncPoller
for polling of response for Volume Group request. - 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<VolumeGroupInner>,VolumeGroupInner> beginUpdate(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupUpdate parameters, com.azure.core.util.Context context) Update 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.parameters
- Volume Group object.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of response for Volume Group request. - 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
VolumeGroupInner update(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupUpdate parameters) Update 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.parameters
- Volume Group object.- Returns:
- response for Volume Group request.
- 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
VolumeGroupInner update(String resourceGroupName, String elasticSanName, String volumeGroupName, VolumeGroupUpdate parameters, com.azure.core.util.Context context) Update 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.parameters
- Volume Group object.context
- The context to associate with this operation.- Returns:
- response for Volume Group request.
- 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 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.- 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 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.- 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 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<VolumeGroupInner> 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
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.
-