Class PortSelector
PortSelector specifies the number of a port to be used for matching or selection for final routing.
Namespace: Neon.Kube.Resources.Istio
Assembly: Neon.Kube.Resources.dll
Syntax
public class PortSelector
Constructors
PortSelector()
Initializes a new instance of the PortSelector class.
Declaration
public PortSelector()
Properties
Number
Valid port number.
Declaration
[JsonProperty(PropertyName = "number", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
public int? Number { get; set; }
Property Value
Type | Description |
---|---|
int? |
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate()
Exceptions
Type | Condition |
---|---|
ValidationException | Thrown if validation fails. |