|
VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
|
Avaliable Methods | |
| public method | set_resource_pool () |
| public method | get_folder () |
| public method | set_folder () |
| public method | get_datastore () |
| public method | set_cluster () |
| public method | set_datastore () |
| public method | get_resource_pool () |
| public method | new () |
| public method | set_host () |
| public method | get_cluster () |
| public method | get_host () |
The Com::Vmware::Vcenter::VM::PlacementSpec class contains information used to place a virtual machine onto resources within the vCenter inventory.
| public method Com::Vmware::Vcenter::VM::PlacementSpec::get_cluster | ( | ) |
Gets the value of 'cluster' property.
| cluster | - The current value of the field. Cluster onto which the virtual machine should be placed. |
If cluster and resourcePool are both specified, resourcePool must belong to cluster .
If cluster and host are both specified, host must be a member of cluster .
Optional#
Code:
| public method Com::Vmware::Vcenter::VM::PlacementSpec::get_datastore | ( | ) |
Gets the value of 'datastore' property.
| datastore | - The current value of the field. Datastore on which the virtual machine's configuration state should be stored. This datastore will also be used for any virtual disks that are created as part of the virtual machine creation operation. Optional# |
Code:
| public method Com::Vmware::Vcenter::VM::PlacementSpec::get_folder | ( | ) |
Gets the value of 'folder' property.
| folder | - The current value of the field. Virtual machine folder into which the virtual machine should be placed. Optional# |
Code:
| public method Com::Vmware::Vcenter::VM::PlacementSpec::get_host | ( | ) |
Gets the value of 'host' property.
| host | - The current value of the field. Host onto which the virtual machine should be placed. |
If host and resourcePool are both specified, resourcePool must belong to host .
If host and cluster are both specified, host must be a member of cluster .
Optional#
Code:
| public method Com::Vmware::Vcenter::VM::PlacementSpec::get_resource_pool | ( | ) |
Gets the value of 'resource_pool' property.
| resource_pool | - The current value of the field. Resource pool into which the virtual machine should be placed. Optional# |
Code:
| public method Com::Vmware::Vcenter::VM::PlacementSpec::new | ( | ) |
Constructor to initialize the Com::Vmware::Vcenter::VM::PlacementSpec structure
| Blessed | object |
Code:
| public method Com::Vmware::Vcenter::VM::PlacementSpec::set_cluster | ( | ) |
Sets the given value for 'cluster' property.
| cluster | - New value for the field. Cluster onto which the virtual machine should be placed. |
If cluster and resourcePool are both specified, resourcePool must belong to cluster .
If cluster and host are both specified, host must be a member of cluster .
Code:
| public method Com::Vmware::Vcenter::VM::PlacementSpec::set_datastore | ( | ) |
Sets the given value for 'datastore' property.
| datastore | - New value for the field. Datastore on which the virtual machine's configuration state should be stored. This datastore will also be used for any virtual disks that are created as part of the virtual machine creation operation. |
Code:
| public method Com::Vmware::Vcenter::VM::PlacementSpec::set_folder | ( | ) |
Sets the given value for 'folder' property.
| folder | - New value for the field. Virtual machine folder into which the virtual machine should be placed. |
Code:
| public method Com::Vmware::Vcenter::VM::PlacementSpec::set_host | ( | ) |
Sets the given value for 'host' property.
| host | - New value for the field. Host onto which the virtual machine should be placed. |
If host and resourcePool are both specified, resourcePool must belong to host .
If host and cluster are both specified, host must be a member of cluster .
Code:
| public method Com::Vmware::Vcenter::VM::PlacementSpec::set_resource_pool | ( | ) |
Sets the given value for 'resource_pool' property.
| resource_pool | - New value for the field. Resource pool into which the virtual machine should be placed. |
Code: