Avisi cloud logo
Scheduledupgrades

Find a scheduled cluster upgrade by identity.

GET
/api/v1/orgs/{organisationSlug}/scheduled-cluster-upgrades/{scheduledClusterUpgradeIdentity}

Path Parameters

organisationSlugobject
scheduledClusterUpgradeIdentitystring
Format"uuid"

Response Body

Request was successfully processed. The response body contains the requested data.

TypeScript Definitions

Use the response body type in TypeScript.

identity?string
Format"uuid"
clusterIdentity?string
Format"uuid"
createdAt?string
Format"date-time"
modifiedAt?string
Format"date-time"
windowStart?string
Format"date-time"
windowEnd?string
Format"date-time"
reason?string
fromClusterVersion?string
toClusterVersion?string
status?string
Value in"REQUESTED" | "SCHEDULED" | "SCHEDULED_NOTIFIED" | "IN_PROGRESS" | "SUCCEEDED" | "SUPERSEDED" | "FAILED" | "MISSED"
clusterSlug?string
environmentSlug?string
organisationSlug?string
scheduleRequestDate?string
Format"date-time"
ignoreMaintenanceSchedule?boolean

Invalid request parameters. Please review the documentation for valid parameter values.

TypeScript Definitions

Use the response body type in TypeScript.

response?unknown

You do not have the necessary permissions to access this resource.

TypeScript Definitions

Use the response body type in TypeScript.

response?unknown

The requested resource could not be found. Please check the resource URL or identifier.

TypeScript Definitions

Use the response body type in TypeScript.

response?unknown

An internal error occurred on the server.

TypeScript Definitions

Use the response body type in TypeScript.

response?unknown
curl -X GET "https://api.avisi.cloud/api/v1/orgs/[object Object]/scheduled-cluster-upgrades/497f6eca-6276-4993-bfeb-53cbbbba6f08"
fetch("https://api.avisi.cloud/api/v1/orgs/[object Object]/scheduled-cluster-upgrades/497f6eca-6276-4993-bfeb-53cbbbba6f08")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://api.avisi.cloud/api/v1/orgs/[object Object]/scheduled-cluster-upgrades/497f6eca-6276-4993-bfeb-53cbbbba6f08"

  req, _ := http.NewRequest("GET", url, nil)
  
  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/[object Object]/scheduled-cluster-upgrades/497f6eca-6276-4993-bfeb-53cbbbba6f08"

response = requests.request("GET", url)

print(response.text)
{
  "identity": "10a80a7a-1a32-4a74-b592-aa2a4ef691c5",
  "clusterIdentity": "5e08fe67-1274-475d-bd0c-a65b0330507f",
  "createdAt": "2019-08-24T14:15:22Z",
  "modifiedAt": "2019-08-24T14:15:22Z",
  "windowStart": "2019-08-24T14:15:22Z",
  "windowEnd": "2019-08-24T14:15:22Z",
  "reason": "string",
  "fromClusterVersion": "string",
  "toClusterVersion": "string",
  "status": "REQUESTED",
  "clusterSlug": "string",
  "environmentSlug": "string",
  "organisationSlug": "string",
  "scheduleRequestDate": "2019-08-24T14:15:22Z",
  "ignoreMaintenanceSchedule": true
}
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}