Share via


ResourceAttributesV1.LabelSelector Property

Definition

Represents the label selector attributes used to filter Kubernetes resources based on their labels. It allows specifying raw selector queries and detailed requirements for more granular control of resource selection.

[YamlDotNet.Serialization.YamlMember(Alias="labelSelector")]
public Aspire.Hosting.Kubernetes.Resources.LabelSelectorAttributesV1? LabelSelector { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="labelSelector")>]
member this.LabelSelector : Aspire.Hosting.Kubernetes.Resources.LabelSelectorAttributesV1 with get, set
Public Property LabelSelector As LabelSelectorAttributesV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to