Service
Create new service
Creates a new service in the organization, and returns the current service state and a password to access the service. The service is started asynchronously.
post/v1/organizations/{organizationId}/services
Request
- Base URL: https://api.clickhouse.cloud
- URL: https://api.clickhouse.cloud/v1/organizations/{organizationId}/services
- Auth: HTTP basic
Path parameters
organizationIdstring uuid required
ID of the organization that will own the service.
Request body
Example request
{
"minTotalMemoryGb": 48,
"maxTotalMemoryGb": 360,
"autoscalingMode": "vertical",
"minReplicaMemoryGb": 16,
"maxReplicaMemoryGb": 120,
"numReplicas": 3,
"minReplicas": 1,
"maxReplicas": 5,
"backupEncryptionConfig": {
"schema_version": 1,
"restore_key_pairs": [
{
"customer_managed_encryption_key": {
"aws_kms_key_arn": "arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
},
"encrypted_dek": "<base64 wrapped data encryption key>"
}
]
},
"endpoints": [
{
"protocol": "mysql"
}
],
"tags": [
{
"key": "Environment",
"value": "staging"
}
]
}Response
Successful response
Example response
{
"status": 200,
"result": {
"service": {
"endpoints": [
{
"protocol": "mysql"
}
],
"minTotalMemoryGb": 48,
"maxTotalMemoryGb": 360,
"minReplicaMemoryGb": 16,
"maxReplicaMemoryGb": 120,
"numReplicas": 3,
"minReplicas": 1,
"maxReplicas": 5,
"autoscalingMode": "vertical",
"replicaMemoryGb": 32,
"tags": [
{
"key": "Environment",
"value": "staging"
}
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.