Skip to main content

public_routing_bandwidth_limits

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

Overview​

Namepublic_routing_bandwidth_limits
TypeResource
Idovh.vrack.public_routing_bandwidth_limits

Fields​

The following fields are returned by SELECT queries:

A structure describing a public routing bandwidth limit (in Mbps)

NameDatatypeDescription
bandwidth_limitintegerBandwidth limit for blocks in your vRack (in Mbps) (wire: bandwidthLimit)
bandwidth_limit_typestringPublic routing bandwidth limit type (default, upgraded) (wire: bandwidthLimitType)
regionstringRegion name

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectservice_nameregionList bandwidth limits. Returns, per region, the public bandwidth limit in Mbps of the Additional IP blocks routed in the vRack, and whether it is the default or an upgraded one.

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 vrack (wire: serviceName)
regionstringFilter by region name

SELECT examples​

List bandwidth limits. Returns, per region, the public bandwidth limit in Mbps of the Additional IP blocks routed in the vRack, and whether it is the default or an upgraded one.

SELECT
bandwidth_limit,
bandwidth_limit_type,
region
FROM ovh.vrack.public_routing_bandwidth_limits
WHERE service_name = '{{ service_name }}' -- required
AND region = '{{ region }}'
;