共用方式為


RestorePointsOperationsExtensions.BeginCreateAsync Method

Definition

The operation to create the restore point. Updating properties of an existing restore point is not allowed

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.RestorePoint> BeginCreateAsync (this Microsoft.Azure.Management.Compute.IRestorePointsOperations operations, string resourceGroupName, string restorePointCollectionName, string restorePointName, Microsoft.Azure.Management.Compute.Models.RestorePoint parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateAsync : Microsoft.Azure.Management.Compute.IRestorePointsOperations * string * string * string * Microsoft.Azure.Management.Compute.Models.RestorePoint * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.RestorePoint>
<Extension()>
Public Function BeginCreateAsync (operations As IRestorePointsOperations, resourceGroupName As String, restorePointCollectionName As String, restorePointName As String, parameters As RestorePoint, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RestorePoint)

Parameters

operations
IRestorePointsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

restorePointCollectionName
String

The name of the restore point collection.

restorePointName
String

The name of the restore point.

parameters
RestorePoint

Parameters supplied to the Create restore point operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to