public_routing_regions
Creates, updates, deletes, gets or lists a public_routing_regions resource.
Overview​
| Name | public_routing_regions |
| Type | Resource |
| Id | ovh.vrack.public_routing_regions |
Fields​
The following fields are returned by SELECT queries:
- list
A structure describing a Region where a block can be announced to
| Name | Datatype | Description |
|---|---|---|
default_bandwidth_limit | integer | Default bandwidth limit for blocks in your vRack (in Mbps) (wire: defaultBandwidthLimit) |
public_routing_type | string | Type 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) |
region | string | Region name |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | region | 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. |
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"}}) |
region | string | Filter by region name |
SELECT examples​
- list
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 }}'
;