Method | Description | |
---|---|---|
Create ( |
Creates a new load balancer.
|
|
CreateLoadBalancerRule ( |
Adds new rules to a load balancer.
|
|
CreateLoadBalancerServerIPs ( |
Assigns servers/IPs to a load balancer.
|
|
Delete ( string load_balancer_id ) : OneAndOne.POCO.Respones.LoadBalancers.LoadBalancerResponse |
Removes a load balancer.
|
|
DeleteLoadBalancerRules ( string load_balancer_id, string rule_id ) : LoadBalancerResponse |
Removes a rule from a load balancer.
|
|
DeleteLoadBalancerServerIP ( string load_balancer_id, string server_ip ) : LoadBalancerResponse |
Unassigns a server/IP from a load balancer.
|
|
Get ( int page = null, int perPage = null, string sort = null, string query = null, string fields = null ) : List |
Returns a list of your load balancers.
|
|
GetLoadBalancerRules ( string load_balancer_id ) : List |
Returns a list of the rules of a load balancer.
|
|
GetLoadBalancerServerIps ( string load_balancer_id ) : List |
Returns a list of the servers/IPs attached to a load balancer.
|
|
LoadBalancer ( object _apiUrl = null, object _apiKey = null ) : System | ||
Show ( string load_balancer_id ) : OneAndOne.POCO.Respones.LoadBalancers.LoadBalancerResponse |
Returns information about a load balancer.
|
|
ShowLoadBalancerRule ( string load_balancer_id, string rule_id ) : LoadBalancerRulesResponse |
Returns information about a rule of a load balancer.
|
|
ShowLoadBalancerServerIp ( string load_balancer_id, string server_ip ) : LoadBalancerResponse |
Returns information about a server/IP assigned to a load balancer.
|
|
Update ( |
Modifies a load balancer.
|
public Create ( |
||
loadBalancer | ||
return | OneAndOne.POCO.Respones.LoadBalancers.LoadBalancerResponse |
public CreateLoadBalancerRule ( |
||
rule | ||
load_balancer_id | string | Unique load balancer's identifier. |
return | LoadBalancerResponse |
public CreateLoadBalancerServerIPs ( |
||
serverIps | ||
load_balancer_id | string | Unique load balancer's identifier. |
return | LoadBalancerResponse |
public Delete ( string load_balancer_id ) : OneAndOne.POCO.Respones.LoadBalancers.LoadBalancerResponse | ||
load_balancer_id | string | Unique load balancer's identifier. |
return | OneAndOne.POCO.Respones.LoadBalancers.LoadBalancerResponse |
public DeleteLoadBalancerRules ( string load_balancer_id, string rule_id ) : LoadBalancerResponse | ||
load_balancer_id | string | Unique load balancer's identifier.. |
rule_id | string | Unique rule's identifier. |
return | LoadBalancerResponse |
public DeleteLoadBalancerServerIP ( string load_balancer_id, string server_ip ) : LoadBalancerResponse | ||
load_balancer_id | string | Unique firewall's identifier. |
server_ip | string | Unique IP's identifier. |
return | LoadBalancerResponse |
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 GetLoadBalancerRules ( string load_balancer_id ) : List |
||
load_balancer_id | string | Unique load balancer's identifier. |
return | List |
public GetLoadBalancerServerIps ( string load_balancer_id ) : List |
||
load_balancer_id | string | Unique load balancer's identifier. |
return | List |
public LoadBalancer ( object _apiUrl = null, object _apiKey = null ) : System | ||
_apiUrl | object | |
_apiKey | object | |
return | System |
public Show ( string load_balancer_id ) : OneAndOne.POCO.Respones.LoadBalancers.LoadBalancerResponse | ||
load_balancer_id | string | Returns information about a load balancer. |
return | OneAndOne.POCO.Respones.LoadBalancers.LoadBalancerResponse |
public ShowLoadBalancerRule ( string load_balancer_id, string rule_id ) : LoadBalancerRulesResponse | ||
load_balancer_id | string | Unique load balancer's identifier. |
rule_id | string | Unique rule's identifier. |
return | LoadBalancerRulesResponse |
public ShowLoadBalancerServerIp ( string load_balancer_id, string server_ip ) : LoadBalancerResponse | ||
load_balancer_id | string | Unique load balancer's identifier. |
server_ip | string | Unique IP's identifier. |
return | LoadBalancerResponse |
public Update ( |
||
loadBalancer | ||
load_balancer_id | string | Unique load balancer's identifier. |
return | OneAndOne.POCO.Respones.LoadBalancers.LoadBalancerResponse |