Share via


DedicatedHostGroupResource.Update Method

Definition

Update an dedicated host group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}
  • Operation Id: DedicatedHostGroups_Update
  • Default Api Version: 2024-07-01
  • Resource: DedicatedHostGroupResource
public virtual Azure.Response<Azure.ResourceManager.Compute.DedicatedHostGroupResource> Update (Azure.ResourceManager.Compute.Models.DedicatedHostGroupPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Compute.Models.DedicatedHostGroupPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.DedicatedHostGroupResource>
override this.Update : Azure.ResourceManager.Compute.Models.DedicatedHostGroupPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.DedicatedHostGroupResource>
Public Overridable Function Update (patch As DedicatedHostGroupPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DedicatedHostGroupResource)

Parameters

patch
DedicatedHostGroupPatch

Parameters supplied to the Update Dedicated Host Group operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to