KubernetesApi
Last updated
Last updated
All URIs are relative to https://api.ionos.com/cloudapi/v6
Method | HTTP request | Description |
---|---|---|
k8s_delete(k8s_cluster_id, opts)
Delete a Kubernetes Cluster by ID
Deletes the K8s cluster specified by its ID.
This returns an Array which contains the response data (nil
in this case), status code and headers.
<Array(nil, Integer, Hash)> k8s_delete_with_http_info(k8s_cluster_id, opts)
nil (empty response body)
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/json
k8s_find_by_cluster_id(k8s_cluster_id, opts)
Get a Kubernetes Cluster by ID
Retrieves the K8s cluster specified by its ID.
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> k8s_find_by_cluster_id_with_http_info(k8s_cluster_id, opts)
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/json
k8s_get(opts)
Get Kubernetes Clusters
Retrieves a list of all K8s clusters provisioned under your account.
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> k8s_get_with_http_info(opts)
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/json
String k8s_kubeconfig_get(k8s_cluster_id, opts)
Get Kubernetes Configuration File
Retrieves the configuration file for the specified K8s cluster. You can define the format (YAML or JSON) of the returned file in the Accept header. By default, 'application/yaml' is specified.
This returns an Array which contains the response data, status code and headers.
<Array(String, Integer, Hash)> k8s_kubeconfig_get_with_http_info(k8s_cluster_id, opts)
String
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/yaml, application/x-yaml, application/json
k8s_nodepools_delete(k8s_cluster_id, nodepool_id, opts)
Delete a Kubernetes Node Pool by ID
Deletes the K8s node pool specified by its ID.
This returns an Array which contains the response data (nil
in this case), status code and headers.
<Array(nil, Integer, Hash)> k8s_nodepools_delete_with_http_info(k8s_cluster_id, nodepool_id, opts)
nil (empty response body)
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/json
k8s_nodepools_find_by_id(k8s_cluster_id, nodepool_id, opts)
Get a Kubernetes Node Pool by ID
Retrieves the K8s node pool specified by its ID.
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> k8s_nodepools_find_by_id_with_http_info(k8s_cluster_id, nodepool_id, opts)
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/json
k8s_nodepools_get(k8s_cluster_id, opts)
Get Kubernetes Node Pools
Retrieves a list of K8s node pools of a cluster specified by its ID.
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> k8s_nodepools_get_with_http_info(k8s_cluster_id, opts)
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/json
k8s_nodepools_nodes_delete(k8s_cluster_id, nodepool_id, node_id, opts)
Delete a Kubernetes Node by ID
Deletes the K8s node specified by its ID.
This returns an Array which contains the response data (nil
in this case), status code and headers.
<Array(nil, Integer, Hash)> k8s_nodepools_nodes_delete_with_http_info(k8s_cluster_id, nodepool_id, node_id, opts)
nil (empty response body)
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/json
k8s_nodepools_nodes_find_by_id(k8s_cluster_id, nodepool_id, node_id, opts)
Get Kubernetes Node by ID
Retrieves the K8s node specified by its ID.
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> k8s_nodepools_nodes_find_by_id_with_http_info(k8s_cluster_id, nodepool_id, node_id, opts)
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/json
k8s_nodepools_nodes_get(k8s_cluster_id, nodepool_id, opts)
Get Kubernetes Nodes
Retrieves the list of all K8s nodes of the specified node pool.
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> k8s_nodepools_nodes_get_with_http_info(k8s_cluster_id, nodepool_id, opts)
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/json
k8s_nodepools_nodes_replace_post(k8s_cluster_id, nodepool_id, node_id, opts)
Recreate a Kubernetes Node by ID
Recreates the K8s node specified by its ID. If a node becomes unusable, Managed Kubernetes allows you to recreate it with a configuration based on the node pool template. Once the status is 'Active,' all the pods from the failed node will be migrated to the new node. The node pool has an additional billable 'active' node during this process.
This returns an Array which contains the response data (nil
in this case), status code and headers.
<Array(nil, Integer, Hash)> k8s_nodepools_nodes_replace_post_with_http_info(k8s_cluster_id, nodepool_id, node_id, opts)
nil (empty response body)
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/json
k8s_nodepools_post(k8s_cluster_id, kubernetes_node_pool, opts)
Create a Kubernetes Node Pool
Creates a node pool inside the specified K8s cluster.
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> k8s_nodepools_post_with_http_info(k8s_cluster_id, kubernetes_node_pool, opts)
Basic Authentication, Token Authentication
Content-Type: application/json
Accept: application/json
k8s_nodepools_put(k8s_cluster_id, nodepool_id, kubernetes_node_pool, opts)
Modify a Kubernetes Node Pool by ID
Modifies the K8s node pool specified by its ID.
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> k8s_nodepools_put_with_http_info(k8s_cluster_id, nodepool_id, kubernetes_node_pool, opts)
Basic Authentication, Token Authentication
Content-Type: application/json
Accept: application/json
k8s_post(kubernetes_cluster, opts)
Create a Kubernetes Cluster
Creates a K8s cluster provisioned under your account.
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> k8s_post_with_http_info(kubernetes_cluster, opts)
Basic Authentication, Token Authentication
Content-Type: application/json
Accept: application/json
k8s_put(k8s_cluster_id, kubernetes_cluster, opts)
Modify a Kubernetes Cluster by ID
Modifies the K8s cluster specified by its ID.
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> k8s_put_with_http_info(k8s_cluster_id, kubernetes_cluster, opts)
Basic Authentication, Token Authentication
Content-Type: application/json
Accept: application/json
String k8s_versions_default_get
Get Default Kubernetes Version
Retrieves the current default K8s version to be used by the clusters and node pools.
This returns an Array which contains the response data, status code and headers.
<Array(String, Integer, Hash)> k8s_versions_default_get_with_http_info
This endpoint does not need any parameter.
String
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/json
Array<String> k8s_versions_get
Get Kubernetes Versions
Lists available K8s versions.
This returns an Array which contains the response data, status code and headers.
<Array(Array<String>, Integer, Hash)> k8s_versions_get_with_http_info
This endpoint does not need any parameter.
Array<String>
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/json
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
DELETE /k8s/{k8sClusterId}
Delete a Kubernetes Cluster by ID
GET /k8s/{k8sClusterId}
Get a Kubernetes Cluster by ID
GET /k8s
Get Kubernetes Clusters
GET /k8s/{k8sClusterId}/kubeconfig
Get Kubernetes Configuration File
DELETE /k8s/{k8sClusterId}/nodepools/{nodepoolId}
Delete a Kubernetes Node Pool by ID
GET /k8s/{k8sClusterId}/nodepools/{nodepoolId}
Get a Kubernetes Node Pool by ID
GET /k8s/{k8sClusterId}/nodepools
Get Kubernetes Node Pools
DELETE /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId}
Delete a Kubernetes Node by ID
GET /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId}
Get Kubernetes Node by ID
GET /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes
Get Kubernetes Nodes
POST /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId}/replace
Recreate a Kubernetes Node by ID
POST /k8s/{k8sClusterId}/nodepools
Create a Kubernetes Node Pool
PUT /k8s/{k8sClusterId}/nodepools/{nodepoolId}
Modify a Kubernetes Node Pool by ID
POST /k8s
Create a Kubernetes Cluster
PUT /k8s/{k8sClusterId}
Modify a Kubernetes Cluster by ID
GET /k8s/versions/default
Get Default Kubernetes Version
GET /k8s/versions
Get Kubernetes Versions
k8s_cluster_id
String
The unique ID of the Kubernetes cluster.
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]
k8s_cluster_id
String
The unique ID of the K8s cluster to be retrieved.
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]
k8s_cluster_id
String
The unique ID of the Kubernetes cluster.
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]
k8s_cluster_id
String
The unique ID of the Kubernetes cluster.
nodepool_id
String
The unique ID of the Kubernetes node pool.
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]
k8s_cluster_id
String
The unique ID of the Kubernetes cluster.
nodepool_id
String
The unique ID of the Kubernetes node pool.
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]
k8s_cluster_id
String
The unique ID of the Kubernetes cluster.
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]
k8s_cluster_id
String
The unique ID of the Kubernetes cluster.
nodepool_id
String
The unique ID of the Kubernetes node pool.
node_id
String
The unique ID of the Kubernetes node.
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]
k8s_cluster_id
String
The unique ID of the Kubernetes cluster.
nodepool_id
String
The unique ID of the Kubernetes node pool.
node_id
String
The unique ID of the Kubernetes node.
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]
k8s_cluster_id
String
The unique ID of the Kubernetes cluster.
nodepool_id
String
The unique ID of the Kubernetes node pool.
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]
k8s_cluster_id
String
The unique ID of the Kubernetes cluster.
nodepool_id
String
The unique ID of the Kubernetes node pool.
node_id
String
The unique ID of the Kubernetes node.
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]
k8s_cluster_id
String
The unique ID of the Kubernetes cluster.
kubernetes_node_pool
The Kubernetes node pool to create.
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]
k8s_cluster_id
String
The unique ID of the Kubernetes cluster.
nodepool_id
String
The unique ID of the Kubernetes node pool.
kubernetes_node_pool
Details of the Kubernetes Node Pool
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]
kubernetes_cluster
The Kubernetes cluster to create.
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]
k8s_cluster_id
String
The unique ID of the Kubernetes cluster.
kubernetes_cluster
The modified Kubernetes cluster.
pretty
Boolean
Controls whether the response is pretty-printed (with indentations and new lines).
[optional][default to true]
depth
Integer
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
[optional][default to 0]
x_contract_number
Integer
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
[optional]