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

DedicatedHostGroupsOperationsExtensions.UpdateAsync 方法

定义

更新专用主机组。

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

参数

operations
IDedicatedHostGroupsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

hostGroupName
String

专用主机组的名称。

parameters
DedicatedHostGroupUpdate

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

cancellationToken
CancellationToken

取消标记。

返回

适用于