Dela via


StorageAccountResource.RestoreBlobRangesAsync Method

Definition

Restore blobs in the specified blob ranges

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges
  • Operation Id: StorageAccounts_RestoreBlobRanges
  • Default Api Version: 2022-09-01
  • Resource: StorageAccountResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.Storage.StorageAccountRestoreBlobRangesOperation> RestoreBlobRangesAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Storage.Models.BlobRestoreContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RestoreBlobRangesAsync : Azure.WaitUntil * Azure.ResourceManager.Storage.Models.BlobRestoreContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Storage.StorageAccountRestoreBlobRangesOperation>
override this.RestoreBlobRangesAsync : Azure.WaitUntil * Azure.ResourceManager.Storage.Models.BlobRestoreContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Storage.StorageAccountRestoreBlobRangesOperation>
Public Overridable Function RestoreBlobRangesAsync (waitUntil As WaitUntil, content As BlobRestoreContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageAccountRestoreBlobRangesOperation)

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
BlobRestoreContent

The parameters to provide for restore blob ranges.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to