Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

LabelSelectorAttributesV1 Properties

ClassProperties2 members
Represents the attributes used for label selection in Kubernetes resources.
Gets or sets the raw string representation of a label selector. This property allows defining label selection criteria in a raw textual format, which can be used to match resources based on their label key-value pairs.
public string RawSelector { get; set; }
Represents the collection of label selector requirements associated with this object. Each requirement is a key-value pair that defines a rule for selecting Kubernetes resources based on their labels.
public List<LabelSelectorRequirementV1> Requirements { get; }