Compartir a través de


DedicatedHostGroupResource.UpdateAsync Método

Definición

Actualice un grupo host dedicado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}
  • IdDedicatedHostGroups_Update de operaciones
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))

Parámetros

patch
DedicatedHostGroupPatch

Parámetros proporcionados a la operación Actualizar grupo host dedicado.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a