Skip to main content

private_endpoint_configs

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

Overview

Nameprivate_endpoint_configs
TypeResource
Idclickhouse.organizations.private_endpoint_configs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
endpoint_service_idstringUnique identifier of the interface endpoint you created in your VPC with the AWS(Service Name) or GCP(Target Service) resource (wire: endpointServiceId)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectcloud_provider, region_id, organization_idDeprecated. Please follow [documentation](https:​//clickhouse.com/docs/manage/security/aws-privatelink#add-endpoint-id-to-services-allow-list) for the updated process.

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
cloud_providerstringCloud provider identifier. One of aws, gcp, or azure.
organization_idstringClickHouse Cloud organization ID. Resolved from the CLICKHOUSE_ORG_ID environment variable when it is set (x-stackQL-envVar); otherwise it must be supplied on every query as WHERE organization_id = <uuid>. A WHERE value always takes precedence over the environment. (x-stackQL-envVar: CLICKHOUSE_ORG_ID)
region_idstringRegion identifier within specific cloud providers.

SELECT examples

Deprecated. Please follow documentation for the updated process.

SELECT
endpoint_service_id
FROM clickhouse.organizations.private_endpoint_configs
WHERE cloud_provider = '{{ cloud_provider }}' -- required
AND region_id = '{{ region_id }}' -- required
AND organization_id = '{{ organization_id }}' -- required unless CLICKHOUSE_ORG_ID is set
;