你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IParameterDefinitionsValue Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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) |