vrack_network_creation_rules
Creates, updates, deletes, gets or lists a vrack_network_creation_rules resource.
Overview​
| Name | vrack_network_creation_rules |
| Type | Resource |
| Id | ovh.ip_loadbalancing.vrack_network_creation_rules |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
vrack_name | string | Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product (wire: vrackName) |
min_nat_ips | integer | Minimum number of IPs needed to forward requests to your servers using NAT in your private network behind the current Load Balancer. Ip Block given on Load Balancer vRack network must contain at least this number of IP. (wire: minNatIps) |
remaining_networks | integer | Number of remaining private network descriptions available for creation for this Load Balancer (wire: remainingNetworks) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | service_name | Get the network creation rules (Beta version) |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
service_name | string | The internal name of your IP load balancing (wire: serviceName) |
SELECT examples​
- get
Get the network creation rules (Beta version)
SELECT
vrack_name,
min_nat_ips,
remaining_networks
FROM ovh.ip_loadbalancing.vrack_network_creation_rules
WHERE service_name = '{{ service_name }}' -- required
;