Partager via


DedicatedHostGroupResource.UpdateAsync Méthode

Définition

Mettre à jour un groupe hôte dédié.

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

Paramètres

patch
DedicatedHostGroupPatch

Paramètres fournis à l’opération Mettre à jour le groupe hôte dédié.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à