CrossVersionObjectReferenceV1 Class   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a reference to an object across different API versions in Kubernetes.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class CrossVersionObjectReferenceV1 : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource[<YamlDotNet.Serialization.YamlSerializable>]
type CrossVersionObjectReferenceV1 = class
    inherit BaseKubernetesResourcePublic NotInheritable Class CrossVersionObjectReferenceV1
Inherits BaseKubernetesResource- Inheritance
- Attributes
- 
			YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
The CrossVersionObjectReferenceV1 class is used to specify a reference to a Kubernetes object, irrespective of the object's API version. It contains details such as the name of the referenced object.
Constructors
| CrossVersionObjectReferenceV1() | Represents a reference to an object across different API versions in Kubernetes. | 
Properties
| ApiVersion | Gets or sets the API version for the Kubernetes resource.(Inherited from BaseKubernetesObject) | 
| Kind | Gets or sets the kind of the Kubernetes resource.(Inherited from BaseKubernetesObject) | 
| Metadata | Gets or sets the metadata for the Kubernetes resource.(Inherited from BaseKubernetesResource) | 
| Name | Gets or sets the name of the Kubernetes resource being referenced. |