ServiceResourcePropertiesBase.PlacementConstraints Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".
[Newtonsoft.Json.JsonProperty(PropertyName="placementConstraints")]
public string PlacementConstraints { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="placementConstraints")>]
member this.PlacementConstraints : string with get, set
Public Property PlacementConstraints As String
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.