ScriptParameter 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.
An parameter that the script will accept
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptParameterTypeConverter))]
public class ScriptParameter : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptParameter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.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.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() |