Overview

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Collection
      • Constants
      • Exceptions
      • Http
        • Message
      • Identity
      • Log
      • Service
    • Compute
      • Constants
      • Exception
      • Resource
    • Database
      • Resource
    • DNS
      • Resource
    • LoadBalancer
      • Resource
    • ObjectStore
      • Constants
      • Exception
      • Resource
      • Upload
    • Orchestration
    • Queues
      • Exception
      • Resource
    • Volume
      • Resource
  • PHP

Classes

  • Network
  • ServerState
  • Overview
  • Namespace
  • Class
  • Tree
  • Download
 1: <?php
 2: /**
 3:  * PHP OpenCloud library.
 4:  * 
 5:  * @copyright 2013 Rackspace Hosting, Inc. See LICENSE for information.
 6:  * @license   https://www.apache.org/licenses/LICENSE-2.0
 7:  * @author    Jamie Hannaford <jamie.hannaford@rackspace.com>
 8:  * @author    Glen Campbell <glen.campbell@rackspace.com>
 9:  */
10: 
11: namespace OpenCloud\Compute\Constants;
12: 
13: 
14: class ServerState 
15: {
16:     /**
17:      * The server is active and ready to use.
18:      */
19:     const ACTIVE = 'ACTIVE';
20: 
21:     /**
22:      * The server is being built.
23:      */
24:     const BUILD = 'BUILD';
25: 
26:     /**
27:      * The server was deleted. The list servers API operation does not show servers with a status of DELETED. To list
28:      * deleted servers, use the changes-since parameter.
29:      */
30:     const DELETED = 'DELETED';
31: 
32:     /**
33:      * The requested operation failed and the server is in an error state.
34:      */
35:     const ERROR = 'ERROR';
36: 
37:     /**
38:      * The server is going through a hard reboot. This power cycles your server, which performs an immediate shutdown
39:      * and restart.
40:      */
41:     const HARD_REBOOT = 'HARD_REBOOT';
42: 
43:     /**
44:      * The server is being moved from one physical node to another physical node. Server migration is a Rackspace extension.
45:      */
46:     const MIGRATING = 'MIGRATING';
47: 
48:     /**
49:      * The password for the server is being changed.
50:      */
51:     const PASSWORD = 'PASSWORD';
52: 
53:     /**
54:      * The server is going through a soft reboot. During a soft reboot, the operating system is signaled to restart,
55:      * which allows for a graceful shutdown and restart of all processes.
56:      */
57:     const REBOOT = 'REBOOT';
58: 
59:     /**
60:      * The server is being rebuilt from an image.
61:      */
62:     const REBUILD = 'REBUILD';
63: 
64:     /**
65:      * The server is in rescue mode. Rescue mode is a Rackspace extension.
66:      */
67:     const RESCUE = 'RESCUE';
68: 
69:     /**
70:      * The server is being resized and is inactive until it completes.
71:      */
72:     const RESIZE = 'RESIZE';
73: 
74:     /**
75:      * A resized or migrated server is being reverted to its previous size. The destination server is being cleaned up
76:      * and the original source server is restarting. Server migration is a Rackspace extension.
77:      */
78:     const REVERT_RESIZE = 'REVERT_RESIZE';
79: 
80:     /**
81:      * The server is inactive, either by request or necessity.
82:      */
83:     const SUSPENDED = 'SUSPENDED';
84: 
85:     /**
86:      * The server is in an unknown state.
87:      */
88:     const UNKNOWN = 'UNKNOWN';
89: 
90:     /**
91:      * The server is waiting for the resize operation to be confirmed so that the original server can be removed.
92:      */
93:     const VERIFY_RESIZE = 'VERIFY_RESIZE';
94: 
95: 
96:     const REBOOT_STATE_HARD = 'HARD';
97:     const REBOOT_STATE_SOFT = 'SOFT';
98: } 
PHP OpenCloud API API documentation generated by ApiGen 2.8.0