VirtualGuest class
The VirtualGuest class represents a virtual guest hosted on a virtual resource pool, virtual cluster or virtual host. Different provisioning scenarios provision to different targets (pool, cluster or host). We track that the VM has been created, the compute container it underpins, and the object hosting it (pool, cluster or host).
VirtualGuest class APIs
The following tables list the basic APIs, operation APIs, and relationship APIs for the VirtualGuest class.
Basic APIs
Name | HTTP | URI | Description |
---|---|---|---|
get | GET | Retrieves a VirtualGuest object. | |
search | POST | Searches for VirtualGuest objects. |
Operation APIs
Name | HTTP | URI | Description |
---|---|---|---|
transferOwnership | POST | Transfers the ownership from existing user to the new user |
Relationship APIs
Name | HTTP | URI | Description |
---|---|---|---|
relation | GET | Retrieves the cpuSensor relationship. | |
relation | GET | Retrieves the memorySensor relationship. | |
relation | GET | Retrieves the virtualCluster relationship. | |
relation | GET | Retrieves the virtualHost relationship. | |
relation | GET | Retrieves the virtualResourcePools relationship. | |
relation | GET | Retrieves the hostedContainers relationship. | |
relation | GET | Retrieves the localDisks relationship. | |
relation | GET | Retrieves the nics relationship. | |
relation | GET | Retrieves the operatingSystem relationship. | |
relation | GET | Retrieves the serverNetworkInterface relationship. | |
relation | GET | Retrieves the software relationship. | |
relation | GET | Retrieves the storageConnection relationship. | |
relation | GET | Retrieves the tickets relationship. | |
relation | GET | Retrieves the provider relationship. | |
relation | GET | Retrieves the tags relationship. |
VirtualGuest class relationships and attributes
The following tables list the relationships and attributes of the VirtualGuest class.
Relationships
Name | Type | Multi- | Description |
---|---|---|---|
cpuSensor | 0..1 | CPU sensor that monitors the virtual guest | |
memorySensor | 0..1 | Memory sensor that monitors the virtual guest | |
virtualCluster | 0..1 | Virtual cluster that hosts the virtual guest | |
virtualHost | 0..1 | Virtual host that hosts the virtual guest | |
virtualResourcePools | 0..1 | Virtual resource pool that hosts the virtual guest | |
hostedContainers | 0..1 | Compute containers hosted on the server | |
localDisks | 0..* | Local disks | |
nics | 1..* | Network interface cards that can access the server | |
operatingSystem | 0..1 | Server operating system | |
serverNetworkInterface | 1..* | Server network interfaces that can access the server | |
software | 0..* | Software that runs on the server | |
storageConnection | 0..* | Storage connections the server can access | |
tickets | 0..* |
| |
cloudClass | 1 | Fully-qualified name of the class to which the object belongs | |
provider | 1 | Provider that created the object | |
tags | 0..* | Tags associated with the object |
Attributes
Name | Type | Multi- | Description |
---|---|---|---|
state | 1 | Current state of the virtual guest | |
vmuuid | String | 1 | Unique identifier of the server provided by the virtualization vendor |
cpuClockSpeed | Float | 0..1 | CPU clock speed measured in GHz |
domain | String | 0..1 | Primary domain for the server |
hostName | String | 0..1 | Host name of the server |
serialNumber | String | 0..1 | The server serial number, as reported by the operating system. |
totalCpus | Integer | 0..1 | Number of CPU cores on the server |
hwArchitecture | 0..1 | Hardware architecture of the server | |
isAvailable | Boolean | 0..1 | This attribute lets one know about whether this instance is available. The value is derived from its provider when a sync/refresh operation happens |
moRef | String | 0..1 | This represents the unique id from the virtualization vendor. This can be used to identify the instance uniquely |
providerCategorizationTier3 | String | 0..* | Values from the InstallableResource class categorizationTier3 attribute that are valid installable resource types for this infrastructure resource |
totalMemory | Integer | 0..1 | Total amount of memory available to be allocated to guests. Measured in GB. |
vendor | String | 0..1 | Name of the virtualization vendor, such as VMWare |
isOnboarded | Boolean | 1 | Indicates whether the object is onboarded |
externalID | String | 0..1 | Identifier used for the object by an external provider |
owner | String | 0..1 | Name of the owner of the object |
reconciliationID | String | 0..1 | Reconciliation identity value for the object from the BMC Atrium CMDB |
tokenID | String | 0..1 | Token identifier |
description | String | 0..1 | Text that describes the object |
guid | String | 1 | Globally unique identifier for the object |
labels | String | 0..* |
|
modifiedDate | 0..1 | Date the Cloudobject was modified | |
name | String | 1 | Human-readable name of the object |