Versions Compared

Key

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

...

VM Get Storage Usage

This activity retrieves a subset of the storage information of this virtual machine.

Activity Parameters

The VM Get Attributes  VM Get Storage Usage activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image Removed

Image AddedParameters:

  • VirtualMachine ID (text box editor type) (type: string): the ID of the Virtual Machine for which you want to retrieve the storage usage information.
As mentioned above, the values for all the required parameters can be provided by IN arguments or variables. Below is an example of predefined arguments, ready to be used by the VM
  • The value can also be obtained from activity: Get VM using the following steps:
    • use a Get VM activity to extract the VM ID:
      Image Added
    • bind the obtained VM ID (stored in variable) to the VirtualMachine ID field from VM Get Storage Usage activity:
Image Removed
    •   Image Added


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

  • Output Commited (type: collection<string>string): outputs a collection of information about the total storage space, commited to the VM across all datastores. 
  • Output Uncommited (type: collection<string>string): outputs a collection of information about  outputs the additional storage space, potentially used by the VM across all datastores. 
  • Output Unshared (type: collection<string>string): outputs a collection of information about  outputs the total storage space occupied by the VM across all datastores that is not shared with any other VM.
Image Removed

...

 

Execution: The example below is an execution where the storage usage for DemoWin7 virtual machine is returned:

Image Added

VM List

This activity lists all virtual machines from the specified location.

...