共用方式為


CloudEndpointResource.PreRestore Method

Definition

Pre Restore a given CloudEndpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prerestore
  • Operation Id: CloudEndpoints_PreRestore
public virtual Azure.ResourceManager.ArmOperation PreRestore (Azure.WaitUntil waitUntil, Azure.ResourceManager.StorageSync.Models.PreRestoreContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member PreRestore : Azure.WaitUntil * Azure.ResourceManager.StorageSync.Models.PreRestoreContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.PreRestore : Azure.WaitUntil * Azure.ResourceManager.StorageSync.Models.PreRestoreContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function PreRestore (waitUntil As WaitUntil, content As PreRestoreContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation

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
PreRestoreContent

Body of Cloud Endpoint object.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to