kb-cloud-client-typescript 0.0.0-refactor-remove-optional-components.20261111.642 → 0.0.0-refactor-remove-optional-components.20261111.1053

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/dist/adminapi/apis/dms-api.d.ts +113 -0
  2. package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/dms-api.js +108 -0
  4. package/dist/adminapi/apis/dms-api.js.map +1 -1
  5. package/dist/adminapi/apis/environment-api.d.ts +5 -5
  6. package/dist/adminapi/apis/environment-api.js +4 -4
  7. package/dist/adminapi/apis/shared-api.d.ts +113 -0
  8. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  9. package/dist/adminapi/apis/shared-api.js +108 -0
  10. package/dist/adminapi/apis/shared-api.js.map +1 -1
  11. package/dist/adminapi/apis/vip-pool-api.d.ts +65 -0
  12. package/dist/adminapi/apis/vip-pool-api.d.ts.map +1 -1
  13. package/dist/adminapi/apis/vip-pool-api.js +75 -0
  14. package/dist/adminapi/apis/vip-pool-api.js.map +1 -1
  15. package/dist/adminapi/models/component-item-create.d.ts +2 -2
  16. package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
  17. package/dist/adminapi/models/dms-audit-list.d.ts +32 -0
  18. package/dist/adminapi/models/dms-audit-list.d.ts.map +1 -0
  19. package/dist/adminapi/models/dms-audit-list.js +16 -0
  20. package/dist/adminapi/models/dms-audit-list.js.map +1 -0
  21. package/dist/adminapi/models/dms-audit-risk.d.ts +25 -0
  22. package/dist/adminapi/models/dms-audit-risk.d.ts.map +1 -0
  23. package/dist/adminapi/models/dms-audit-risk.js +29 -0
  24. package/dist/adminapi/models/dms-audit-risk.js.map +1 -0
  25. package/dist/adminapi/models/dms-audit-statement.d.ts +93 -0
  26. package/dist/adminapi/models/dms-audit-statement.d.ts.map +1 -0
  27. package/dist/adminapi/models/dms-audit-statement.js +16 -0
  28. package/dist/adminapi/models/dms-audit-statement.js.map +1 -0
  29. package/dist/adminapi/models/dms-audit-status.d.ts +23 -0
  30. package/dist/adminapi/models/dms-audit-status.d.ts.map +1 -0
  31. package/dist/adminapi/models/dms-audit-status.js +27 -0
  32. package/dist/adminapi/models/dms-audit-status.js.map +1 -0
  33. package/dist/adminapi/models/dms-audit.d.ts +154 -0
  34. package/dist/adminapi/models/dms-audit.d.ts.map +1 -0
  35. package/dist/adminapi/models/dms-audit.js +16 -0
  36. package/dist/adminapi/models/dms-audit.js.map +1 -0
  37. package/dist/adminapi/models/dms-option.d.ts +1 -1
  38. package/dist/adminapi/models/environment-module-action.d.ts +2 -1
  39. package/dist/adminapi/models/environment-module-action.d.ts.map +1 -1
  40. package/dist/adminapi/models/environment-module-action.js +3 -2
  41. package/dist/adminapi/models/environment-module-action.js.map +1 -1
  42. package/dist/adminapi/models/environment-module-status.d.ts +2 -0
  43. package/dist/adminapi/models/environment-module-status.d.ts.map +1 -1
  44. package/dist/adminapi/models/environment-module-status.js +2 -0
  45. package/dist/adminapi/models/environment-module-status.js.map +1 -1
  46. package/dist/adminapi/models/environment-module-update.d.ts +1 -1
  47. package/dist/adminapi/models/environment-module.d.ts +12 -0
  48. package/dist/adminapi/models/environment-module.d.ts.map +1 -1
  49. package/dist/adminapi/models/index.d.ts +8 -0
  50. package/dist/adminapi/models/index.d.ts.map +1 -1
  51. package/dist/adminapi/models/index.js +8 -0
  52. package/dist/adminapi/models/index.js.map +1 -1
  53. package/dist/adminapi/models/vip-port-check-request.d.ts +31 -0
  54. package/dist/adminapi/models/vip-port-check-request.d.ts.map +1 -0
  55. package/dist/adminapi/models/vip-port-check-request.js +16 -0
  56. package/dist/adminapi/models/vip-port-check-request.js.map +1 -0
  57. package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.d.ts +31 -0
  58. package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.d.ts.map +1 -0
  59. package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.js +16 -0
  60. package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.js.map +1 -0
  61. package/dist/adminapi/models/vip-port-check-result.d.ts +38 -0
  62. package/dist/adminapi/models/vip-port-check-result.d.ts.map +1 -0
  63. package/dist/adminapi/models/vip-port-check-result.js +16 -0
  64. package/dist/adminapi/models/vip-port-check-result.js.map +1 -0
  65. package/dist/internalapi/apis/environment-api.d.ts +101 -0
  66. package/dist/internalapi/apis/environment-api.d.ts.map +1 -1
  67. package/dist/internalapi/apis/environment-api.js +98 -1
  68. package/dist/internalapi/apis/environment-api.js.map +1 -1
  69. package/dist/openapi/apis/dms-api.d.ts +113 -0
  70. package/dist/openapi/apis/dms-api.d.ts.map +1 -1
  71. package/dist/openapi/apis/dms-api.js +108 -0
  72. package/dist/openapi/apis/dms-api.js.map +1 -1
  73. package/dist/openapi/apis/shared-api.d.ts +113 -0
  74. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  75. package/dist/openapi/apis/shared-api.js +108 -0
  76. package/dist/openapi/apis/shared-api.js.map +1 -1
  77. package/dist/openapi/apis/vip-pool-api.d.ts +65 -0
  78. package/dist/openapi/apis/vip-pool-api.d.ts.map +1 -1
  79. package/dist/openapi/apis/vip-pool-api.js +75 -0
  80. package/dist/openapi/apis/vip-pool-api.js.map +1 -1
  81. package/dist/openapi/models/component-item-create.d.ts +2 -2
  82. package/dist/openapi/models/component-item-create.d.ts.map +1 -1
  83. package/dist/openapi/models/dms-audit-list.d.ts +32 -0
  84. package/dist/openapi/models/dms-audit-list.d.ts.map +1 -0
  85. package/dist/openapi/models/dms-audit-list.js +16 -0
  86. package/dist/openapi/models/dms-audit-list.js.map +1 -0
  87. package/dist/openapi/models/dms-audit-risk.d.ts +25 -0
  88. package/dist/openapi/models/dms-audit-risk.d.ts.map +1 -0
  89. package/dist/openapi/models/dms-audit-risk.js +29 -0
  90. package/dist/openapi/models/dms-audit-risk.js.map +1 -0
  91. package/dist/openapi/models/dms-audit-statement.d.ts +93 -0
  92. package/dist/openapi/models/dms-audit-statement.d.ts.map +1 -0
  93. package/dist/openapi/models/dms-audit-statement.js +16 -0
  94. package/dist/openapi/models/dms-audit-statement.js.map +1 -0
  95. package/dist/openapi/models/dms-audit-status.d.ts +23 -0
  96. package/dist/openapi/models/dms-audit-status.d.ts.map +1 -0
  97. package/dist/openapi/models/dms-audit-status.js +27 -0
  98. package/dist/openapi/models/dms-audit-status.js.map +1 -0
  99. package/dist/openapi/models/dms-audit.d.ts +154 -0
  100. package/dist/openapi/models/dms-audit.d.ts.map +1 -0
  101. package/dist/openapi/models/dms-audit.js +16 -0
  102. package/dist/openapi/models/dms-audit.js.map +1 -0
  103. package/dist/openapi/models/dms-option.d.ts +1 -1
  104. package/dist/openapi/models/environment-module-status.d.ts +2 -0
  105. package/dist/openapi/models/environment-module-status.d.ts.map +1 -1
  106. package/dist/openapi/models/environment-module-status.js +2 -0
  107. package/dist/openapi/models/environment-module-status.js.map +1 -1
  108. package/dist/openapi/models/environment-module.d.ts +12 -0
  109. package/dist/openapi/models/environment-module.d.ts.map +1 -1
  110. package/dist/openapi/models/index.d.ts +8 -0
  111. package/dist/openapi/models/index.d.ts.map +1 -1
  112. package/dist/openapi/models/index.js +8 -0
  113. package/dist/openapi/models/index.js.map +1 -1
  114. package/dist/openapi/models/vip-port-check-request.d.ts +31 -0
  115. package/dist/openapi/models/vip-port-check-request.d.ts.map +1 -0
  116. package/dist/openapi/models/vip-port-check-request.js +16 -0
  117. package/dist/openapi/models/vip-port-check-request.js.map +1 -0
  118. package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.d.ts +31 -0
  119. package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.d.ts.map +1 -0
  120. package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.js +16 -0
  121. package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.js.map +1 -0
  122. package/dist/openapi/models/vip-port-check-result.d.ts +38 -0
  123. package/dist/openapi/models/vip-port-check-result.d.ts.map +1 -0
  124. package/dist/openapi/models/vip-port-check-result.js +16 -0
  125. package/dist/openapi/models/vip-port-check-result.js.map +1 -0
  126. package/package.json +1 -1
  127. package/src/adminapi/.openapi-generator/FILES +8 -0
  128. package/src/adminapi/apis/dms-api.ts +198 -0
  129. package/src/adminapi/apis/environment-api.ts +5 -5
  130. package/src/adminapi/apis/shared-api.ts +198 -0
  131. package/src/adminapi/apis/vip-pool-api.ts +118 -0
  132. package/src/adminapi/models/component-item-create.ts +2 -2
  133. package/src/adminapi/models/dms-audit-list.ts +39 -0
  134. package/src/adminapi/models/dms-audit-risk.ts +34 -0
  135. package/src/adminapi/models/dms-audit-statement.ts +104 -0
  136. package/src/adminapi/models/dms-audit-status.ts +32 -0
  137. package/src/adminapi/models/dms-audit.ts +167 -0
  138. package/src/adminapi/models/dms-option.ts +1 -1
  139. package/src/adminapi/models/environment-module-action.ts +3 -2
  140. package/src/adminapi/models/environment-module-status.ts +2 -0
  141. package/src/adminapi/models/environment-module-update.ts +1 -1
  142. package/src/adminapi/models/environment-module.ts +12 -0
  143. package/src/adminapi/models/index.ts +8 -0
  144. package/src/adminapi/models/vip-port-check-request.ts +36 -0
  145. package/src/adminapi/models/vip-port-check-result-occupied-ports-inner.ts +36 -0
  146. package/src/adminapi/models/vip-port-check-result.ts +45 -0
  147. package/src/adminapi.yaml +291 -5
  148. package/src/internalapi/apis/environment-api.ts +159 -0
  149. package/src/internalapi.yaml +64 -18
  150. package/src/openapi/.openapi-generator/FILES +8 -0
  151. package/src/openapi/apis/dms-api.ts +198 -0
  152. package/src/openapi/apis/shared-api.ts +198 -0
  153. package/src/openapi/apis/vip-pool-api.ts +118 -0
  154. package/src/openapi/models/component-item-create.ts +2 -2
  155. package/src/openapi/models/dms-audit-list.ts +39 -0
  156. package/src/openapi/models/dms-audit-risk.ts +34 -0
  157. package/src/openapi/models/dms-audit-statement.ts +104 -0
  158. package/src/openapi/models/dms-audit-status.ts +32 -0
  159. package/src/openapi/models/dms-audit.ts +167 -0
  160. package/src/openapi/models/dms-option.ts +1 -1
  161. package/src/openapi/models/environment-module-status.ts +2 -0
  162. package/src/openapi/models/environment-module.ts +12 -0
  163. package/src/openapi/models/index.ts +8 -0
  164. package/src/openapi/models/vip-port-check-request.ts +36 -0
  165. package/src/openapi/models/vip-port-check-result-occupied-ports-inner.ts +36 -0
  166. package/src/openapi/models/vip-port-check-result.ts +45 -0
  167. package/src/openapi.yaml +286 -3
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ * A port already used on the VIP
19
+ * @export
20
+ * @interface VipPortCheckResultOccupiedPortsInner
21
+ */
22
+ export interface VipPortCheckResultOccupiedPortsInner {
23
+ /**
24
+ * Port number
25
+ * @type {number}
26
+ * @memberof VipPortCheckResultOccupiedPortsInner
27
+ */
28
+ 'port': number;
29
+ /**
30
+ * Port protocol
31
+ * @type {string}
32
+ * @memberof VipPortCheckResultOccupiedPortsInner
33
+ */
34
+ 'protocol': string;
35
+ }
36
+
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { VipPortCheckResultOccupiedPortsInner } from './vip-port-check-result-occupied-ports-inner';
19
+
20
+ /**
21
+ * VIP port check result
22
+ * @export
23
+ * @interface VipPortCheckResult
24
+ */
25
+ export interface VipPortCheckResult {
26
+ /**
27
+ * Requested ports that are already in use
28
+ * @type {Array<number>}
29
+ * @memberof VipPortCheckResult
30
+ */
31
+ 'conflicts'?: Array<number>;
32
+ /**
33
+ * Checked VIP address
34
+ * @type {string}
35
+ * @memberof VipPortCheckResult
36
+ */
37
+ 'ip': string;
38
+ /**
39
+ * Ports already used on the VIP. Resource ownership details are intentionally omitted.
40
+ * @type {Array<VipPortCheckResultOccupiedPortsInner>}
41
+ * @memberof VipPortCheckResult
42
+ */
43
+ 'occupiedPorts': Array<VipPortCheckResultOccupiedPortsInner>;
44
+ }
45
+
package/src/adminapi.yaml CHANGED
@@ -7014,6 +7014,65 @@ paths:
7014
7014
  tags:
