NumberParameter Class
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.
Integer type parameter model
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.NumberParameterTypeConverter))]
public class NumberParameter : Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.INumberParameter, Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.NumberParameterTypeConverter))>]
type NumberParameter = class
interface INumberParameter
interface IJsonSerializable
interface IParameter
interface IValidates
Public Class NumberParameter
Implements INumberParameter, IValidates
- Inheritance
-
NumberParameter
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| NumberParameter() |
Creates an new NumberParameter instance. |
Properties
| Name | Description |
|---|---|
| AllowedValue |
Allowed list of the values for the parameter. |
| DefaultValue |
Default value for the parameter. |
| Metadata |
user-specified parameter metadata |
| Type |
Data type of the parameter. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of NumberParameter. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of NumberParameter. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.INumberParameter. |
| FromJsonString(String) |
Creates a new instance of NumberParameter, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of NumberParameter into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |