Partager via


ImagesOperationsExtensions.UpdateAsync Méthode

Définition

Mises à jour une image.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.LabServices.Models.Image> UpdateAsync(this Microsoft.Azure.Management.LabServices.IImagesOperations operations, Microsoft.Azure.Management.LabServices.Models.ImageUpdate body, string resourceGroupName, string labPlanName, string imageName, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.LabServices.IImagesOperations * Microsoft.Azure.Management.LabServices.Models.ImageUpdate * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.LabServices.Models.Image>
<Extension()>
Public Function UpdateAsync (operations As IImagesOperations, body As ImageUpdate, resourceGroupName As String, labPlanName As String, imageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Image)

Paramètres

operations
IImagesOperations

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

body
ImageUpdate

Corps de la demande.

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

labPlanName
String

Nom du plan de laboratoire qui l’identifie de manière unique dans le groupe de ressources contenant. Utilisé dans les URI de ressource et dans l’interface utilisateur.

imageName
String

Nom de l'image.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

Mises à jour une ressource d’image.

S’applique à