kb-cloud-client-typescript 2.4.0-alpha.118 → 2.4.0-alpha.119

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 (52) hide show
  1. package/dist/adminapi/apis/environment-api.d.ts +11 -11
  2. package/dist/adminapi/apis/environment-api.js +8 -8
  3. package/dist/adminapi/models/apelocal-capacity-mode.d.ts +24 -0
  4. package/dist/adminapi/models/apelocal-capacity-mode.d.ts.map +1 -0
  5. package/dist/adminapi/models/apelocal-capacity-mode.js +28 -0
  6. package/dist/adminapi/models/apelocal-capacity-mode.js.map +1 -0
  7. package/dist/adminapi/models/apelocal-capacity-observation.d.ts +43 -0
  8. package/dist/adminapi/models/apelocal-capacity-observation.d.ts.map +1 -0
  9. package/dist/adminapi/models/apelocal-capacity-observation.js +16 -0
  10. package/dist/adminapi/models/apelocal-capacity-observation.js.map +1 -0
  11. package/dist/adminapi/models/apelocal-capacity-observations.d.ts +68 -0
  12. package/dist/adminapi/models/apelocal-capacity-observations.d.ts.map +1 -0
  13. package/dist/adminapi/models/apelocal-capacity-observations.js +16 -0
  14. package/dist/adminapi/models/apelocal-capacity-observations.js.map +1 -0
  15. package/dist/adminapi/models/apelocal-capacity-summary-mode.d.ts +23 -0
  16. package/dist/adminapi/models/apelocal-capacity-summary-mode.d.ts.map +1 -0
  17. package/dist/adminapi/models/apelocal-capacity-summary-mode.js +27 -0
  18. package/dist/adminapi/models/apelocal-capacity-summary-mode.js.map +1 -0
  19. package/dist/adminapi/models/apelocal-capacity-summary.d.ts +81 -0
  20. package/dist/adminapi/models/apelocal-capacity-summary.d.ts.map +1 -0
  21. package/dist/adminapi/models/apelocal-capacity-summary.js +16 -0
  22. package/dist/adminapi/models/apelocal-capacity-summary.js.map +1 -0
  23. package/dist/adminapi/models/apelocal-node-stats.d.ts +67 -0
  24. package/dist/adminapi/models/apelocal-node-stats.d.ts.map +1 -0
  25. package/dist/adminapi/models/apelocal-node-stats.js +16 -0
  26. package/dist/adminapi/models/apelocal-node-stats.js.map +1 -0
  27. package/dist/adminapi/models/apelocal-storage-class-stats.d.ts +63 -0
  28. package/dist/adminapi/models/apelocal-storage-class-stats.d.ts.map +1 -0
  29. package/dist/adminapi/models/apelocal-storage-class-stats.js +16 -0
  30. package/dist/adminapi/models/apelocal-storage-class-stats.js.map +1 -0
  31. package/dist/adminapi/models/index.d.ts +7 -0
  32. package/dist/adminapi/models/index.d.ts.map +1 -1
  33. package/dist/adminapi/models/index.js +7 -0
  34. package/dist/adminapi/models/index.js.map +1 -1
  35. package/dist/adminapi/models/storage-class-node-stats-list.d.ts +7 -0
  36. package/dist/adminapi/models/storage-class-node-stats-list.d.ts.map +1 -1
  37. package/dist/adminapi/models/storage-class-node-stats.d.ts +7 -0
  38. package/dist/adminapi/models/storage-class-node-stats.d.ts.map +1 -1
  39. package/package.json +1 -1
  40. package/src/adminapi/.openapi-generator/FILES +7 -0
  41. package/src/adminapi/apis/environment-api.ts +11 -11
  42. package/src/adminapi/models/apelocal-capacity-mode.ts +33 -0
  43. package/src/adminapi/models/apelocal-capacity-observation.ts +48 -0
  44. package/src/adminapi/models/apelocal-capacity-observations.ts +75 -0
  45. package/src/adminapi/models/apelocal-capacity-summary-mode.ts +32 -0
  46. package/src/adminapi/models/apelocal-capacity-summary.ts +92 -0
  47. package/src/adminapi/models/apelocal-node-stats.ts +72 -0
  48. package/src/adminapi/models/apelocal-storage-class-stats.ts +74 -0
  49. package/src/adminapi/models/index.ts +7 -0
  50. package/src/adminapi/models/storage-class-node-stats-list.ts +9 -0
  51. package/src/adminapi/models/storage-class-node-stats.ts +9 -0
  52. package/src/adminapi.yaml +175 -3
@@ -255,12 +255,12 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
255
255
  */
256
256
  getEnvironmentProvisioningProgress: (environmentName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
257
257
  /**
258
- * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist currently permits only apiVersion v1 with kind PersistentVolumeClaim; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
258
+ * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist permits v1 PersistentVolumeClaim, storage.k8s.io/v1 StorageClass and apelocal.csi.apecloud.com/v1alpha1 HostPathDefinition; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
259
259
  * @summary Get a live Kubernetes resource
260
260
  * @param {string} environmentName
261
261
  * @param {string} resourceName
262
- * @param {string} apiVersion Kubernetes API version. Currently only v1 with kind PersistentVolumeClaim is allowed.
263
- * @param {string} kind Kubernetes kind. Currently only PersistentVolumeClaim with apiVersion v1 is allowed.
262
+ * @param {string} apiVersion Kubernetes API version. Must match an explicitly allowed storage resource kind.
263
+ * @param {string} kind Kubernetes kind. Allowed kinds are PersistentVolumeClaim, StorageClass and HostPathDefinition with their corresponding API versions.
264
264
  * @param {string} [namespace] Required for namespaced kinds; must be omitted for cluster-scoped kinds.
265
265
  * @param {*} [options] Override http request option.
266
266
  * @throws {RequiredError}
@@ -732,12 +732,12 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
732
732
  [key: string]: any;
733
733
  }>>;
734
734
  /**
735
- * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist currently permits only apiVersion v1 with kind PersistentVolumeClaim; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
735
+ * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist permits v1 PersistentVolumeClaim, storage.k8s.io/v1 StorageClass and apelocal.csi.apecloud.com/v1alpha1 HostPathDefinition; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
736
736
  * @summary Get a live Kubernetes resource
737
737
  * @param {string} environmentName
738
738
  * @param {string} resourceName
739
- * @param {string} apiVersion Kubernetes API version. Currently only v1 with kind PersistentVolumeClaim is allowed.
740
- * @param {string} kind Kubernetes kind. Currently only PersistentVolumeClaim with apiVersion v1 is allowed.
739
+ * @param {string} apiVersion Kubernetes API version. Must match an explicitly allowed storage resource kind.
740
+ * @param {string} kind Kubernetes kind. Allowed kinds are PersistentVolumeClaim, StorageClass and HostPathDefinition with their corresponding API versions.
741
741
  * @param {string} [namespace] Required for namespaced kinds; must be omitted for cluster-scoped kinds.
742
742
  * @param {*} [options] Override http request option.
743
743
  * @throws {RequiredError}
@@ -1200,7 +1200,7 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
1200
1200
  [key: string]: any;
1201
1201
  }>;
1202
1202
  /**
1203
- * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist currently permits only apiVersion v1 with kind PersistentVolumeClaim; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
1203
+ * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist permits v1 PersistentVolumeClaim, storage.k8s.io/v1 StorageClass and apelocal.csi.apecloud.com/v1alpha1 HostPathDefinition; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
1204
1204
  * @summary Get a live Kubernetes resource
1205
1205
  * @param {EnvironmentApiGetEnvironmentResourceRequest} requestParameters Request parameters.
1206
1206
  * @param {*} [options] Override http request option.
@@ -1658,7 +1658,7 @@ export interface EnvironmentApiInterface {
1658
1658
  [key: string]: any;
1659
1659
  }>;
1660
1660
  /**
1661
- * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist currently permits only apiVersion v1 with kind PersistentVolumeClaim; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
1661
+ * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist permits v1 PersistentVolumeClaim, storage.k8s.io/v1 StorageClass and apelocal.csi.apecloud.com/v1alpha1 HostPathDefinition; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
1662
1662
  * @summary Get a live Kubernetes resource
1663
1663
  * @param {EnvironmentApiGetEnvironmentResourceRequest} requestParameters Request parameters.
1664
1664
  * @param {*} [options] Override http request option.
@@ -2359,13 +2359,13 @@ export interface EnvironmentApiGetEnvironmentResourceRequest {
2359
2359
  */
2360
2360
  readonly resourceName: string;
2361
2361
  /**
2362
- * Kubernetes API version. Currently only v1 with kind PersistentVolumeClaim is allowed.
2362
+ * Kubernetes API version. Must match an explicitly allowed storage resource kind.
2363
2363
  * @type {string}
2364
2364
  * @memberof EnvironmentApiGetEnvironmentResource
2365
2365
  */
2366
2366
  readonly apiVersion: string;
2367
2367
  /**
2368
- * Kubernetes kind. Currently only PersistentVolumeClaim with apiVersion v1 is allowed.
2368
+ * Kubernetes kind. Allowed kinds are PersistentVolumeClaim, StorageClass and HostPathDefinition with their corresponding API versions.
2369
2369
  * @type {string}
2370
2370
  * @memberof EnvironmentApiGetEnvironmentResource
2371
2371
  */
@@ -3114,7 +3114,7 @@ export declare class EnvironmentApi extends BaseAPI implements EnvironmentApiInt
3114
3114
  [key: string]: any;
3115
3115
  }, any, {}>>;