7015
7015
  - databaseParameters
7016
7016
  x-codegen-request-body-name: body
7017
+ /admin/v1/organizations/{orgName}/clusters/{clusterName}/dms/audits:
7018
+ get:
7019
+ tags:
7020
+ - dms
7021
+ - shared
7022
+ operationId: listDMSAudit
7023
+ summary: List independent DMS audit records
7024
+ description: Only organization administrators and authorized admin-portal users can read these records.
7025
+ parameters:
7026
+ - name: orgName
7027
+ in: path
7028
+ required: true
7029
+ schema:
7030
+ type: string
7031
+ - name: clusterName
7032
+ in: path
7033
+ required: true
7034
+ schema:
7035
+ type: string
7036
+ - name: offset
7037
+ in: query
7038
+ schema:
7039
+ type: integer
7040
+ minimum: 0
7041
+ default: 0
7042
+ - name: limit
7043
+ in: query
7044
+ schema:
7045
+ type: integer
7046
+ minimum: 1
7047
+ maximum: 100
7048
+ default: 20
7049
+ - name: userName
7050
+ in: query
7051
+ schema:
7052
+ type: string
7053
+ - name: status
7054
+ in: query
7055
+ schema:
7056
+ $ref: '#/components/schemas/dmsAuditStatus'
7057
+ - name: from
7058
+ in: query
7059
+ schema:
7060
+ type: string
7061
+ format: date-time
7062
+ - name: to
7063
+ in: query
7064
+ schema:
7065
+ type: string
7066
+ format: date-time
7067
+ responses:
7068
+ '200':
7069
+ description: Audit records, ordered by newest first.
7070
+ content:
7071
+ application/json:
7072
+ schema:
7073
+ $ref: '#/components/schemas/dmsAuditList'
7074
+ '403':
7075
+ $ref: '#/components/responses/403'
7017
7076
  /admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}:
7018
7077
  get:
7019
7078
  tags:
@@ -13588,6 +13647,39 @@ paths:
13588
13647
  tags:
13589
13648
  - vipPool
13590
13649
  x-codegen-request-body-name: body
13650
+ /admin/v1/environments/{environmentName}/loadbalancer/vipPool/checkPorts:
13651
+ post:
13652
+ operationId: checkVIPPorts
13653
+ summary: Check whether ports are already used on a VIP
13654
+ parameters:
13655
+ - description: name of the environment
13656
+ in: path
13657
+ name: environmentName
13658
+ required: true
13659
+ schema:
13660
+ type: string
13661
+ requestBody:
13662
+ content:
13663
+ application/json:
13664
+ schema:
13665
+ $ref: '#/components/schemas/vipPortCheckRequest'
13666
+ required: true
13667
+ responses:
13668
+ '200':
13669
+ content:
13670
+ application/json:
13671
+ schema:
13672
+ $ref: '#/components/schemas/vipPortCheckResult'
13673
+ description: A successful response.
13674
+ '400':
13675
+ $ref: '#/components/responses/400'
13676
+ '403':
13677
+ $ref: '#/components/responses/403'
13678
+ '404':
13679
+ $ref: '#/components/responses/404'
13680
+ tags:
13681
+ - vipPool
13682
+ x-codegen-request-body-name: body
13591
13683
  /admin/v1/environments/{environmentName}/loadbalancer/vipPool/{poolID}:
