POST - /kubernetes/:type/:mode
Description
This API creates a resource of type (workload, service, storage, configuration, rbac) and specific mode as follow:
Type | Mode | kind |
|---|---|---|
workload |
|
|
service |
|
|
storage |
|
|
configuration |
|
|
rbac |
|
|
Input
Type: application/jsonParam | Source | Type | Required | Description |
|---|---|---|---|---|
configuration | body | object | yes |
|
body | body | object | yes |
|
kind | body.body | enum | yes | check table above |