Partager via


HybridComputeMachineResource.UpdateAsync Méthode

Définition

Opération de mise à jour d’une machine hybride.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}
  • IdMachines_Update d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputeMachineResource>> UpdateAsync (Azure.ResourceManager.HybridCompute.Models.HybridComputeMachinePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.HybridCompute.Models.HybridComputeMachinePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputeMachineResource>>
override this.UpdateAsync : Azure.ResourceManager.HybridCompute.Models.HybridComputeMachinePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputeMachineResource>>
Public Overridable Function UpdateAsync (patch As HybridComputeMachinePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HybridComputeMachineResource))

Paramètres

patch
HybridComputeMachinePatch

Paramètres fournis à l’opération Mettre à jour la machine hybride.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à