Skip to main content

reference_private_endpoint_service_availabilities

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

Overview​

Namereference_private_endpoint_service_availabilities
TypeResource
Idovh.public_cloud.reference_private_endpoint_service_availabilities

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
namestringService name
descriptionstringService description
tiersarrayEnabled tiers of the service

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectname, project_idReturns where one service can be reached through a private endpoint: region, port and transport of each tier. (Beta version)
listselectproject_idx_pagination_cursor, x_pagination_size, regionReturns the services that can be reached through a private endpoint, with their tiers. Filter by region to restrict services and their tiers to it. (Beta version)

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"}})
namestringName
project_idstringThe Public Cloud project ID. Resolved from OVH_CLOUD_PROJECT_SERVICE when set.
regionstringOptional region filter. When set, only services offering a tier in this region are returned and each service's tiers are restricted to that region. When omitted, services are listed with their tiers across all regions. An unknown region is rejected.
x_pagination_cursorstringPagination cursor (wire: X-Pagination-Cursor)
x_pagination_sizeintegerPagination size (wire: X-Pagination-Size)

SELECT examples​

Returns where one service can be reached through a private endpoint: region, port and transport of each tier. (Beta version)

SELECT
name,
description,
tiers
FROM ovh.public_cloud.reference_private_endpoint_service_availabilities
WHERE name = '{{ name }}' -- required
AND project_id = '{{ project_id }}' -- required unless OVH_CLOUD_PROJECT_SERVICE is set
;