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

PlacementPoliciesOperationsExtensions.BeginUpdateAsync 方法

定义

更新私有云群集中的放置策略

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.PlacementPolicy> BeginUpdateAsync (this Microsoft.Azure.Management.Avs.IPlacementPoliciesOperations operations, string resourceGroupName, string privateCloudName, string clusterName, string placementPolicyName, Microsoft.Azure.Management.Avs.Models.PlacementPolicyUpdate placementPolicyUpdate, System.Threading.CancellationToken cancellationToken = default);
static member BeginUpdateAsync : Microsoft.Azure.Management.Avs.IPlacementPoliciesOperations * string * string * string * string * Microsoft.Azure.Management.Avs.Models.PlacementPolicyUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.PlacementPolicy>
<Extension()>
Public Function BeginUpdateAsync (operations As IPlacementPoliciesOperations, resourceGroupName As String, privateCloudName As String, clusterName As String, placementPolicyName As String, placementPolicyUpdate As PlacementPolicyUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PlacementPolicy)

参数

operations
IPlacementPoliciesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。 此名称不区分大小写。

privateCloudName
String

私有云的名称

clusterName
String

私有云中群集的名称

placementPolicyName
String

VMware vSphere 分布式资源计划程序 (DRS) 放置策略的名称

placementPolicyUpdate
PlacementPolicyUpdate

可能更新的放置策略属性

cancellationToken
CancellationToken

取消标记。

返回

适用于