Freigeben über


DedicatedHostsOperationsExtensions.UpdateAsync Methode

Definition

Aktualisieren Sie einen dedizierten Host.

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

Parameter

operations
IDedicatedHostsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

hostGroupName
String

Der Name der dedizierten Hostgruppe.

hostName
String

Der Name des dedizierten Hosts .

parameters
DedicatedHostUpdate

Für den Vorgang Dedizierten Host aktualisieren bereitgestellte Parameter.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: