Share via


LabelSelectorV1.MatchExpressions Property

Definition

Represents a collection of label selector requirements used for matching Kubernetes resources. Each requirement specifies a key, an operator, and a set of values to define filtering criteria. This property is used to form more complex selection logic based on multiple conditions.

[YamlDotNet.Serialization.YamlMember(Alias="matchExpressions")]
public System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.LabelSelectorRequirementV1> MatchExpressions { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="matchExpressions")>]
member this.MatchExpressions : System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.LabelSelectorRequirementV1> with get, set
Public Property MatchExpressions As List(Of LabelSelectorRequirementV1)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to