Skip to content
Docs Try Aspire

KubernetesServiceCustomizationAnnotation Constructors

Class Constructors 1 member
Represents an annotation for customizing a Kubernetes service.
Constructor(Action<KubernetesResource>) Section titled Constructor(Action<KubernetesResource>)
Represents an annotation for customizing a Kubernetes service.
public sealed class KubernetesServiceCustomizationAnnotation
{
public KubernetesServiceCustomizationAnnotation(
Action<KubernetesResource> configure)
{
// ...
}
}
configure Action<KubernetesResource> The configuration action for customizing the Kubernetes service.
Initializes a new instance of the KubernetesServiceCustomizationAnnotation class.