You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/current/cockroachcloud/cloud-api.md
+46Lines changed: 46 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -585,6 +585,52 @@ If the request was successful, the API returns the updated cluster details.
585
585
586
586
For details about returned fields, refer to the [response example and schema](https://www.cockroachlabs.com/docs/api/cloud/v1.html#patch-/api/v1/clusters/-cluster_id-) in the API reference.
587
587
588
+
## Change the resources for a CockroachDB Advanced cluster
589
+
590
+
To change the hardware specifications (e.g., number of vCPUs or number of nodes) for a CockroachDB Advanced cluster, use the `/v1/clusters/{cluster_id}` endpoint with the `PATCH` method.
591
+
592
+
For example, to change the number of vCPUs per node to 8:
Where `{cluster_id}` is the ID of your cluster and `{secret_key}` is your API key.
633
+
588
634
## Change a cluster's plan
589
635
590
636
This section shows how to change a cluster's plan using the CockroachDB {{ site.data.products.cloud }} API. To use Terraform instead, refer to [Provision a cluster with Terraform]({% link cockroachcloud/provision-a-cluster-with-terraform.md %}#change-a-clusters-plan).
0 commit comments