Language

Parameter Class

Definition

Base class for the Parameters.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.ParameterTypeConverter))]
public class Parameter : Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.IParameter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.ParameterTypeConverter))>]
type Parameter = class
    interface IParameter
    interface IJsonSerializable
Public Class Parameter
Implements IParameter
Inheritance
Parameter
Attributes
Implements

Constructors

Name Description
Parameter()

Creates an new Parameter instance.

Properties

Name Description
Metadata

user-specified parameter metadata

Type

Data type of the parameter.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Parameter.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Parameter.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.IParameter. Note: the Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.IParameter interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

Creates a new instance of Parameter, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Parameter into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to