13592
13684
  delete:
13593
13685
  operationId: deleteVIPPool
@@ -20641,7 +20733,7 @@ paths:
20641
20733
  patch:
20642
20734
  operationId: updateEnvironmentModule
20643
20735
  summary: Update an environment module
20644
- description: Performs the requested module action. Supported quick install and upgrade actions use dryRun=true for synchronous checks without changes; dryRun=false or omitted repeats the checks and submits an asynchronous task only when all checks pass. Other module actions keep their original behavior.
20736
+ description: Performs the requested module action. Supported install, upgrade, and uninstall actions use dryRun=true for synchronous checks without changes; dryRun=false or omitted repeats the checks and submits an asynchronous task only when all checks pass. Failed uninstall tasks reuse their original resource snapshot on retry. Other module actions keep their original behavior.
20645
20737
  parameters:
20646
20738
  - name: environmentName
20647
20739
  in: path
@@ -35141,9 +35233,7 @@ components:
35141
35233
  replicas:
35142
35234
  title: Replicas
35143
35235
  type: integer
35144
- minimum: 1
35145
- x-nullable: true
35146
- description: Omit to use the cluster chart default. When instanceTemplates is provided, this must equal the sum of all template replica counts.
35236
+ description: The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3. When instanceTemplates is provided, this must equal the sum of all template replica counts.
35147
35237
  instanceTemplates:
