We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a4ffc20 + ca96c20 commit ef9fbc1Copy full SHA for ef9fbc1
src/Compute/v2/Models/Server.php
@@ -85,6 +85,12 @@ class Server extends OperatorResource implements
85
/** @var string */
86
public $taskState;
87
88
+ /** @var string */
89
+ public $powerState;
90
+
91
92
+ public $vmState;
93
94
protected $resourceKey = 'server';
95
protected $resourcesKey = 'servers';
96
protected $markerKey = 'id';
@@ -97,6 +103,8 @@ class Server extends OperatorResource implements
97
103
'user_id' => 'userId',
98
104
'security_groups' => 'securityGroups',
99
105
'OS-EXT-STS:task_state' => 'taskState',
106
+ 'OS-EXT-STS:power_state' => 'powerState',
107
+ 'OS-EXT-STS:vm_state' => 'vmState',
100
108
'OS-EXT-SRV-ATTR:hypervisor_hostname' => 'hypervisorHostname',
101
109
];
102
110
0 commit comments