interface
Source: metadata.ts ↗
v1.StringParameterConstraints
Optional restrictions the parameter value must satisfy. Length bounds and ‘allowedValues’ are mutually exclusive.
export interface StringParameterConstraints
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
[ParameterAllowedValue, …ParameterAllowedValue[]] | (Optional) When present, the parameter value must equal one of the listed values. | ||
number | (Optional) The longest accepted value length, inclusive. | ||
number | (Optional) The shortest accepted value length, inclusive. |
Property details
v1.StringParameterConstraints.allowedValuesproperty
When present, the parameter value must equal one of the listed values.
allowedValues?: [ParameterAllowedValue, ...ParameterAllowedValue[]];
v1.StringParameterConstraints.maxLengthproperty
The longest accepted value length, inclusive.
maxLength?: number;
v1.StringParameterConstraints.minLengthproperty
The shortest accepted value length, inclusive.
minLength?: number;