Skip to main content

public_routing_regions

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

Overview​

Namepublic_routing_regions
TypeResource
Idovh.vrack.public_routing_regions

Fields​

The following fields are returned by SELECT queries:

A structure describing a Region where a block can be announced to

NameDatatypeDescription
default_bandwidth_limitintegerDefault bandwidth limit for blocks in your vRack (in Mbps) (wire: defaultBandwidthLimit)
public_routing_typestringType of public routing in the region. It indicates how many availability zones (one or three) can be configured to route blocks in this region. PublicRoutingPriority can be defined only on type PUBLIC-ROUTING-3-AZ. (PUBLIC-ROUTING-1-AZ, PUBLIC-ROUTING-3-AZ) (wire: publicRoutingType)
regionstringRegion name

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectregionList regions. Returns the regions where an Additional IP block can be announced from a vRack, with the number of availability zones and the default public bandwidth of each.

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"}})
regionstringFilter by region name

SELECT examples​

List regions. Returns the regions where an Additional IP block can be announced from a vRack, with the number of availability zones and the default public bandwidth of each.

SELECT
default_bandwidth_limit,
public_routing_type,
region
FROM ovh.vrack.public_routing_regions
WHERE region = '{{ region }}'
;