Udostępnij za pośrednictwem


GallerySharingProfileOperationsExtensions.BeginUpdateAsync Method

Definition

Update sharing profile of a gallery.

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)

Parameters

operations
IGallerySharingProfileOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

galleryName
String

The name of the Shared Image Gallery.

sharingUpdate
SharingUpdate

Parameters supplied to the update gallery sharing profile.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to