Skip to content
Docs Try Aspire

LabelSpecs

Class sealed net10.0
📦 Aspire.Hosting.Docker v13.1.2-preview.1.26125.13
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.
namespace Aspire.Hosting.Docker.Resources.ServiceNodes.Swarm;
public sealed class LabelSpecs
: System.Collections.Generic.Dictionary<string, string>
{
// ...
}
Dictionary<string, string>