35148
35238
  type: array
35149
35239
  minItems: 1
@@ -37495,6 +37585,143 @@ components:
37495
37585
  deprecated:
37496
37586
  description: which version the parameter is deprecated
37497
37587
  type: string
37588
+ dmsAuditStatus:
37589
+ type: string
37590
+ enum:
37591
+ - success
37592
+ - failed
37593
+ - unknown
37594
+ dmsAuditRisk:
37595
+ type: string
37596
+ enum:
37597
+ - unknown
37598
+ - read_only
37599
+ - ddl
37600
+ - dml
37601
+ - high
37602
+ dmsAuditStatement:
37603
+ type: object
37604
+ required:
37605
+ - sequence
37606
+ - statement
37607
+ - database
37608
+ - tableNames
37609
+ - risk
37610
+ - status
37611
+ - errorMessage
37612
+ properties:
37613
+ sequence:
37614
+ type: integer
37615
+ statement:
37616
+ type: string
37617
+ database:
37618
+ type: string
37619
+ tableNames:
37620
+ type: array
37621
+ items:
37622
+ type: string
37623
+ sessionId:
37624
+ type: string
37625
+ risk:
37626
+ $ref: '#/components/schemas/dmsAuditRisk'
37627
+ status:
37628
+ $ref: '#/components/schemas/dmsAuditStatus'
37629
+ errorMessage:
37630
+ type: string
37631
+ durationMs:
37632
+ type: integer
37633
+ format: int64
37634
+ rowsAffected:
37635
+ type: integer
37636
+ format: int64
37637
+ startedAt:
37638
+ type: string
37639
+ format: date-time
37640
+ finishedAt:
37641
+ type: string
37642
+ format: date-time
37643
+ dmsAudit:
37644
+ type: object
37645
+ required:
37646
+ - id
37647
+ - orgName
37648
+ - clusterId
37649
+ - clusterName
37650
+ - userName
37651
+ - engine
37652
+ - database
37653
+ - operation
37654
+ - statement
37655
+ - status
37656
+ - createdAt
37657
+ properties:
37658
+ id:
37659
+ type: string
37660
+ orgName:
37661
+ type: string
37662
+ clusterId:
37663
+ type: string
37664
+ clusterName:
37665
+ type: string
37666
+ datasourceId:
37667
+ type: string
37668
+ userId:
37669
+ type: string
37670
+ description: Absent for migrated history with unknown actor.
37671
+ userName:
37672
+ type: string
37673
+ engine:
37674
+ type: string
37675
+ database:
37676
+ type: string
37677
+ operation:
37678
+ type: string
37679
+ statement:
37680
+ type: string
37681
+ clientIp:
37682
+ type: string
37683
+ sessionId:
37684
+ type: string
37685
+ description: Native database session ID; see individual statements when a batch uses multiple connections.
37686
+ risk:
37687
+ $ref: '#/components/schemas/dmsAuditRisk'
37688
+ tableNames:
37689
+ type: array
37690
+ items:
37691
+ type: string
37692
+ errorMessage:
37693
+ type: string
37694
+ rowsAffected:
37695
+ type: integer
37696
+ format: int64
37697
+ statements:
37698
+ type: array
37699
+ items:
37700
+ $ref: '#/components/schemas/dmsAuditStatement'
37701
+ status:
37702
+ $ref: '#/components/schemas/dmsAuditStatus'
37703
+ createdAt:
37704
+ type: string
37705
+ format: date-time
37706
+ finishedAt:
37707
+ type: string
37708
+ format: date-time
37709
+ durationMs:
37710
+ type: integer
37711
+ format: int64
37712
+ dmsAuditList:
37713
+ type: object
37714
+ required:
37715
+ - items
37716
+ - total
37717
+ properties:
37718
+ items:
37719
+ type: array
37720
+ items:
37721
+ $ref: '#/components/schemas/dmsAudit'
37722
+ total:
37723
+ type: integer
37724
+ format: int64
37498
37725
  datasource:
37499
37726
  required:
37500
37727
  - type
@@ -41298,6 +41525,8 @@ components:
41298
41525
  - Upgradeable
41299
41526
  - Upgrading
41300
41527
  - UpgradeFailed
