次の方法で共有


ServiceResource.PlacementConstraints プロパティ

定義

配置制約を文字列として取得または設定します。 配置の制約はノード プロパティ上のブール式で、サービスの要件に基づいて特定のノードにサービスを制限することができます。 たとえば、NodeType が青色のノードにサービスを配置するには、"NodeColor == blue)" を指定します。

[Newtonsoft.Json.JsonProperty(PropertyName="properties.placementConstraints")]
public string PlacementConstraints { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.placementConstraints")>]
member this.PlacementConstraints : string with get, set
Public Property PlacementConstraints As String

プロパティ値

属性
Newtonsoft.Json.JsonPropertyAttribute

適用対象