Language

ArrayParameter Class

Definition

Array type parameter model

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.ArrayParameterTypeConverter))]
public class ArrayParameter : Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.IArrayParameter, Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.ArrayParameterTypeConverter))>]
type ArrayParameter = class
    interface IArrayParameter
    interface IJsonSerializable
    interface IParameter
    interface IValidates
Public Class ArrayParameter
Implements IArrayParameter, IValidates
Inheritance
ArrayParameter
Attributes
Implements

Constructors

Name Description
ArrayParameter()

Creates an new ArrayParameter 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 ArrayParameter.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ArrayParameter.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.IArrayParameter.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ArrayParameter into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to