kb-cloud-client-typescript 2.2.137 → 2.2.139

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 (33) hide show
  1. package/dist/adminapi/apis/load-balancer-api.d.ts +175 -0
  2. package/dist/adminapi/apis/load-balancer-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/load-balancer-api.js +213 -0
  4. package/dist/adminapi/apis/load-balancer-api.js.map +1 -1
  5. package/dist/adminapi/models/index.d.ts +3 -0
  6. package/dist/adminapi/models/index.d.ts.map +1 -1
  7. package/dist/adminapi/models/index.js +3 -0
  8. package/dist/adminapi/models/index.js.map +1 -1
  9. package/dist/adminapi/models/load-balancer-annotations.d.ts +35 -0
  10. package/dist/adminapi/models/load-balancer-annotations.d.ts.map +1 -0
  11. package/dist/adminapi/models/load-balancer-annotations.js +16 -0
  12. package/dist/adminapi/models/load-balancer-annotations.js.map +1 -0
  13. package/dist/adminapi/models/load-balancer-config-update.d.ts +26 -0
  14. package/dist/adminapi/models/load-balancer-config-update.d.ts.map +1 -0
  15. package/dist/adminapi/models/load-balancer-config-update.js +16 -0
  16. package/dist/adminapi/models/load-balancer-config-update.js.map +1 -0
  17. package/dist/adminapi/models/load-balancer-config.d.ts +32 -0
  18. package/dist/adminapi/models/load-balancer-config.d.ts.map +1 -0
  19. package/dist/adminapi/models/load-balancer-config.js +16 -0
  20. package/dist/adminapi/models/load-balancer-config.js.map +1 -0
  21. package/dist/adminapi/models/mode-option-values-mappings.d.ts +1 -1
  22. package/dist/openapi/models/mode-option-values-mappings.d.ts +1 -1
  23. package/package.json +1 -1
  24. package/src/adminapi/.openapi-generator/FILES +3 -0
  25. package/src/adminapi/apis/load-balancer-api.ts +318 -0
  26. package/src/adminapi/models/index.ts +3 -0
  27. package/src/adminapi/models/load-balancer-annotations.ts +36 -0
  28. package/src/adminapi/models/load-balancer-config-update.ts +33 -0
  29. package/src/adminapi/models/load-balancer-config.ts +39 -0
  30. package/src/adminapi/models/mode-option-values-mappings.ts +1 -1
  31. package/src/adminapi.yaml +117 -0
  32. package/src/openapi/models/mode-option-values-mappings.ts +1 -1
  33. package/src/openapi.yaml +1 -0
@@ -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
+ * Provider-neutral annotations applied to load balancer Services by exposure type.
19
+ * @export
20
+ * @interface LoadBalancerAnnotations
21
+ */
22
+ export interface LoadBalancerAnnotations {
23
+ /**
24
+ * Annotations used for load balancers exposed inside the VPC.
25
+ * @type {{ [key: string]: string; }}
26
+ * @memberof LoadBalancerAnnotations
27
+ */
28
+ 'vpc': { [key: string]: string; };
29
+ /**
30
+ * Annotations used for load balancers exposed to the Internet.
31
+ * @type {{ [key: string]: string; }}
32
+ * @memberof LoadBalancerAnnotations
33
+ */
34
+ 'internet': { [key: string]: string; };
35
+ }
36
+
@@ -0,0 +1,33 @@
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 { LoadBalancerAnnotations } from './load-balancer-annotations';
19
+
20
+ /**
21
+ * Complete editable load balancer annotations for an environment.
22
+ * @export
23
+ * @interface LoadBalancerConfigUpdate
24
+ */
25
+ export interface LoadBalancerConfigUpdate {
26
+ /**
27
+ *
28
+ * @type {LoadBalancerAnnotations}
29
+ * @memberof LoadBalancerConfigUpdate
30
+ */
31
+ 'annotations': LoadBalancerAnnotations;
32
+ }
33
+
@@ -0,0 +1,39 @@
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 { LoadBalancerAnnotations } from './load-balancer-annotations';
19
+
20
+ /**
21
+ * Effective load balancer annotations for an environment.
22
+ * @export
23
+ * @interface LoadBalancerConfig
24
+ */
25
+ export interface LoadBalancerConfig {
26
+ /**
27
+ * Current environment provider returned by the server.
28
+ * @type {string}
29
+ * @memberof LoadBalancerConfig
30
+ */
31
+ 'provider': string;
32
+ /**
33
+ *
34
+ * @type {LoadBalancerAnnotations}
35
+ * @memberof LoadBalancerConfig
36
+ */
37
+ 'annotations': LoadBalancerAnnotations;
38
+ }
39
+
@@ -24,7 +24,7 @@ import type { ModeOptionValuesMappingsMappingsInner } from './mode-option-values
24
24
  */
