Share via


IngressSpecV1.Rules Property

Definition

Gets the collection of ingress rules associated with the Kubernetes ingress resource.

[YamlDotNet.Serialization.YamlMember(Alias="rules")]
public System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.IngressRuleV1> Rules { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="rules")>]
member this.Rules : System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.IngressRuleV1>
Public ReadOnly Property Rules As List(Of IngressRuleV1)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The Rules property defines the routing configuration for incoming network traffic, specified as a list of IngressRuleV1 objects. Each rule corresponds to a set of conditions under which the traffic is routed to a specific backend.

Applies to