Deploy.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.
Represents the label configurations for a deployable service in Docker.
[YamlDotNet.Serialization.YamlMember(Alias="labels")]
public Aspire.Hosting.Docker.Resources.ServiceNodes.Swarm.LabelSpecs? Labels { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="labels")>]
member this.Labels : Aspire.Hosting.Docker.Resources.ServiceNodes.Swarm.LabelSpecs with get, set
Public Property Labels As LabelSpecs
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
This property is used to define additional metadata, typically in the form of key-value pairs, that can be attached to services for organizational or descriptive purposes.