你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ScriptParameter Class

Definition

An parameter that the script will accept

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptParameterTypeConverter))]
public class ScriptParameter : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IScriptParameter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptParameterTypeConverter))>]
type ScriptParameter = class
    interface IScriptParameter
    interface IJsonSerializable
Public Class ScriptParameter
Implements IScriptParameter
Inheritance
ScriptParameter
Attributes
Implements

Constructors

ScriptParameter()

Creates an new ScriptParameter instance.

Properties

Description

User friendly description of the parameter

Name

The parameter name that the script will expect a parameter value for

Optional

Is this parameter required or optional

Type

The type of parameter the script is expecting. psCredential is a PSCredentialObject

Visibility

Should this parameter be visible to arm and passed in the parameters argument when executing

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ScriptParameter.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ScriptParameter.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IScriptParameter.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ScriptParameter into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to