Skip to content
Docs Try Aspire

CrossVersionObjectReferenceV2

Class sealed net8.0
📦 Aspire.Hosting.Kubernetes v13.2.0-preview.1.26170.3
Represents a reference to an object across different API versions in Kubernetes.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class CrossVersionObjectReferenceV2
: Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource
{
// ...
}
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.