...
- Create Resource Pool
- Edit Resource Pool
- Get Resource Pool
- Get Resource Pool Properties
- List Resource Pools
- Remove Resource Pool
Create Create Resource Pool
This activity creates a new Resource Pool on the existing Resource Pool or the specified Cluster.
...
- Output (type: string): outputs the new created Resource Pool ID.
- Output Status (type: boolean): outputs True if the operation succeeded otherwise False.
Edit Resource Pool
This activity edits the specified Resource Pool.
...
- Output Status (type: boolean): outputs True if the operation succeeded otherwise False.
Get Resource Pool
This activity returns the specified Resource Pool ID.
...
- Output (type: string): outputs the resulting Resource Pool ID.
...
Execution: The example below is an execution where a new datastore will be created on the specified host:
Get Resource Pool Properties
...
In order to extract the values from the ResPoolProperties collection, For Each and Log Track Data activities should be used:
List Resource Pools
This activity retrieves a list of all the resource pools.
...
The List Resource Pools activity parameters can be provided by manual inserted values or via IN arguments or variables:
Parameters:
- Datacenter Name (text box editor type) (type: string): the name of the Datacenter.
- Cluster Name (text box editor type) (type: string): the name of the Cluster.
- Path (text box editor type) (type: string): thepath where the desired Resource Pool is. If left empty it will return the Parent Resource Pool. For example: ResourcePoolName1/ResourcePoolName2/DesiredResourcePool.
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 List Resource Pools activity:
The Read Only Output variable are the possible output values that the activity will provide:
- Output (type: collection<string>): outputs a collection of Resource Pools found on the specified path.
In order to extract the values from the ListResPools output collection , For Each and Log Track Data activities should be used:
Execution: The example below is an execution where all multipaths are returned for DemoDatastore datastore:
Remove Resource Pool
This activity removes the specified Resource Pool..
...
- Resource Pool ID (text box editor type) (type: string): the ID of the Resource Pool.
The value can also be obtained from activity: Get Resource Pool using the following steps:- use a Get Resource Pool activity to extract the ResourcePoolID:
- bind the obtained ResourcePoolID(stored in variable) to the Resource Pool ID field from Remove Resource Pool activity:
- use a Get Resource Pool activity to extract the ResourcePoolID:
The Read Only Output variable are the possible output values that the activity will provide:
- Output Status (type: boolean): outputs True if the operation succeeded otherwise False.
...