Share via


FieldSelectorRequirementV1 Class

Definition

Represents a requirement used in a field selector in Kubernetes resources. This class is used to specify a filtering condition based on certain attributes or values of a Kubernetes resource.

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

Constructors

FieldSelectorRequirementV1()

Properties

Key

Gets or sets the key used in the field selector requirement. Represents the field key to match within the Kubernetes resource.

Operator

Gets or sets the operator used to compare a field key against specified values.

Values

Gets the list of values associated with this field selector requirement.

Applies to