Update node pool inside a cluster.
Request Body
application/json
Required"^[a-zA-Z0-9\\-\\s&]*$"
1 <= length <= 25
1 <= length <= 255
false
false
"REPLACE" | "INPLACE" | "INPLACE_WITHOUT_DRAIN" | "REPLACE_MINOR_INPLACE_PATCH" | "REPLACE_MINOR_INPLACE_PATCH_WITHOUT_DRAIN"
0
"int64"
0
"int64"
length <= 255
Empty Object
Empty Object
Path Parameters
"^[a-z0-9-_]+$"
"^[a-z0-9-_]+$"
"^[a-z0-9-_]+$"
"int64"
Response Body
Request was successfully processed. The response body contains the requested data.
TypeScript Definitions
Use the response body type in TypeScript.
"int64"
"uuid"
"REPLACE" | "INPLACE" | "INPLACE_WITHOUT_DRAIN" | "REPLACE_MINOR_INPLACE_PATCH" | "REPLACE_MINOR_INPLACE_PATCH_WITHOUT_DRAIN"
"int64"
"int64"
Empty Object
Empty Object
@minItems 0
@minItems 0
@minItems 0
"date-time"
"date-time"
"UNKNOWN" | "ACCEPTED" | "PROVISIONED"
Invalid request parameters. Please review the documentation for valid parameter values.
TypeScript Definitions
Use the response body type in TypeScript.
You do not have the necessary permissions to access this resource.
TypeScript Definitions
Use the response body type in TypeScript.
The requested resource could not be found. Please check the resource URL or identifier.
TypeScript Definitions
Use the response body type in TypeScript.
An internal error occurred on the server.
TypeScript Definitions
Use the response body type in TypeScript.
curl -X PUT "https://api.avisi.cloud/api/v1/orgs/string/clusters/string/string/pools/0" \
-H "Content-Type: application/json" \
-d '{
"name": "string"
}'
const body = JSON.stringify({
"name": "string"
})
fetch("https://api.avisi.cloud/api/v1/orgs/string/clusters/string/string/pools/0", {
body
})
package main
import (
"fmt"
"net/http"
"io/ioutil"
"strings"
)
func main() {
url := "https://api.avisi.cloud/api/v1/orgs/string/clusters/string/string/pools/0"
body := strings.NewReader(`{
"name": "string"
}`)
req, _ := http.NewRequest("PUT", url, body)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://api.avisi.cloud/api/v1/orgs/string/clusters/string/string/pools/0"
body = {
"name": "string"
}
response = requests.request("PUT", url, json = body, headers = {
"Content-Type": "application/json"
})
print(response.text)
{
"id": 0,
"identity": "10a80a7a-1a32-4a74-b592-aa2a4ef691c5",
"name": "string",
"availabilityZone": "string",
"nodeSize": "string",
"autoScaling": true,
"enableNodeAutoReplacement": true,
"enableNodeReboots": true,
"upgradeStrategy": "REPLACE",
"minSize": 0,
"maxSize": 0,
"annotations": {
"property1": "string",
"property2": "string"
},
"labels": {
"property1": "string",
"property2": "string"
},
"taints": [
{
"key": "string",
"value": "string",
"effect": "string"
}
],
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"provisionStatus": "UNKNOWN"
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}