Skip to content
DocsTry Aspire
DocsTry

CrossVersionObjectReferenceV2

Classsealednet8.0
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
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.