你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RestorePointCollectionsOperationsExtensions.CreateOrUpdateAsync 方法

定义

用于创建或更新还原点集合的操作。 有关更多详细信息,请参阅 https://aka.ms/RestorePoints。 更新还原点集合时,只能修改标记。

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)

参数

operations
IRestorePointCollectionsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

restorePointCollectionName
String

还原点集合的名称。

parameters
RestorePointCollection

提供给创建或更新还原点收集操作的参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于