Kubernetes Service

List All Kubernetes Services

List all Kubernetes Services for all Public Clouds

get/1/public_clouds/kaas

Query parameters

withstring

Optional : Allows loading additional data about a resource, which may include related resources.

account_idinteger required

Unique identifier of the account that is related to the resource {name}

The account identifier

packsinteger[]

Filter by Pack Identifiers

regionsstring[]

Filter by regions

searchstring

Search by name or OpenStack name

statusesstring[]

Filter by Statuses

tagsinteger[]

Filter by Tag Identifiers

{
  "search": "My KaaS",
  "statuses": [
    "Inactive"
  ]
}
public_cloud_idinteger

A valid Public Cloud Identifier to filter the list by

return'total'

Optional : If you pass this parameter with the value total, then the response will be the number of items in the collection, instead of the items themselves.<br /> Part of the total capacity

limitinteger

Optional parameter that define the number of items to return<br /> Part of the offset capacity

skipinteger

Optional parameter that define the index of the first item to return (0 = first item)<br /> Part of the offset capacity

pageinteger

Optional parameter that define the page number<br /> Part of the pagination capacity

per_pageinteger

Optional parameter that define the number of items per page<br /> Part of the pagination capacity

string
OR
string[]

Optional parameter that define the field used for sorting<br /> Part of the sort capacity

order'asc' | 'desc'

Optional parameter that define the default sort order<br /> Part of the sort capacity

order_forobject

Optional parameter that define the sorting order for a field<br /> By default order is used<br /> Part of the sort capacity

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

totalinteger

Total number of items Added when using query parameter page

pageinteger

Number of the current page Added when using query parameter page

pagesinteger

Total number of pages Added when using query parameter page

items_per_pageinteger

Number of items per page Added when using query parameter page

Example response

{
  "result": "success",
  "data": [
    {
      "kaas_id": 56321,
      "public_cloud_id": 12345,
      "public_cloud_project_id": 25454,
      "name": "Super Kube",
      "open_stack_name": "pck-12345",
      "region": "rc3-a",
      "kubernetes_version": "1.30",
      "status": "Active",
      "pack": {
        "name": "shared",
        "is_active": "true"
      },
      "project": {
        "id": 56321,
        "public_cloud_id": 12345,
        "name": "Super Project",
        "open_stack_name": "PCP-SUPER123"
      },
      "tags": [
        {
          "id": 1234,
          "name": "My tag name",
          "color": 4,
          "product_count": 2
        }
      ],
      "instances": {
        "total": 30,
        "used": 25,
        "fixed": 10,
        "minimum_autoscaled": 5,
        "maximum_autoscaled": 15,
        "minimum_available_instances": 1,
        "maximum_available_instances": 5
      }
    }
  ],
  "total": 221,
  "page": 2,
  "pages": 15,
  "items_per_page": 15
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.