clusters

Create Cluster

Creates a new cluster based on a manifest.

post/clusters

Request

  • Base URL
    https://privatecloud.mendixcloud.com/api/v4
  • Auth
    API key in header Authorization

Request body

manifestVersionstring required

Example request

{
  "manifestVersion": "2.0.0",
  "cluster": {
    "clusterId": "085a0e34-69ec-4c61-9c7d-5cd42554f9f2",
    "name": "new-cluster",
    "clusterType": "k8s",
    "description": "This cluster is for testing purposes."
  }
}

Response

The job response returned by a get-job request. The Location header is populated once the job has been created successfully.

idstring uuid required

Model for jobId.

status'created' | 'running' | 'failed' | 'finished' required

created - a job has been created but has not been picked up for processing <br/> running - the job is being processed <br/> finished - the job has finished processing <br/> failed - something went wrong and the job processing failed

detailsstring

Example response

{
  "id": "db6ed4d3-8b6d-4c2b-ad2b-2a69d0f7afe0",
  "status": "finished",
  "details": "Request to create cluster.",
  "error": {
    "code": 400,
    "message": "Request validation errors"
  }
}

Changes

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