resource_eligible_bgp_allowed_prefixes
Creates, updates, deletes, gets or lists a resource_eligible_bgp_allowed_prefixes resource.
Overview​
| Name | resource_eligible_bgp_allowed_prefixes |
| Type | Resource |
| Id | ovh.vrack_services.resource_eligible_bgp_allowed_prefixes |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
ipv_4 | array | List of eligible IPv4 prefixes (wire: ipv4) |
ipv_6 | array | List of eligible IPv6 prefixes (wire: ipv6) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | vrack_services_id | Returns the Additional IPv4 and IPv6 blocks that can be used in the BGP Service of the vRack Services: blocks in the same region that are not used elsewhere. |
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"}}) |
vrack_services_id | string | Vrack services ID (wire: vrackServicesId) |
SELECT examples​
- get
Returns the Additional IPv4 and IPv6 blocks that can be used in the BGP Service of the vRack Services: blocks in the same region that are not used elsewhere.
SELECT
ipv_4,
ipv_6
FROM ovh.vrack_services.resource_eligible_bgp_allowed_prefixes
WHERE vrack_services_id = '{{ vrack_services_id }}' -- required
;