Postgres
Get the PostgreSQL private endpoint
Changed onThis endpoint is in beta. API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns the AWS private endpoint service of a Postgres service, or 404 if it has not been created. Private endpoints are available only for AWS Postgres services, and only for organizations with the feature enabled.
get/v1/organizations/{organizationId}/postgres/{postgresId}/privateEndpoint
Request
- Base URLhttps://api.clickhouse.cloud
- AuthHTTP basic
Path parameters
organizationId, string uuid required
ID of the organization that owns the Postgres service.
postgresId, string uuid required
Example:f71df78e-ddad-82d0-8dfa-abbec741b82e
ID of the Postgres service.
Response
Successful response
object required
status, number
HTTP status code.
requestId, string uuid
Unique id assigned to every request. UUIDv4
result, Postgres Private Endpoint
Example response
{
"status": 200,
"result": {
"state": "available",
"endpointServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-0123456789abcdef0",
"endpointServiceId": "vpce-svc-0123456789abcdef0",
"ipAddressType": "dual",
"ports": [
{
"port": 5432,
"targetPort": 5432
}
],
"supportedRegions": [
"us-west-2"
],
"allowedVpcEndpoints": [
{
"vpcEndpointId": "vpce-0123456789abcdef0",
"description": "Production VPC"
}
]
}
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- breaking
removed the required property
result/idfrom the response with the status
- breaking