Partager via


VirtualDesktopResource.UpdateAsync Méthode

Définition

Mettre à jour un bureau.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}
  • IdDesktops_Update d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualDesktopResource>> UpdateAsync (Azure.ResourceManager.DesktopVirtualization.Models.VirtualDesktopPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DesktopVirtualization.Models.VirtualDesktopPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualDesktopResource>>
override this.UpdateAsync : Azure.ResourceManager.DesktopVirtualization.Models.VirtualDesktopPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualDesktopResource>>
Public Overridable Function UpdateAsync (patch As VirtualDesktopPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VirtualDesktopResource))

Paramètres

patch
VirtualDesktopPatch

Objet contenant des définitions de bureau.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à