Partager via


IParameterDefinitionsValue.Schema Property

Definition

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/.

[Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.Info(Create=true, Description="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/.", PossibleTypes=new System.Type[] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IAny) }, Read=true, ReadOnly=false, Required=false, SerializedName="schema", Update=true)]
public Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IAny Schema { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.Info(Create=true, Description="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/.", PossibleTypes=new System.Type[] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IAny) }, Read=true, ReadOnly=false, Required=false, SerializedName="schema", Update=true)>]
member this.Schema : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IAny with get, set
Public Property Schema As IAny

Property Value

Attributes

Applies to