Interface ResourceProvidersClient
public interface ResourceProvidersClient
An instance of this class provides access to all the operations defined in ResourceProvidersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<VolumeInner>, VolumeInner> beginRestoreVolume
(String resourceGroupName, String elasticSanName, String volumeGroupName, String volumeName) Restore Soft Deleted Volumes.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<VolumeInner>, VolumeInner> beginRestoreVolume
(String resourceGroupName, String elasticSanName, String volumeGroupName, String volumeName, com.azure.core.util.Context context) Restore Soft Deleted Volumes.restoreVolume
(String resourceGroupName, String elasticSanName, String volumeGroupName, String volumeName) Restore Soft Deleted Volumes.restoreVolume
(String resourceGroupName, String elasticSanName, String volumeGroupName, String volumeName, com.azure.core.util.Context context) Restore Soft Deleted Volumes.
-
Method Details
-
beginRestoreVolume
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeInner>,VolumeInner> beginRestoreVolume(String resourceGroupName, String elasticSanName, String volumeGroupName, String volumeName) Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted volumes by 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.volumeName
- The name of the Volume.- Returns:
- the
SyncPoller
for polling of response for Volume 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.
-
beginRestoreVolume
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeInner>,VolumeInner> beginRestoreVolume(String resourceGroupName, String elasticSanName, String volumeGroupName, String volumeName, com.azure.core.util.Context context) Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted volumes by 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.volumeName
- The name of the Volume.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of response for Volume 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.
-
restoreVolume
VolumeInner restoreVolume(String resourceGroupName, String elasticSanName, String volumeGroupName, String volumeName) Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted volumes by 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.volumeName
- The name of the Volume.- Returns:
- response for Volume 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.
-
restoreVolume
VolumeInner restoreVolume(String resourceGroupName, String elasticSanName, String volumeGroupName, String volumeName, com.azure.core.util.Context context) Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted volumes by 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.volumeName
- The name of the Volume.context
- The context to associate with this operation.- Returns:
- response for Volume 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.
-