41528
+ - Uninstalling
41529
+ - UninstallationFailed
41301
41530
  - Unknown
41302
41531
  clusterInfo:
41303
41532
  type: object
@@ -41351,6 +41580,12 @@ components:
41351
41580
  actionWarning:
41352
41581
  $ref: '#/components/schemas/localizedDescription'
41353
41582
  description: Localized business-impact warning for the component action represented by the current status.
41583
+ uninstallSupported:
41584
+ type: boolean
41585
+ description: Whether the module supports the Uninstall action. A dry run checks whether it is currently safe to uninstall.
41586
+ uninstallWarning:
41587
+ $ref: '#/components/schemas/localizedDescription'
41588
+ description: Localized warning about resources and data removed by uninstallation.
41354
41589
  required:
41355
41590
  - name
41356
41591
  - status
@@ -42486,6 +42721,54 @@ components:
42486
42721
  - addresses
42487
42722
  - poolName
42488
42723
  type: object
42724
+ vipPortCheckRequest:
42725
+ description: VIP port check request
42726
+ properties:
42727
+ ip:
42728
+ description: VIP address to check
42729
+ type: string
42730
+ ports:
42731
+ description: TCP ports to check. When empty, only the occupied ports are returned.
42732
+ items:
42733
+ format: int32
42734
+ type: integer
42735
+ type: array
42736
+ required:
42737
+ - ip
42738
+ type: object
42739
+ vipPortCheckResult:
42740
+ description: VIP port check result
42741
+ properties:
42742
+ conflicts:
42743
+ description: Requested ports that are already in use
42744
+ items:
42745
+ format: int32
42746
+ type: integer
42747
+ type: array
42748
+ ip:
42749
+ description: Checked VIP address
42750
+ type: string
42751
+ occupiedPorts:
42752
+ description: Ports already used on the VIP. Resource ownership details are intentionally omitted.
42753
+ items:
42754
+ description: A port already used on the VIP
42755
+ properties:
42756
+ port:
42757
+ description: Port number
42758
+ format: int32
42759
+ type: integer
42760
+ protocol:
42761
+ description: Port protocol
42762
+ type: string
42763
+ required:
42764
+ - port
42765
+ - protocol
42766
+ type: object
42767
+ type: array
42768
+ required:
42769
+ - ip
42770
+ - occupiedPorts
42771
+ type: object
42489
42772
  vipPoolUpdate:
42490
42773
  description: VIP Pool update
42491
42774
  properties:
@@ -45304,6 +45587,7 @@ components:
45304
45587
  type: string
45305
45588
  feature:
45306
45589
  type: object
45590
+ description: 'Engine capabilities and audit policy. auditSensitiveColumns is an array of case-insensitive sensitive column names; auditHighRiskStatements is an array of engine-specific rules: SQL keyword prefixes, Redis command/subcommand prefixes (FLUSHALL, CONFIG SET), or MongoDB command names (dropDatabase, delete, dropIndexes, $out). MongoDB shell helpers map to native command names; dynamic scripts may remain unclassified. Built-in credential redaction always applies.'
45307
45591
  additionalProperties: {}
45308
45592
  defaultAccount:
45309
45593
  type: string
@@ -49630,10 +49914,12 @@ components:
49630
49914
  - Enable: Enable the module
49631
49915
  - Disable: Disable the module
49632
49916
  - Upgrade: Upgrade the module
49917
+ - Uninstall: Remove the module and its dedicated resources. Read uninstallWarning and run a dry run before confirmation.
49633
49918
  enum:
49634
49919
  - Enable
49635
49920
  - Disable
49636
49921
  - Upgrade
49922
+ - Uninstall
49637
49923
  environmentModuleUpdate:
49638
49924
  type: object
49639
49925
  description: Update information for an environment module
@@ -49646,7 +49932,7 @@ components:
49646
49932
  dryRun:
49647
49933
  type: boolean
49648
49934
  default: false
49649
- description: For a supported quick install or upgrade action, only run synchronous checks when true. When false or omitted, repeat the checks and submit the asynchronous task if all checks pass.
49935
+ description: For a supported install, upgrade, or uninstall action, only run synchronous checks when true. When false or omitted, repeat the checks and submit the asynchronous task if all checks pass.
49650
49936
  required:
49651
49937
  - name
49652
49938
  - action
@@ -69,6 +69,66 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
69
69
  options: localVarRequestOptions,
70
70
  };
71
71
  },
