patch_instance
Modify attributes of a Tembo Cloud instance, including CPU, memory, storage, environment, and replicas, using organization and instance IDs.
Instructions
Update attributes on an existing Tembo instance
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cpu | No | ||
environment | No | ||
instance_id | Yes | ||
instance_name | No | ||
memory | No | ||
org_id | Yes | Organization ID that owns the instance | |
replicas | No | ||
spot | No | ||
storage | No |
Input Schema (JSON Schema)
{
"properties": {
"cpu": {
"enum": [
"0.25",
"0.5",
"1",
"2",
"4",
"6",
"8",
"12",
"16",
"32"
],
"type": "string"
},
"environment": {
"enum": [
"dev",
"test",
"prod"
],
"type": "string"
},
"instance_id": {
"type": "string"
},
"instance_name": {
"type": "string"
},
"memory": {
"enum": [
"512Mi",
"1Gi",
"2Gi",
"4Gi",
"8Gi",
"12Gi",
"16Gi",
"24Gi",
"32Gi",
"64Gi"
],
"type": "string"
},
"org_id": {
"description": "Organization ID that owns the instance",
"type": "string"
},
"replicas": {
"type": "integer"
},
"spot": {
"type": "boolean"
},
"storage": {
"enum": [
"10Gi",
"50Gi",
"100Gi",
"200Gi",
"300Gi",
"400Gi",
"500Gi",
"1Ti",
"1.5Ti",
"2Ti"
],
"type": "string"
}
},
"required": [
"org_id",
"instance_id"
],
"type": "object"
}