25
25
  export interface ModeOptionValuesMappings {
26
26
  /**
27
- *
27
+ * if omitted, all KB versions are compatible
28
28
  * @type {Array<string>}
29
29
  * @memberof ModeOptionValuesMappings
30
30
  */
package/src/adminapi.yaml CHANGED
@@ -7165,6 +7165,85 @@ paths:
7165
7165
  '404':
7166
7166
  $ref: '#/components/responses/404'
7167
7167
  x-codegen-request-body-name: body
7168
+ /admin/v1/environments/{environmentName}/loadbalancer/config:
7169
+ get:
7170
+ tags:
7171
+ - loadBalancer
7172
+ operationId: getLoadBalancerConfig
7173
+ summary: Get the effective load balancer configuration of an environment
7174
+ parameters:
7175
+ - name: environmentName
7176
+ in: path
7177
+ description: name of the environment
7178
+ required: true
7179
+ schema:
7180
+ type: string
7181
+ responses:
7182
+ '200':
7183
+ description: A successful response.
7184
+ content:
7185
+ application/json:
7186
+ schema:
7187
+ $ref: '#/components/schemas/loadBalancerConfig'
7188
+ '403':
7189
+ $ref: '#/components/responses/403'
7190
+ '404':
7191
+ $ref: '#/components/responses/404'
7192
+ put:
7193
+ tags:
7194
+ - loadBalancer
7195
+ operationId: updateLoadBalancerConfig
7196
+ summary: Save and immediately activate the load balancer configuration of an environment
7197
+ parameters:
7198
+ - name: environmentName
7199
+ in: path
7200
+ description: name of the environment
7201
+ required: true
7202
+ schema:
7203
+ type: string
7204
+ requestBody:
7205
+ required: true
7206
+ content:
7207
+ application/json:
7208
+ schema:
7209
+ $ref: '#/components/schemas/loadBalancerConfigUpdate'
7210
+ responses:
7211
+ '200':
7212
+ description: A successful response.
7213
+ content:
7214
+ application/json:
7215
+ schema:
7216
+ $ref: '#/components/schemas/loadBalancerConfig'
7217
+ '400':
7218
+ $ref: '#/components/responses/400'
7219
+ '403':
7220
+ $ref: '#/components/responses/403'
7221
+ '404':
7222
+ $ref: '#/components/responses/404'
7223
+ x-codegen-request-body-name: body
7224
+ delete:
7225
+ tags:
7226
+ - loadBalancer
7227
+ operationId: resetLoadBalancerConfig
7228
+ summary: Reset the environment load balancer configuration to the current provider defaults
7229
+ parameters:
7230
+ - name: environmentName
7231
+ in: path
7232
+ description: name of the environment
7233
+ required: true
7234
+ schema:
7235
+ type: string
7236
+ responses:
7237
+ '200':
7238
+ description: The effective provider defaults after reset.
7239
+ content:
7240
+ application/json:
7241
+ schema:
7242
+ $ref: '#/components/schemas/loadBalancerConfig'
7243
+ '403':
7244
+ $ref: '#/components/responses/403'
7245
+ '404':
7246
+ $ref: '#/components/responses/404'
7168
7247
  /admin/v1/environments/{environmentName}/loadbalancer/vipPool:
7169
7248
  get:
7170
7249
  operationId: listVIPPool
@@ -26751,6 +26830,43 @@ components:
26751
26830
  required:
26752
26831
  - status
26753
26832
  type: object
26833
+ loadBalancerAnnotations:
26834
+ description: Provider-neutral annotations applied to load balancer Services by exposure type.
26835
+ type: object
26836
+ properties:
26837
+ vpc:
26838
+ description: Annotations used for load balancers exposed inside the VPC.
26839
+ type: object
26840
+ additionalProperties:
26841
+ type: string
26842
+ internet:
26843
+ description: Annotations used for load balancers exposed to the Internet.
26844
+ type: object
26845
+ additionalProperties:
26846
+ type: string
26847
+ required:
26848
+ - vpc
26849
+ - internet
26850
+ loadBalancerConfig:
26851
+ description: Effective load balancer annotations for an environment.
26852
+ type: object
26853
+ properties:
26854
+ provider:
26855
+ description: Current environment provider returned by the server.
26856
+ type: string
26857
+ annotations:
26858
+ $ref: '#/components/schemas/loadBalancerAnnotations'
26859
+ required:
26860
+ - provider
26861
+ - annotations
26862
+ loadBalancerConfigUpdate:
26863
+ description: Complete editable load balancer annotations for an environment.
26864
+ type: object
26865
+ properties:
26866
+ annotations:
26867
+ $ref: '#/components/schemas/loadBalancerAnnotations'
26868
+ required:
26869
+ - annotations
26754
26870
  vipPool:
26755
26871
  description: VIP Pool
26756
26872
  properties:
@@ -29054,6 +29170,7 @@ components:
29054
29170
  properties:
29055
29171
  compatibleKBVersions:
29056
29172
  type: array
29173
+ description: if omitted, all KB versions are compatible
29057
29174
  items:
29058
29175
  type: string
29059
29176
  mappings:
@@ -24,7 +24,7 @@ import type { ModeOptionValuesMappingsMappingsInner } from './mode-option-values
24
24
  */
25
25
  export interface ModeOptionValuesMappings {
26
26
  /**
27
- *
27
+ * if omitted, all KB versions are compatible
28
28
  * @type {Array<string>}
29
29
  * @memberof ModeOptionValuesMappings
30
30
  */
package/src/openapi.yaml CHANGED
@@ -23366,6 +23366,7 @@ components:
23366
23366
  properties:
23367
23367
  compatibleKBVersions:
23368
23368
  type: array
23369
+ description: if omitted, all KB versions are compatible
23369
23370
  items:
23370
23371
  type: string
23371
23372
  mappings: