ObjectFieldSelectorV1
Class sealed net10.0
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.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class ObjectFieldSelectorV1{ // ...}Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesApiVersionget; setstring 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.
FieldPathget; setstring Gets or sets the field path of the object to select. This property specifies the path to the field within a Kubernetes resource object.