ScriptParameter Class
- java.
lang. Object - com.
azure. resourcemanager. avs. models. ScriptParameter
- com.
Implements
public final class ScriptParameter
implements JsonSerializable<ScriptParameter>
An parameter that the script will accept.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: User friendly description of the parameter. |
|
static
Script |
fromJson(JsonReader jsonReader)
Reads an instance of Script |
| String |
name()
Get the name property: The parameter name that the script will expect a parameter value for. |
|
Optional |
optional()
Get the optional property: Is this parameter required or optional. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Script |
type()
Get the type property: The type of parameter the script is expecting. |
| void |
validate()
Validates the instance. |
|
Visibility |
visibility()
Get the visibility property: Should this parameter be visible to arm and passed in the parameters argument when executing. |
Methods inherited from java.lang.Object
Method Details
description
public String description()
Get the description property: User friendly description of the parameter.
Returns:
fromJson
public static ScriptParameter fromJson(JsonReader jsonReader)
Reads an instance of ScriptParameter from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The parameter name that the script will expect a parameter value for.
Returns:
optional
public OptionalParamEnum optional()
Get the optional property: Is this parameter required or optional.
Returns:
toJson
type
public ScriptParameterTypes type()
Get the type property: The type of parameter the script is expecting. psCredential is a PSCredentialObject.
Returns:
validate
public void validate()
Validates the instance.
visibility
public VisibilityParameterEnum visibility()
Get the visibility property: Should this parameter be visible to arm and passed in the parameters argument when executing.
Returns: