List live cluster Ankra Cloud plans
import requests
url = "https://platform.ankra.app/org/clusters/ankracloud/{cluster_id}/instance-types"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://platform.ankra.app/org/clusters/ankracloud/{cluster_id}/instance-types', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/org/clusters/ankracloud/{cluster_id}/instance-types \
--cookie ankra_session={
"plans": [
{
"available": true,
"cores": 2,
"family": "c",
"memory_mebibytes": 4096,
"name": "c2-4",
"price_hourly_millicents": 1644,
"price_monthly_cents": 1200,
"storage_gibibytes": 80
}
],
"pricing_complete": true
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}Ankra Cloud Clusters
List live cluster Ankra Cloud plans
Browser session authentication; RBAC permission clusters. RBAC permission clusters.read. The plan catalog under the cluster's own credential; /instance-types is the alias the shared node-group pickers read. Answers 404 while the organisation's ankra_cloud_provider` feature flag is off.
GET
/
org
/
clusters
/
ankracloud
/
{cluster_id}
/
instance-types
List live cluster Ankra Cloud plans
import requests
url = "https://platform.ankra.app/org/clusters/ankracloud/{cluster_id}/instance-types"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://platform.ankra.app/org/clusters/ankracloud/{cluster_id}/instance-types', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/org/clusters/ankracloud/{cluster_id}/instance-types \
--cookie ankra_session={
"plans": [
{
"available": true,
"cores": 2,
"family": "c",
"memory_mebibytes": 4096,
"name": "c2-4",
"price_hourly_millicents": 1644,
"price_monthly_cents": 1200,
"storage_gibibytes": 80
}
],
"pricing_complete": true
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}Authorizations
Browser session. Mutations also require X-Ankra-CSRF.
Path Parameters
Response
Successful response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Monthly price of the public IPv4 add-on the bastion carries.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes