Méthode | Description | |
---|---|---|
Create ( |
Creates a new private network.
|
|
CreatePrivateNetworkServers ( |
Attaches servers to a private network.
|
|
Delete ( string private_network_id ) : |
Removes a private network.
|
|
DeletePrivateNetworksServer ( string private_network_id, string server_id ) : |
Unattaches a server from a private network.
|
|
Get ( int page = null, int perPage = null, string sort = null, string query = null, string fields = null ) : List |
Returns a list of your private networks.
|
|
GetPrivateNetworkServers ( string private_network_id ) : List |
Returns a list of the servers attached to a private network.
|
|
PrivateNetworks ( object _apiUrl = null, object _apiKey = null ) : System | ||
Show ( string private_network_id ) : |
Returns information about a private network.
|
|
ShowPrivateNetworkServer ( string private_network_id, string server_id ) : |
Returns information about a server attached to a private network.
|
|
Update ( |
Modifies a private network.
|
public Create ( |
||
privateNetwork | ||
Résultat |
public CreatePrivateNetworkServers ( |
||
privateNetworkServers | ||
private_network_id | string | Unique private network's identifier. |
Résultat |
public Delete ( string private_network_id ) : |
||
private_network_id | string | Unique private network's identifier. |
Résultat |
public DeletePrivateNetworksServer ( string private_network_id, string server_id ) : |
||
private_network_id | string | Unique private network's identifier. |
server_id | string | |
Résultat |
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 |
Résultat | List |
public GetPrivateNetworkServers ( string private_network_id ) : List |
||
private_network_id | string | Unique private network's identifier. |
Résultat | List |
public PrivateNetworks ( object _apiUrl = null, object _apiKey = null ) : System | ||
_apiUrl | object | |
_apiKey | object | |
Résultat | System |
public Show ( string private_network_id ) : |
||
private_network_id | string | Unique private network's identifier. |
Résultat |
public ShowPrivateNetworkServer ( string private_network_id, string server_id ) : |
||
private_network_id | string | Unique private network's identifier. |
server_id | string | Unique server's identifier. |
Résultat |
public Update ( |
||
privateNetwork | ||
private_network_id | string | Unique private network's identifier. |
Résultat |