72
+ /**
73
+ *
74
+ * @summary Execute a persisted module uninstall step
75
+ * @param {string} environmentName
76
+ * @param {string} moduleName
77
+ * @param {ExecuteEnvironmentModuleUninstallStageEnum} stage
78
+ * @param {{ [key: string]: any; }} requestBody
79
+ * @param {string} [uid]
80
+ * @param {*} [options] Override http request option.
81
+ * @throws {RequiredError}
82
+ */
83
+ executeEnvironmentModuleUninstall: async (environmentName: string, moduleName: string, stage: ExecuteEnvironmentModuleUninstallStageEnum, requestBody: { [key: string]: any; }, uid?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
84
+ // verify required parameter 'environmentName' is not null or undefined
85
+ assertParamExists('executeEnvironmentModuleUninstall', 'environmentName', environmentName)
86
+ // verify required parameter 'moduleName' is not null or undefined
87
+ assertParamExists('executeEnvironmentModuleUninstall', 'moduleName', moduleName)
88
+ // verify required parameter 'stage' is not null or undefined
89
+ assertParamExists('executeEnvironmentModuleUninstall', 'stage', stage)
90
+ // verify required parameter 'requestBody' is not null or undefined
91
+ assertParamExists('executeEnvironmentModuleUninstall', 'requestBody', requestBody)
92
+ const localVarPath = `/internal/v1/environments/{environmentName}/modules/{moduleName}/uninstall`
93
+ .replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)))
94
+ .replace(`{${"moduleName"}}`, encodeURIComponent(String(moduleName)));
95
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
96
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
97
+ let baseOptions;
98
+ if (configuration) {
99
+ baseOptions = configuration.baseOptions;
100
+ }
101
+
102
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
103
+ const localVarHeaderParameter = {} as any;
104
+ const localVarQueryParameter = {} as any;
105
+
106
+ // authentication BasicAuth required
107
+ // http basic authentication required
108
+ setBasicAuthToObject(localVarRequestOptions, configuration)
109
+
110
+ if (stage !== undefined) {
111
+ localVarQueryParameter['stage'] = stage;
112
+ }
113
+
114
+ if (uid !== undefined) {
115
+ localVarQueryParameter['uid'] = uid;
116
+ }
117
+
118
+
119
+
120
+ localVarHeaderParameter['Content-Type'] = 'application/json';
121
+
122
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
123
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
124
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
125
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
126
+
127
+ return {
128
+ url: toPathString(localVarUrlObj),
129
+ options: localVarRequestOptions,
130
+ };
131
+ },
72
132
  /**
73
133
  *
74
134
  * @summary Get environment kubeconfig
@@ -183,6 +243,23 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
183
243
  const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.deleteEnvironment']?.[localVarOperationServerIndex]?.url;
184
244
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
185
245
  },
246
+ /**
247
+ *
248
+ * @summary Execute a persisted module uninstall step
249
+ * @param {string} environmentName
250
+ * @param {string} moduleName
251
+ * @param {ExecuteEnvironmentModuleUninstallStageEnum} stage
252
+ * @param {{ [key: string]: any; }} requestBody
253
+ * @param {string} [uid]
254
+ * @param {*} [options] Override http request option.
255
+ * @throws {RequiredError}
256
+ */
257
+ async executeEnvironmentModuleUninstall(environmentName: string, moduleName: string, stage: ExecuteEnvironmentModuleUninstallStageEnum, requestBody: { [key: string]: any; }, uid?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
258
+ const localVarAxiosArgs = await localVarAxiosParamCreator.executeEnvironmentModuleUninstall(environmentName, moduleName, stage, requestBody, uid, options);
259
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
260
+ const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.executeEnvironmentModuleUninstall']?.[localVarOperationServerIndex]?.url;
261
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
262
+ },
186
263
  /**
187
264
  *
188
265
  * @summary Get environment kubeconfig
@@ -232,6 +309,16 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
232
309
  deleteEnvironment(requestParameters: EnvironmentApiDeleteEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
233
310
  return localVarFp.deleteEnvironment(requestParameters.environmentName, options).then((request) => request(axios, basePath));
234
311
  },
312
+ /**
313
+ *
314
+ * @summary Execute a persisted module uninstall step
315
+ * @param {EnvironmentApiExecuteEnvironmentModuleUninstallRequest} requestParameters Request parameters.
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ */
319
+ executeEnvironmentModuleUninstall(requestParameters: EnvironmentApiExecuteEnvironmentModuleUninstallRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
320
+ return localVarFp.executeEnvironmentModuleUninstall(requestParameters.environmentName, requestParameters.moduleName, requestParameters.stage, requestParameters.requestBody, requestParameters.uid, options).then((request) => request(axios, basePath));
321
+ },
235
322
  /**
236
323
  *
237
324
  * @summary Get environment kubeconfig
@@ -271,6 +358,16 @@ export interface EnvironmentApiInterface {
271
358
  */
