Skip to content
DocsTry Aspire
DocsTry

KubernetesNamespaceAnnotation Constructors

ClassConstructors1 member
An annotation placed on a KubernetesEnvironmentResource that specifies the target Kubernetes namespace for deployment.
Constructor(ReferenceExpression)Section titled Constructor(ReferenceExpression)
An annotation placed on a KubernetesEnvironmentResource that specifies the target Kubernetes namespace for deployment.
public sealed class KubernetesNamespaceAnnotation
{
public KubernetesNamespaceAnnotation(
ReferenceExpression @namespace)
{
// ...
}
}
namespaceReferenceExpressionA ApplicationModel.ReferenceExpression representing the namespace value.