Share via


LabelSpecs Class

Definition

Represents a collection of labels that can be associated with a Docker service. This class is used to define metadata in the form of key-value pairs.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class LabelSpecs : System.Collections.Generic.Dictionary<string,string>
[<YamlDotNet.Serialization.YamlSerializable>]
type LabelSpecs = class
    inherit Dictionary<string, string>
Public NotInheritable Class LabelSpecs
Inherits Dictionary(Of String, String)
Inheritance
LabelSpecs
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Constructors

LabelSpecs()

Applies to