Share via


LabelSelectorAttributesV1 Class

Definition

Represents the attributes used for label selection in Kubernetes resources.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class LabelSelectorAttributesV1
[<YamlDotNet.Serialization.YamlSerializable>]
type LabelSelectorAttributesV1 = class
Public NotInheritable Class LabelSelectorAttributesV1
Inheritance
LabelSelectorAttributesV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Constructors

LabelSelectorAttributesV1()

Properties

RawSelector

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.

Requirements

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.

Applies to