LabelSpecs Class
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.
Represents a collection of additional labels that can be associated with a Docker service. This class is used to define extra metadata in the form of key-value pairs.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class LabelSpecs
[<YamlDotNet.Serialization.YamlSerializable>]
type LabelSpecs = class
Public NotInheritable Class LabelSpecs
- Inheritance
-
LabelSpecs
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Constructors
LabelSpecs() |
Properties
AdditionalLabels |
Gets or sets the collection of additional labels as a dictionary of key-value pairs. These labels can be used to provide metadata or additional configuration for a service node in a Swarm environment. |