Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Output (type: string): outputs message.
  • Output Status (type: boolean): outputs True if the operation succeeded otherwise False.
 

 

 

 

 

 

VM Create Ethernet Device

...

  • Capacity in KB (text box editor type) (type: int64)the disk size in kilobytes to allocate to the virtual machine disk.
  • Controller Key (text box editor type) (type: int32): the object key that denotes the controller object for this device. You need a 'VirtualLsiLogicSASController' type Key. 
    The value can also be obtained from activity: VM List Controllers using the following steps:
    • use a VM List Controllers activity to extract the Controller Key:
      Image RemovedImage Added
    • Iterate through the list of returned controllers and select the desired controller key using Get Element From Collection activity and desired index:

    • bind the obtained Controller Key (stored in variable) to the Controller Key field from VM Create Virtual Disk activity. The value stored in ControllerKey variable is converted to Int32:
  • Disk Mode (combo box control) (type: string)specify the disk persistence mode. Valid modes are: persistent->Changes are immediately and permanently written to the virtual disk, independent_nonpersistent->Same as nonpersistent, but not affected by snapshots, independent_persistent->Same as persistent, but not affected by snapshots.
  • Disk Name (text box editor type) (type: string): the name of the Disk.
  • Eagerly Scrub (combo box control) (type: string)specify to the underlying file system whether the virtual disk backing file should be scrubbed completely at this time.Virtual disks on some filesystems like VMFS3 are zeroed-out lazily so that disk creation time doesn't take too long. However, clustering applications and features like Fault Tolerance require that the virtual disk be completely scrubbed. This setting allows controlling the scrubbing policy on a per-disk basis.
  • Split (combo box control) (type: string)the type of virtual disk file: split or monolithic. If true, the virtual disk is stored in multiple files, each 2GB.
  • Thin Provisioned (combo box control) (type: string)specify to the underlying file system, whether the virtual disk backing file should be allocated lazily (using thin provisioning). This flag is only used for file systems that support configuring the provisioning policy on a per file basis, such as VMFS3.
  • Write Through (combo box control) (type: string)whether writes should go directly to the file system or should be buffered.

...

  • Datacenter (text box editor type) (type: string): the datacenter root name.
  • Device Key (text box editor type) (type: int32): the unique key that distinguishes this device from other devices in the same virtual machine.
    The value can also be obtained from activity: VM Get Virtual Ethernet Device using the following steps:
    • use a VM List Virtual Ethernet Devices activity to extract the Virtual Device Name. Iterate through the output collection of detials or use the first virtual ethernet device and extract the Name using Get Element From Collection activity and index 1:


    • use a VM Get Virtual Ethernet Device and bind the obtained VirtualDeviceName (stored in variable) to the Virtual Device Name parameter:

    • bind the obtained EthernetDevice_Key (stored in variable) to the Device Key parameter in VM Remove Virtual Ethernet Device activity:
      Image RemovedImage Added
  • Host (text box editor type) (type: string): the host on which you want to edit the Virtual Ethernet Device.
  • Virtual Machine ID (text box editor type) (type: string): the virtual machine you want to edit.
    The value can also be obtained from activity: Get VM using the following steps:
    • use a Get VM activity to extract the VM ID:
    • bind the obtained VM ID (stored in variable) to the VirtualMachine ID field from VM Edit Virtual Ethernet Device activity:

...

  • Output (type: int32): outputs the ID of the Virtual CDRom Device.
 

 

 

 

 

VM Get Virtual Disk

This activity returns the desired Virtual Disk ID found on the specified Virtual Machine.

...

  • Virtual Device Name (text box editor type) (type: string): the virtual device name. 
    The value can also be obtained from activity: VM List Virtual Ethernet Devices using the following steps:
    • use a VM List Virtual Ethernet Devices activity to extract the Virtual Device Name. Iterate through the output collection of details or use the first virtual ethernet device and extract the Name using Get Element From Collection activity and index 1:


    • bind the obtained VirtualDeviceName (stored in variable) to the Virtual Device Name parameter:

  • Virtual Machine ID (text box editor type) (type: string): the virtual machine on which the Virtual Ethernet Device can be found.
    The value can also be obtained from activity: Get VM using the following steps:
    • use a Get VM activity to extract the VM ID:
    • bind the obtained VM ID (stored in variable) to the VirtualMachine ID field from VM Get Virtual Ethernet Device activity:
      Image RemovedImage Added

The Read Only Output variable are the possible output values that the activity will provide:

...

 

In order to extract the values from the ControllerDetails collection, For Each and Get Element From Collection activities should be used:

 

Execution: The example below is an execution where all controllers are listed for VirtualMachine with ID vm-25:

 

 

 

VM List Virtual CDRoms

This activity lists all the Virtual CDRoms from the specified Virtual Machine.

...

 

In order to extract the values from the DeviceDetails collection, For Each and Get Element From Collection activities should be used:

 

Execution: The example below is an execution where all virtual CDRoms are listed for VirtualMachine with ID vm-25:



 

VM List Virtual Disks

This activity lists all the Virtual Disks from the specified Virtual Machine.

...

In order to extract the values from the VirtualDisksDetails collection, For Each and Get Element From Collection activities should be used:

 

Execution: The example below is an execution where all virtual disks are listed for VirtualMachine with ID vm-25:



 

VM List Virtual Ethernet Devices

...

 

In order to extract the values from the EthernetDevicesDetails collection, For Each and Get Element From Collection activities should be used:

 

Execution: The example below is an execution where all virtual disks are listed for VirtualMachine with ID vm-25:

 

 

VM Remove Virtual CDRom

This activity removes the desired Virtual CDRom from the specified virtual machine.

...

  • Output Status (type: boolean): outputs True if the operation succeeded otherwise False.

 

VM Remove Virtual Disk

This activity removes the desired Virtual Disk from the specified virtual machine.

...

  • Output Status (type: boolean): outputs True if the operation succeeded otherwise False.




 

VM Remove Virtual Ethernet Device

...