共用方式為


PlacementPoliciesOperationsExtensions.CreateOrUpdate 方法

定義

在私人雲端叢集中建立或更新放置原則

public static Microsoft.Azure.Management.Avs.Models.PlacementPolicy CreateOrUpdate (this Microsoft.Azure.Management.Avs.IPlacementPoliciesOperations operations, string resourceGroupName, string privateCloudName, string clusterName, string placementPolicyName, Microsoft.Azure.Management.Avs.Models.PlacementPolicy placementPolicy);
static member CreateOrUpdate : Microsoft.Azure.Management.Avs.IPlacementPoliciesOperations * string * string * string * string * Microsoft.Azure.Management.Avs.Models.PlacementPolicy -> Microsoft.Azure.Management.Avs.Models.PlacementPolicy
<Extension()>
Public Function CreateOrUpdate (operations As IPlacementPoliciesOperations, resourceGroupName As String, privateCloudName As String, clusterName As String, placementPolicyName As String, placementPolicy As PlacementPolicy) As PlacementPolicy

參數

operations
IPlacementPoliciesOperations

這個擴充方法的作業群組。

resourceGroupName
String

資源群組的名稱。 名稱不區分大小寫。

privateCloudName
String

私人雲端的名稱

clusterName
String

私人雲端中的叢集名稱

placementPolicyName
String

VMware vSphere 分散式資源排程器 (DRS) 放置原則的名稱

placementPolicy
PlacementPolicy

私人雲端叢集中的放置原則

傳回

適用於