Share via


CrossVersionObjectReferenceV1 Class

Definition

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 BaseKubernetesResource
Public NotInheritable Class CrossVersionObjectReferenceV1
Inherits BaseKubernetesResource
Inheritance
CrossVersionObjectReferenceV1
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.

Applies to