共用方式為


DedicatedHostGroupsOperationsExtensions.UpdateAsync Method

Definition

Update an dedicated host group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupInner> UpdateAsync (this Microsoft.Azure.Management.Compute.Fluent.IDedicatedHostGroupsOperations operations, string resourceGroupName, string hostGroupName, Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupUpdate parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Compute.Fluent.IDedicatedHostGroupsOperations * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupInner>
<Extension()>
Public Function UpdateAsync (operations As IDedicatedHostGroupsOperations, resourceGroupName As String, hostGroupName As String, parameters As DedicatedHostGroupUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DedicatedHostGroupInner)

Parameters

operations
IDedicatedHostGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

hostGroupName
String

The name of the dedicated host group.

parameters
DedicatedHostGroupUpdate

Parameters supplied to the Update Dedicated Host Group operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to