Resource
class Resource extends OperatorResource implements Retrievable
Traits
Constants
RESOURCE_TYPE_GENERIC |
|
RESOURCE_TYPE_CEPH_ACCOUNT |
|
RESOURCE_TYPE_HOST |
|
RESOURCE_TYPE_HOST_DISK |
|
RESOURCE_TYPE_HOST_NETWORK_INTERFACE |
|
RESOURCE_TYPE_IDENTITY |
|
RESOURCE_TYPE_IMAGE |
|
RESOURCE_TYPE_INSTANCE |
|
RESOURCE_TYPE_INSTANCE_DISK |
|
RESOURCE_TYPE_INSTANCE_NETWORK_INTERFACE |
|
RESOURCE_TYPE_IPMI |
|
RESOURCE_TYPE_NETWORK |
|
RESOURCE_TYPE_STACK |
|
RESOURCE_TYPE_SWIFT_ACCOUNT |
|
RESOURCE_TYPE_VOLUME |
|
Properties
$createdByUserId | string | |
$startedAt | string | |
$displayName | string | |
$revisionEnd | string | |
$userId | string | |
$createdByProjectId | string | |
$id | string | |
$metrics | array | |
$host | string | |
$imageRef | string | |
$flavorId | string | |
$serverGroup | string | |
$originalResourceId | string | |
$revisionStart | string | |
$projectId | string | |
$type | string | |
$endedAt | string |
Methods
retrieve
()
: void
Retrieve details of the current resource from the remote API.
getMetricMeasures
(array $options = array())
: array
No description
listResourceMetrics
(array $options = array())
: Generator
No description