{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To update the DigitalOcean-specific settings for a database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/do_settings`.\nCurrently, the only supported setting is `service_cnames`, which allows you to specify custom DNS names (CNAMEs) to be included in the TLS certificate Subject Alternative Names (SANs) for the database cluster nodes. This enables TLS verification when connecting via a custom hostname.\nAfter updating, the database nodes will be replaced to apply the new certificate. This process is performed as a rolling replacement and does not cause downtime.\nTo clear all custom CNAMEs, send an empty array or omit the field.","properties":{"path":{"type":"object","properties":{"database_cluster_uuid":{"type":"string","format":"uuid","examples":["9cc10173-e9ea-4176-9dbc-a4cee4c4ff30"],"description":"A unique identifier for a database cluster."}},"required":["database_cluster_uuid"],"additionalProperties":false},"body":{"type":"object","required":["do_settings"],"properties":{"do_settings":{"$ref":"#/definitions/do_settings"}},"examples":[{"do_settings":{"service_cnames":["db.example.com","db-replica.example.com"]}}]}},"required":["path","body"],"additionalProperties":false,"definitions":{"do_settings":{"type":"object","description":"DigitalOcean-specific settings for the database cluster.","properties":{"service_cnames":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?(\\.[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?)+$","maxLength":253},"maxItems":16,"description":"An array of custom CNAMEs for the database cluster. Each CNAME must be a valid RFC 1123 hostname (e.g., \"db.example.com\"). Maximum of 16 CNAMEs allowed, each up to 253 characters.","examples":[["db.example.com","database.myapp.io"]]}}}}},"name":"Update DO Settings for a Database Cluster","id":"digitalocean.databases_update_do_settings","example":{"path":{"database_cluster_uuid":"9cc10173-e9ea-4176-9dbc-a4cee4c4ff30"},"body":{"do_settings":{"service_cnames":["db.example.com","db-replica.example.com"]}}},"maxRequests":1,"summary":false}}