Class Percent
Percent 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 Percent
Constructors
Percent()
Initializes a new instance of the Percent class.
Declaration
public Percent()
Properties
Value
A percentage in the range of [0.0, 100.0].
Declaration
[JsonProperty(PropertyName = "value", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
public double? Value { get; set; }
Property Value
Type | Description |
---|---|
double? |
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate()
Exceptions
Type | Condition |
---|---|
ValidationException | Thrown if validation fails. |