Register Using PUT

Register Using PUT

Onboard existing K8S Namespace by providing namespace id and entity

Request
URI
PUT
https://{api_host}//sc2-10-185-6-200.eng.vmware.com/cmx/api/resources/k8s/namespaces/{id}/register
COPY
Path Parameters
string
id
Required

id


Request Body

namespaceState

K8SNamespace_1 of type(s) application/json
Required
{
    "authCredentialsLink": "string",
    "clusterId": "string",
    "createdMillis": 0,
    "description": "string",
    "id": "string",
    "name": "string",
    "orgId": "string",
    "owner": "string",
    "projectId": "string",
    "registered": false,
    "shared": false,
    "status": "string",
    "updatedMillis": 0
}
string
authCredentialsLink
Optional

authCredentialsLink

string As uuid As uuid
clusterId
Optional

clusterId

integer As int64 As int64
createdMillis
Optional

createdMillis

string
description
Optional

description

string As uuid As uuid
id
Optional

id

string
name
Optional

name

string
orgId
Optional

orgId

string
owner
Optional

owner

string
projectId
Optional

projectId

boolean
registered
Optional

registered

boolean
shared
Optional

shared

string
status
Optional

status

Possible values are : ALLOCATED, READY, FAILED, UNREACHABLE, TERMINATING, REMOVED,
integer As int64 As int64
updatedMillis
Optional

updatedMillis

Responses
200

OK

Returns Mono_K8SNamespace_ 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