Volume.Labels 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 a dictionary of labels associated with the volume. Labels are key-value pairs that can be used for metadata purposes or for organizing and identifying volumes within Docker services.
[YamlDotNet.Serialization.YamlMember(Alias="labels", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)]
public System.Collections.Generic.Dictionary<string,string> Labels { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="labels", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)>]
member this.Labels : System.Collections.Generic.Dictionary<string, string> with get, set
Public Property Labels As Dictionary(Of String, String)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute