Skip to main content

vrack_network_creation_rules

Creates, updates, deletes, gets or lists a vrack_network_creation_rules resource.

Overview​

Namevrack_network_creation_rules
TypeResource
Idovh.ip_loadbalancing.vrack_network_creation_rules

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
vrack_namestringName of the vRack on which the current Load Balancer is attached to, as it is named on vRack product (wire: vrackName)
min_nat_ipsintegerMinimum 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_networksintegerNumber of remaining private network descriptions available for creation for this Load Balancer (wire: remainingNetworks)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_nameGet 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.

NameDatatypeDescription
api_hoststringThe 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_namestringThe internal name of your IP load balancing (wire: serviceName)

SELECT examples​

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
;