Freigeben über


GallerySharingProfileOperationsExtensions.UpdateAsync Methode

Definition

Aktualisieren des Freigabeprofils eines Katalogs.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.SharingUpdate> UpdateAsync(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 UpdateAsync : 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 UpdateAsync (operations As IGallerySharingProfileOperations, resourceGroupName As String, galleryName As String, sharingUpdate As SharingUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SharingUpdate)

Parameter

operations
IGallerySharingProfileOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

galleryName
String

Der Name des Shared Image Gallery.

sharingUpdate
SharingUpdate

Für das Freigabeprofil des Updatekatalogs bereitgestellte Parameter.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: