Share via


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

GallerySharingProfileOperationsExtensions.BeginUpdateAsync 方法

定义

更新库的共享配置文件。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.SharingUpdate> BeginUpdateAsync (this Microsoft.Azure.Management.Compute.IGallerySharingProfileOperations operations, string resourceGroupName, string galleryName, Microsoft.Azure.Management.Compute.Models.SharingUpdate sharingUpdate, System.Threading.CancellationToken cancellationToken = default);
static member BeginUpdateAsync : Microsoft.Azure.Management.Compute.IGallerySharingProfileOperations * string * string * Microsoft.Azure.Management.Compute.Models.SharingUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.SharingUpdate>
<Extension()>
Public Function BeginUpdateAsync (operations As IGallerySharingProfileOperations, resourceGroupName As String, galleryName As String, sharingUpdate As SharingUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SharingUpdate)

参数

operations
IGallerySharingProfileOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

galleryName
String

共享映像库的名称。

sharingUpdate
SharingUpdate

提供给更新库共享配置文件的参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于