Placement.Preferences 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 preferences for the placement strategy in the Swarm service nodes.
[YamlDotNet.Serialization.YamlMember(Alias="preferences")]
public System.Collections.Generic.List<System.Collections.Generic.Dictionary<string,string>>? Preferences { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="preferences")>]
member this.Preferences : System.Collections.Generic.List<System.Collections.Generic.Dictionary<string, string>> with get, set
Public Property Preferences As List(Of Dictionary(Of String, String))
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
The preferences configuration is represented as a list of dictionaries, where each dictionary specifies key-value pairs that define custom placement preferences for the service.