ParameterDefinitionsValue interface
The definition of a parameter that can be provided to the policy.
Properties
allowed |
The allowed values for the parameter. |
default |
The default value for the parameter if no value is provided. |
metadata | General metadata for the parameter. |
schema | Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/. |
type | The data type of the parameter. |
Property Details
allowedValues
The allowed values for the parameter.
allowedValues?: any[]
Property Value
any[]
defaultValue
The default value for the parameter if no value is provided.
defaultValue?: any
Property Value
any
metadata
General metadata for the parameter.
metadata?: ParameterDefinitionsValueMetadata
Property Value
schema
Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/.
schema?: any
Property Value
any
type
The data type of the parameter.
type?: string
Property Value
string