A virtual machine instance.
Get a server.
Parameters: |
|
---|---|
Return type: | <pending_xref py:class=”ServerManager” py:module=”cloudservers” refdoc=”ref/servers” refdomain=”py” refexplicit=”False” reftarget=”Server” reftype=”class”><literal classes=”xref py py-class”>Server</literal></pending_xref> |
Find a single item with attributes matching **kwargs.
This isn’t very efficient: it loads the entire list then filters on the Python side.
Find all items with attributes matching **kwargs.
This isn’t very efficient: it loads the entire list then filters on the Python side.
Create (boot) a new server.
Parameters: |
|
---|
There’s a bunch more info about how a server boots in Rackspace’s official API docs, page 23.
Update the name or the password for a server.
Parameters: |
|
---|
Share an IP address from the given IP group onto a server.
Parameters: |
---|
Stop sharing the given address.
Parameters: |
|
---|
Reboot a server.
Parameters: |
|
---|
Rebuild – shut down and then re-image – a server.
Parameters: |
---|
Resize a server’s resources.
Parameters: |
---|
Until a resize event is confirmed with confirm_resize(), the old server will be kept around and you’ll be able to roll back to the old flavor quickly with revert_resize(). All resizes are automatically confirmed after 24 hours.
The public and private IP addresses of this server. This’ll be a dict of the form:
{
"public" : ["67.23.10.138"],
"private" : ["10.176.42.19"]
}
You can get more than one public/private IP provisioned, but not directly from the API; you’ll need to open a support ticket.
Update the name or the password for this server.
Parameters: |
|
---|
Share an IP address from the given IP group onto this server.
Parameters: |
|
---|
Stop sharing the given address.
Parameters: |
|
---|
Reboot the server.
Parameters: |
|
---|
Rebuild – shut down and then re-image – this server.
Parameters: |
|
---|
Resize the server’s resources.
Parameters: |
|
---|
Until a resize event is confirmed with confirm_resize(), the old server will be kept around and you’ll be able to roll back to the old flavor quickly with revert_resize(). All resizes are automatically confirmed after 24 hours.