RestorePointCollectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

The operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified.

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

Parameters

operations
IRestorePointCollectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

restorePointCollectionName
String

The name of the restore point collection.

parameters
RestorePointCollection

Parameters supplied to the Create or Update restore point collection operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to