3116
3116
  /**
3117
- * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist currently permits only apiVersion v1 with kind PersistentVolumeClaim; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
3117
+ * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist permits v1 PersistentVolumeClaim, storage.k8s.io/v1 StorageClass and apelocal.csi.apecloud.com/v1alpha1 HostPathDefinition; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
3118
3118
  * @summary Get a live Kubernetes resource
3119
3119
  * @param {EnvironmentApiGetEnvironmentResourceRequest} requestParameters Request parameters.
3120
3120
  * @param {*} [options] Override http request option.
@@ -890,12 +890,12 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
890
890
  };
891
891
  },
892
892
  /**
893
- * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist currently permits only apiVersion v1 with kind PersistentVolumeClaim; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
893
+ * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist permits v1 PersistentVolumeClaim, storage.k8s.io/v1 StorageClass and apelocal.csi.apecloud.com/v1alpha1 HostPathDefinition; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
894
894
  * @summary Get a live Kubernetes resource
895
895
  * @param {string} environmentName
896
896
  * @param {string} resourceName
897
- * @param {string} apiVersion Kubernetes API version. Currently only v1 with kind PersistentVolumeClaim is allowed.
898
- * @param {string} kind Kubernetes kind. Currently only PersistentVolumeClaim with apiVersion v1 is allowed.
897
+ * @param {string} apiVersion Kubernetes API version. Must match an explicitly allowed storage resource kind.
898
+ * @param {string} kind Kubernetes kind. Allowed kinds are PersistentVolumeClaim, StorageClass and HostPathDefinition with their corresponding API versions.
899
899
  * @param {string} [namespace] Required for namespaced kinds; must be omitted for cluster-scoped kinds.
900
900
  * @param {*} [options] Override http request option.
901
901
  * @throws {RequiredError}
@@ -2374,12 +2374,12 @@ const EnvironmentApiFp = function (configuration) {
2374
2374
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2375
2375
  },
2376
2376
  /**
2377
- * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist currently permits only apiVersion v1 with kind PersistentVolumeClaim; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
2377
+ * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist permits v1 PersistentVolumeClaim, storage.k8s.io/v1 StorageClass and apelocal.csi.apecloud.com/v1alpha1 HostPathDefinition; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
2378
2378
  * @summary Get a live Kubernetes resource
2379
2379
  * @param {string} environmentName
2380
2380
  * @param {string} resourceName
2381
- * @param {string} apiVersion Kubernetes API version. Currently only v1 with kind PersistentVolumeClaim is allowed.
2382
- * @param {string} kind Kubernetes kind. Currently only PersistentVolumeClaim with apiVersion v1 is allowed.
2381
+ * @param {string} apiVersion Kubernetes API version. Must match an explicitly allowed storage resource kind.
2382
+ * @param {string} kind Kubernetes kind. Allowed kinds are PersistentVolumeClaim, StorageClass and HostPathDefinition with their corresponding API versions.
2383
2383
  * @param {string} [namespace] Required for namespaced kinds; must be omitted for cluster-scoped kinds.
2384
2384
  * @param {*} [options] Override http request option.
2385
2385
  * @throws {RequiredError}
@@ -3052,7 +3052,7 @@ const EnvironmentApiFactory = function (configuration, basePath, axios) {
3052
3052
  return localVarFp.getEnvironmentProvisioningProgress(requestParameters.environmentName, options).then((request) => request(axios, basePath));
3053
3053
  },
3054
3054
  /**
3055
- * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist currently permits only apiVersion v1 with kind PersistentVolumeClaim; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
3055
+ * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist permits v1 PersistentVolumeClaim, storage.k8s.io/v1 StorageClass and apelocal.csi.apecloud.com/v1alpha1 HostPathDefinition; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
3056
3056
  * @summary Get a live Kubernetes resource
3057
3057
  * @param {EnvironmentApiGetEnvironmentResourceRequest} requestParameters Request parameters.
3058
3058
  * @param {*} [options] Override http request option.
@@ -3603,7 +3603,7 @@ class EnvironmentApi extends base_1.BaseAPI {
3603
3603
  return (0, exports.EnvironmentApiFp)(this.configuration).getEnvironmentProvisioningProgress(requestParameters.environmentName, options).then((request) => request(this.axios, this.basePath));
3604
3604
  }
3605
3605
  /**
3606
- * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist currently permits only apiVersion v1 with kind PersistentVolumeClaim; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
3606
+ * Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist permits v1 PersistentVolumeClaim, storage.k8s.io/v1 StorageClass and apelocal.csi.apecloud.com/v1alpha1 HostPathDefinition; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
3607
3607
  * @summary Get a live Kubernetes resource
3608
3608
  * @param {EnvironmentApiGetEnvironmentResourceRequest} requestParameters Request parameters.
3609
3609
  * @param {*} [options] Override http request option.
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Admin API
3
+ * The Admin API is used to manage the ApeCloud platform.
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
+ * CSI capacity policy; unlimited does not represent physical capacity.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const ApelocalCapacityMode: {
18
+ readonly asIs: "asIs";
19
+ readonly multiplier: "multiplier";
20
+ readonly fixed: "fixed";
21
+ readonly unlimited: "unlimited";
22
+ };
23
+ export type ApelocalCapacityMode = typeof ApelocalCapacityMode[keyof typeof ApelocalCapacityMode];
24
+ //# sourceMappingURL=apelocal-capacity-mode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apelocal-capacity-mode.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/apelocal-capacity-mode.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,oBAAoB;;;;;CAKvB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Admin API
6
+ * The Admin API is used to manage the ApeCloud platform.
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.ApelocalCapacityMode = void 0;
17
+ /**
18
+ * CSI capacity policy; unlimited does not represent physical capacity.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.ApelocalCapacityMode = {
23
+ asIs: 'asIs',
24
+ multiplier: 'multiplier',
25
+ fixed: 'fixed',
26
+ unlimited: 'unlimited'
27
+ };
28
+ //# sourceMappingURL=apelocal-capacity-mode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apelocal-capacity-mode.js","sourceRoot":"","sources":["../../../src/adminapi/models/apelocal-capacity-mode.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,oBAAoB,GAAG;IAChC,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;CAChB,CAAC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Admin API
3
+ * The Admin API is used to manage the ApeCloud platform.
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
+ * A measurement over known nodes. Missing nodes are not treated as zero. Coverage counts nodes whose complete per-node inputs are known, not individual storage resources.
14
+ * @export
15
+ * @interface ApelocalCapacityObservation
16
+ */
17
+ export interface ApelocalCapacityObservation {
18
+ /**
19
+ * Known-node sum in GiB or ratio in percent. Omitted when no inputs are known or a ratio denominator is zero. Ratios can exceed 100. Remaining quota is zero when there are selected nodes but none are ready.
20
+ * @type {number}
21
+ * @memberof ApelocalCapacityObservation
22
+ */
23
+ 'value'?: number | null;
24
+ /**
25
+ * Number of nodes with all inputs for this measurement.
26
+ * @type {number}
27
+ * @memberof ApelocalCapacityObservation
28
+ */
29
+ 'observedNodeCount'?: number;
30
+ /**
31
+ * Number of selected nodes relevant to this measurement; only ready schedulable nodes for remaining quota.
32
+ * @type {number}
33
+ * @memberof ApelocalCapacityObservation
34
+ */
35
+ 'expectedNodeCount'?: number;
36
+ /**
37
+ * Sorted names of relevant nodes with missing or inconsistent inputs for this measurement.
38
+ * @type {Array<string>}
39
+ * @memberof ApelocalCapacityObservation
40
+ */
41
+ 'missingNodes'?: Array<string>;
42
+ }
43
+ //# sourceMappingURL=apelocal-capacity-observation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apelocal-capacity-observation.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/apelocal-capacity-observation.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Admin API
6
+ * The Admin API is used to manage the ApeCloud platform.
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=apelocal-capacity-observation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apelocal-capacity-observation.js","sourceRoot":"","sources":["../../../src/adminapi/models/apelocal-capacity-observation.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,68 @@
1
+ /**
2
+ * Admin API
3
+ * The Admin API is used to manage the ApeCloud platform.
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 { ApelocalCapacityObservation } from './apelocal-capacity-observation';
13
+ /**
14
+ * Known-node aggregates after resource deduplication. Capacity values are in GiB and ratios are percentages using only nodes with both inputs. Independent measurements can cover different nodes. Quota, remaining quota and allocation percentage objects are omitted for unlimited or conflicting policies. Remaining quota covers only ready schedulable nodes. Physical remaining is capacity minus usage from nodes with both measurements and usage not exceeding capacity; it is not a guaranteed writable or schedulable quota. Existing summary totals remain omitted when incomplete.
15
+ * @export
16
+ * @interface ApelocalCapacityObservations
17
+ */
18
+ export interface ApelocalCapacityObservations {
19
+ /**
20
+ *
21
+ * @type {ApelocalCapacityObservation}
22
+ * @memberof ApelocalCapacityObservations
23
+ */
24
+ 'physicalCapacity'?: ApelocalCapacityObservation;
25
+ /**
26
+ *
27
+ * @type {ApelocalCapacityObservation}
28
+ * @memberof ApelocalCapacityObservations
29
+ */
30
+ 'physicalUsage'?: ApelocalCapacityObservation;
31
+ /**
32
+ *
33
+ * @type {ApelocalCapacityObservation}
34
+ * @memberof ApelocalCapacityObservations
35
+ */
36
+ 'physicalRemaining'?: ApelocalCapacityObservation;
37
+ /**
38
+ *
39
+ * @type {ApelocalCapacityObservation}
40
+ * @memberof ApelocalCapacityObservations
41
+ */
42
+ 'allocatedCapacity'?: ApelocalCapacityObservation;
43
+ /**
44
+ *
45
+ * @type {ApelocalCapacityObservation}
46
+ * @memberof ApelocalCapacityObservations
47
+ */
48
+ 'allocatableCapacity'?: ApelocalCapacityObservation;
49
+ /**
50
+ *
51
+ * @type {ApelocalCapacityObservation}
52
+ * @memberof ApelocalCapacityObservations
53
+ */
54
+ 'availableCapacity'?: ApelocalCapacityObservation;
55
+ /**
56
+ *
57
+ * @type {ApelocalCapacityObservation}
58
+ * @memberof ApelocalCapacityObservations
59
+ */
60
+ 'physicalUsagePercent'?: ApelocalCapacityObservation;
61
+ /**
62
+ *
63
+ * @type {ApelocalCapacityObservation}
64
+ * @memberof ApelocalCapacityObservations
65
+ */
66
+ 'allocationPercent'?: ApelocalCapacityObservation;
67
+ }
68
+ //# sourceMappingURL=apelocal-capacity-observations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apelocal-capacity-observations.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/apelocal-capacity-observations.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAEnF;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,2BAA2B,CAAC;IACjD;;;;OAIG;IACH,eAAe,CAAC,EAAE,2BAA2B,CAAC;IAC9C;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,2BAA2B,CAAC;IAClD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,2BAA2B,CAAC;IAClD;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,2BAA2B,CAAC;IACpD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,2BAA2B,CAAC;IAClD;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,2BAA2B,CAAC;IACrD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,2BAA2B,CAAC;CACrD"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Admin API
6
+ * The Admin API is used to manage the ApeCloud platform.
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=apelocal-capacity-observations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apelocal-capacity-observations.js","sourceRoot":"","sources":["../../../src/adminapi/models/apelocal-capacity-observations.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Admin API
3
+ * The Admin API is used to manage the ApeCloud platform.
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
+ * Conflicting shared quotas cannot form a single logical total.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const ApelocalCapacitySummaryMode: {
18
+ readonly finite: "finite";
19
+ readonly unlimited: "unlimited";
20
+ readonly conflict: "conflict";
21
+ };
22
+ export type ApelocalCapacitySummaryMode = typeof ApelocalCapacitySummaryMode[keyof typeof ApelocalCapacitySummaryMode];
23
+ //# sourceMappingURL=apelocal-capacity-summary-mode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apelocal-capacity-summary-mode.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/apelocal-capacity-summary-mode.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,2BAA2B;;;;CAI9B,CAAC;AAEX,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Admin API
6
+ * The Admin API is used to manage the ApeCloud platform.
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.ApelocalCapacitySummaryMode = void 0;
17
+ /**
18
+ * Conflicting shared quotas cannot form a single logical total.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.ApelocalCapacitySummaryMode = {
23
+ finite: 'finite',
24
+ unlimited: 'unlimited',
25
+ conflict: 'conflict'
26
+ };
27
+ //# sourceMappingURL=apelocal-capacity-summary-mode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apelocal-capacity-summary-mode.js","sourceRoot":"","sources":["../../../src/adminapi/models/apelocal-capacity-summary-mode.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,2BAA2B,GAAG;IACvC,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;CACd,CAAC"}
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Admin API
3
+ * The Admin API is used to manage the ApeCloud platform.
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 { ApelocalCapacityObservations } from './apelocal-capacity-observations';
13
+ import type { ApelocalCapacitySummaryMode } from './apelocal-capacity-summary-mode';
14
+ /**
15
+ * Deduplicated apelocal statistics. Does not include other storage drivers. Missing measurements are omitted, never treated as zero.
16
+ * @export
17
+ * @interface ApelocalCapacitySummary
18
+ */
19
+ export interface ApelocalCapacitySummary {
20
+ /**
21
+ *
22
+ * @type {ApelocalCapacityObservations}
23
+ * @memberof ApelocalCapacitySummary
24
+ */
25
+ 'observed'?: ApelocalCapacityObservations;
26
+ /**
27
+ *
28
+ * @type {ApelocalCapacitySummaryMode}
29
+ * @memberof ApelocalCapacitySummary
30
+ */
31
+ 'capacityMode'?: ApelocalCapacitySummaryMode;
32
+ /**
33
+ * Whether all required measurements for the selected capacity mode are present.
34
+ * @type {boolean}
35
+ * @memberof ApelocalCapacitySummary
36
+ */
37
+ 'complete'?: boolean;
38
+ /**
39
+ *
40
+ * @type {number}
41
+ * @memberof ApelocalCapacitySummary
42
+ */
43
+ 'nodeCount'?: number;
44
+ /**
45
+ *
46
+ * @type {number}
47
+ * @memberof ApelocalCapacitySummary
48
+ */
49
+ 'unavailableNodeCount'?: number;
50
+ /**
51
+ * Physical capacity in GiB, deduplicated by backing filesystem.
52
+ * @type {number}
53
+ * @memberof ApelocalCapacitySummary
54
+ */
55
+ 'physicalCapacity'?: number | null;
56
+ /**
57
+ * Physical filesystem usage in GiB, including other files.
58
+ * @type {number}
59
+ * @memberof ApelocalCapacitySummary
60
+ */
61
+ 'physicalUsage'?: number | null;
62
+ /**
63
+ * Logical total in GiB; omitted for unlimited or conflicting quotas.
64
+ * @type {number}
65
+ * @memberof ApelocalCapacitySummary
66
+ */
67
+ 'allocatableCapacity'?: number | null;
68
+ /**
69
+ * CSI allocated capacity in GiB, deduplicated by backing allocation resource.
70
+ * @type {number}
71
+ * @memberof ApelocalCapacitySummary
72
+ */
73
+ 'allocatedCapacity'?: number | null;
74
+ /**
75
+ * Remaining logical capacity in GiB on ready schedulable nodes only.
76
+ * @type {number}
77
+ * @memberof ApelocalCapacitySummary
78
+ */
79
+ 'availableCapacity'?: number | null;
80
+ }
81
+ //# sourceMappingURL=apelocal-capacity-summary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apelocal-capacity-summary.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/apelocal-capacity-summary.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAGrF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAEpF;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,UAAU,CAAC,EAAE,4BAA4B,CAAC;IAC1C;;;;OAIG;IACH,cAAc,CAAC,EAAE,2BAA2B,CAAC;IAC7C;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Admin API
6
+ * The Admin API is used to manage the ApeCloud platform.
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=apelocal-capacity-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apelocal-capacity-summary.js","sourceRoot":"","sources":["../../../src/adminapi/models/apelocal-capacity-summary.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Admin API
3
+ * The Admin API is used to manage the ApeCloud platform.
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
+ * apelocal-specific capacity measurements for one node. Missing measurements are omitted.
14
+ * @export
15
+ * @interface ApelocalNodeStats
16
+ */
17
+ export interface ApelocalNodeStats {
18
+ /**
19
+ * Node-local backing allocation resource identity, used to deduplicate SC aliases.
20
+ * @type {string}
21
+ * @memberof ApelocalNodeStats
22
+ */
23
+ 'allocationResourceID'?: string;
24
+ /**
25
+ * Node-local observed filesystem identity, used to deduplicate shared physical capacity.
26
+ * @type {string}
27
+ * @memberof ApelocalNodeStats
28
+ */
29
+ 'physicalResourceID'?: string;
30
+ /**
31
+ * Observed filesystem capacity in GiB; omitted when the backing filesystem cannot be identified completely.
32
+ * @type {number}
33
+ * @memberof ApelocalNodeStats
34
+ */
35
+ 'physicalCapacity'?: number | null;
36
+ /**
37
+ * Observed filesystem used bytes in GiB, including other data on the same filesystem.
38
+ * @type {number}
39
+ * @memberof ApelocalNodeStats
40
+ */
41
+ 'physicalUsage'?: number | null;
42
+ /**
43
+ * CSI total allocatable capacity in GiB; omitted for unlimited capacity.
44
+ * @type {number}
45
+ * @memberof ApelocalNodeStats
46
+ */
47
+ 'allocatableCapacity'?: number | null;
48
+ /**
49
+ * CSI remaining allocatable capacity in GiB; omitted for unlimited capacity.
50
+ * @type {number}
51
+ * @memberof ApelocalNodeStats
52
+ */
53
+ 'availableCapacity'?: number | null;
54
+ /**
55
+ * Capacity accounted for by CSI in GiB, including shared definitions; omitted when it cannot be determined exactly.
56
+ * @type {number}
57
+ * @memberof ApelocalNodeStats
58
+ */
59
+ 'allocatedCapacity'?: number | null;
60
+ /**
61
+ * Largest volume CSI can allocate on this node in GiB.
62
+ * @type {number}
63
+ * @memberof ApelocalNodeStats
64
+ */
65
+ 'maximumVolumeSize'?: number | null;
66
+ }
67
+ //# sourceMappingURL=apelocal-node-stats.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apelocal-node-stats.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/apelocal-node-stats.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Admin API
6
+ * The Admin API is used to manage the ApeCloud platform.
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=apelocal-node-stats.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apelocal-node-stats.js","sourceRoot":"","sources":["../../../src/adminapi/models/apelocal-node-stats.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}