LabelSelectorV1 Constructors

Definition

Overloads

LabelSelectorV1()

Represents a label selector used to determine a set of resources in Kubernetes that match the defined criteria.

LabelSelectorV1(Dictionary<String,String>)

Represents a label selector used to determine a set of resources in Kubernetes that match the defined criteria.

LabelSelectorV1()

Source:
LabelSelectorV1.cs
Source:
LabelSelectorV1.cs

Represents a label selector used to determine a set of resources in Kubernetes that match the defined criteria.

public LabelSelectorV1();
Public Sub New ()

Remarks

LabelSelectorV1 is commonly used in Kubernetes resource specifications where filtering objects based on labels is required, such as in ReplicaSets, Deployments, or custom metrics.

Applies to

LabelSelectorV1(Dictionary<String,String>)

Source:
LabelSelectorV1.cs
Source:
LabelSelectorV1.cs

Represents a label selector used to determine a set of resources in Kubernetes that match the defined criteria.

public LabelSelectorV1(System.Collections.Generic.Dictionary<string,string> matchLabels);
new Aspire.Hosting.Kubernetes.Resources.LabelSelectorV1 : System.Collections.Generic.Dictionary<string, string> -> Aspire.Hosting.Kubernetes.Resources.LabelSelectorV1
Public Sub New (matchLabels As Dictionary(Of String, String))

Parameters

matchLabels
Dictionary<String,String>

Remarks

LabelSelectorV1 is commonly used in Kubernetes resource specifications where filtering objects based on labels is required, such as in ReplicaSets, Deployments, or custom metrics.

Applies to