Skip to content
Docs Try Aspire

CrossVersionObjectReferenceV2

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
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.