Key |
Returned |
Description |
instances
complex
|
success |
a list of instances info whose state is changed or which are fetched with instance_ids option.
|
|
vm_name
string
|
|
vm name
Sample:
foo
|
|
owner_name
string
|
|
vm's owner name
Sample:
app-user
|
|
labels
list
|
|
A list of string labels that are associated with the instance
Sample:
['foo', 'spec-label']
|
|
group_name
string
|
|
vm's group name
Sample:
one-users
|
|
uptime_h
integer
|
|
Uptime of the instance in hours
Sample:
35
|
|
vm_id
integer
|
|
vm id
Sample:
153
|
|
networks
list
|
|
a list of dictionaries with info about IP, NAME, MAC, SECURITY_GROUPS for each NIC
Sample:
[{'ip': '10.120.5.33', 'mac': '02:00:0a:78:05:21', 'name': 'default-test-private', 'security_groups': '0,10'}, {'ip': '10.120.5.34', 'mac': '02:00:0a:78:05:22', 'name': 'default-test-private', 'security_groups': '0'}]
|
|
group_id
integer
|
|
vm's group id
Sample:
1
|
|
disk_size
string
|
|
The size of the disk in MB
Sample:
20480 MB
|
|
vcpu
int
|
|
Number of CPUs (cores)
Sample:
2
|
|
template_id
integer
|
|
vm's template id
Sample:
153
|
|
state
string
|
|
state of an instance
Sample:
ACTIVE
|
|
mode
string
|
success |
vm's mode
Sample:
660
|
|
memory
string
|
|
The size of the memory in MB
Sample:
4096 MB
|
|
attributes
dict
|
|
A dictionary of key/values attributes that are associated with the instance
Sample:
{'USER_INPUTS': None, 'HYPERVISOR': 'kvm', 'TE_GALAXY': 'bar', 'LOGO': 'images/logos/centos.png'}
|
|
lcm_state
string
|
|
lcm state of an instance that is only relevant when the state is ACTIVE
Sample:
RUNNING
|
|
cpu
float
|
|
Percentage of CPU divided by 100
Sample:
0.2
|
|
owner_id
integer
|
|
vm's owner id
Sample:
143
|
instances_ids
list
|
success |
a list of instances ids whose state is changed or which are fetched with instance_ids option.
Sample:
[1234, 1235]
|
tagged_instances
complex
|
success |
A list of instances info based on a specific attributes and/or
labels that are specified with count_attributes and count_labels
options.
|
|
vm_name
string
|
|
vm name
Sample:
foo
|
|
owner_name
string
|
|
vm's user name
Sample:
app-user
|
|
labels
list
|
|
A list of string labels that are associated with the instance
Sample:
['foo', 'spec-label']
|
|
group_name
string
|
|
vm's group name
Sample:
one-users
|
|
uptime_h
integer
|
|
Uptime of the instance in hours
Sample:
35
|
|
vm_id
integer
|
|
vm id
Sample:
153
|
|
networks
list
|
|
a list of dictionaries with info about IP, NAME, MAC, SECURITY_GROUPS for each NIC
Sample:
[{'ip': '10.120.5.33', 'mac': '02:00:0a:78:05:21', 'name': 'default-test-private', 'security_groups': '0,10'}, {'ip': '10.120.5.34', 'mac': '02:00:0a:78:05:22', 'name': 'default-test-private', 'security_groups': '0'}]
|
|
group_id
integer
|
|
vm's group id
Sample:
1
|
|
disk_size
string
|
|
The size of the disk in MB
Sample:
20480 MB
|
|
vcpu
int
|
|
Number of CPUs (cores)
Sample:
2
|
|
template_id
integer
|
|
vm's template id
Sample:
153
|
|
state
string
|
|
state of an instance
Sample:
ACTIVE
|
|
mode
string
|
success |
vm's mode
Sample:
660
|
|
memory
string
|
|
The size of the memory in MB
Sample:
4096 MB
|
|
attributes
dict
|
|
A dictionary of key/values attributes that are associated with the instance
Sample:
{'USER_INPUTS': None, 'HYPERVISOR': 'kvm', 'TE_GALAXY': 'bar', 'LOGO': 'images/logos/centos.png'}
|
|
lcm_state
string
|
|
lcm state of an instance that is only relevant when the state is ACTIVE
Sample:
RUNNING
|
|
cpu
float
|
|
Percentage of CPU divided by 100
Sample:
0.2
|
|
owner_id
integer
|
|
vm's user id
Sample:
143
|