NSX-T Data Center REST API

Upload kubeconfig file

Synchronous call to upload kubeconfig file on orchestrator node.
This will be used to connect with Kubernetes cluster.

Request:

Method:
POST
URI Path(s):
/policy/api/v1/infra/sites/{site-id}/napp/deployment/kubeconfig
Request Headers:
n/a
Query Parameters:
CommonUploadFile+
Request Body:
n/a

Example Request:

POST https://<policy-mgr>/policy/api/v1/infra/sites/default/napp/deployment/kubeconfig

Successful Response:

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

Example Response:

{ "bundle_id" : "22000123456" }

Required Permissions:

crud

Feature:

policy_napp

Additional Errors: