new workflow

This commit is contained in:
John Bowdre 2022-06-15 16:28:27 -05:00
parent 1fe6ae08aa
commit cdef3e72d3
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# VM Provision workflow
Wrapper workflow which unpacks the vRA request, identifies the target vCenter, calls [Generate Unique Hostname](../Generate%20Unique%20Hostname/) for each compute resource in the request, and returns the newly-generated names back to vRA so they get applied to the deployment.
![Schema](schema.png)
## Inputs/Outputs
| Name | Type | Direction | Description |
|:--- |:--- |:---|:---|
| `inputProperties` | Properties | Input | full request payload from vRA |
| `resourceNames` | Array/string | Output | contains the newly-generated hostname(s) to return to vRA |
| `customProperties` | Properties | Output | modified to insert `vCenterName` and return back to vRA |
## Variables
| Name | Type | Value | Description |
|:--- |:--- |:--- |:--- |
| `digits` | number| | optional manually-specified numbering suffix; overrides automatic numbering but still checks for conflicts |
| `domain` | string | | domain used for DNS checks |
| `endpointId` | string | | vCenter identifier used internally by vRA |
| `nameBase` | string | | letter-based portion of the VM naming format |
| `newNames` | Array/string | | new names generated by `Generate Unique Hostname` |
| `originalNames` | Array/string | | original resource names |
|`vCenterName` | string | | fully-qualified vCenter name |

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB