الانتقال إلى المحتوى الرئيسي
POST
Create a read replica for a Postgres service
Initiate the process to create a new read replica for a Postgres service.

Permissions

The API key must have the control-plane:postgres-service:manage, control-plane:organization:create-service permissions.

التفويضات

Authorization
string
header
مطلوب

Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi

معلمات المسار

organizationId
string<uuid>
مطلوب

ID of the organization that owns the Postgres service.

postgresId
string<uuid>
مطلوب

ID of the requested Postgres service.

الجسم

application/json
name
string
مطلوب

Name of the Postgres service. Alphanumerical string with whitespaces up to 50 characters.

Required string length: 1 - 50
pgConfig
Postgres Configuration · object

Postgres runtime configuration configuration.

مثال:
pgBouncerConfig
PgBouncer Configuration · object

PgBouncer runtime configuration configuration.

مثال:
tags
Postgres Tags · object[]

Tags associated with the Postgres service. Tag keys starting with “chc_” are reserved for internal use.

Maximum array length: 50

الاستجابة

Successful response

status
number

HTTP status code.

مثال:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object