ElasticSanVolumeGroupResource.PreRestoreVolume Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validate whether a list of backed up disk snapshots can be restored into ElasticSan volumes.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/preRestore
- Operation Id: Volumes_PreRestore
- Default Api Version: 2024-07-01-preview
- Resource: ElasticSanVolumeResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ElasticSan.Models.ElasticSanPreValidationResult> PreRestoreVolume(Azure.WaitUntil waitUntil, Azure.ResourceManager.ElasticSan.Models.DiskSnapshotListContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member PreRestoreVolume : Azure.WaitUntil * Azure.ResourceManager.ElasticSan.Models.DiskSnapshotListContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ElasticSan.Models.ElasticSanPreValidationResult>
override this.PreRestoreVolume : Azure.WaitUntil * Azure.ResourceManager.ElasticSan.Models.DiskSnapshotListContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ElasticSan.Models.ElasticSanPreValidationResult>
Public Overridable Function PreRestoreVolume (waitUntil As WaitUntil, content As DiskSnapshotListContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ElasticSanPreValidationResult)
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- content
- DiskSnapshotListContent
Disk Snapshot List (currently only one Disk Snapshot in the list is supported and that the Disk Snapshot must be in same azure region as the ElasticSan. Server would return error if list is bigger).
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.