[{"label":"Latest (1.0)","version":"latest"}]
srs-for-vsphere

ArgumentScriptTemplate

ArgumentScriptTemplate object represents a script with placeholders. If placeholders are replaced by values, the script can be executed. The purpose of the script is to produce an object of a type valid for a given script runtime. The result type of the script is usually input type for other scripts. The ArgumentScriptTemplate scripts help to convert simple type values to objects of types that can only be produced in a given script runtime.


Properties

string
id Optional

Unique identifier for the object.


array of string
placeholders Optional

The script template placeholders that has to be replaced by strings to produce a valid script.


string
result_type Optional

Type name of the object that is produced by the script template.


string
script_runtime Optional

ScriptRuntime on which this script can be executed.


string
script_template Optional

The script template.

JSON Example

{
	"id": "string",
	"placeholders": [
		"string"
	],
	"result_type": "string",
	"script_runtime": "string",
	"script_template": "string"
}
[{"label":"Latest (1.0)","version":"latest"}]
srs-for-vsphere
Returned By

List Argument Scripts Templates
Get Argument Scripts Template

Feedback

Was this page helpful?