Partager via


IGalleryApplicationVersionsOperations.BeginUpdateWithHttpMessagesAsync Méthode

Définition

Mettre à jour une version de l’application de la galerie.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersion>> BeginUpdateWithHttpMessagesAsync (string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersionUpdate galleryApplicationVersion, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginUpdateWithHttpMessagesAsync : string * string * string * string * Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersionUpdate * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersion>>
Public Function BeginUpdateWithHttpMessagesAsync (resourceGroupName As String, galleryName As String, galleryApplicationName As String, galleryApplicationVersionName As String, galleryApplicationVersion As GalleryApplicationVersionUpdate, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of GalleryApplicationVersion))

Paramètres

resourceGroupName
String

Nom du groupe de ressources.

galleryName
String

Nom de la galerie d’applications partagées dans laquelle réside la définition d’application.

galleryApplicationName
String

Nom de la définition d’application de la galerie dans laquelle la version de l’application doit être mise à jour.

galleryApplicationVersionName
String

Nom de la galerie Version de l’application à mettre à jour. Doit suivre le modèle de nom de version sémantique : les caractères autorisés sont chiffre et point. Les chiffres doivent se trouver dans la plage d’un entier 32 bits. Format : <MajorVersion>.< MinorVersion>.< Patch>

galleryApplicationVersion
GalleryApplicationVersionUpdate

Paramètres fournis à l’opération version de l’application de la galerie de mises à jour.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Exceptions

Levée lorsque l’opération a retourné un code status non valide

Levée lorsque la réponse ne peut pas être désérialisée

Levée lorsqu’un paramètre requis a la valeur Null

S’applique à