Share via


IParameterDefinitionsValue Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.ParameterDefinitionsValueTypeConverter))]
public interface IParameterDefinitionsValue : Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.ParameterDefinitionsValueTypeConverter))>]
type IParameterDefinitionsValue = interface
    interface IJsonSerializable
Public Interface IParameterDefinitionsValue
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

AllowedValue

The allowed values for the parameter.

DefaultValue

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.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to