Share via


ObjectFieldSelectorV1.ApiVersion Property

Definition

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.

[YamlDotNet.Serialization.YamlMember(Alias="apiVersion")]
public string ApiVersion { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="apiVersion")>]
member this.ApiVersion : string with get, set
Public Property ApiVersion As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to