|
32 | 32 | description: Project APIs |
33 | 33 | - name: cluster |
34 | 34 | description: Cluster APIs |
35 | | - - name: clusterTask |
36 | | - description: Cluster Task APIs |
37 | 35 | - name: instance |
38 | 36 | description: Cluster instance APIs |
39 | 37 | - name: imageRegistry |
@@ -5079,7 +5077,7 @@ paths: |
5079 | 5077 | content: |
5080 | 5078 | application/json: |
5081 | 5079 | schema: |
5082 | | - $ref: '#/components/schemas/clusterTask' |
| 5080 | + $ref: '#/components/schemas/opsRequestName' |
5083 | 5081 | description: Accepted |
5084 | 5082 | '401': |
5085 | 5083 | $ref: '#/components/responses/401' |
@@ -12403,84 +12401,6 @@ paths: |
12403 | 12401 | $ref: '#/components/responses/404' |
12404 | 12402 | '500': |
12405 | 12403 | $ref: '#/components/responses/500' |
12406 | | - /admin/v1/clustertasks: |
12407 | | - get: |
12408 | | - operationId: listClusterTasks |
12409 | | - summary: List cluster tasks |
12410 | | - parameters: |
12411 | | - - description: name of the Org |
12412 | | - in: query |
12413 | | - name: orgName |
12414 | | - schema: |
12415 | | - type: string |
12416 | | - - description: name of the KubeBlocks cluster |
12417 | | - in: query |
12418 | | - name: clusterName |
12419 | | - schema: |
12420 | | - type: string |
12421 | | - - description: You want to check the status of the task. If not passed, all selected by default |
12422 | | - in: query |
12423 | | - name: status |
12424 | | - schema: |
12425 | | - $ref: '#/components/schemas/opsStatus' |
12426 | | - - description: You want to check the type of the task. If not passed, all selected by default |
12427 | | - in: query |
12428 | | - name: clusterTaskType |
12429 | | - schema: |
12430 | | - $ref: '#/components/schemas/opsType' |
12431 | | - responses: |
12432 | | - '200': |
12433 | | - content: |
12434 | | - application/json: |
12435 | | - schema: |
12436 | | - $ref: '#/components/schemas/clusterTaskList' |
12437 | | - description: A successful response. |
12438 | | - '401': |
12439 | | - $ref: '#/components/responses/401' |
12440 | | - '403': |
12441 | | - $ref: '#/components/responses/403' |
12442 | | - tags: |
12443 | | - - clusterTask |
12444 | | - /admin/v1/organizations/{orgName}/clusters/{clusterName}/clustertasks/{taskId}: |
12445 | | - get: |
12446 | | - description: Get cluster task |
12447 | | - summary: Get cluster task |
12448 | | - operationId: getClusterTask |
12449 | | - parameters: |
12450 | | - - description: Organization Name |
12451 | | - in: path |
12452 | | - name: orgName |
12453 | | - required: true |
12454 | | - schema: |
12455 | | - type: string |
12456 | | - - description: Cluster Name |
12457 | | - in: path |
12458 | | - name: clusterName |
12459 | | - required: true |
12460 | | - schema: |
12461 | | - type: string |
12462 | | - - description: Task ID |
12463 | | - in: path |
12464 | | - name: taskId |
12465 | | - required: true |
12466 | | - schema: |
12467 | | - type: string |
12468 | | - responses: |
12469 | | - '200': |
12470 | | - content: |
12471 | | - application/json: |
12472 | | - schema: |
12473 | | - $ref: '#/components/schemas/clusterTask' |
12474 | | - description: Successful operation |
12475 | | - '401': |
12476 | | - $ref: '#/components/responses/401' |
12477 | | - '403': |
12478 | | - $ref: '#/components/responses/403' |
12479 | | - '404': |
12480 | | - $ref: '#/components/responses/404' |
12481 | | - tags: |
12482 | | - - clusterTask |
12483 | | - - shared |
12484 | 12404 | /admin/v1/organizations/{orgName}/cluster/{clusterName}/available-relations: |
12485 | 12405 | get: |
12486 | 12406 | tags: |
@@ -13793,7 +13713,7 @@ paths: |
13793 | 13713 | content: |
13794 | 13714 | application/json: |
13795 | 13715 | schema: |
13796 | | - $ref: '#/components/schemas/clusterTask' |
| 13716 | + $ref: '#/components/schemas/opsRequestName' |
13797 | 13717 | '400': |
13798 | 13718 | $ref: '#/components/responses/400' |
13799 | 13719 | '401': |
@@ -13842,7 +13762,7 @@ paths: |
13842 | 13762 | content: |
13843 | 13763 | application/json: |
13844 | 13764 | schema: |
13845 | | - $ref: '#/components/schemas/clusterTask' |
| 13765 | + $ref: '#/components/schemas/opsRequestName' |
13846 | 13766 | '400': |
13847 | 13767 | $ref: '#/components/responses/400' |
13848 | 13768 | '401': |
@@ -13896,7 +13816,7 @@ paths: |
13896 | 13816 | content: |
13897 | 13817 | application/json: |
13898 | 13818 | schema: |
13899 | | - $ref: '#/components/schemas/clusterTask' |
| 13819 | + $ref: '#/components/schemas/opsRequestName' |
13900 | 13820 | '400': |
13901 | 13821 | $ref: '#/components/responses/400' |
13902 | 13822 | '401': |
@@ -20797,162 +20717,6 @@ components: |
20797 | 20717 | type: object |
20798 | 20718 | $ref: '#/components/schemas/opsParameter' |
20799 | 20719 | type: object |
20800 | | - customOpsTask: |
20801 | | - description: customOpsTask is the information of custom ops task |
20802 | | - properties: |
20803 | | - objectKey: |
20804 | | - description: the pod name |
20805 | | - type: string |
20806 | | - namespace: |
20807 | | - description: namespace of the task |
20808 | | - type: string |
20809 | | - status: |
20810 | | - description: status of the task |
20811 | | - type: string |
20812 | | - targetPodName: |
20813 | | - description: target pod name of the task |
20814 | | - type: string |
20815 | | - retries: |
20816 | | - description: retries of the task |
20817 | | - type: integer |
20818 | | - format: int32 |
20819 | | - type: object |
20820 | | - customOpsTasks: |
20821 | | - description: customOpsTasks is a list of custom ops task. This field is provided when ops is `custom`. |
20822 | | - properties: |
20823 | | - items: |
20824 | | - description: The list of custom ops task. |
20825 | | - items: |
20826 | | - $ref: '#/components/schemas/customOpsTask' |
20827 | | - type: array |
20828 | | - type: object |
20829 | | - clusterTaskProgress: |
20830 | | - description: clusterTaskProgress is the information of the task progress |
20831 | | - properties: |
20832 | | - name: |
20833 | | - description: conponent name |
20834 | | - type: string |
20835 | | - group: |
20836 | | - description: group name |
20837 | | - type: string |
20838 | | - objectKey: |
20839 | | - description: the instance name |
20840 | | - type: string |
20841 | | - nullable: true |
20842 | | - message: |
20843 | | - description: message of the task progress |
20844 | | - type: string |
20845 | | - status: |
20846 | | - description: status of the task progress |
20847 | | - type: string |
20848 | | - startTime: |
20849 | | - description: start time of the task progress |
20850 | | - format: date-time |
20851 | | - type: string |
20852 | | - nullable: true |
20853 | | - endTime: |
20854 | | - description: end time of the task progress |
20855 | | - format: date-time |
20856 | | - type: string |
20857 | | - nullable: true |
20858 | | - customOpsName: |
20859 | | - description: Indicates the name of an OpsAction, Either `objectKey` or `customOpsName` must be provided. This field is provided when ops is `custom`. |
20860 | | - type: string |
20861 | | - nullable: true |
20862 | | - customOpsTasks: |
20863 | | - $ref: '#/components/schemas/customOpsTasks' |
20864 | | - type: object |
20865 | | - clusterTaskProgresses: |
20866 | | - description: clusterTaskProgresses is a list of task progress detail |
20867 | | - properties: |
20868 | | - items: |
20869 | | - description: Items is the list of task progress detail in the list |
20870 | | - items: |
20871 | | - $ref: '#/components/schemas/clusterTaskProgress' |
20872 | | - type: array |
20873 | | - type: object |
20874 | | - clusterTaskDetail: |
20875 | | - type: object |
20876 | | - description: taskCondition is the information of the task condition |
20877 | | - properties: |
20878 | | - reason: |
20879 | | - description: reason of the task condition |
20880 | | - type: string |
20881 | | - type: |
20882 | | - description: type of the task condition |
20883 | | - type: string |
20884 | | - status: |
20885 | | - description: status of the task condition |
20886 | | - type: string |
20887 | | - message: |
20888 | | - description: message of the task condition |
20889 | | - type: string |
20890 | | - lastTransitionTime: |
20891 | | - description: last transition time of the task condition |
20892 | | - format: date-time |
20893 | | - type: string |
20894 | | - clusterTaskDetails: |
20895 | | - description: taskConditions is a list of task condition |
20896 | | - properties: |
20897 | | - items: |
20898 | | - description: Items is the list of task condition in the list |
20899 | | - items: |
20900 | | - $ref: '#/components/schemas/clusterTaskDetail' |
20901 | | - type: array |
20902 | | - type: object |
20903 | | - clusterTask: |
20904 | | - type: object |
20905 | | - description: task is the information of the operation |
20906 | | - required: |
20907 | | - - name |
20908 | | - - namespace |
20909 | | - - status |
20910 | | - - taskType |
20911 | | - - progress |
20912 | | - properties: |
20913 | | - id: |
20914 | | - description: ID of the task |
20915 | | - type: string |
20916 | | - name: |
20917 | | - description: Name of the task |
20918 | | - type: string |
20919 | | - namespace: |
20920 | | - description: Namespace of the task |
20921 | | - type: string |
20922 | | - orgName: |
20923 | | - description: OrgName of the task |
20924 | | - type: string |
20925 | | - clusterName: |
20926 | | - description: ClusterName of the task |
20927 | | - type: string |
20928 | | - status: |
20929 | | - description: status of the task |
20930 | | - type: string |
20931 | | - taskType: |
20932 | | - description: task type |
20933 | | - type: string |
20934 | | - progress: |
20935 | | - description: progress of the task |
20936 | | - type: string |
20937 | | - taskProgresses: |
20938 | | - $ref: '#/components/schemas/clusterTaskProgresses' |
20939 | | - taskDetails: |
20940 | | - $ref: '#/components/schemas/clusterTaskDetails' |
20941 | | - opsLog: |
20942 | | - description: pod log of the custom task |
20943 | | - type: string |
20944 | | - description: |
20945 | | - description: description of the custom task |
20946 | | - type: string |
20947 | | - startTime: |
20948 | | - type: string |
20949 | | - format: date-time |
20950 | | - description: Time when the task started |
20951 | | - completionTime: |
20952 | | - type: string |
20953 | | - format: date-time |
20954 | | - description: Time when the task completed or failed |
20955 | | - nullable: true |
20956 | 20720 | opsIoQuotas: |
20957 | 20721 | description: IO Quotas describes IOPS and BPS for volumes of a KubeBlocks cluster |
20958 | 20722 | properties: |
@@ -27855,44 +27619,6 @@ components: |
27855 | 27619 | $ref: '#/components/schemas/taskSchedule' |
27856 | 27620 | description: Scheduled execution configuration |
27857 | 27621 | x-nullable: true |
27858 | | - opsStatus: |
27859 | | - enum: |
27860 | | - - Pending |
27861 | | - - Creating |
27862 | | - - Running |
27863 | | - - Cancelling |
27864 | | - - Succeed |
27865 | | - - Cancelled |
27866 | | - - Failed |
27867 | | - - Aborted |
27868 | | - type: string |
27869 | | - opsType: |
27870 | | - enum: |
27871 | | - - VerticalScaling |
27872 | | - - HorizontalScaling |
27873 | | - - VolumeExpansion |
27874 | | - - Upgrade |
27875 | | - - Reconfiguring |
27876 | | - - Switchover |
27877 | | - - Restart |
27878 | | - - Stop |
27879 | | - - Start |
27880 | | - - Expose |
27881 | | - - Backup |
27882 | | - - Restore |
27883 | | - - RebuildInstance |
27884 | | - - Custom |
27885 | | - - UpdateLicense |
27886 | | - type: string |
27887 | | - clusterTaskList: |
27888 | | - description: TaskList is a list of operation task objects |
27889 | | - properties: |
27890 | | - items: |
27891 | | - description: Items is the list of operation task objects in the list |
27892 | | - items: |
27893 | | - $ref: '#/components/schemas/clusterTask' |
27894 | | - type: array |
27895 | | - type: object |
27896 | 27622 | availableClusterList: |
27897 | 27623 | type: array |
27898 | 27624 | items: |
@@ -30204,7 +29930,6 @@ x-tagGroups: |
30204 | 29930 | - database |
30205 | 29931 | - recycleBinCluster |
30206 | 29932 | - relation |
30207 | | - - clusterTask |
30208 | 29933 | - name: License |
30209 | 29934 | tags: |
30210 | 29935 | - license |
|
0 commit comments