{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To configure autoscale settings for an existing database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/autoscale`, specifying the autoscale configuration.\nA successful request will receive a 204 No Content status code with no body in response.","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":{"$ref":"#/definitions/database_autoscale_params","examples":[{"storage":{"enabled":true,"threshold_percent":80,"increment_gib":10}}]}},"required":["path","body"],"additionalProperties":false,"definitions":{"database_autoscale_params":{"type":"object","description":"Contains all autoscaling configuration for a database cluster","properties":{"storage":{"allOf":[{"$ref":"#/definitions/database_storage_autoscale_params"},{"description":"Storage autoscaling configuration"}]}}},"database_storage_autoscale_params":{"type":"object","description":"Configuration for database cluster storage autoscaling","properties":{"enabled":{"type":"boolean","description":"Whether storage autoscaling is enabled for the cluster","examples":[true]},"threshold_percent":{"type":"integer","minimum":15,"maximum":95,"description":"The storage usage threshold percentage that triggers autoscaling. When storage usage exceeds this percentage, additional storage will be added automatically.","examples":[80]},"increment_gib":{"type":"integer","minimum":10,"maximum":500,"description":"The amount of additional storage to add (in GiB) when autoscaling is triggered","examples":[10]}},"required":["enabled"]}}},"name":"Configure Autoscale Settings for a Database Cluster","id":"digitalocean.databases_update_autoscale","example":{"path":{"database_cluster_uuid":"9cc10173-e9ea-4176-9dbc-a4cee4c4ff30"},"body":{}},"maxRequests":1,"summary":false}}