ObjectParameter 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.
Object type parameter model
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.ObjectParameterTypeConverter))]
public class ObjectParameter : Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.IObjectParameter, Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.ObjectParameterTypeConverter))>]
type ObjectParameter = class
interface IObjectParameter
interface IJsonSerializable
interface IParameter
interface IValidates
Public Class ObjectParameter
Implements IObjectParameter, IValidates
- Inheritance
-
ObjectParameter
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ObjectParameter() |
Creates an new ObjectParameter 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 ObjectParameter. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ObjectParameter. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.IObjectParameter. |
| FromJsonString(String) |
Creates a new instance of ObjectParameter, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ObjectParameter into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |