openapi: 3.0.3 info: title: Oracle Cloud Compute Alarms Clusters API description: Manage compute instances, images, shapes, and related resources in Oracle Cloud Infrastructure. version: '20160918' x-generated-from: documentation x-last-validated: '2026-04-18' contact: name: Oracle Cloud Infrastructure url: https://docs.oracle.com/en-us/iaas/Content/Compute/home.htm servers: - url: https://iaas.{region}.oraclecloud.com/20160918 description: OCI Compute API server variables: region: default: us-ashburn-1 description: OCI region identifier security: - ociSignature: [] tags: - name: Clusters paths: /clusters: get: operationId: listClusters summary: Oracle Cloud List Clusters description: List all Kubernetes clusters in a compartment. tags: - Clusters parameters: - name: compartmentId in: query required: true description: The OCID of the compartment. schema: type: string example: ocid1.resource.oc1.iad.abcdefg123456 responses: '200': description: Successfully retrieved. content: application/json: schema: type: array items: $ref: '#/components/schemas/ClusterSummary' examples: ListClusters200Example: summary: Default listClusters 200 response x-microcks-default: true value: - id: ocid1.resource.oc1.iad.abcdefg123456 compartmentId: ocid1.resource.oc1.iad.abcdefg123456 name: example-value kubernetesVersion: v1.28.2 lifecycleState: example-value timeCreated: '2026-04-18T10:30:00Z' x-microcks-operation: delay: 0 dispatcher: FALLBACK post: operationId: createCluster summary: Oracle Cloud Create Cluster description: Create a new Kubernetes cluster. tags: - Clusters requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateClusterDetails' examples: CreateClusterRequestExample: summary: Default createCluster request x-microcks-default: true value: compartmentId: ocid1.resource.oc1.iad.abcdefg123456 name: example-value vcnId: ocid1.resource.oc1.iad.abcdefg123456 kubernetesVersion: v1.28.2 responses: '200': description: Successfully created. x-microcks-operation: delay: 0 dispatcher: FALLBACK /clusters/{clusterId}: get: operationId: getCluster summary: Oracle Cloud Get Cluster description: Get the specified Kubernetes cluster. tags: - Clusters parameters: - name: clusterId in: path required: true description: The OCID of the cluster. schema: type: string example: ocid1.resource.oc1.iad.abcdefg123456 responses: '200': description: Successfully retrieved. content: application/json: schema: $ref: '#/components/schemas/Cluster' examples: GetCluster200Example: summary: Default getCluster 200 response x-microcks-default: true value: id: ocid1.cluster.oc1.iad.abcdefg123456 compartmentId: ocid1.resource.oc1.iad.abcdefg123456 name: my-cluster kubernetesVersion: v1.28.2 vcnId: ocid1.resource.oc1.iad.abcdefg123456 lifecycleState: CREATING endpoints: kubernetes: example-value publicEndpoint: example-value privateEndpoint: example-value timeCreated: '2026-04-18T10:30:00Z' x-microcks-operation: delay: 0 dispatcher: FALLBACK put: operationId: updateCluster summary: Oracle Cloud Update Cluster description: Update the specified Kubernetes cluster. tags: - Clusters parameters: - name: clusterId in: path required: true description: The OCID of the cluster. schema: type: string example: ocid1.resource.oc1.iad.abcdefg123456 requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateClusterDetails' examples: UpdateClusterRequestExample: summary: Default updateCluster request x-microcks-default: true value: name: example-value kubernetesVersion: v1.28.2 responses: '200': description: Successfully updated. x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: operationId: deleteCluster summary: Oracle Cloud Delete Cluster description: Delete a Kubernetes cluster. tags: - Clusters parameters: - name: clusterId in: path required: true description: The OCID of the cluster. schema: type: string example: ocid1.resource.oc1.iad.abcdefg123456 responses: '204': description: Successfully deleted. x-microcks-operation: delay: 0 dispatcher: FALLBACK components: schemas: Cluster: type: object description: A Kubernetes cluster managed by OKE. properties: id: type: string description: The OCID of the cluster. example: ocid1.cluster.oc1.iad.abcdefg123456 compartmentId: type: string example: ocid1.resource.oc1.iad.abcdefg123456 name: type: string example: my-cluster kubernetesVersion: type: string example: v1.28.2 vcnId: type: string example: ocid1.resource.oc1.iad.abcdefg123456 lifecycleState: type: string enum: - CREATING - ACTIVE - FAILED - DELETING - DELETED - UPDATING example: CREATING endpoints: type: object properties: kubernetes: type: string publicEndpoint: type: string privateEndpoint: type: string example: kubernetes: example-value publicEndpoint: example-value privateEndpoint: example-value timeCreated: type: string format: date-time example: '2026-04-18T10:30:00Z' ClusterSummary: type: object description: Cluster summary. properties: id: type: string example: ocid1.resource.oc1.iad.abcdefg123456 compartmentId: type: string example: ocid1.resource.oc1.iad.abcdefg123456 name: type: string example: example-value kubernetesVersion: type: string example: v1.28.2 lifecycleState: type: string example: example-value timeCreated: type: string format: date-time example: '2026-04-18T10:30:00Z' UpdateClusterDetails: type: object properties: name: type: string example: example-value kubernetesVersion: type: string example: v1.28.2 CreateClusterDetails: type: object required: - compartmentId - name - vcnId - kubernetesVersion properties: compartmentId: type: string example: ocid1.resource.oc1.iad.abcdefg123456 name: type: string example: example-value vcnId: type: string example: ocid1.resource.oc1.iad.abcdefg123456 kubernetesVersion: type: string example: v1.28.2 securitySchemes: ociSignature: type: http scheme: bearer description: OCI request signature authentication using API signing keys.