Method | Description | |
---|---|---|
Create ( |
Adds a new server.
|
|
CreateClone ( string server_id, string cloneName ) : |
Clones a server.
|
|
CreatePrivateNetwork ( string server_id, string privateNetworkId ) : |
Assigns a private network to the server.
|
|
CreateSnapshot ( string server_id ) : |
Creates a new snapshot of the server.
|
|
Delete ( string serverId, bool keepsIps ) : |
Removes a server.
|
|
DeletePrivateNetwork ( string server_id, string privateNetworkId ) : |
Unassigns a private network from the server.
|
|
DeleteSnapshot ( string server_id, string snapshotId ) : |
Removes a snapshot
|
|
Get ( int page = null, int perPage = null, string sort = null, string query = null, string fields = null ) : List |
Returns a list of your servers.
|
|
GetAvailableFixedServers ( ) : List |
Returns available flavours for fixed servers.
|
|
GetFlavorInformation ( string fixedinstaceId ) : |
Returns information about one flavour.
|
|
GetPrivateNetworks ( string server_id ) : List |
Returns a list of the server's private networks.
|
|
GetSnapshots ( string server_id ) : List |
Returns a list of the server's snapshots.
|
|
GetStatus ( string server_id ) : |
Returns a list of the server's IPs.
|
|
Servers ( object _apiUrl = null, object _apiKey = null ) : System | ||
Show ( string server_id ) : |
Returns server's information.
|
|
ShowPrivateNetworks ( string server_id, string privateNetworkId ) : OneAndOne.POCO.Respones.PrivateNetworks.PrivateNetworksResponse |
Returns information about a server's private network.
|
|
Update ( |
Adds a new server.
|
|
UpdateSnapshot ( string server_id, string snapshotId ) : |
Restores a snapshot into the server.
|
|
UpdateStatus ( UpdateStatusRequest body, string server_id ) : |
Returns a list of the server's IPs.
|
public Create ( |
||
server | ||
return |
public CreateClone ( string server_id, string cloneName ) : |
||
server_id | string | |
cloneName | string | |
return |
public CreatePrivateNetwork ( string server_id, string privateNetworkId ) : |
||
server_id | string | |
privateNetworkId | string | |
return |
public CreateSnapshot ( string server_id ) : |
||
server_id | string | |
return |
public Delete ( string serverId, bool keepsIps ) : |
||
serverId | string | required (string ), Unique server's identifier. |
keepsIps | bool | Set true for keeping server IPs after deleting a server (false by default). |
return |
public DeletePrivateNetwork ( string server_id, string privateNetworkId ) : |
||
server_id | string | Unique server's identifier. |
privateNetworkId | string | |
return |
public DeleteSnapshot ( string server_id, string snapshotId ) : |
||
server_id | string | Unique server's identifier. |
snapshotId | string | |
return |
public Get ( int page = null, int perPage = null, string sort = null, string query = null, string fields = null ) : List |
||
page | int | Allows to use pagination. Sets the number of servers that will be shown in each page. |
perPage | int | Current page to show. |
sort | string | Allows to sort the result by priority:sort=name retrieves a list of elements ordered by their names.sort=-creation_date retrieves a list of elements ordered according to their creation date in descending order of priority. |
query | string | Allows to search one string in the response and return the elements that contain it. In order to specify the string use parameter q: q=My server |
fields | string | Returns only the parameters requested: fields=id,name,description,hardware.ram |
return | List |
public GetFlavorInformation ( string fixedinstaceId ) : |
||
fixedinstaceId | string | fixed_instance_size_id: required (string ). |
return |
public GetPrivateNetworks ( string server_id ) : List |
||
server_id | string | Unique server's identifier. |
return | List |
public GetSnapshots ( string server_id ) : List |
||
server_id | string | Unique server's identifier. |
return | List |
public GetStatus ( string server_id ) : |
||
server_id | string | Unique server's identifier. |
return |
public Servers ( object _apiUrl = null, object _apiKey = null ) : System | ||
_apiUrl | object | |
_apiKey | object | |
return | System |
public Show ( string server_id ) : |
||
server_id | string | Unique server's identifier. |
return |
public ShowPrivateNetworks ( string server_id, string privateNetworkId ) : OneAndOne.POCO.Respones.PrivateNetworks.PrivateNetworksResponse | ||
server_id | string | Unique server's identifier. |
privateNetworkId | string | private_network_id: required (string ), Unique private network's identifier. |
return | OneAndOne.POCO.Respones.PrivateNetworks.PrivateNetworksResponse |
public Update ( |
||
server | ||
serverId | string | |
return |
public UpdateSnapshot ( string server_id, string snapshotId ) : |
||
server_id | string | Unique server's identifier. |
snapshotId | string | private_network_id: required (string ), Unique private network's identifier. |
return |
public UpdateStatus ( UpdateStatusRequest body, string server_id ) : |
||
body | OneAndOne.POCO.Requests.Servers.UpdateStatusRequest | |
server_id | string | Unique server's identifier. |
return |