Create Cluster Using POST

Create Cluster Using POST

Create a K8S cluster on PKS endpoint specified by endpoint id

Request
URI
POST
https://{api_host}//sc2-10-185-6-200.eng.vmware.com/cmx/api/resources/pks/endpoints/{id}/clusters
COPY
Path Parameters
string
id
Required

id


Request Body
PKSCluster of type(s) application/json
Optional
{
    "hostnameAddress": "string",
    "ipAddress": "string",
    "kubernetes_master_ips": [
        "string"
    ],
    "last_action": "string",
    "last_action_description": "string",
    "last_action_state": "string",
    "name": "string",
    "plan_name": "string",
    "uuid": "string"
}
string
hostnameAddress
Optional

hostnameAddress

string
ipAddress
Optional

ipAddress

array of string
kubernetes_master_ips
Optional

kubernetes_master_ips

string
last_action
Optional

last_action

string
last_action_description
Optional

last_action_description

string
last_action_state
Optional

last_action_state

string
name
Optional

name

object
parameters
Optional

parameters

string
plan_name
Optional

plan_name

string
uuid
Optional

uuid

Responses
200

OK

Returns Mono_K8SCluster_ of type(s) */*
Operation doesn't return any data structure

201

Created

Operation doesn't return any data structure

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure