IBM Cloud Kubernetes Properties API

The properties API from IBM Cloud Kubernetes — 2 operation(s) for properties.

GitHub OpenAPI

Operations 2

GET /v1/datacenters/{datacenter}/vlans List available VLANs for a zone #
GET /v1/subnets List available IBM Cloud classic infrastructure subnets #

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-properties-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-properties-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ibm Cloud Kubernetes Properties API
  version: '1.1'
  description: 'Operations tagged properties 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: Properties
paths:
  /v1/datacenters/{datacenter}/vlans:
    get:
      description: List available public and private VLANs for a specified data center. Before using this operation, you must store your IBM Cloud infrastructure (SoftLayer) credentials in each Kubernetes Service account by using the `POST /v1/credentials` API or by running `ibmcloud ks credential set --infrastructure-api-key --infrastructure-username `.
      tags:
      - Properties
      summary: List available VLANs for a zone
      operationId: GetDatacenterVLANs
      parameters:
      - 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 zone where you want to list available public and private VLANs. To list available zones, run `ibmcloud ks zone ls` or use the `GET /v1/datacenters` API.
        name: datacenter
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Ok. A list of available public and private VLANs for the specified zone is returned.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VLAN'
        '400':
          description: The specified zone is invalid. To list available zones, run `ibmcloud ks zone ls' or use the `GET /v1/datacenters` API.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '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'
        '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: VLANs in an IBM Cloud account for a particular data center are listed.
        events:
        - name: containers-kubernetes.account-datacenter-vlan.list
      x-ibm-permissions:
        actions:
        - name: null
        description: No IBM Cloud IAM role is required for this operation.
    servers:
    - url: /global
  /v1/subnets:
    get:
      description: List available subnets in an IBM Cloud classic infrastructure account. Before using this operation, you must store your IBM Cloud classic infrastructure credentials in each Kubernetes Service account by using the `POST /v1/credentials` API or by running `ibmcloud ks credential set --infrastructure-api-key --infrastructure-username `.
      tags:
      - Properties
      summary: List available IBM Cloud classic infrastructure subnets
      operationId: ListSubnets
      parameters:
      - 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 resource group that the cluster is in. To check the resource group ID of the cluster, use the `GET /v1/clusters/idOrName` API.
        name: X-Auth-Resource-Group
        in: header
        schema:
          type: string
      - description: A comma seperated list of datacenters to filter subnets based off of.
        name: datacenters
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Ok.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Subnet'
        '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 cluster could not be found. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
          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: Subnets in the IBM Cloud classic infrastructure account are listed.
        events:
        - name: containers-kubernetes.account-subnet.list
      x-ibm-permissions:
        actions:
        - name: containers-kubernetes.cluster.read
        description: To get the action, the user must have the Viewer platform role to Kubernetes Service in IAM.
    servers:
    - url: /global
components:
  schemas:
    Subnet:
      description: Subnet provides information about a vpc subnet
      type: object
      properties:
        availableIPv4AddressCount:
          type: integer
          format: int64
          x-go-name: AvailableIPv4AddressCount
        id:
          type: string
          x-go-name: ID
        ipv4CIDRBlock:
          type: string
          x-go-name: IPv4CIDR
        name:
          type: string
          x-go-name: Name
        publicGatewayID:
          type: string
          x-go-name: PublicGatewayID
        publicGatewayName:
          type: string
          x-go-name: PublicGatewayName
        vpcID:
          type: string
          x-go-name: VPCID
        vpcName:
          type: string
          x-go-name: VPCName
        zone:
          type: string
          x-go-name: Zone
      x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/vpc
    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
    VLAN:
      type: object
      title: VLAN represents a singular softlayer vlan.
      properties:
        id:
          type: string
          x-go-name: ID
        properties:
          $ref: '#/components/schemas/VLANProperties'
        type:
          type: string
          x-go-name: Type
      x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/classic
    VLANProperties:
      type: object
      title: VLANProperties stores various properities related to a softlayer vlan.
      properties:
        local_disk_storage_capability:
          type: string
          x-go-name: LocalDiskCapability
        location:
          type: string
          x-go-name: Location
        name:
          type: string
          x-go-name: Name
        note:
          type: string
          x-go-name: Note
        primary_router:
          type: string
          x-go-name: PrimaryRouter
        san_storage_capability:
          type: string
          x-go-name: SanStorageCapability
        subnet_count:
          type: integer
          format: int64
          x-go-name: SubnetCount
        vlan_number:
          type: string
          x-go-name: VLANNumber
        vlan_type:
          type: string
          x-go-name: VLANType
      x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/classic
    ErrorType:
      description: ErrorType error type
      type: string
      x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
x-refined-from:
- ibm-cloud-kubernetes-swagger.json
- ibm-cloud-kubernetes-openapi.yml