你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DedicatedHostsOperationsExtensions.UpdateAsync 方法

定义

更新专用主机 。

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)

参数

operations
IDedicatedHostsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

hostGroupName
String

专用主机组的名称。

hostName
String

专用主机 的名称。

parameters
DedicatedHostUpdate

提供给更新专用主机操作的参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于