Share via


ObjectFieldSelectorV1 Class

Definition

ObjectFieldSelectorV1 represents a selector that identifies a specific field of an object. It is used to specify the path to a field in the resource’s object structure and optionally, an API version to interpret the specified field.

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

Constructors

ObjectFieldSelectorV1()

Properties

ApiVersion

Gets or sets the API version of the referenced Kubernetes resource. This property specifies the version of the Kubernetes API to which the referenced resource belongs and is typically used to ensure compatibility with the desired resource schema.

FieldPath

Gets or sets the field path of the object to select. This property specifies the path to the field within a Kubernetes resource object.

Applies to