Skip to main content

reference_feature_availabilities

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

Overview​

Namereference_feature_availabilities
TypeResource
Idovh.vrack_services.reference_feature_availabilities

Fields​

The following fields are returned by SELECT queries:

Feature availability of a region

NameDatatypeDescription
featuresobjectAvailability of each feature, keyed by feature: bgp, netboot and each compatible managed service type listed by /reference/compatibleManagedServiceType. New keys can be added at any time: ignore the keys you do not know. A feature missing from the map is not offered in the region: treat it as UNAVAILABLE.
regionstringRegion name

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectx_pagination_cursor, x_pagination_size, regionReturns, per region, the availability of each feature: bgp, netboot and each compatible managed service type, overall and in each availability zone. A feature missing from a region is not offered there.

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"}})
regionstringRestrict the list to this region
x_pagination_cursorstringPagination cursor (wire: X-Pagination-Cursor)
x_pagination_sizeintegerPagination size (wire: X-Pagination-Size)

SELECT examples​

Returns, per region, the availability of each feature: bgp, netboot and each compatible managed service type, overall and in each availability zone. A feature missing from a region is not offered there.

SELECT
features,
region
FROM ovh.vrack_services.reference_feature_availabilities
WHERE x_pagination_cursor = '{{ x_pagination_cursor }}'
AND x_pagination_size = '{{ x_pagination_size }}'
AND region = '{{ region }}'
;