From fe8c59fc46b8180f72b75cb985e7ccc8be64d6c9 Mon Sep 17 00:00:00 2001 From: yshah Date: Fri, 5 Jul 2024 14:00:08 +0000 Subject: [PATCH] Feature 11022-11026: Advanced Cluster Management Author: yshah Date: Fri Jul 5 14:00:08 2024 +0000 Change-Id: I50e99e296084698ce96d1ba52f831f1ded756c9f Signed-off-by: yshah --- osm-openapi.yaml | 2127 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 2127 insertions(+) diff --git a/osm-openapi.yaml b/osm-openapi.yaml index 6c1b966..a8ad2be 100644 --- a/osm-openapi.yaml +++ b/osm-openapi.yaml @@ -43,6 +43,12 @@ tags: description: Management operations of repositories - name: 'Admin' description: Management operations of Administration items + - name: 'K8s Cluster' + description: Management operations of k8s Cluster + - name: 'KSU' + description: Management operations of KSU + - name: 'OKA packages' + description: Management operations of OKA packages security: - bearerAuth: [] @@ -4408,6 +4414,1877 @@ paths: $ref: '#/components/responses/UnexpectedError' # END PDU +# BEGIN k8s Cluster + '/k8scluster/v1/clusters': + get: + tags: + - 'K8s Cluster' + summary: Listing All Clusters + description: This API is used to obtain details about all clusters + operationId: listk8sCluster + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + post: + tags: + - "K8s Cluster" + summary: Creating a Cluster + description: This API is used to create cluster + operationId: createk8sCluster + requestBody: + $ref: '#/components/requestBodies/CreateCluster' + responses: + '201': + description: Created + content: + application/json: + schema: + $ref: '#/components/schemas/ObjectId' + application/yaml: + schema: + $ref: '#/components/schemas/ObjectId' + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/clusters/{cluster_id}': + parameters: + - name: cluster_id + in: path + required: true + description: cluster_id + schema: + type: string + get: + tags: + - 'K8s Cluster' + summary: Reading a Specific Cluster + description: This API is used to obtain details about a specified cluster. + operationId: readk8sCluster + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + delete: + tags: + - "K8s Cluster" + summary: Deleting a Cluster + description: This API is used to delete a specified cluster. + operationId: deletek8sCluster + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/clusters/{cluster_id}/get_creds': + parameters: + - name: cluster_id + in: path + required: true + description: cluster_id + schema: + type: string + get: + tags: + - "K8s Cluster" + summary: Get Credentials of the cluster + description: This API is used to obtain a kube_config file of a specified cluster. + operationId: getCreds + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/clusters/{cluster_id}/scale': + parameters: + - name: cluster_id + in: path + required: true + description: cluster_id + schema: + type: string + post: + tags: + - "K8s Cluster" + summary: Scaling Node + description: This API is used to scale the node into a specified cluster + operationId: nodeScaling + requestBody: + $ref: '#/components/requestBodies/ScaleNode' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/clusters/{cluster_id}/upgrade': + parameters: + - name: cluster_id + in: path + required: true + description: cluster_id + schema: + type: string + post: + tags: + - "K8s Cluster" + summary: Upgrading a Cluster + description: This API is used to Upgrade a Cluster + operationId: upgradeCluster + requestBody: + $ref: '#/components/requestBodies/UpgradeCluster' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/app_profiles': + post: + tags: + - "K8s Cluster" + summary: Creating App-profiles + description: This API is used to create App-profiles + operationId: createAppProfile + requestBody: + $ref: '#/components/requestBodies/ProfileInfo' + responses: + '201': + description: Created + content: + application/json: + schema: + $ref: '#/components/schemas/ObjectId' + application/yaml: + schema: + $ref: '#/components/schemas/ObjectId' + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + get: + tags: + - "K8s Cluster" + summary: Listing App-profiles + description: This API is used to list all App-profiles + operationId: listAppProfile + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/app_profiles/{app_profile_id}': + parameters: + - name: app_profile_id + in: path + required: true + description: app_profile_id + schema: + type: string + get: + tags: + - "K8s Cluster" + summary: Reading App-profiles + description: This API is used to reading specific App-profile + operationId: readAppProfile + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + patch: + tags: + - "K8s Cluster" + summary: Patching App-profiles + description: This API is used to patch specific App-profile + operationId: patchAppProfile + requestBody: + $ref: '#/components/requestBodies/ProfileInfo' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + delete: + tags: + - "K8s Cluster" + summary: Deleteing App-profiles + description: This API is used to delete specific App-profile + operationId: deleteAppProfile + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/clusters/{cluster_id}/app_profiles': + parameters: + - name: cluster_id + in: path + required: true + description: cluster_id + schema: + type: string + patch: + tags: + - "K8s Cluster" + summary: Adding or Removing App profile to cluster + description: This API is used to add or remove app profiles to cluster + operationId: addRemoveAppProfile + requestBody: + $ref: '#/components/requestBodies/AttachDetachProfile' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + get: + tags: + - "K8s Cluster" + summary: Getting App-profile in cluster + description: This API is used to get app-profiles in specified cluster + operationId: getAppProfile + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/infra_controller_profiles': + post: + tags: + - "K8s Cluster" + summary: Creating Infra controller profiles + description: This API is used to create Infra controllerprofiles + operationId: createInfraControllerProfile + requestBody: + $ref: '#/components/requestBodies/ProfileInfo' + responses: + '201': + description: Created + content: + application/json: + schema: + $ref: '#/components/schemas/ObjectId' + application/yaml: + schema: + $ref: '#/components/schemas/ObjectId' + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + get: + tags: + - "K8s Cluster" + summary: Listing Infra controller profiles + description: This API is used to list all Infra controller profiles + operationId: listInfraControllerProfile + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/infra_controller_profiles/{infra_controller_profile_id}': + parameters: + - name: infra_controller_profile_id + in: path + required: true + description: infra_controller_profile_id + schema: + type: string + get: + tags: + - "K8s Cluster" + summary: Reading Infra controller profiles + description: This API is used to reading specific Infra controller profile + operationId: readInfraControllerProfile + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + patch: + tags: + - "K8s Cluster" + summary: Patching Infra controller profiles + description: This API is used to patch specific Infra controller profile + operationId: patchInfraControllerProfile + requestBody: + $ref: '#/components/requestBodies/ProfileInfo' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + delete: + tags: + - "K8s Cluster" + summary: Deleteing Infra controller profiles + description: This API is used to delete specific Infra controller profile + operationId: deleteInfraControllerProfile + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/clusters/{cluster_id}/infra_controller_profiles': + parameters: + - name: cluster_id + in: path + required: true + description: cluster_id + schema: + type: string + patch: + tags: + - "K8s Cluster" + summary: Adding or Removing Infra controller profile to cluster + description: This API is used to add or remove infra controller profile to cluster + operationId: addremoveInfraControllerProfile + requestBody: + $ref: '#/components/requestBodies/AttachDetachProfile' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + get: + tags: + - "K8s Cluster" + summary: Getting Infra controller profile in cluster + description: This API is used to get infra controller profiles in specified cluster + operationId: getInfraControllerProfile + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/infra_config_profiles': + post: + tags: + - "K8s Cluster" + summary: Creating Infra config profiles + description: This API is used to create Infra config profiles + operationId: createInfraConfigProfile + requestBody: + $ref: '#/components/requestBodies/ProfileInfo' + responses: + '201': + description: Created + content: + application/json: + schema: + $ref: '#/components/schemas/ObjectId' + application/yaml: + schema: + $ref: '#/components/schemas/ObjectId' + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + get: + tags: + - "K8s Cluster" + summary: Listing Infra config profiles + description: This API is used to list all Infra config profiles + operationId: listInfraConfigProfile + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/infra_config_profiles/{infra_config_profile_id}': + parameters: + - name: infra_config_profile_id + in: path + required: true + description: infra_config_profile_id + schema: + type: string + get: + tags: + - "K8s Cluster" + summary: Reading Infra config profiles + description: This API is used to reading specific Infra config profile + operationId: readInfraConfigProfile + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + patch: + tags: + - "K8s Cluster" + summary: Patching Infra config profiles + description: This API is used to patch specific Infra config profile + operationId: patchInfraConfigProfile + requestBody: + $ref: '#/components/requestBodies/ProfileInfo' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + delete: + tags: + - "K8s Cluster" + summary: Deleteing Infra config profiles + description: This API is used to delete specific Infra config profile + operationId: deleteInfraConfigProfile + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/clusters/{cluster_id}/infra_config_profiles': + parameters: + - name: cluster_id + in: path + required: true + description: cluster_id + schema: + type: string + patch: + tags: + - "K8s Cluster" + summary: Adding or Removing Infra config profile to cluster + description: This API is used to add or remove infra config profile to cluster + operationId: addremoveInfraConfigProfile + requestBody: + $ref: '#/components/requestBodies/AttachDetachProfile' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + get: + tags: + - "K8s Cluster" + summary: Getting Infra config profile in cluster + description: This API is used to get infra config profiles in specified cluster + operationId: getInfraConfigProfile + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/resource_profiles': + post: + tags: + - "K8s Cluster" + summary: Creating resource profiles + description: This API is used to create resource profiles + operationId: createResourceProfile + requestBody: + $ref: '#/components/requestBodies/ProfileInfo' + responses: + '201': + description: Created + content: + application/json: + schema: + $ref: '#/components/schemas/ObjectId' + application/yaml: + schema: + $ref: '#/components/schemas/ObjectId' + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + get: + tags: + - "K8s Cluster" + summary: Listing resource profiles + description: This API is used to list all resource profiles + operationId: listResourceProfile + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/resource_profiles/{resource_profile_id}': + parameters: + - name: resource_profile_id + in: path + required: true + description: resource_profile_id + schema: + type: string + get: + tags: + - "K8s Cluster" + summary: Reading resource profiles + description: This API is used to reading specific resource profile + operationId: readResourceProfile + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + patch: + tags: + - "K8s Cluster" + summary: Patching resource profiles + description: This API is used to patch specific resource profile + operationId: patchResourceProfile + requestBody: + $ref: '#/components/requestBodies/ProfileInfo' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + delete: + tags: + - "K8s Cluster" + summary: Deleteing resource profiles + description: This API is used to delete specific resource profile + operationId: deleteResourceProfile + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/k8scluster/v1/clusters/{cluster_id}/resource_profiles': + parameters: + - name: cluster_id + in: path + required: true + description: cluster_id + schema: + type: string + patch: + tags: + - "K8s Cluster" + summary: Adding or Removing Resource profile to cluster + description: This API is used to add or remove resource profiles to cluster + operationId: addremoveResourceProfile + requestBody: + $ref: '#/components/requestBodies/AttachDetachProfile' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + get: + tags: + - "K8s Cluster" + summary: Getting Resource profile in cluster + description: This API is used to get resource profiles in specified cluster + operationId: getResourceProfile + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' +#END k8s Cluster + +# BEGIN OKA packages + '/oka/v1/oka_packages': + get: + tags: + - "OKA packages" + summary: List OKA package + description: This API is used to List OKA packages + operationId: getOKAPackage + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + post: + tags: + - "OKA packages" + summary: Add OKA package + description: This API is used to add OKA packages + operationId: addOKAPackage + requestBody: + content: + application/zip: + schema: + $ref: '#/components/schemas/OkaPackage' + responses: + '201': + description: Created + content: + application/json: + schema: + $ref: '#/components/schemas/ObjectId' + application/yaml: + schema: + $ref: '#/components/schemas/ObjectId' + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/oka/v1/oka_packages/{oka_pkg_id}': + parameters: + - name: oka_pkg_id + in: path + required: true + description: oka_pkg_id + schema: + type: string + get: + tags: + - "OKA packages" + summary: Read OKA package + description: This API is used to Read OKA packages + operationId: readOKAPackage + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + patch: + tags: + - "OKA packages" + summary: Update OKA package + description: This API is used to Update OKA packages + operationId: updateOKAPackage + requestBody: + content: + application/zip: + schema: + $ref: '#/components/schemas/OkaPackage' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + delete: + tags: + - "OKA packages" + summary: Delete OKA package + description: This API is used to Delete OKA packages + operationId: deleteOKAPackage + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' +# END OKA packages + +# BEGIN KSU + '/ksu/v1/ksus': + get: + tags: + - "KSU" + summary: Get KSU + description: This API is used to Get KSU + operationId: getKSU + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + post: + tags: + - "KSU" + summary: Add KSU + description: This API is used to Add KSU + operationId: addKSU + requestBody: + $ref: '#/components/requestBodies/MultipleKsu' + responses: + '201': + description: Created + content: + application/json: + schema: + $ref: '#/components/schemas/ObjectId' + application/yaml: + schema: + $ref: '#/components/schemas/ObjectId' + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/ksu/v1/ksus/{ksu_id}': + parameters: + - name: ksu_id + in: path + required: true + description: ksu_id + schema: + type: string + get: + tags: + - "KSU" + summary: Read KSU + description: This API is used to Read KSU + operationId: readKSU + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + patch: + tags: + - "KSU" + summary: Update KSU + description: This API is used to Update KSU + operationId: updateKSU + requestBody: + $ref: '#/components/requestBodies/Ksu' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + delete: + tags: + - "KSU" + summary: Delete KSU + description: This API is used to Delete KSU + operationId: deleteKSU + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/ksu/v1/ksus/update': + post: + tags: + - "KSU" + summary: Update multiple KSU + description: This API is used to Update multiple KSU + operationId: updateMultipleKSU + requestBody: + $ref: '#/components/requestBodies/MultipleKsu' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/ksu/v1/ksus/delete': + post: + tags: + - "KSU" + summary: Delete multiple KSU + description: This API is used to Delete multiple KSU + operationId: deleteMultipleKSU + requestBody: + $ref: '#/components/requestBodies/DeleteMultipleKsu' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/ksu/v1/ksus/{ksu_id}/clone': + parameters: + - name: ksu_id + in: path + required: true + description: ksu_id + schema: + type: string + post: + tags: + - "KSU" + summary: Clone KSU + description: This API is used to Clone KSU + operationId: cloneKSU + requestBody: + $ref: '#/components/requestBodies/CloneKsu' + responses: + '202': + description: Accepted + content: + application/json: + schema: + $ref: '#/components/schemas/ObjectId' + application/yaml: + schema: + $ref: '#/components/schemas/ObjectId' + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' + '/ksu/v1/ksus/{ksu_id}/move': + parameters: + - name: ksu_id + in: path + required: true + description: ksu_id + schema: + type: string + post: + tags: + - "KSU" + summary: Move KSU + description: This API is used to Move KSU + operationId: moveKSU + requestBody: + $ref: '#/components/requestBodies/MoveKsu' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' +# END KSU + # BEGIN Admin '/admin/v1/tokens': get: @@ -8780,6 +10657,8 @@ components: additionalProperties: true resources: type: object + creds: + type: string required: - name - vim_url @@ -9579,6 +11458,174 @@ components: enum: - GRACEFUL - FORCEFUL + CreateClusterInfo: + type: object + properties: + name: + type: string + vim_account: + type: string + location: + type: string + k8s_version: + type: string + node_size: + type: string + node_count: + type: string + description: + type: string + region_name: + type: string + resource_group: + type: string + infra_controller_profiles: + type: array + items: + type: string + infra_config_profiles: + type: array + items: + type: string + resource_profiles: + type: array + items: + type: string + app_profiles: + type: array + items: + type: string + ScaleNodeInfo: + type: object + properties: + node_count: + type: integer + ProfileInfo: + type: object + properties: + name: + type: string + description: + type: string + UpgradeClusterInfo: + type: object + properties: + k8s_version: + type: string + AttachDetachProfile: + type: object + properties: + add_profile: + type: array + items: + type: object + properties: + _id: + type: string + remove_profile: + type: array + items: + type: object + properties: + _id: + type: string + OkaPackage: + type: object + properties: + name: + type: string + description: + type: string + package: + type: string + format: binary + MultipleKsu: + type: object + properties: + ksus: + type: array + items: + type: object + properties: + name: + type: string + profile: + type: object + properties: + _id: + type: string + profile_type: + type: string + oka: + type: array + items: + type: object + properties: + _id: + type: string + sw_catalog_path: + type: string + transformation: + type: object + description: + type: string + Ksu: + type: object + properties: + name: + type: string + description: + type: string + profile: + type: object + properties: + id: + type: string + profile_type: + type: string + oka: + type: array + items: + type: object + properties: + _id: + type: string + sw_catalog_path: + type: string + transformation: + type: object + DeleteMultipleKsu: + type: object + properties: + ksus: + type: array + items: + type: object + properties: + _id: + type: string + CloneKsu: + type: object + properties: + name: + type: string + profile: + type: object + properties: + _id: + type: string + profile_type: + type: string + MoveKsu: + type: object + properties: + profile: + type: object + properties: + _id: + type: string + profile_type: + type: string # END SCHEMAS requestBodies: @@ -9948,6 +11995,86 @@ components: application/yaml: schema: $ref: '#/components/schemas/CancelNSLCMOpOccRequest' + CreateCluster: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateClusterInfo' + application/yaml: + schema: + $ref: '#/components/schemas/CreateClusterInfo' + ScaleNode: + content: + application/json: + schema: + $ref: '#/components/schemas/ScaleNodeInfo' + application/yaml: + schema: + $ref: '#/components/schemas/ScaleNodeInfo' + UpgradeCluster: + content: + application/json: + schema: + $ref: '#/components/schemas/UpgradeClusterInfo' + application/yaml: + schema: + $ref: '#/components/schemas/UpgradeClusterInfo' + ProfileInfo: + content: + application/json: + schema: + $ref: '#/components/schemas/ProfileInfo' + application/yaml: + schema: + $ref: '#/components/schemas/ProfileInfo' + AttachDetachProfile: + content: + application/json: + schema: + $ref: '#/components/schemas/AttachDetachProfile' + application/yaml: + schema: + $ref: '#/components/schemas/AttachDetachProfile' + MultipleKsu: + content: + application/json: + schema: + $ref: '#/components/schemas/MultipleKsu' + application/yaml: + schema: + $ref: '#/components/schemas/MultipleKsu' + Ksu: + content: + application/json: + schema: + $ref: '#/components/schemas/Ksu' + application/yaml: + schema: + $ref: '#/components/schemas/Ksu' + DeleteMultipleKsu: + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteMultipleKsu' + application/yaml: + schema: + $ref: '#/components/schemas/DeleteMultipleKsu' + CloneKsu: + content: + application/json: + schema: + $ref: '#/components/schemas/CloneKsu' + application/yaml: + schema: + $ref: '#/components/schemas/CloneKsu' + MoveKsu: + content: + application/json: + schema: + $ref: '#/components/schemas/MoveKsu' + application/yaml: + schema: + $ref: '#/components/schemas/MoveKsu' # END REQUEST BODIES securitySchemes: -- 2.25.1