Update Zone Using PUT

Update Zone Using PUT

Modify a K8S Zone

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

id


Request Body

zone

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

Possible values are : PKS_ENDPOINT, EXTERNAL, OPEN_SHIFT,
resources
Optional

resources

array of string
tagLinks
Optional

tagLinks

array of TagState_5
tags
Optional

tags

integer As int64 As int64
updatedMillis
Optional

updatedMillis

Responses
200

OK

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