HPCloud-PHP
1.2.0
PHP bindings for HPCloud and OpenStack services.
|
Details about a DBaaS snapshot. More...
Public Member Functions | |
__construct ($id, $instanceId) | |
id () | |
The ID of the snapshot. | |
instanceId () | |
The ID of the database instance. | |
createdOn () | |
The data upon which this snapshot was created. | |
links () | |
The links for this snapshot. |
Static Public Member Functions | |
static | newFromJSON ($json) |
Protected Attributes | |
$id | |
$instanceId | |
$created | |
$status | |
$links |
Details about a DBaaS snapshot.
Instances of this class are returned from DBaaS during creation and listing operations.
Definition at line 35 of file SnapshotDetails.php.
__construct | ( | $id, | |
$instanceId | |||
) |
Definition at line 49 of file SnapshotDetails.php.
References SnapshotDetails\$id, SnapshotDetails\$instanceId, and SnapshotDetails\instanceId().
createdOn | ( | ) |
The data upon which this snapshot was created.
string |
Definition at line 84 of file SnapshotDetails.php.
id | ( | ) |
The ID of the snapshot.
string |
Definition at line 60 of file SnapshotDetails.php.
instanceId | ( | ) |
The ID of the database instance.
This returns the ID of the database instance of which this is a snapshot.
string |
Definition at line 73 of file SnapshotDetails.php.
Referenced by SnapshotDetails\__construct().
links | ( | ) |
The links for this snapshot.
See HPCloud::Services::DBaaS::InstanceDetails::links().
array |
Definition at line 100 of file SnapshotDetails.php.
|
static |
Definition at line 42 of file SnapshotDetails.php.
|
protected |
Definition at line 38 of file SnapshotDetails.php.
|
protected |
Definition at line 36 of file SnapshotDetails.php.
Referenced by SnapshotDetails\__construct().
|
protected |
Definition at line 37 of file SnapshotDetails.php.
Referenced by SnapshotDetails\__construct().
|
protected |
Definition at line 40 of file SnapshotDetails.php.
|
protected |
Definition at line 39 of file SnapshotDetails.php.