Share via


CloudEndpointsOperationsExtensions.PreRestoreAsync Method

Definition

Pre Restore a given CloudEndpoint.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.CloudEndpointsPreRestoreHeaders> PreRestoreAsync (this Microsoft.Azure.Management.StorageSync.ICloudEndpointsOperations operations, string resourceGroupName, string storageSyncServiceName, string syncGroupName, string cloudEndpointName, Microsoft.Azure.Management.StorageSync.Models.PreRestoreRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member PreRestoreAsync : Microsoft.Azure.Management.StorageSync.ICloudEndpointsOperations * string * string * string * string * Microsoft.Azure.Management.StorageSync.Models.PreRestoreRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.CloudEndpointsPreRestoreHeaders>
<Extension()>
Public Function PreRestoreAsync (operations As ICloudEndpointsOperations, resourceGroupName As String, storageSyncServiceName As String, syncGroupName As String, cloudEndpointName As String, parameters As PreRestoreRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CloudEndpointsPreRestoreHeaders)

Parameters

operations
ICloudEndpointsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

storageSyncServiceName
String

Name of Storage Sync Service resource.

syncGroupName
String

Name of Sync Group resource.

cloudEndpointName
String

Name of Cloud Endpoint object.

parameters
PreRestoreRequest

Body of Cloud Endpoint object.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to