Outputs

The fourth and final section of a template is the outputs section. Here are the keys returned to the caller of the template. The caller can use these values to start another task or script and use one or more of the values created or used by the template.

The main use for this is to prevent hardcoding names in downstream automation. The outputs section is a JSON object of the following format:

{
"outputName":
{
"type": "string",
"value": "myValue"
}
}

 When specifying outputs, the same types can be used as for parameters. Of course, it does not make much sense hardcoding the values, so functions are used to retrieve values from parameters, variables, or even created resources.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.62.45