kb-cloud-client-typescript 2.3.0-alpha.185 → 2.3.0-alpha.187
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.
- package/dist/adminapi/apis/environment-api.d.ts +56 -0
- package/dist/adminapi/apis/environment-api.d.ts.map +1 -1
- package/dist/adminapi/apis/environment-api.js +69 -0
- package/dist/adminapi/apis/environment-api.js.map +1 -1
- package/dist/adminapi/models/component-item-create.d.ts +7 -0
- package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
- package/dist/adminapi/models/component-item.d.ts +7 -0
- package/dist/adminapi/models/component-item.d.ts.map +1 -1
- package/dist/adminapi/models/component-network.d.ts +26 -0
- package/dist/adminapi/models/component-network.d.ts.map +1 -0
- package/dist/adminapi/models/component-network.js +16 -0
- package/dist/adminapi/models/component-network.js.map +1 -0
- package/dist/adminapi/models/environment-create.d.ts +7 -0
- package/dist/adminapi/models/environment-create.d.ts.map +1 -1
- package/dist/adminapi/models/environment-update.d.ts +7 -0
- package/dist/adminapi/models/environment-update.d.ts.map +1 -1
- package/dist/adminapi/models/environment.d.ts +7 -0
- package/dist/adminapi/models/environment.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +9 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +9 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/ip-pool-ipfamily.d.ts +22 -0
- package/dist/adminapi/models/ip-pool-ipfamily.d.ts.map +1 -0
- package/dist/adminapi/models/ip-pool-ipfamily.js +26 -0
- package/dist/adminapi/models/ip-pool-ipfamily.js.map +1 -0
- package/dist/adminapi/models/ip-pool-list.d.ts +26 -0
- package/dist/adminapi/models/ip-pool-list.d.ts.map +1 -0
- package/dist/adminapi/models/ip-pool-list.js +16 -0
- package/dist/adminapi/models/ip-pool-list.js.map +1 -0
- package/dist/adminapi/models/ip-pool-provider-list.d.ts +40 -0
- package/dist/adminapi/models/ip-pool-provider-list.d.ts.map +1 -0
- package/dist/adminapi/models/ip-pool-provider-list.js +16 -0
- package/dist/adminapi/models/ip-pool-provider-list.js.map +1 -0
- package/dist/adminapi/models/ip-pool-provider.d.ts +21 -0
- package/dist/adminapi/models/ip-pool-provider.d.ts.map +1 -0
- package/dist/adminapi/models/ip-pool-provider.js +25 -0
- package/dist/adminapi/models/ip-pool-provider.js.map +1 -0
- package/dist/adminapi/models/ip-pool-selection-policy.d.ts +32 -0
- package/dist/adminapi/models/ip-pool-selection-policy.d.ts.map +1 -0
- package/dist/adminapi/models/ip-pool-selection-policy.js +16 -0
- package/dist/adminapi/models/ip-pool-selection-policy.js.map +1 -0
- package/dist/adminapi/models/ip-pool-selection-requirement.d.ts +23 -0
- package/dist/adminapi/models/ip-pool-selection-requirement.d.ts.map +1 -0
- package/dist/adminapi/models/ip-pool-selection-requirement.js +27 -0
- package/dist/adminapi/models/ip-pool-selection-requirement.js.map +1 -0
- package/dist/adminapi/models/ip-pool-selection.d.ts +38 -0
- package/dist/adminapi/models/ip-pool-selection.d.ts.map +1 -0
- package/dist/adminapi/models/ip-pool-selection.js +16 -0
- package/dist/adminapi/models/ip-pool-selection.js.map +1 -0
- package/dist/adminapi/models/ip-pool.d.ts +80 -0
- package/dist/adminapi/models/ip-pool.d.ts.map +1 -0
- package/dist/adminapi/models/ip-pool.js +16 -0
- package/dist/adminapi/models/ip-pool.js.map +1 -0
- package/dist/internalapi/models/component-item.d.ts +7 -0
- package/dist/internalapi/models/component-item.d.ts.map +1 -1
- package/dist/internalapi/models/component-network.d.ts +26 -0
- package/dist/internalapi/models/component-network.d.ts.map +1 -0
- package/dist/internalapi/models/component-network.js +16 -0
- package/dist/internalapi/models/component-network.js.map +1 -0
- package/dist/internalapi/models/index.d.ts +3 -0
- package/dist/internalapi/models/index.d.ts.map +1 -1
- package/dist/internalapi/models/index.js +3 -0
- package/dist/internalapi/models/index.js.map +1 -1
- package/dist/internalapi/models/ip-pool-provider.d.ts +21 -0
- package/dist/internalapi/models/ip-pool-provider.d.ts.map +1 -0
- package/dist/internalapi/models/ip-pool-provider.js +25 -0
- package/dist/internalapi/models/ip-pool-provider.js.map +1 -0
- package/dist/internalapi/models/ip-pool-selection.d.ts +38 -0
- package/dist/internalapi/models/ip-pool-selection.d.ts.map +1 -0
- package/dist/internalapi/models/ip-pool-selection.js +16 -0
- package/dist/internalapi/models/ip-pool-selection.js.map +1 -0
- package/dist/openapi/apis/environment-api.d.ts +64 -0
- package/dist/openapi/apis/environment-api.d.ts.map +1 -1
- package/dist/openapi/apis/environment-api.js +74 -0
- package/dist/openapi/apis/environment-api.js.map +1 -1
- package/dist/openapi/models/component-item-create.d.ts +7 -0
- package/dist/openapi/models/component-item-create.d.ts.map +1 -1
- package/dist/openapi/models/component-item.d.ts +7 -0
- package/dist/openapi/models/component-item.d.ts.map +1 -1
- package/dist/openapi/models/component-network.d.ts +26 -0
- package/dist/openapi/models/component-network.d.ts.map +1 -0
- package/dist/openapi/models/component-network.js +16 -0
- package/dist/openapi/models/component-network.js.map +1 -0
- package/dist/openapi/models/environment.d.ts +7 -0
- package/dist/openapi/models/environment.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +9 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +9 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/ip-pool-ipfamily.d.ts +22 -0
- package/dist/openapi/models/ip-pool-ipfamily.d.ts.map +1 -0
- package/dist/openapi/models/ip-pool-ipfamily.js +26 -0
- package/dist/openapi/models/ip-pool-ipfamily.js.map +1 -0
- package/dist/openapi/models/ip-pool-list.d.ts +26 -0
- package/dist/openapi/models/ip-pool-list.d.ts.map +1 -0
- package/dist/openapi/models/ip-pool-list.js +16 -0
- package/dist/openapi/models/ip-pool-list.js.map +1 -0
- package/dist/openapi/models/ip-pool-provider-list.d.ts +40 -0
- package/dist/openapi/models/ip-pool-provider-list.d.ts.map +1 -0
- package/dist/openapi/models/ip-pool-provider-list.js +16 -0
- package/dist/openapi/models/ip-pool-provider-list.js.map +1 -0
- package/dist/openapi/models/ip-pool-provider.d.ts +21 -0
- package/dist/openapi/models/ip-pool-provider.d.ts.map +1 -0
- package/dist/openapi/models/ip-pool-provider.js +25 -0
- package/dist/openapi/models/ip-pool-provider.js.map +1 -0
- package/dist/openapi/models/ip-pool-selection-policy.d.ts +32 -0
- package/dist/openapi/models/ip-pool-selection-policy.d.ts.map +1 -0
- package/dist/openapi/models/ip-pool-selection-policy.js +16 -0
- package/dist/openapi/models/ip-pool-selection-policy.js.map +1 -0
- package/dist/openapi/models/ip-pool-selection-requirement.d.ts +23 -0
- package/dist/openapi/models/ip-pool-selection-requirement.d.ts.map +1 -0
- package/dist/openapi/models/ip-pool-selection-requirement.js +27 -0
- package/dist/openapi/models/ip-pool-selection-requirement.js.map +1 -0
- package/dist/openapi/models/ip-pool-selection.d.ts +38 -0
- package/dist/openapi/models/ip-pool-selection.d.ts.map +1 -0
- package/dist/openapi/models/ip-pool-selection.js +16 -0
- package/dist/openapi/models/ip-pool-selection.js.map +1 -0
- package/dist/openapi/models/ip-pool.d.ts +80 -0
- package/dist/openapi/models/ip-pool.d.ts.map +1 -0
- package/dist/openapi/models/ip-pool.js +16 -0
- package/dist/openapi/models/ip-pool.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +9 -0
- package/src/adminapi/apis/environment-api.ts +102 -0
- package/src/adminapi/models/component-item-create.ts +9 -0
- package/src/adminapi/models/component-item.ts +9 -0
- package/src/adminapi/models/component-network.ts +33 -0
- package/src/adminapi/models/environment-create.ts +9 -0
- package/src/adminapi/models/environment-update.ts +9 -0
- package/src/adminapi/models/environment.ts +9 -0
- package/src/adminapi/models/index.ts +9 -0
- package/src/adminapi/models/ip-pool-ipfamily.ts +31 -0
- package/src/adminapi/models/ip-pool-list.ts +33 -0
- package/src/adminapi/models/ip-pool-provider-list.ts +53 -0
- package/src/adminapi/models/ip-pool-provider.ts +30 -0
- package/src/adminapi/models/ip-pool-selection-policy.ts +41 -0
- package/src/adminapi/models/ip-pool-selection-requirement.ts +32 -0
- package/src/adminapi/models/ip-pool-selection.ts +47 -0
- package/src/adminapi/models/ip-pool.ts +89 -0
- package/src/adminapi.yaml +155 -0
- package/src/internalapi/.openapi-generator/FILES +3 -0
- package/src/internalapi/models/component-item.ts +9 -0
- package/src/internalapi/models/component-network.ts +33 -0
- package/src/internalapi/models/index.ts +3 -0
- package/src/internalapi/models/ip-pool-provider.ts +30 -0
- package/src/internalapi/models/ip-pool-selection.ts +47 -0
- package/src/internalapi.yaml +31 -0
- package/src/openapi/.openapi-generator/FILES +9 -0
- package/src/openapi/apis/environment-api.ts +114 -0
- package/src/openapi/models/component-item-create.ts +9 -0
- package/src/openapi/models/component-item.ts +9 -0
- package/src/openapi/models/component-network.ts +33 -0
- package/src/openapi/models/environment.ts +9 -0
- package/src/openapi/models/index.ts +9 -0
- package/src/openapi/models/ip-pool-ipfamily.ts +31 -0
- package/src/openapi/models/ip-pool-list.ts +33 -0
- package/src/openapi/models/ip-pool-provider-list.ts +53 -0
- package/src/openapi/models/ip-pool-provider.ts +30 -0
- package/src/openapi/models/ip-pool-selection-policy.ts +41 -0
- package/src/openapi/models/ip-pool-selection-requirement.ts +32 -0
- package/src/openapi/models/ip-pool-selection.ts +47 -0
- package/src/openapi/models/ip-pool.ts +89 -0
- package/src/openapi.yaml +154 -2
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KubeBlocks Cloud API
|
|
3
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@apecloud.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { IpPool } from './ip-pool';
|
|
13
|
+
import type { IpPoolProvider } from './ip-pool-provider';
|
|
14
|
+
import type { IpPoolSelectionPolicy } from './ip-pool-selection-policy';
|
|
15
|
+
/**
|
|
16
|
+
* Pod IP pools and selection policy reported by one provider.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface IpPoolProviderList
|
|
19
|
+
*/
|
|
20
|
+
export interface IpPoolProviderList {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {IpPoolProvider}
|
|
24
|
+
* @memberof IpPoolProviderList
|
|
25
|
+
*/
|
|
26
|
+
'name': IpPoolProvider;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {IpPoolSelectionPolicy}
|
|
30
|
+
* @memberof IpPoolProviderList
|
|
31
|
+
*/
|
|
32
|
+
'selectionPolicy': IpPoolSelectionPolicy;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {Array<IpPool>}
|
|
36
|
+
* @memberof IpPoolProviderList
|
|
37
|
+
*/
|
|
38
|
+
'items': Array<IpPool>;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=ip-pool-provider-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip-pool-provider-list.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ip-pool-provider-list.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,MAAM,EAAE,cAAc,CAAC;IACvB;;;;OAIG;IACH,iBAAiB,EAAE,qBAAqB,CAAC;IACzC;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* KubeBlocks Cloud API
|
|
6
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@apecloud.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=ip-pool-provider-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip-pool-provider-list.js","sourceRoot":"","sources":["../../../src/openapi/models/ip-pool-provider-list.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KubeBlocks Cloud API
|
|
3
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@apecloud.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* KBE provider used for Pod IP pool discovery and explicit selection.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const IpPoolProvider: {
|
|
18
|
+
readonly spiderpool: "spiderpool";
|
|
19
|
+
};
|
|
20
|
+
export type IpPoolProvider = typeof IpPoolProvider[keyof typeof IpPoolProvider];
|
|
21
|
+
//# sourceMappingURL=ip-pool-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip-pool-provider.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ip-pool-provider.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,cAAc;;CAEjB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* KubeBlocks Cloud API
|
|
6
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@apecloud.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IpPoolProvider = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* KBE provider used for Pod IP pool discovery and explicit selection.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.IpPoolProvider = {
|
|
23
|
+
spiderpool: 'spiderpool'
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=ip-pool-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip-pool-provider.js","sourceRoot":"","sources":["../../../src/openapi/models/ip-pool-provider.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,cAAc,GAAG;IAC1B,UAAU,EAAE,YAAY;CAClB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KubeBlocks Cloud API
|
|
3
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@apecloud.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { IpPoolSelectionRequirement } from './ip-pool-selection-requirement';
|
|
13
|
+
/**
|
|
14
|
+
* Per-address-family requirements for explicit IP pool selection.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface IpPoolSelectionPolicy
|
|
17
|
+
*/
|
|
18
|
+
export interface IpPoolSelectionPolicy {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {IpPoolSelectionRequirement}
|
|
22
|
+
* @memberof IpPoolSelectionPolicy
|
|
23
|
+
*/
|
|
24
|
+
'ipv4': IpPoolSelectionRequirement;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {IpPoolSelectionRequirement}
|
|
28
|
+
* @memberof IpPoolSelectionPolicy
|
|
29
|
+
*/
|
|
30
|
+
'ipv6': IpPoolSelectionRequirement;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=ip-pool-selection-policy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip-pool-selection-policy.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ip-pool-selection-policy.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAElF;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,MAAM,EAAE,0BAA0B,CAAC;IACnC;;;;OAIG;IACH,MAAM,EAAE,0BAA0B,CAAC;CACtC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* KubeBlocks Cloud API
|
|
6
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@apecloud.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=ip-pool-selection-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip-pool-selection-policy.js","sourceRoot":"","sources":["../../../src/openapi/models/ip-pool-selection-policy.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KubeBlocks Cloud API
|
|
3
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@apecloud.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const IpPoolSelectionRequirement: {
|
|
18
|
+
readonly required: "required";
|
|
19
|
+
readonly optional: "optional";
|
|
20
|
+
readonly unsupported: "unsupported";
|
|
21
|
+
};
|
|
22
|
+
export type IpPoolSelectionRequirement = typeof IpPoolSelectionRequirement[keyof typeof IpPoolSelectionRequirement];
|
|
23
|
+
//# sourceMappingURL=ip-pool-selection-requirement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip-pool-selection-requirement.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ip-pool-selection-requirement.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,0BAA0B;;;;CAI7B,CAAC;AAEX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* KubeBlocks Cloud API
|
|
6
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@apecloud.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IpPoolSelectionRequirement = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.IpPoolSelectionRequirement = {
|
|
23
|
+
required: 'required',
|
|
24
|
+
optional: 'optional',
|
|
25
|
+
unsupported: 'unsupported'
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=ip-pool-selection-requirement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip-pool-selection-requirement.js","sourceRoot":"","sources":["../../../src/openapi/models/ip-pool-selection-requirement.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,0BAA0B,GAAG;IACtC,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;CACpB,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KubeBlocks Cloud API
|
|
3
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@apecloud.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { IpPoolProvider } from './ip-pool-provider';
|
|
13
|
+
/**
|
|
14
|
+
* Provider-qualified Pod IP pool selection for component pod IP allocation.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface IpPoolSelection
|
|
17
|
+
*/
|
|
18
|
+
export interface IpPoolSelection {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {IpPoolProvider}
|
|
22
|
+
* @memberof IpPoolSelection
|
|
23
|
+
*/
|
|
24
|
+
'provider': IpPoolProvider;
|
|
25
|
+
/**
|
|
26
|
+
* IPv4 pool names resolved within the selected provider.
|
|
27
|
+
* @type {Array<string>}
|
|
28
|
+
* @memberof IpPoolSelection
|
|
29
|
+
*/
|
|
30
|
+
'ipv4Pools'?: Array<string>;
|
|
31
|
+
/**
|
|
32
|
+
* IPv6 pool names resolved within the selected provider.
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof IpPoolSelection
|
|
35
|
+
*/
|
|
36
|
+
'ipv6Pools'?: Array<string>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=ip-pool-selection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip-pool-selection.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ip-pool-selection.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,UAAU,EAAE,cAAc,CAAC;IAC3B;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* KubeBlocks Cloud API
|
|
6
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@apecloud.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=ip-pool-selection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip-pool-selection.js","sourceRoot":"","sources":["../../../src/openapi/models/ip-pool-selection.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KubeBlocks Cloud API
|
|
3
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@apecloud.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { IpPoolIPFamily } from './ip-pool-ipfamily';
|
|
13
|
+
/**
|
|
14
|
+
* Provider-neutral Pod IP pool summary.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface IpPool
|
|
17
|
+
*/
|
|
18
|
+
export interface IpPool {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof IpPool
|
|
23
|
+
*/
|
|
24
|
+
'name'?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {IpPoolIPFamily}
|
|
28
|
+
* @memberof IpPool
|
|
29
|
+
*/
|
|
30
|
+
'ipFamily'?: IpPoolIPFamily;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof IpPool
|
|
35
|
+
*/
|
|
36
|
+
'subnet'?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof IpPool
|
|
41
|
+
*/
|
|
42
|
+
'disabled'?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof IpPool
|
|
47
|
+
*/
|
|
48
|
+
'default'?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof IpPool
|
|
53
|
+
*/
|
|
54
|
+
'allocatedIPCount'?: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof IpPool
|
|
59
|
+
*/
|
|
60
|
+
'totalIPCount'?: number;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof IpPool
|
|
65
|
+
*/
|
|
66
|
+
'availableIPCount'?: number;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof IpPool
|
|
71
|
+
*/
|
|
72
|
+
'capacityReliable'?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Array<string>}
|
|
76
|
+
* @memberof IpPool
|
|
77
|
+
*/
|
|
78
|
+
'affinitySummary'?: Array<string>;
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=ip-pool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip-pool.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ip-pool.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* KubeBlocks Cloud API
|
|
6
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@apecloud.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=ip-pool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip-pool.js","sourceRoot":"","sources":["../../../src/openapi/models/ip-pool.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
package/package.json
CHANGED
|
@@ -295,6 +295,7 @@ models/cluster.ts
|
|
|
295
295
|
models/clusters-sla.ts
|
|
296
296
|
models/component-item-create.ts
|
|
297
297
|
models/component-item.ts
|
|
298
|
+
models/component-network.ts
|
|
298
299
|
models/component-ops-option-backup-method.ts
|
|
299
300
|
models/component-ops-option-dependent-custom-ops-params-inner.ts
|
|
300
301
|
models/component-ops-option-dependent-custom-ops.ts
|
|
@@ -582,6 +583,14 @@ models/instance.ts
|
|
|
582
583
|
models/integer-option.ts
|
|
583
584
|
models/international-desc.ts
|
|
584
585
|
models/io-quantity.ts
|
|
586
|
+
models/ip-pool-ipfamily.ts
|
|
587
|
+
models/ip-pool-list.ts
|
|
588
|
+
models/ip-pool-provider-list.ts
|
|
589
|
+
models/ip-pool-provider.ts
|
|
590
|
+
models/ip-pool-selection-policy.ts
|
|
591
|
+
models/ip-pool-selection-requirement.ts
|
|
592
|
+
models/ip-pool-selection.ts
|
|
593
|
+
models/ip-pool.ts
|
|
585
594
|
models/ip-whitelist-list.ts
|
|
586
595
|
models/ip-whitelist.ts
|
|
587
596
|
models/key-list.ts
|
|
@@ -70,6 +70,8 @@ import type { EnvironmentUpdate } from '../models';
|
|
|
70
70
|
// @ts-ignore
|
|
71
71
|
import type { HttpBody } from '../models';
|
|
72
72
|
// @ts-ignore
|
|
73
|
+
import type { IpPoolList } from '../models';
|
|
74
|
+
// @ts-ignore
|
|
73
75
|
import type { KoordinatorReservationSummary } from '../models';
|
|
74
76
|
// @ts-ignore
|
|
75
77
|
import type { Kubeconfig } from '../models';
|
|
@@ -1494,6 +1496,47 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
1494
1496
|
|
|
1495
1497
|
|
|
1496
1498
|
|
|
1499
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1500
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1501
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1502
|
+
|
|
1503
|
+
return {
|
|
1504
|
+
url: toPathString(localVarUrlObj),
|
|
1505
|
+
options: localVarRequestOptions,
|
|
1506
|
+
};
|
|
1507
|
+
},
|
|
1508
|
+
/**
|
|
1509
|
+
*
|
|
1510
|
+
* @summary Discover Pod IP pools and explicit selection policy in an environment
|
|
1511
|
+
* @param {string} environmentName name of the Environment
|
|
1512
|
+
* @param {*} [options] Override http request option.
|
|
1513
|
+
* @throws {RequiredError}
|
|
1514
|
+
*/
|
|
1515
|
+
listEnvironmentIPPools: async (environmentName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1516
|
+
// verify required parameter 'environmentName' is not null or undefined
|
|
1517
|
+
assertParamExists('listEnvironmentIPPools', 'environmentName', environmentName)
|
|
1518
|
+
const localVarPath = `/admin/v1/environments/{environmentName}/network/ipPools`
|
|
1519
|
+
.replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)));
|
|
1520
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1521
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1522
|
+
let baseOptions;
|
|
1523
|
+
if (configuration) {
|
|
1524
|
+
baseOptions = configuration.baseOptions;
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1528
|
+
const localVarHeaderParameter = {} as any;
|
|
1529
|
+
const localVarQueryParameter = {} as any;
|
|
1530
|
+
|
|
1531
|
+
// authentication BearerToken required
|
|
1532
|
+
// http bearer authentication required
|
|
1533
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1534
|
+
|
|
1535
|
+
// authentication DigestAuth required
|
|
1536
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1537
|
+
|
|
1538
|
+
|
|
1539
|
+
|
|
1497
1540
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1498
1541
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1499
1542
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2700,6 +2743,19 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
2700
2743
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.listEnvironmentCredential']?.[localVarOperationServerIndex]?.url;
|
|
2701
2744
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2702
2745
|
},
|
|
2746
|
+
/**
|
|
2747
|
+
*
|
|
2748
|
+
* @summary Discover Pod IP pools and explicit selection policy in an environment
|
|
2749
|
+
* @param {string} environmentName name of the Environment
|
|
2750
|
+
* @param {*} [options] Override http request option.
|
|
2751
|
+
* @throws {RequiredError}
|
|
2752
|
+
*/
|
|
2753
|
+
async listEnvironmentIPPools(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IpPoolList>> {
|
|
2754
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listEnvironmentIPPools(environmentName, options);
|
|
2755
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2756
|
+
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.listEnvironmentIPPools']?.[localVarOperationServerIndex]?.url;
|
|
2757
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2758
|
+
},
|
|
2703
2759
|
/**
|
|
2704
2760
|
* List environment object storage
|
|
2705
2761
|
* @summary List environment object storage
|
|
@@ -3246,6 +3302,16 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
3246
3302
|
listEnvironmentCredential(requestParameters: EnvironmentApiListEnvironmentCredentialRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentCredentialList> {
|
|
3247
3303
|
return localVarFp.listEnvironmentCredential(requestParameters.environmentName, options).then((request) => request(axios, basePath));
|
|
3248
3304
|
},
|
|
3305
|
+
/**
|
|
3306
|
+
*
|
|
3307
|
+
* @summary Discover Pod IP pools and explicit selection policy in an environment
|
|
3308
|
+
* @param {EnvironmentApiListEnvironmentIPPoolsRequest} requestParameters Request parameters.
|
|
3309
|
+
* @param {*} [options] Override http request option.
|
|
3310
|
+
* @throws {RequiredError}
|
|
3311
|
+
*/
|
|
3312
|
+
listEnvironmentIPPools(requestParameters: EnvironmentApiListEnvironmentIPPoolsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IpPoolList> {
|
|
3313
|
+
return localVarFp.listEnvironmentIPPools(requestParameters.environmentName, options).then((request) => request(axios, basePath));
|
|
3314
|
+
},
|
|
3249
3315
|
/**
|
|
3250
3316
|
* List environment object storage
|
|
3251
3317
|
* @summary List environment object storage
|
|
@@ -3723,6 +3789,16 @@ export interface EnvironmentApiInterface {
|
|
|
3723
3789
|
*/
|
|
3724
3790
|
listEnvironmentCredential(requestParameters: EnvironmentApiListEnvironmentCredentialRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentCredentialList>;
|
|
3725
3791
|
|
|
3792
|
+
/**
|
|
3793
|
+
*
|
|
3794
|
+
* @summary Discover Pod IP pools and explicit selection policy in an environment
|
|
3795
|
+
* @param {EnvironmentApiListEnvironmentIPPoolsRequest} requestParameters Request parameters.
|
|
3796
|
+
* @param {*} [options] Override http request option.
|
|
3797
|
+
* @throws {RequiredError}
|
|
3798
|
+
* @memberof EnvironmentApiInterface
|
|
3799
|
+
*/
|
|
3800
|
+
listEnvironmentIPPools(requestParameters: EnvironmentApiListEnvironmentIPPoolsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IpPoolList>;
|
|
3801
|
+
|
|
3726
3802
|
/**
|
|
3727
3803
|
* List environment object storage
|
|
3728
3804
|
* @summary List environment object storage
|
|
@@ -4487,6 +4563,20 @@ export interface EnvironmentApiListEnvironmentCredentialRequest {
|
|
|
4487
4563
|
readonly environmentName: string
|
|
4488
4564
|
}
|
|
4489
4565
|
|
|
4566
|
+
/**
|
|
4567
|
+
* Request parameters for listEnvironmentIPPools operation in EnvironmentApi.
|
|
4568
|
+
* @export
|
|
4569
|
+
* @interface EnvironmentApiListEnvironmentIPPoolsRequest
|
|
4570
|
+
*/
|
|
4571
|
+
export interface EnvironmentApiListEnvironmentIPPoolsRequest {
|
|
4572
|
+
/**
|
|
4573
|
+
* name of the Environment
|
|
4574
|
+
* @type {string}
|
|
4575
|
+
* @memberof EnvironmentApiListEnvironmentIPPools
|
|
4576
|
+
*/
|
|
4577
|
+
readonly environmentName: string
|
|
4578
|
+
}
|
|
4579
|
+
|
|
4490
4580
|
/**
|
|
4491
4581
|
* Request parameters for listEnvironmentObjectStorage operation in EnvironmentApi.
|
|
4492
4582
|
* @export
|
|
@@ -5228,6 +5318,18 @@ export class EnvironmentApi extends BaseAPI implements EnvironmentApiInterface {
|
|
|
5228
5318
|
return EnvironmentApiFp(this.configuration).listEnvironmentCredential(requestParameters.environmentName, options).then((request) => request(this.axios, this.basePath));
|
|
5229
5319
|
}
|
|
5230
5320
|
|
|
5321
|
+
/**
|
|
5322
|
+
*
|
|
5323
|
+
* @summary Discover Pod IP pools and explicit selection policy in an environment
|
|
5324
|
+
* @param {EnvironmentApiListEnvironmentIPPoolsRequest} requestParameters Request parameters.
|
|
5325
|
+
* @param {*} [options] Override http request option.
|
|
5326
|
+
* @throws {RequiredError}
|
|
5327
|
+
* @memberof EnvironmentApi
|
|
5328
|
+
*/
|
|
5329
|
+
public listEnvironmentIPPools(requestParameters: EnvironmentApiListEnvironmentIPPoolsRequest, options?: RawAxiosRequestConfig) {
|
|
5330
|
+
return EnvironmentApiFp(this.configuration).listEnvironmentIPPools(requestParameters.environmentName, options).then((request) => request(this.axios, this.basePath));
|
|
5331
|
+
}
|
|
5332
|
+
|
|
5231
5333
|
/**
|
|
5232
5334
|
* List environment object storage
|
|
5233
5335
|
* @summary List environment object storage
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { ComponentNetwork } from './component-network';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import type { ComponentVolumeItem } from './component-volume-item';
|
|
@@ -83,5 +86,11 @@ export interface ComponentItemCreate {
|
|
|
83
86
|
* @memberof ComponentItemCreate
|
|
84
87
|
*/
|
|
85
88
|
'systemAccountSecretName'?: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {ComponentNetwork}
|
|
92
|
+
* @memberof ComponentItemCreate
|
|
93
|
+
*/
|
|
94
|
+
'network'?: ComponentNetwork;
|
|
86
95
|
}
|
|
87
96
|
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { ComponentNetwork } from './component-network';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import type { ComponentVolumeItem } from './component-volume-item';
|
|
@@ -89,5 +92,11 @@ export interface ComponentItem {
|
|
|
89
92
|
* @memberof ComponentItem
|
|
90
93
|
*/
|
|
91
94
|
'systemAccountSecretName'?: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {ComponentNetwork}
|
|
98
|
+
* @memberof ComponentItem
|
|
99
|
+
*/
|
|
100
|
+
'network'?: ComponentNetwork;
|
|
92
101
|
}
|
|
93
102
|
|