Partager via


GalleriesOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Créez ou mettez à jour un Shared Image Gallery.

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

Paramètres

operations
IGalleriesOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

galleryName
String

Nom du Shared Image Gallery. Les caractères autorisés sont des alphabets et des nombres avec des points et des points autorisés au milieu. La longueur maximale est de 80 caractères.

gallery
GalleryInner

Paramètres fournis à l’opération de création ou de mise à jour Shared Image Gallery.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à