Generic VM Tasks

This chapter contains the following sections:

Modify VM Life Cycle

Summary
Modify a VM Life Cycle.
Description
This task modifies a VM's termination time.
Inputs
Input Description Mappable To Type Mandatory
Select VM Select the VM to be deleted.​ vm Y
Set Termination Time Select this to set a specific date and time for the termination.​ Y
Termination Date/Time VM will be terminated on the specified date/time.​ date_​time Y
Outputs
No Outputs

Select VM Task

Summary
Retrieve properties of the selected VM.
Description
This task retrieves the properties of a VM for use elsewhere in a Workflow.
Inputs
Input Description Mappable To Type Mandatory
Select VM Select the VM to retrieve the properties vm Y
Outputs
Output Description Type
VM_​Name VM Name gen_​text_​input
VM_​ID VM Id vm
VM_​CPU_​Size VM CPU Size gen_​text_​input
VM_​Cores_​Per_​CPU VM Cores Per CPU gen_​text_​input
VM_​Memory_​Size VM Memory Size gen_​text_​input
VM_​Guest_​Host Name VM Guest Host Name gen_​text_​input
VM_​v​Center_​Name VM v​Center Account Name gen_​text_​input
VM_​Server_​Address VM v​Center Server Address gen_​text_​input
VM_​Datacenter_​Name VM Datacenter Name datacenter​Name
VM_​Datacenter_​Identity VM Datacenter Identity gen_​text_​input
VM_​Host VM Host gen_​text_​input
VM_​Host_​Identity VM Host Identity vmware​Host​Node​Identity
VM_​Cluster_​Name VM Cluster Name gen_​text_​input
VM_​Cluster_​Identity VM Cluster Identity vmware​Cluster​Identity
VM_​Resource_​Pool_​Name VM Resource Pool Name vmware​Resource​Pool​Name
VM_​Resource_​Pool_​Identity VM Resource Pool Identity vmware​Resource​Pool​Identity
VM_​Datastore Datastore Name associated with the vm vmware​Datastore​Name
Datastore_​Identity VM Datastore Identity vmware​Datastore​Identity
Datastore_​Info_​Identity VM Datastore Info Identity gen_​text_​input
VM_​Datastore_​Cluster_​Name VM Datastore Cluster Name vmware​Datastore​Cluster​Name
VM_​Datastore_​Cluster_​Identity VM Datastore Cluster Identity vmware​Datastore​Cluster​Identity
VM_​Disk_​Count Total Number of VM Disks gen_​text_​input
Datastore_​Name_​Disk1 VM Disk 1 Datastore Name data​Store​Name
Datastore_​Name_​Disk2 VM Disk 2 Datastore Name data​Store​Name
Datastore_​Name_​Disk3 VM Disk 3 Datastore Name data​Store​Name
Datastore_​Name_​Disk4 VM Disk 4 Datastore Name data​Store​Name
Datastore_​Name_​Disk5 VM Disk 5 Datastore Name data​Store​Name
Datastore_​Name_​Disk6 VM Disk 6 Datastore Name data​Store​Name
Datastore_​Name_​Disk7 VM Disk 7 Datastore Name data​Store​Name
Datastore_​Name_​Disk8 VM Disk 8 Datastore Name data​Store​Name
Datastore_​Name_​Disk9 VM Disk 9 Datastore Name data​Store​Name
Datastore_​Name_​Disk10 VM Disk 10 Datastore Name data​Store​Name
Datastore_​Identity_​Disk1 VM Disk 1 Datastore Name vmware​Datastore​Identity
Datastore_​Identity_​Disk2 VM Disk 2 Datastore Name vmware​Datastore​Identity
Datastore_​Identity_​Disk3 VM Disk 3 Datastore Name vmware​Datastore​Identity
Datastore_​Identity_​Disk4 VM Disk 4 Datastore Name vmware​Datastore​Identity
Datastore_​Identity_​Disk5 VM Disk 5 Datastore Name vmware​Datastore​Identity
Datastore_​Identity_​Disk6 VM Disk 6 Datastore Name vmware​Datastore​Identity
Datastore_​Identity_​Disk7 VM Disk 7 Datastore Name vmware​Datastore​Identity
Datastore_​Identity_​Disk8 VM Disk 8 Datastore Name vmware​Datastore​Identity
Datastore_​Identity_​Disk9 VM Disk 9 Datastore Name vmware​Datastore​Identity
Datastore_​Identity_​Disk10 VM Disk 10 Datastore Name vmware​Datastore​Identity
Datastore_​Cluster_​Name_​Disk1 VM Disk 1 Datastore Cluster Name vmware​Datastore​Cluster​Name
Datastore_​Cluster_​Name_​Disk2 VM Disk 2 Datastore Cluster Name vmware​Datastore​Cluster​Name
Datastore_​Cluster_​Name_​Disk3 VM Disk 3 Datastore Cluster Name vmware​Datastore​Cluster​Name
Datastore_​Cluster_​Name_​Disk4 VM Disk 4 Datastore Cluster Name vmware​Datastore​Cluster​Name
Datastore_​Cluster_​Name_​Disk5 VM Disk 5 Datastore Cluster Name vmware​Datastore​Cluster​Name
Datastore_​Cluster_​Name_​Disk6 VM Disk 6 Datastore Cluster Name vmware​Datastore​Cluster​Name
Datastore_​Cluster_​Name_​Disk7 VM Disk 7 Datastore Cluster Name vmware​Datastore​Cluster​Name
Datastore_​Cluster_​Name_​Disk8 VM Disk 8 Datastore Cluster Name vmware​Datastore​Cluster​Name
Datastore_​Cluster_​Name_​Disk9 VM Disk 9 Datastore Cluster Name vmware​Datastore​Cluster​Name
Datastore_​Cluster_​Name_​Disk10 VM Disk 10 Datastore Cluster Name vmware​Datastore​Cluster​Name
Datastore_​Cluster_​Identity_​Disk1 VM Disk 1 Datastore Cluster Identity vmware​Datastore​Cluster​Identity
Datastore_​Cluster_​Identity_​Disk2 VM Disk 2 Datastore Cluster Identity vmware​Datastore​Cluster​Identity
Datastore_​Cluster_​Identity_​Disk3 VM Disk 3 Datastore Cluster Identity vmware​Datastore​Cluster​Identity
Datastore_​Cluster_​Identity_​Disk4 VM Disk 4 Datastore Cluster Identity vmware​Datastore​Cluster​Identity
Datastore_​Cluster_​Identity_​Disk5 VM Disk 5 Datastore Cluster Identity vmware​Datastore​Cluster​Identity
Datastore_​Cluster_​Identity_​Disk6 VM Disk 6 Datastore Cluster Identity vmware​Datastore​Cluster​Identity
Datastore_​Cluster_​Identity_​Disk7 VM Disk 7 Datastore Cluster Identity vmware​Datastore​Cluster​Identity
Datastore_​Cluster_​Identity_​Disk8 VM Disk 8 Datastore Cluster Identity vmware​Datastore​Cluster​Identity
Datastore_​Cluster_​Identity_​Disk9 VM Disk 9 Datastore Cluster Identity vmware​Datastore​Cluster​Identity
Datastore_​Cluster_​Identity_​Disk10 VM Disk 10 Datastore Cluster Identity vmware​Datastore​Cluster​Identity
VM_​Mac Mac address associated with the vm gen_​text_​input
VM_​IPv4_​Address IPv4 address of the vm gen_​text_​input
VM_​IPv6_​Address IPv6 address of the vm gen_​text_​input
VM_​Port​Groups Port Groups associated with the vm gen_​text_​input
VM_​Nics_​Count Total Number of VM NICs gen_​text_​input
VM_​NIC1_​MAC_​ADDRESS Mac address of the NIC1 gen_​text_​input
VM_​NIC1_​IPv4_​ADDRESS IPv4 address of the NIC1 gen_​text_​input
VM_​NIC1_​IPv6_​ADDRESS IPv6 address of the NIC1 gen_​text_​input
VM_​NIC1_​ADAPTER_​NAME Adapter name of NIC1 gen_​text_​input
VM_​NIC1_​GENERIC_​PORTGROUP_​IDENTITY Port​Group Identity of NIC1 vmware​Vm​Port​Group​Identity
VM_​NIC1_​PORTGROUP_​IDENTITY Port​Group Identity of NIC1 port​Group​Identity
VM_​NIC1_​DISTRIBUTED_​PORTGROUP_​IDENTITY Port​Group Identity of NIC1 VMware​DVPortgroup​Identity
VM_​NIC1_​Port​Group_​Name Port​Group Name of the NIC1 gen_​text_​input
VM_​NIC1_​Port​Group_​Type Port​Group Type of the NIC1 port​Group​Type
VM_​NIC1_​v​Switch_​Name v​Switch Name of the NIC1 v​Switch​Name
VM_​NIC1_​dv​Switch_​Name DV Switch Name of the NIC1 dv​Switch​Name
VM_​NIC1_​v​Switch_​Identity v​Switch Identity of the NIC1 vmware​VSwitch​Identity
VM_​NIC1_​dv​Switch_​Identity DV Switch Identity of the NIC1 VMware​DVSwitch​Identity
VM_​NIC2_​MAC_​ADDRESS Mac address of the NIC2 gen_​text_​input
VM_​NIC2_​IPv4_​ADDRESS IPv4 address of the NIC2 gen_​text_​input
VM_​NIC2_​IPv6_​ADDRESS IPv6 address of the NIC2 gen_​text_​input
VM_​NIC2_​ADAPTER_​NAME Adapter name of NIC2 gen_​text_​input
VM_​NIC2_​GENERIC_​PORTGROUP_​IDENTITY Port​Group Identity of NIC2 vmware​Vm​Port​Group​Identity
VM_​NIC2_​PORTGROUP_​IDENTITY Port​Group Identity of NIC2 port​Group​Identity
VM_​NIC2_​DISTRIBUTED_​PORTGROUP_​IDENTITY Port​Group Identity of NIC2 VMware​DVPortgroup​Identity
VM_​NIC2_​Port​Group_​Name Port​Group Name of the NIC2 gen_​text_​input
VM_​NIC2_​Port​Group_​Type Port​Group Type of the NIC2 port​Group​Type
VM_​NIC2_​v​Switch_​Name v​Switch Name of the NIC2 v​Switch​Name
VM_​NIC2_​dv​Switch_​Name DV Switch Name of the NIC2 dv​Switch​Name
VM_​NIC2_​v​Switch_​Identity v​Switch Identity of the NIC2 vmware​VSwitch​Identity
VM_​NIC2_​dv​Switch_​Identity DV Switch Identity of the NIC2 VMware​DVSwitch​Identity
VM_​NIC3_​MAC_​ADDRESS Mac address of the NIC3 gen_​text_​input
VM_​NIC3_​IPv4_​ADDRESS IPv4 address of the NIC3 gen_​text_​input
VM_​NIC3_​IPv6_​ADDRESS IPv6 address of the NIC3 gen_​text_​input
VM_​NIC3_​ADAPTER_​NAME Adapter name of NIC3 gen_​text_​input
VM_​NIC3_​GENERIC_​PORTGROUP_​IDENTITY Port​Group Identity of NIC3 vmware​Vm​Port​Group​Identity
VM_​NIC3_​PORTGROUP_​IDENTITY Port​Group Identity of NIC3 port​Group​Identity
VM_​NIC3_​DISTRIBUTED_​PORTGROUP_​IDENTITY Port​Group Identity of NIC3 VMware​DVPortgroup​Identity
VM_​NIC3_​Port​Group_​Name Port​Group Name of the NIC3 gen_​text_​input
VM_​NIC3_​Port​Group_​Type Port​Group Type of the NIC3 port​Group​Type
VM_​NIC3_​v​Switch_​Name v​Switch Name of the NIC3 v​Switch​Name
VM_​NIC3_​dv​Switch_​Name DV Switch Name of the NIC3 dv​Switch​Name
VM_​NIC3_​v​Switch_​Identity v​Switch Identity of the NIC3 vmware​VSwitch​Identity
VM_​NIC3_​dv​Switch_​Identity DV Switch Identity of the NIC3 VMware​DVSwitch​Identity
VM_​NIC4_​MAC_​ADDRESS Mac address of the NIC4 gen_​text_​input
VM_​NIC4_​IPv4_​ADDRESS IPv4 address of the NIC4 gen_​text_​input
VM_​NIC4_​IPv6_​ADDRESS IPv6 address of the NIC4 gen_​text_​input
VM_​NIC4_​ADAPTER_​NAME Adapter name of NIC4 gen_​text_​input
VM_​NIC4_​GENERIC_​PORTGROUP_​IDENTITY Port​Group Identity of NIC4 vmware​Vm​Port​Group​Identity
VM_​NIC4_​PORTGROUP_​IDENTITY Port​Group Identity of NIC4 port​Group​Identity
VM_​NIC4_​DISTRIBUTED_​PORTGROUP_​IDENTITY Port​Group Identity of NIC4 VMware​DVPortgroup​Identity
VM_​NIC4_​Port​Group_​Name Port​Group Name of the NIC4 gen_​text_​input
VM_​NIC4_​Port​Group_​Type Port​Group Type of the NIC4 port​Group​Type
VM_​NIC4_​v​Switch_​Name v​Switch Name of the NIC4 v​Switch​Name
VM_​NIC4_​dv​Switch_​Name DV Switch Name of the NIC4 dv​Switch​Name
VM_​NIC4_​v​Switch_​Identity v​Switch Identity of the NIC4 vmware​VSwitch​Identity
VM_​NIC4_​dv​Switch_​Identity DV Switch Identity of the NIC4 VMware​DVSwitch​Identity
VM_​NIC5_​MAC_​ADDRESS Mac address of the NIC5 gen_​text_​input
VM_​NIC5_​IPv4_​ADDRESS IPv4 address of the NIC5 gen_​text_​input
VM_​NIC5_​IPv6_​ADDRESS IPv6 address of the NIC5 gen_​text_​input
VM_​NIC5_​ADAPTER_​NAME Adapter name of NIC5 gen_​text_​input
VM_​NIC5_​GENERIC_​PORTGROUP_​IDENTITY Port​Group Identity of NIC5 vmware​Vm​Port​Group​Identity
VM_​NIC5_​PORTGROUP_​IDENTITY Port​Group Identity of NIC5 port​Group​Identity
VM_​NIC5_​DISTRIBUTED_​PORTGROUP_​IDENTITY Port​Group Identity of NIC5 VMware​DVPortgroup​Identity
VM_​NIC5_​Port​Group_​Name Port​Group Name of the NIC5 gen_​text_​input
VM_​NIC5_​Port​Group_​Type Port​Group Type of the NIC5 port​Group​Type
VM_​NIC5_​v​Switch_​Name v​Switch Name of the NIC5 v​Switch​Name
VM_​NIC5_​dv​Switch_​Name DV Switch Name of the NIC5 dv​Switch​Name
VM_​NIC5_​v​Switch_​Identity v​Switch Identity of the NIC5 vmware​VSwitch​Identity
VM_​NIC5_​dv​Switch_​Identity DV Switch Identity of the NIC5 VMware​DVSwitch​Identity
VM_​NIC6_​MAC_​ADDRESS Mac address of the NIC6 gen_​text_​input
VM_​NIC6_​IPv4_​ADDRESS IPv4 address of the NIC6 gen_​text_​input
VM_​NIC6_​IPv6_​ADDRESS IPv6 address of the NIC6 gen_​text_​input
VM_​NIC6_​ADAPTER_​NAME Adapter name of NIC6 gen_​text_​input
VM_​NIC6_​GENERIC_​PORTGROUP_​IDENTITY Port​Group Identity of NIC6 vmware​Vm​Port​Group​Identity
VM_​NIC6_​PORTGROUP_​IDENTITY Port​Group Identity of NIC6 port​Group​Identity
VM_​NIC6_​DISTRIBUTED_​PORTGROUP_​IDENTITY Port​Group Identity of NIC6 VMware​DVPortgroup​Identity
VM_​NIC6_​Port​Group_​Name Port​Group Name of the NIC6 gen_​text_​input
VM_​NIC6_​Port​Group_​Type Port​Group Type of the NIC6 port​Group​Type
VM_​NIC6_​v​Switch_​Name v​Switch Name of the NIC6 v​Switch​Name
VM_​NIC6_​dv​Switch_​Name DV Switch Name of the NIC6 dv​Switch​Name
VM_​NIC6_​v​Switch_​Identity v​Switch Identity of the NIC6 vmware​VSwitch​Identity
VM_​NIC6_​dv​Switch_​Identity DV Switch Identity of the NIC6 VMware​DVSwitch​Identity

VM Power Action

Summary
Perform a power action on the VM instance.
Description
This task performs power actions on a VM instance, including Power On or Off, Reboot, Delete VM, and Shutdown Guest.
Inputs
Input Description Mappable To Type Mandatory
Select VM Select the on which to perform the action vm Y
VM Action VM Action Y
Outputs
No Outputs

VM SSH Command

Summary
Use a secure shell (ssh) to run a command on a VM or host.
Description
This task logs into a VM instance or host using ssh and runs a command. Inputs are the Host IP Address, login, password, and a command. Only one command is allowed per task.
Inputs
Input Description Mappable To Type Mandatory
Select VM Select the VM on which to perform the SSH action vm Y
Login Login gen_​text_​input Y
Password Password password Y
Disable Command Echo and Command Logging If checked, commands executed through SSH are not logged in SR log nor echoed back Boolean
Command SSH command with arguments to execute Y
Outputs
No Outputs