NSX-T Data Center REST API

Update upgrade-coordinator configuration

Update input parameter require to deploy upgrade-coordinator related pods.
Advance configuraion option on UI has option to deploy kubernetes tools.
You need to get this file from VMware website.
File contains kubectl binary, helm binary and signature to verify them.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/sites/<site-id>/napp/deployment/upgrade-coordinator
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
UpgradeCoordinatorDeploymentConfig+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/sites//napp/deployment/upgrade-coordinator { "deployment_action" : "DEPLOY" "kubeconfig_info" : { "name": "kubeconfigfile.xyz", "user": "user1", "current_context": "context1", "namespace": "ns1", "cluster": "cluster1", "expiry": "n days" } }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
UpgradeCoordinatorDeploymentConfig+

Example Response:

{ "resource_type": "UpgradeCoordinatorDeploymentConfig", "id": "upgrade-coordinator-deployment-config", "kubeconfig_info" : { "name": "kubeconfigfile.xyz", "user": "user1", "current_context": "context1", "namespace": "ns1", "cluster": "cluster1", "expiry": "n days" }, "parent_path" : "/infra/sites//napp/deployment/upgrade-coordinator", "relative_path" : "upgrade-coordinator", "_create_time" : 1524826554351, "_last_modified_user" : "admin", "_system_owned" : false, "_protection" : "NOT_PROTECTED", "_last_modified_time" : 1524826554351, "_create_user" : "admin", "_revision" : 0 }

Required Permissions:

crud

Feature:

policy_napp

Additional Errors: