IBM Cloud Kubernetes Get Dedicated Hosts API

The GetDedicatedHosts API from IBM Cloud Kubernetes — 1 operation(s) for getdedicatedhosts.

GitHub OpenAPI

Operations 1

GET /v2/getDedicatedHosts List the dedicated hosts #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ibm-cloud-kubernetes:ibm-cloud-kubernetes-getdedicatedhosts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ibm-cloud-kubernetes-getdedicatedhosts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ibm Cloud Kubernetes Get Dedicated Hosts API
  version: '1.1'
  description: 'Operations tagged GetDedicatedHosts across 2 of this provider''s published API definitions: ibm-cloud-kubernetes-swagger.json, ibm-cloud-kubernetes-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /global
- url: https://containers.cloud.ibm.com/global
tags:
- name: GetDedicatedHosts
paths:
  /v2/getDedicatedHosts:
    get:
      tags:
      - GetDedicatedHosts
      summary: List the dedicated hosts
      operationId: getDedicatedHosts
      parameters:
      - description: If you are using the global endpoint, target the Kubernetes Service region. To list available regions, use the `GET /v1/regions` API or run `ibmcloud ks region ls`.
        name: X-Region
        in: header
        schema:
          type: string
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      - description: The ID of the dedicated host pool that you want to get the dedicated hosts details from.
        name: dedicatedhostpool
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Ok. Detailed information about the dedicated hosts is returned.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDedicatedHosts'
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found. The specified dedicated host pool could not be found.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ibm-events:
        description: The dedicated hosts are listed.
        events:
        - name: containers-kubernetes.account-dedicated-host.list
      x-ibm-permissions:
        actions:
        - name: containers-kubernetes.account.read
        description: To list dedicated hosts, you must have the Viewer platform role for the Kubernetes Service in IAM.
    servers:
    - url: /global
components:
  schemas:
    DedicatedHostLifecycle:
      type: object
      title: DedicatedHostLifecycle contains dedicated host lifecycle data as part of a GetDedicatedHost response.
      properties:
        actualState:
          type: string
          x-go-name: ActualState
        createdDate:
          type: string
          x-go-name: CreatedDate
        desiredState:
          type: string
          x-go-name: DesiredState
        message:
          type: string
          x-go-name: Message
        messageDate:
          type: string
          x-go-name: MessageDate
        messageDetails:
          type: string
          x-go-name: MessageDetails
        messageDetailsDate:
          type: string
          x-go-name: MessageDetailsDate
      x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/responses
    GetDedicatedHosts:
      type: array
      title: GetDedicatedHosts is a response to a dedicated host list request.
      items:
        $ref: '#/components/schemas/GetDedicatedHost'
      x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/responses
    ErrorType:
      description: ErrorType error type
      type: string
      x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
    ErrorResponse:
      description: ErrorResponse error response to end users
      type: object
      properties:
        code:
          type: string
          x-go-name: ID
        description:
          type: string
          x-go-name: Err
        incidentID:
          type: string
          x-go-name: ReqID
        recoveryCLI:
          type: string
          x-go-name: RecoveryCLI
        terseDescription:
          type: string
          x-go-name: TerseErr
        type:
          $ref: '#/components/schemas/ErrorType'
      x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
    DedicatedHostWorker:
      type: object
      title: DedicatedHostWorker contains dedicated host cluster details as part of a GetDedicatedHost response.
      properties:
        clusterID:
          type: string
          x-go-name: ClusterID
        flavor:
          type: string
          x-go-name: Flavor
        workerID:
          type: string
          x-go-name: WorkerID
        workerPoolID:
          type: string
          x-go-name: WorkerPoolID
      x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/responses
    DedicatedHostResource:
      type: object
      title: DedicatedHostResource contains dedicated host capacity and consumption details for a specific VM as part of a GetDedicatedHost response.
      properties:
        memoryBytes:
          type: integer
          format: uint64
          x-go-name: MemoryBytes
        vcpu:
          type: integer
          format: int64
          x-go-name: VCPU
      x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/responses
    GetDedicatedHost:
      type: object
      title: GetDedicatedHost is a response to a dedicated host get request.
      properties:
        flavor:
          type: string
          x-go-name: Flavor
        id:
          type: string
          x-go-name: ID
        lifecycle:
          $ref: '#/components/schemas/DedicatedHostLifecycle'
        placementEnabled:
          type: boolean
          x-go-name: PlacementEnabled
        resources:
          $ref: '#/components/schemas/DedicatedHostResources'
        workers:
          type: array
          items:
            $ref: '#/components/schemas/DedicatedHostWorker'
          x-go-name: Workers
        zone:
          type: string
          x-go-name: Zone
      x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/responses
    DedicatedHostResources:
      type: object
      title: DedicatedHostResources contains dedicated host capacity and consumption details for multiple VMs as part of a GetDedicatedHost response.
      properties:
        capacity:
          $ref: '#/components/schemas/DedicatedHostResource'
        consumed:
          $ref: '#/components/schemas/DedicatedHostResource'
      x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/responses
x-refined-from:
- ibm-cloud-kubernetes-swagger.json
- ibm-cloud-kubernetes-openapi.yml