Share via


Ingress.Spec Property

Definition

Gets or sets the specification of the Ingress resource.

[YamlDotNet.Serialization.YamlMember(Alias="spec")]
public Aspire.Hosting.Kubernetes.Resources.IngressSpecV1 Spec { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="spec")>]
member this.Spec : Aspire.Hosting.Kubernetes.Resources.IngressSpecV1 with get, set
Public Property Spec As IngressSpecV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The Spec property represents the configuration for the Ingress resource in Kubernetes. It contains details about backends, rules, TLS settings, and ingress class names, allowing control over how HTTP and HTTPS traffic is routed within the cluster. The value of this property is defined by the IngressSpecV1 class.

Applies to