ImagesOperationsExtensions.UpdateAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 à
Azure SDK for .NET