272
359
  deleteEnvironment(requestParameters: EnvironmentApiDeleteEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
273
360
 
361
+ /**
362
+ *
363
+ * @summary Execute a persisted module uninstall step
364
+ * @param {EnvironmentApiExecuteEnvironmentModuleUninstallRequest} requestParameters Request parameters.
365
+ * @param {*} [options] Override http request option.
366
+ * @throws {RequiredError}
367
+ * @memberof EnvironmentApiInterface
368
+ */
369
+ executeEnvironmentModuleUninstall(requestParameters: EnvironmentApiExecuteEnvironmentModuleUninstallRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
370
+
274
371
  /**
275
372
  *
276
373
  * @summary Get environment kubeconfig
@@ -307,6 +404,48 @@ export interface EnvironmentApiDeleteEnvironmentRequest {
307
404
  readonly environmentName: string
308
405
  }
309
406
 
407
+ /**
408
+ * Request parameters for executeEnvironmentModuleUninstall operation in EnvironmentApi.
409
+ * @export
410
+ * @interface EnvironmentApiExecuteEnvironmentModuleUninstallRequest
411
+ */
412
+ export interface EnvironmentApiExecuteEnvironmentModuleUninstallRequest {
413
+ /**
414
+ *
415
+ * @type {string}
416
+ * @memberof EnvironmentApiExecuteEnvironmentModuleUninstall
417
+ */
418
+ readonly environmentName: string
419
+
420
+ /**
421
+ *
422
+ * @type {string}
423
+ * @memberof EnvironmentApiExecuteEnvironmentModuleUninstall
424
+ */
425
+ readonly moduleName: string
426
+
427
+ /**
428
+ *
429
+ * @type {'detach' | 'delete'}
430
+ * @memberof EnvironmentApiExecuteEnvironmentModuleUninstall
431
+ */
432
+ readonly stage: ExecuteEnvironmentModuleUninstallStageEnum
433
+
434
+ /**
435
+ *
436
+ * @type {{ [key: string]: any; }}
437
+ * @memberof EnvironmentApiExecuteEnvironmentModuleUninstall
438
+ */
439
+ readonly requestBody: { [key: string]: any; }
440
+
441
+ /**
442
+ *
443
+ * @type {string}
444
+ * @memberof EnvironmentApiExecuteEnvironmentModuleUninstall
445
+ */
446
+ readonly uid?: string
447
+ }
448
+
310
449
  /**
311
450
  * Request parameters for getEnvironmentKubeconfigInternal operation in EnvironmentApi.
312
451
  * @export
@@ -375,6 +514,18 @@ export class EnvironmentApi extends BaseAPI implements EnvironmentApiInterface {
375
514
  return EnvironmentApiFp(this.configuration).deleteEnvironment(requestParameters.environmentName, options).then((request) => request(this.axios, this.basePath));
376
515
  }
377
516
 
517
+ /**
518
+ *
519
+ * @summary Execute a persisted module uninstall step
520
+ * @param {EnvironmentApiExecuteEnvironmentModuleUninstallRequest} requestParameters Request parameters.
521
+ * @param {*} [options] Override http request option.
522
+ * @throws {RequiredError}
523
+ * @memberof EnvironmentApi
524
+ */
525
+ public executeEnvironmentModuleUninstall(requestParameters: EnvironmentApiExecuteEnvironmentModuleUninstallRequest, options?: RawAxiosRequestConfig) {
526
+ return EnvironmentApiFp(this.configuration).executeEnvironmentModuleUninstall(requestParameters.environmentName, requestParameters.moduleName, requestParameters.stage, requestParameters.requestBody, requestParameters.uid, options).then((request) => request(this.axios, this.basePath));
527
+ }
528
+
378
529
  /**
379
530
  *
380
531
  * @summary Get environment kubeconfig
@@ -400,3 +551,11 @@ export class EnvironmentApi extends BaseAPI implements EnvironmentApiInterface {
400
551
  }
401
552
  }
402
553
 
554
+ /**
555
+ * @export
556
+ */
557
+ export const ExecuteEnvironmentModuleUninstallStageEnum = {
558
+ detach: 'detach',
559
+ delete: 'delete'
560
+ } as const;
561
+ export type ExecuteEnvironmentModuleUninstallStageEnum = typeof ExecuteEnvironmentModuleUninstallStageEnum[keyof typeof ExecuteEnvironmentModuleUninstallStageEnum];