CrossVersionObjectReferenceV2 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 CrossVersionObjectReferenceV2 : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource
[<YamlDotNet.Serialization.YamlSerializable>]
type CrossVersionObjectReferenceV2 = class
inherit BaseKubernetesResource
Public NotInheritable Class CrossVersionObjectReferenceV2
Inherits BaseKubernetesResource
- Inheritance
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
The CrossVersionObjectReferenceV2 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
CrossVersionObjectReferenceV2() |
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. |