Partager via


LabVirtualMachineImageResource.UpdateAsync Méthode

Définition

Mises à jour une ressource d’image.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/images/{imageName}
  • IdImages_Update d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LabServices.LabVirtualMachineImageResource>> UpdateAsync (Azure.ResourceManager.LabServices.Models.LabVirtualMachineImagePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.LabServices.Models.LabVirtualMachineImagePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LabServices.LabVirtualMachineImageResource>>
override this.UpdateAsync : Azure.ResourceManager.LabServices.Models.LabVirtualMachineImagePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LabServices.LabVirtualMachineImageResource>>
Public Overridable Function UpdateAsync (patch As LabVirtualMachineImagePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LabVirtualMachineImageResource))

Paramètres

patch
LabVirtualMachineImagePatch

Corps de la demande.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à