Avisi cloud logo
Cloud providers

List node types of a cloud provider.

GET
/api/v1/cloud-providers/{cloudProviderSlug}/nodetypes

Path Parameters

cloudProviderSlug
Required
string

Query Parameters

pageable
Required
object

Optional. When omitted: pageSize=50, pageNumber=0, sortDirection=ASC

curl -X GET "http://localhost:8090/api/v1/cloud-providers/string/nodetypes?pageable=%7B%0A++%22page%22%3A+0%2C%0A++%22size%22%3A+1%2C%0A++%22sort%22%3A+%5B%0A++++%22string%22%0A++%5D%0A%7D"

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

{
  "totalElements": 0,
  "totalPages": 0,
  "content": [
    {
      "type": "string",
      "cpu": 0,
      "memory": 0
    }
  ],
  "number": 0,
  "size": 0,
  "first": true,
  "last": true,
  "sort": [
    {
      "direction": "string",
      "nullHandling": "string",
      "ascending": true,
      "property": "string",
      "ignoreCase": true
    }
  ],
  "numberOfElements": 0,
  "pageable": {
    "offset": 0,
    "sort": [
      {
        "direction": "string",
        "nullHandling": "string",
        "ascending": true,
        "property": "string",
        "ignoreCase": true
      }
    ],
    "paged": true,
    "pageNumber": 0,
    "pageSize": 0,
    "unpaged": true
  },
  "empty": true
}