Skip to content

Commit f5a0683

Browse files
authored
Add 3.1.0 as an available version for cloud (#929)
## Goal Add version 3.1.0 to the available versions of cloud. ## Implementation We add the required version to the list. We also update examples to operate on a hypothetical 3.1.0 cluster instead of a 3.0.6 cluster.
1 parent 419e5f4 commit f5a0683

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

manual/modules/ROOT/pages/cloud/api/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ It will return information about the clusters in a JSON format, as below
140140
"createdAt":1738256490070,
141141
"teamID":"my-team",
142142
"spaceID":"default",
143-
"version":"3.0.6",
143+
"version":"3.1.0",
144144
"provider":"gcp",
145145
"region":"europe-west2",
146146
"machineType":"c2d-highcpu-2",

manual/modules/ROOT/pages/cloud/api/reference.adoc

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ curl::
145145
curl --request POST \
146146
--url https://cloud.typedb.com/api/team/TEAM_ID/spaces/SPACE_ID/clusters/deploy \
147147
--header 'Authorization: Bearer {ACCESS-TOKEN}' \
148-
--json '{"id":"api-cluster","serverCount":1,"storageSizeGB":10,"provider":"gcp","region":"europe-west2","isFree":true,"machineType":"c2d-highcpu-2","storageType":"standard-rwo","version":"3.0.6"}'
148+
--json '{"id":"api-cluster","serverCount":1,"storageSizeGB":10,"provider":"gcp","region":"europe-west2","isFree":true,"machineType":"c2d-highcpu-2","storageType":"standard-rwo","version":"3.1.0"}'
149149
----
150150
151151
Python::
@@ -169,7 +169,7 @@ body = {
169169
"isFree": True,
170170
"machineType": "c2d-highcpu-2",
171171
"storageType": "standard-rwo",
172-
"version": "3.0.6"
172+
"version": "3.1.0"
173173
}
174174
175175
response = requests.post(url, headers=headers, json=body)
@@ -206,7 +206,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
206206
isFree: true,
207207
machineType: "c2d-highcpu-2".into(),
208208
storageType: "standard-rwo".into(),
209-
version: "3.0.6".into()
209+
version: "3.1.0".into()
210210
};
211211
let client = reqwest::Client::new();
212212
let resp = client
@@ -231,7 +231,7 @@ Request Body::
231231
"isFree":true,
232232
"machineType":"c2d-highcpu-2",
233233
"storageType":"standard-rwo",
234-
"version":"3.0.6"
234+
"version":"3.1.0"
235235
}
236236
----
237237
====
@@ -248,7 +248,7 @@ Request Body::
248248
"createdAt":1738256490070,
249249
"teamID":"new-team",
250250
"spaceID":"default",
251-
"version":"3.0.6",
251+
"version":"3.1.0",
252252
"provider":"gcp",
253253
"region":"europe-west2",
254254
"machineType":"c2d-highcpu-2",
@@ -282,6 +282,7 @@ If set to `false`, there must be a valid payment method on the team.
282282

283283
* `2.29.3`
284284
* `3.0.6`
285+
* `3.1.0`
285286
|===
286287

287288
[#regionsmachinetypes]
@@ -430,7 +431,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
430431
"createdAt":1738256490070,
431432
"teamID":"new-team",
432433
"spaceID":"default",
433-
"version":"3.0.6",
434+
"version":"3.1.0",
434435
"provider":"gcp",
435436
"region":"europe-west2",
436437
"machineType":"c2d-highcpu-2",
@@ -518,7 +519,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
518519
"createdAt":1738256490070,
519520
"teamID":"new-team",
520521
"spaceID":"default",
521-
"version":"3.0.6",
522+
"version":"3.1.0",
522523
"provider":"gcp",
523524
"region":"europe-west2",
524525
"machineType":"c2d-highcpu-2",
@@ -539,7 +540,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
539540
"createdAt":1738256490090,
540541
"teamID":"new-team",
541542
"spaceID":"default",
542-
"version":"3.0.6",
543+
"version":"3.1.0",
543544
"provider":"aws",
544545
"region":"eu-west-2",
545546
"machineType":"c7g.large",
@@ -623,7 +624,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
623624
"createdAt":1738256490070,
624625
"teamID":"new-team",
625626
"spaceID":"default",
626-
"version":"3.0.6",
627+
"version":"3.1.0",
627628
"provider":"gcp",
628629
"region":"europe-west2",
629630
"machineType":"c2d-highcpu-2",
@@ -710,7 +711,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
710711
"createdAt":1738256490070,
711712
"teamID":"new-team",
712713
"spaceID":"default",
713-
"version":"3.0.6",
714+
"version":"3.1.0",
714715
"provider":"gcp",
715716
"region":"europe-west2",
716717
"machineType":"c2d-highcpu-2",
@@ -797,7 +798,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
797798
"createdAt":1738256490070,
798799
"teamID":"new-team",
799800
"spaceID":"default",
800-
"version":"3.0.6",
801+
"version":"3.1.0",
801802
"provider":"gcp",
802803
"region":"europe-west2",
803804
"machineType":"c2d-highcpu-2",

0 commit comments

Comments
 (0)