| Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
Name | Type | Description |
---|---|---|
None |
Methods
Methods defined in this Managed Object |
---|
CreateVRP, DeleteVRP, DeployVM, GetAllVRPIds, GetChildRPforHub, GetRPSettings, GetVRPofVM, GetVRPSettings, GetVRPUsage, SetManagedByVDC, UndeployVM, UpdateVRP |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VRPResourceManager used to make the method call. |
spec | VirtualResourcePoolSpec |
The VRP is created to have this config. The spec can either
have member hubs specified, or the child resource pools. If hubs are
specified, a child resource pool will be created within every hub. If
child resource pools are specified, the parents of these resource pools
will be considered as hubs.
|
Return Value
Type | Description |
---|---|
xsd:string |
Faults
Type | Description |
---|---|
InsufficientResourcesFault | Thrown if the VRP specification cannot be supported by group of backing hubs. Admission control not guaranteed. |
InvalidState | Thrown if the hubs/child resource pools do not support this operation in their current state; or if both hubs and child resource pools are specified in the VirtualResourcePoolSpec. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VRPResourceManager used to make the method call. |
vrpId | xsd:string |
The unique Id of the VRP
|
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
InvalidState | Thrown if the VRP cannot be deleted in its current state. |
NotFound | Thrown if the VRP id cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VRPResourceManager used to make the method call. |
vrpId | xsd:string |
The unique Id of the VRP.
|
vm | ManagedObjectReference
to a VirtualMachine |
MoRef of the VM.
|
cluster | ManagedObjectReference
to a ManagedEntity |
MoRef of the hub.
|
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
InsufficientResourcesFault | Thrown if the VM cannot be supported by the VRP due to insufficient resources. |
InvalidState | Thrown if the VM cannot be deployed in its current state. |
NotFound | Thrown if the VRP or VM or hub cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VRPResourceManager used to make the method call. |
Return Value
Type | Description |
---|---|
xsd:string[] |
Faults
Type | Description |
---|---|
InvalidState | Thrown if the information cannot be obtained due to invalid data. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VRPResourceManager used to make the method call. |
vrpId | xsd:string |
ID of the VRP.
|
hub | ManagedObjectReference
to a ManagedEntity |
MoRef of the hub.
|
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a ResourcePool |
Faults
Type | Description |
---|---|
InvalidState | Thrown if the data cannot be accessed. |
NotFound | Thrown if the VRP/hub cannot be found, or if the hub is not a part of the specified VRP. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VRPResourceManager used to make the method call. |
resourcePool | ManagedObjectReference
to a ResourcePool |
MoRef of the resource pool
|
Return Value
Type | Description |
---|---|
ResourceConfigSpec |
Faults
Type | Description |
---|---|
NotFound | Thrown if the resource pool is not found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VRPResourceManager used to make the method call. |
vm | ManagedObjectReference
to a VirtualMachine |
MoRef of the VM.
|
Return Value
Type | Description |
---|---|
xsd:string |
Faults
Type | Description |
---|---|
InvalidState | Thrown if the data cannot be accessed. |
NotFound | Thrown if the VM is not found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VRPResourceManager used to make the method call. |
vrpId | xsd:string |
Id of the VRP.
|
Return Value
Type | Description |
---|---|
VirtualResourcePoolSpec |
Faults
Type | Description |
---|---|
InvalidState | Thrown if the data cannot be accessed. |
NotFound | Thrown if the VRP cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VRPResourceManager used to make the method call. |
vrpId | xsd:string |
Id of the VRP.
|
Return Value
Type | Description |
---|---|
VirtualResourcePoolUsage |
Faults
Type | Description |
---|---|
InvalidState | Thrown if the data cannot be accessed. |
NotFound | Thrown if the VRP cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VRPResourceManager used to make the method call. |
cluster | ManagedObjectReference
to a ManagedEntity |
MoRef of the cluster.
|
status | xsd:boolean |
true if the cluster is managed by a Virtual Datacenter
|
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
InvalidState | Thrown if the cluster cannot be reconfigured due to its state. |
NotFound | Thrown if the cluster was not found |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VRPResourceManager used to make the method call. |
vrpId | xsd:string |
The unique Id of the VRP.
|
vm | ManagedObjectReference
to a VirtualMachine |
MoRef of the VM.
|
cluster | ManagedObjectReference
to a ManagedEntity |
MoRef of the hub.
|
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
InvalidState | Thrown if the VM cannot be un-deployed in its current state. |
NotFound | Thrown if the VRP,VM or the hub cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VRPResourceManager used to make the method call. |
spec | VRPEditSpec |
The VRP is updated to have this config. If any new hub is
added, a child resource pool will be created under it. For removed hubs,
their child resource pools will be deleted and all the VMs that were
under those resource pools will be moved directly under the hub. If the
hub is a cluster, the VMs will be moved to the root resource pool.
|
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
InsufficientResourcesFault | Thrown if the VRP specification cannot be supported by group of backing hubs. Admission control not guaranteed. |
InvalidState | Thrown if the VRP does not support the operation in its current state. |
NotFound | Thrown if the VRP id cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Top of page | Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |