Create Zone Using POST

Create Zone Using POST

Create a K8S Zone entity

Request
URI
POST
https:////sc2-10-185-6-200.eng.vmware.com/cmx/api/resources/k8s-zones
COPY
Request Body

zone

K8SZone_1 of type(s) application/json
Required
{
    "clusters": [
        {
            "clusterId": "string",
            "createdMillis": "integer",
            "id": "string",
            "orgId": "string",
            "pksClusterUuid": "string",
            "preferMasterIp": "boolean",
            "priority": "integer",
            "tagLinks": [
                "string"
            ],
            "tags": [
                {
                    "deleted": "boolean",
                    "documentAuthPrincipalLink": "string",
                    "documentDescription": {
                        "description": "string",
                        "documentIndexingOptions": [
                            "string"
                        ],
                        "name": "string",
                        "serializedStateSizeLimit": "integer",
                        "serviceCapabilities": [
                            "string"
                        ],
                        "userInterfaceResourcePath": "string",
                        "versionRetentionFloor": "integer",
                        "versionRetentionLimit": "integer"
                    },
                    "documentEpoch": "integer",
                    "documentExpirationTimeMicros": "integer",
                    "documentKind": "string",
                    "documentOwner": "string",
                    "documentSelfLink": "string",
                    "documentSourceLink": "string",
                    "documentTransactionId": "string",
                    "documentUpdateAction": "string",
                    "documentUpdateTimeMicros": "integer",
                    "documentVersion": "integer",
                    "external": "boolean",
                    "key": "string",
                    "origins": [
                        "string"
                    ],
                    "tenantLinks": [
                        "string"
                    ],
                    "value": "string"
                }
            ],
            "updatedMillis": "integer"
        }
    ],
    "createdMillis": "integer",
    "description": "string",
    "id": "string",
    "name": "string",
    "orgId": "string",
    "projects": [
        {
            "createdMillis": "integer",
            "id": "string",
            "orgId": "string",
            "priority": "integer",
            "projectId": "string",
            "updatedMillis": "integer"
        }
    ],
    "providerId": "string",
    "providerType": "string",
    "resources": [
        {
            "createdMillis": "integer",
            "enabled": "boolean",
            "id": "string",
            "orgId": "string",
            "priority": "integer",
            "resourceId": "string",
            "resourceType": "string",
            "tagLinks": [
                "string"
            ],
            "tags": [
                {
                    "deleted": "boolean",
                    "documentAuthPrincipalLink": "string",
                    "documentDescription": {
                        "description": "string",
                        "documentIndexingOptions": [
                            "string"
                        ],
                        "name": "string",
                        "serializedStateSizeLimit": "integer",
                        "serviceCapabilities": [
                            "string"
                        ],
                        "userInterfaceResourcePath": "string",
                        "versionRetentionFloor": "integer",
                        "versionRetentionLimit": "integer"
                    },
                    "documentEpoch": "integer",
                    "documentExpirationTimeMicros": "integer",
                    "documentKind": "string",
                    "documentOwner": "string",
                    "documentSelfLink": "string",
                    "documentSourceLink": "string",
                    "documentTransactionId": "string",
                    "documentUpdateAction": "string",
                    "documentUpdateTimeMicros": "integer",
                    "documentVersion": "integer",
                    "external": "boolean",
                    "key": "string",
                    "origins": [
                        "string"
                    ],
                    "tenantLinks": [
                        "string"
                    ],
                    "value": "string"
                }
            ],
            "updatedMillis": "integer"
        }
    ],
    "tagLinks": [
        "string"
    ],
    "tags": [
        {
            "deleted": "boolean",
            "documentAuthPrincipalLink": "string",
            "documentDescription": {
                "description": "string",
                "documentIndexingOptions": [
                    "string"
                ],
                "name": "string",
                "serializedStateSizeLimit": "integer",
                "serviceCapabilities": [
                    "string"
                ],
                "userInterfaceResourcePath": "string",
                "versionRetentionFloor": "integer",
                "versionRetentionLimit": "integer"
            },
            "documentEpoch": "integer",
            "documentExpirationTimeMicros": "integer",
            "documentKind": "string",
            "documentOwner": "string",
            "documentSelfLink": "string",
            "documentSourceLink": "string",
            "documentTransactionId": "string",
            "documentUpdateAction": "string",
            "documentUpdateTimeMicros": "integer",
            "documentVersion": "integer",
            "external": "boolean",
            "key": "string",
            "origins": [
                "string"
            ],
            "tenantLinks": [
                "string"
            ],
            "value": "string"
        }
    ],
    "updatedMillis": "integer"
}
clusters
Optional

clusters

integer As int64 As int64
createdMillis
Optional

createdMillis

object
customProperties
Optional

customProperties

string
description
Optional

description

string As uuid As uuid
id
Optional

id

string
name
Optional

name

string
orgId
Optional

orgId

projects
Optional

projects

string
providerId
Optional

providerId

string
providerType
Optional

providerType

resources
Optional

resources

array of string
tagLinks
Optional

tagLinks

array of TagState_1
tags
Optional

tags

integer As int64 As int64
updatedMillis
Optional

updatedMillis

Responses
200

OK

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