@huaweicloud/huaweicloud-sdk-dcc 3.1.179

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.
@@ -0,0 +1,3 @@
1
+ export * from './v1/public-api';
2
+ export * as v1 from './v1/public-api';
3
+ //# sourceMappingURL=huaweicloud-sdk-dcc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"huaweicloud-sdk-dcc.d.ts","sourceRoot":"","sources":["../../../services/dcc/huaweicloud-sdk-dcc.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,OAAO,KAAK,EAAE,MAAO,iBAAiB,CAAC"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.v1 = void 0;
30
+ __exportStar(require("./v1/public-api"), exports);
31
+ exports.v1 = __importStar(require("./v1/public-api"));
32
+ //# sourceMappingURL=huaweicloud-sdk-dcc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"huaweicloud-sdk-dcc.js","sourceRoot":"","sources":["../../../services/dcc/huaweicloud-sdk-dcc.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,sDAAuC"}
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@huaweicloud/huaweicloud-sdk-dcc",
3
+ "version": "3.1.179",
4
+ "description": "Huaweicloud SDK for dcc",
5
+ "main": "huaweicloud-sdk-dcc.js",
6
+ "typings": "huaweicloud-sdk-dcc.d.ts",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/huaweicloud/huaweicloud-sdk-nodejs-v3"
13
+ },
14
+ "author": "HuaweiCloud_SDK",
15
+ "license": "Apache-2.0",
16
+ "dependencies": {
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.1.179"
18
+ },
19
+ "devDependencies": {
20
+ "@types/node": "^14.14.37",
21
+ "typescript": "^4.9.5"
22
+ }
23
+ }
@@ -0,0 +1,48 @@
1
+ import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient";
2
+ import { ClientBuilder } from "@huaweicloud/huaweicloud-sdk-core/ClientBuilder";
3
+ import { ShowResourceClustersRequest } from './model/ShowResourceClustersRequest';
4
+ import { ShowResourceClustersResponse } from './model/ShowResourceClustersResponse';
5
+ export declare class DccClient {
6
+ static newBuilder(): ClientBuilder<DccClient>;
7
+ private hcClient;
8
+ constructor(client: HcClient);
9
+ getPath(): string;
10
+ /**
11
+ * 获取专属计算集群资源
12
+ *
13
+ * Please refer to HUAWEI cloud API Explorer for details.
14
+ *
15
+ * @summary 获取专属计算集群资源
16
+ * @param {string} [serviceType] 集群服务类型,取值范围:“ecs”或“bms”。
17
+ * @param {*} [options] Override http request option.
18
+ * @throws {RequiredError}
19
+ */
20
+ showResourceClusters(showResourceClustersRequest?: ShowResourceClustersRequest): Promise<ShowResourceClustersResponse>;
21
+ }
22
+ export declare const ParamCreater: () => {
23
+ /**
24
+ * 获取专属计算集群资源
25
+ *
26
+ * Please refer to HUAWEI cloud API Explorer for details.
27
+ */
28
+ showResourceClusters(showResourceClustersRequest?: ShowResourceClustersRequest): {
29
+ method: string;
30
+ url: string;
31
+ contentType: string;
32
+ queryParams: {};
33
+ pathParams: {};
34
+ headers: {};
35
+ };
36
+ };
37
+ /**
38
+ *
39
+ * @export
40
+ * @class RequiredError
41
+ * @extends {Error}
42
+ */
43
+ export declare class RequiredError extends Error {
44
+ field: string;
45
+ name: "RequiredError";
46
+ constructor(field: string, msg?: string);
47
+ }
48
+ //# sourceMappingURL=DccClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DccClient.d.ts","sourceRoot":"","sources":["../../../../services/dcc/v1/DccClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAKhF,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAEpF,qBAAa,SAAS;WACJ,UAAU,IAAI,aAAa,CAAC,SAAS,CAAC;IAKpD,OAAO,CAAC,QAAQ,CAAW;gBACR,MAAM,EAAE,QAAQ;IAI5B,OAAO;IAKd;;;;;;;;;OASG;IACI,oBAAoB,CAAC,2BAA2B,CAAC,EAAE,2BAA2B,GAAG,OAAO,CAAC,4BAA4B,CAAC;CAQhI;AAED,eAAO,MAAM,YAAY;IAGjB;;;;OAIG;uDACgD,2BAA2B;;;;;;;;CAiCrF,CAAC;AAMF;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,KAAK;IAEjB,KAAK,EAAE,MAAM;IADhC,IAAI,EAAE,eAAe,CAAmB;gBACrB,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM;CAGjD"}
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RequiredError = exports.ParamCreater = exports.DccClient = void 0;
4
+ const ClientBuilder_1 = require("@huaweicloud/huaweicloud-sdk-core/ClientBuilder");
5
+ const ShowResourceClustersRequest_1 = require("./model/ShowResourceClustersRequest");
6
+ class DccClient {
7
+ static newBuilder() {
8
+ let client = new ClientBuilder_1.ClientBuilder(newClient);
9
+ return client;
10
+ }
11
+ constructor(client) {
12
+ this.hcClient = client;
13
+ }
14
+ getPath() {
15
+ return __dirname;
16
+ }
17
+ /**
18
+ * 获取专属计算集群资源
19
+ *
20
+ * Please refer to HUAWEI cloud API Explorer for details.
21
+ *
22
+ * @summary 获取专属计算集群资源
23
+ * @param {string} [serviceType] 集群服务类型,取值范围:“ecs”或“bms”。
24
+ * @param {*} [options] Override http request option.
25
+ * @throws {RequiredError}
26
+ */
27
+ showResourceClusters(showResourceClustersRequest) {
28
+ const options = (0, exports.ParamCreater)().showResourceClusters(showResourceClustersRequest);
29
+ // @ts-ignore
30
+ options['responseHeaders'] = [''];
31
+ return this.hcClient.sendRequest(options);
32
+ }
33
+ }
34
+ exports.DccClient = DccClient;
35
+ const ParamCreater = function () {
36
+ return {
37
+ /**
38
+ * 获取专属计算集群资源
39
+ *
40
+ * Please refer to HUAWEI cloud API Explorer for details.
41
+ */
42
+ showResourceClusters(showResourceClustersRequest) {
43
+ const options = {
44
+ method: "GET",
45
+ url: "/v1/{project_id}/dcc/resource_clusters",
46
+ contentType: "application/json",
47
+ queryParams: {},
48
+ pathParams: {},
49
+ headers: {}
50
+ };
51
+ const localVarHeaderParameter = {};
52
+ const localVarQueryParameter = {};
53
+ let serviceType;
54
+ if (showResourceClustersRequest !== null && showResourceClustersRequest !== undefined) {
55
+ if (showResourceClustersRequest instanceof ShowResourceClustersRequest_1.ShowResourceClustersRequest) {
56
+ serviceType = showResourceClustersRequest.serviceType;
57
+ }
58
+ else {
59
+ serviceType = showResourceClustersRequest['service_type'];
60
+ }
61
+ }
62
+ if (serviceType !== null && serviceType !== undefined) {
63
+ localVarQueryParameter['service_type'] = serviceType;
64
+ }
65
+ options.queryParams = localVarQueryParameter;
66
+ options.headers = localVarHeaderParameter;
67
+ return options;
68
+ },
69
+ };
70
+ };
71
+ exports.ParamCreater = ParamCreater;
72
+ function newClient(client) {
73
+ return new DccClient(client);
74
+ }
75
+ /**
76
+ *
77
+ * @export
78
+ * @class RequiredError
79
+ * @extends {Error}
80
+ */
81
+ class RequiredError extends Error {
82
+ constructor(field, msg) {
83
+ super(msg);
84
+ this.field = field;
85
+ this.name = "RequiredError";
86
+ }
87
+ }
88
+ exports.RequiredError = RequiredError;
89
+ //# sourceMappingURL=DccClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DccClient.js","sourceRoot":"","sources":["../../../../services/dcc/v1/DccClient.ts"],"names":[],"mappings":";;;AACA,mFAAgF;AAKhF,qFAAkF;AAGlF,MAAa,SAAS;IACX,MAAM,CAAC,UAAU;QAChB,IAAI,MAAM,GAAG,IAAI,6BAAa,CAAY,SAAS,CAAC,CAAC;QACrD,OAAO,MAAM,CAAC;IACtB,CAAC;IAGD,YAAmB,MAAgB;QAC/B,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC;IAC3B,CAAC;IAEM,OAAO;QACV,OAAO,SAAS,CAAC;IACrB,CAAC;IAGD;;;;;;;;;OASG;IACI,oBAAoB,CAAC,2BAAyD;QACjF,MAAM,OAAO,GAAG,IAAA,oBAAY,GAAE,CAAC,oBAAoB,CAAC,2BAA2B,CAAC,CAAC;QAEhF,aAAa;QACd,OAAO,CAAC,iBAAiB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAElC,OAAO,I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AQ;QADhC,SAAI,GAAoB,eAAe,CAAC;IAGxC,CAAC;CACJ;AALD,sCAKC"}
@@ -0,0 +1,16 @@
1
+ import { Region } from "@huaweicloud/huaweicloud-sdk-core/region/region";
2
+ export declare class DccRegion {
3
+ static CN_NORTH_1: Region;
4
+ static CN_NORTH_2: Region;
5
+ static CN_NORTH_4: Region;
6
+ static CN_SOUTH_1: Region;
7
+ static CN_EAST_2: Region;
8
+ static CN_EAST_3: Region;
9
+ static CN_SOUTHWEST_2: Region;
10
+ static AP_SOUTHEAST_1: Region;
11
+ static AP_SOUTHEAST_2: Region;
12
+ static AP_SOUTHEAST_3: Region;
13
+ private static REGION_MAP;
14
+ static valueOf(regionId: string): Region;
15
+ }
16
+ //# sourceMappingURL=DccRegion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DccRegion.d.ts","sourceRoot":"","sources":["../../../../services/dcc/v1/DccRegion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AAOzE,qBAAa,SAAS;IAClB,OAAc,UAAU,SAA0E;IAClG,OAAc,UAAU,SAA0E;IAClG,OAAc,UAAU,SAA0E;IAClG,OAAc,UAAU,SAA0E;IAClG,OAAc,SAAS,SAAwE;IAC/F,OAAc,SAAS,SAAwE;IAC/F,OAAc,cAAc,SAAkF;IAC9G,OAAc,cAAc,SAAkF;IAC9G,OAAc,cAAc,SAAkF;IAC9G,OAAc,cAAc,SAAkF;IAG9G,OAAO,CAAC,MAAM,CAAC,UAAU,CAWvB;WAEY,OAAO,CAAC,QAAQ,EAAE,MAAM;CAUzC"}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DccRegion = void 0;
4
+ const region_1 = require("@huaweicloud/huaweicloud-sdk-core/region/region");
5
+ class DccRegion {
6
+ static valueOf(regionId) {
7
+ if (!regionId) {
8
+ throw new Error("Unexpected empty parameter: regionId.");
9
+ }
10
+ const result = this.REGION_MAP[regionId];
11
+ if (result) {
12
+ return result;
13
+ }
14
+ throw new Error(`Unexpected regionId: ${regionId}.`);
15
+ }
16
+ }
17
+ exports.DccRegion = DccRegion;
18
+ DccRegion.CN_NORTH_1 = new region_1.Region("cn-north-1", ["https://dcc.cn-north-1.myhuaweicloud.com"]);
19
+ DccRegion.CN_NORTH_2 = new region_1.Region("cn-north-2", ["https://dcc.cn-north-2.myhuaweicloud.com"]);
20
+ DccRegion.CN_NORTH_4 = new region_1.Region("cn-north-4", ["https://dcc.cn-north-4.myhuaweicloud.com"]);
21
+ DccRegion.CN_SOUTH_1 = new region_1.Region("cn-south-1", ["https://dcc.cn-south-1.myhuaweicloud.com"]);
22
+ DccRegion.CN_EAST_2 = new region_1.Region("cn-east-2", ["https://dcc.cn-east-2.myhuaweicloud.com"]);
23
+ DccRegion.CN_EAST_3 = new region_1.Region("cn-east-3", ["https://dcc.cn-east-3.myhuaweicloud.com"]);
24
+ DccRegion.CN_SOUTHWEST_2 = new region_1.Region("cn-southwest-2", ["https://dcc.cn-southwest-2.myhuaweicloud.com"]);
25
+ DccRegion.AP_SOUTHEAST_1 = new region_1.Region("ap-southeast-1", ["https://dcc.ap-southeast-1.myhuaweicloud.com"]);
26
+ DccRegion.AP_SOUTHEAST_2 = new region_1.Region("ap-southeast-2", ["https://dcc.ap-southeast-2.myhuaweicloud.com"]);
27
+ DccRegion.AP_SOUTHEAST_3 = new region_1.Region("ap-southeast-3", ["https://dcc.ap-southeast-3.myhuaweicloud.com"]);
28
+ DccRegion.REGION_MAP = {
29
+ "cn-north-1": DccRegion.CN_NORTH_1,
30
+ "cn-north-2": DccRegion.CN_NORTH_2,
31
+ "cn-north-4": DccRegion.CN_NORTH_4,
32
+ "cn-south-1": DccRegion.CN_SOUTH_1,
33
+ "cn-east-2": DccRegion.CN_EAST_2,
34
+ "cn-east-3": DccRegion.CN_EAST_3,
35
+ "cn-southwest-2": DccRegion.CN_SOUTHWEST_2,
36
+ "ap-southeast-1": DccRegion.AP_SOUTHEAST_1,
37
+ "ap-southeast-2": DccRegion.AP_SOUTHEAST_2,
38
+ "ap-southeast-3": DccRegion.AP_SOUTHEAST_3
39
+ };
40
+ //# sourceMappingURL=DccRegion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DccRegion.js","sourceRoot":"","sources":["../../../../services/dcc/v1/DccRegion.ts"],"names":[],"mappings":";;;AAAA,4EAAyE;AAOzE,MAAa,SAAS;IA0BX,MAAM,CAAC,OAAO,CAAC,QAAgB;QAClC,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;SAC1D;QACD,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QACzC,IAAI,MAAM,EAAE;YACV,OAAO,MAAM,CAAC;SACf;QACD,MAAM,IAAI,KAAK,CAAC,wBAAwB,QAAQ,GAAG,CAAC,CAAA;IACxD,CAAC;;AAnCL,8BAoCC;AAnCiB,oBAAU,GAAG,IAAI,eAAM,CAAC,YAAY,EAAE,CAAC,0CAA0C,CAAC,CAAC,CAAC;AACpF,oBAAU,GAAG,IAAI,eAAM,CAAC,YAAY,EAAE,CAAC,0CAA0C,CAAC,CAAC,CAAC;AACpF,oBAAU,GAAG,IAAI,eAAM,CAAC,YAAY,EAAE,CAAC,0CAA0C,CAAC,CAAC,CAAC;AACpF,oBAAU,GAAG,IAAI,eAAM,CAAC,YAAY,EAAE,CAAC,0CAA0C,CAAC,CAAC,CAAC;AACpF,mBAAS,GAAG,IAAI,eAAM,CAAC,WAAW,EAAE,CAAC,yCAAyC,CAAC,CAAC,CAAC;AACjF,mBAAS,GAAG,IAAI,eAAM,CAAC,WAAW,EAAE,CAAC,yCAAyC,CAAC,CAAC,CAAC;AACjF,wBAAc,GAAG,IAAI,eAAM,CAAC,gBAAgB,EAAE,CAAC,8CAA8C,CAAC,CAAC,CAAC;AAChG,wBAAc,GAAG,IAAI,eAAM,CAAC,gBAAgB,EAAE,CAAC,8CAA8C,CAAC,CAAC,CAAC;AAChG,wBAAc,GAAG,IAAI,eAAM,CAAC,gBAAgB,EAAE,CAAC,8CAA8C,CAAC,CAAC,CAAC;AAChG,wBAAc,GAAG,IAAI,eAAM,CAAC,gBAAgB,EAAE,CAAC,8CAA8C,CAAC,CAAC,CAAC;AAG/F,oBAAU,GAAc;IACnC,YAAY,EAAC,SAAS,CAAC,UAAU;IACjC,YAAY,EAAC,SAAS,CAAC,UAAU;IACjC,YAAY,EAAC,SAAS,CAAC,UAAU;IACjC,YAAY,EAAC,SAAS,CAAC,UAAU;IACjC,WAAW,EAAC,SAAS,CAAC,SAAS;IAC/B,WAAW,EAAC,SAAS,CAAC,SAAS;IAC/B,gBAAgB,EAAC,SAAS,CAAC,cAAc;IACzC,gBAAgB,EAAC,SAAS,CAAC,cAAc;IACzC,gBAAgB,EAAC,SAAS,CAAC,cAAc;IACzC,gBAAgB,EAAC,SAAS,CAAC,cAAc;CAC5C,CAAC"}
@@ -0,0 +1,51 @@
1
+ import { HostProperties } from './HostProperties';
2
+ export declare class DedicatedCluster {
3
+ private 'project_id'?;
4
+ private 'availability_zone'?;
5
+ private 'host_total'?;
6
+ private 'host_type'?;
7
+ private 'service_type'?;
8
+ private 'host_properties'?;
9
+ private 'vcpus_used'?;
10
+ private 'vcpus_total'?;
11
+ private 'memory_mb_used'?;
12
+ private 'memory_mb_total'?;
13
+ flavors?: Array<string>;
14
+ private 'instance_total'?;
15
+ constructor();
16
+ withProjectId(projectId: string): DedicatedCluster;
17
+ set projectId(projectId: string | undefined);
18
+ get projectId(): string | undefined;
19
+ withAvailabilityZone(availabilityZone: string): DedicatedCluster;
20
+ set availabilityZone(availabilityZone: string | undefined);
21
+ get availabilityZone(): string | undefined;
22
+ withHostTotal(hostTotal: number): DedicatedCluster;
23
+ set hostTotal(hostTotal: number | undefined);
24
+ get hostTotal(): number | undefined;
25
+ withHostType(hostType: string): DedicatedCluster;
26
+ set hostType(hostType: string | undefined);
27
+ get hostType(): string | undefined;
28
+ withServiceType(serviceType: string): DedicatedCluster;
29
+ set serviceType(serviceType: string | undefined);
30
+ get serviceType(): string | undefined;
31
+ withHostProperties(hostProperties: HostProperties): DedicatedCluster;
32
+ set hostProperties(hostProperties: HostProperties | undefined);
33
+ get hostProperties(): HostProperties | undefined;
34
+ withVcpusUsed(vcpusUsed: number): DedicatedCluster;
35
+ set vcpusUsed(vcpusUsed: number | undefined);
36
+ get vcpusUsed(): number | undefined;
37
+ withVcpusTotal(vcpusTotal: number): DedicatedCluster;
38
+ set vcpusTotal(vcpusTotal: number | undefined);
39
+ get vcpusTotal(): number | undefined;
40
+ withMemoryMbUsed(memoryMbUsed: number): DedicatedCluster;
41
+ set memoryMbUsed(memoryMbUsed: number | undefined);
42
+ get memoryMbUsed(): number | undefined;
43
+ withMemoryMbTotal(memoryMbTotal: number): DedicatedCluster;
44
+ set memoryMbTotal(memoryMbTotal: number | undefined);
45
+ get memoryMbTotal(): number | undefined;
46
+ withFlavors(flavors: Array<string>): DedicatedCluster;
47
+ withInstanceTotal(instanceTotal: number): DedicatedCluster;
48
+ set instanceTotal(instanceTotal: number | undefined);
49
+ get instanceTotal(): number | undefined;
50
+ }
51
+ //# sourceMappingURL=DedicatedCluster.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DedicatedCluster.d.ts","sourceRoot":"","sources":["../../../../../services/dcc/v1/model/DedicatedCluster.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,qBAAa,gBAAgB;IACzB,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,mBAAmB,CAAC,CAAS;IACrC,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,WAAW,CAAC,CAAS;IAC7B,OAAO,CAAC,cAAc,CAAC,CAAS;IAChC,OAAO,CAAC,iBAAiB,CAAC,CAAiB;IAC3C,OAAO,CAAC,YA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E,MAAM,GAAG,gBAAgB;IAIzD,IAAW,SAAS,CAAC,SAAS,EAAE,MAAM,GAAI,SAAS,EAElD;IACD,IAAW,SAAS,IAAI,MAAM,GAAG,SAAS,CAEzC;IACM,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,gBAAgB;IAI3D,IAAW,UAAU,CAAC,UAAU,EAAE,MAAM,GAAI,SAAS,EAEpD;IACD,IAAW,UAAU,IAAI,MAAM,GAAG,SAAS,CAE1C;IACM,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,gBAAgB;IAI/D,IAAW,YAAY,CAAC,YAAY,EAAE,MAAM,GAAI,SAAS,EAExD;IACD,IAAW,YAAY,IAAI,MAAM,GAAG,SAAS,CAE5C;IACM,iBAAiB,CAAC,aAAa,EAAE,MAAM,GAAG,gBAAgB;IAIjE,IAAW,aAAa,CAAC,aAAa,EAAE,MAAM,GAAI,SAAS,EAE1D;IACD,IAAW,aAAa,IAAI,MAAM,GAAG,SAAS,CAE7C;IACM,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,gBAAgB;IAIrD,iBAAiB,CAAC,aAAa,EAAE,MAAM,GAAG,gBAAgB;IAIjE,IAAW,aAAa,CAAC,aAAa,EAAE,MAAM,GAAI,SAAS,EAE1D;IACD,IAAW,aAAa,IAAI,MAAM,GAAG,SAAS,CAE7C;CACJ"}
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DedicatedCluster = void 0;
4
+ class DedicatedCluster {
5
+ constructor() {
6
+ }
7
+ withProjectId(projectId) {
8
+ this['project_id'] = projectId;
9
+ return this;
10
+ }
11
+ set projectId(projectId) {
12
+ this['project_id'] = projectId;
13
+ }
14
+ get projectId() {
15
+ return this['project_id'];
16
+ }
17
+ withAvailabilityZone(availabilityZone) {
18
+ this['availability_zone'] = availabilityZone;
19
+ return this;
20
+ }
21
+ set availabilityZone(availabilityZone) {
22
+ this['availability_zone'] = availabilityZone;
23
+ }
24
+ get availabilityZone() {
25
+ return this['availability_zone'];
26
+ }
27
+ withHostTotal(hostTotal) {
28
+ this['host_total'] = hostTotal;
29
+ return this;
30
+ }
31
+ set hostTotal(hostTotal) {
32
+ this['host_total'] = hostTotal;
33
+ }
34
+ get hostTotal() {
35
+ return this['host_total'];
36
+ }
37
+ withHostType(hostType) {
38
+ this['host_type'] = hostType;
39
+ return this;
40
+ }
41
+ set hostType(hostType) {
42
+ this['host_type'] = hostType;
43
+ }
44
+ get hostType() {
45
+ return this['host_type'];
46
+ }
47
+ withServiceType(serviceType) {
48
+ this['service_type'] = serviceType;
49
+ return this;
50
+ }
51
+ set serviceType(serviceType) {
52
+ this['service_type'] = serviceType;
53
+ }
54
+ get serviceType() {
55
+ return this['service_type'];
56
+ }
57
+ withHostProperties(hostProperties) {
58
+ this['host_properties'] = hostProperties;
59
+ return this;
60
+ }
61
+ set hostProperties(hostProperties) {
62
+ this['host_properties'] = hostProperties;
63
+ }
64
+ get hostProperties() {
65
+ return this['host_properties'];
66
+ }
67
+ withVcpusUsed(vcpusUsed) {
68
+ this['vcpus_used'] = vcpusUsed;
69
+ return this;
70
+ }
71
+ set vcpusUsed(vcpusUsed) {
72
+ this['vcpus_used'] = vcpusUsed;
73
+ }
74
+ get vcpusUsed() {
75
+ return this['vcpus_used'];
76
+ }
77
+ withVcpusTotal(vcpusTotal) {
78
+ this['vcpus_total'] = vcpusTotal;
79
+ return this;
80
+ }
81
+ set vcpusTotal(vcpusTotal) {
82
+ this['vcpus_total'] = vcpusTotal;
83
+ }
84
+ get vcpusTotal() {
85
+ return this['vcpus_total'];
86
+ }
87
+ withMemoryMbUsed(memoryMbUsed) {
88
+ this['memory_mb_used'] = memoryMbUsed;
89
+ return this;
90
+ }
91
+ set memoryMbUsed(memoryMbUsed) {
92
+ this['memory_mb_used'] = memoryMbUsed;
93
+ }
94
+ get memoryMbUsed() {
95
+ return this['memory_mb_used'];
96
+ }
97
+ withMemoryMbTotal(memoryMbTotal) {
98
+ this['memory_mb_total'] = memoryMbTotal;
99
+ return this;
100
+ }
101
+ set memoryMbTotal(memoryMbTotal) {
102
+ this['memory_mb_total'] = memoryMbTotal;
103
+ }
104
+ get memoryMbTotal() {
105
+ return this['memory_mb_total'];
106
+ }
107
+ withFlavors(flavors) {
108
+ this['flavors'] = flavors;
109
+ return this;
110
+ }
111
+ withInstanceTotal(instanceTotal) {
112
+ this['instance_total'] = instanceTotal;
113
+ return this;
114
+ }
115
+ set instanceTotal(instanceTotal) {
116
+ this['instance_total'] = instanceTotal;
117
+ }
118
+ get instanceTotal() {
119
+ return this['instance_total'];
120
+ }
121
+ }
122
+ exports.DedicatedCluster = DedicatedCluster;
123
+ //# sourceMappingURL=DedicatedCluster.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DedicatedCluster.js","sourceRoot":"","sources":["../../../../../services/dcc/v1/model/DedicatedCluster.ts"],"names":[],"mappings":";;;AAGA,MAAa,gBAAgB;IAazB;IACA,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,SAAS,CAAC,SAA8B;QAC/C,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACD,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC;IAC9B,CAAC;IACM,oBAAoB,CAAC,gBAAwB;QAChD,IAAI,CAAC,mBAAmB,CAAC,GAAG,gBAAgB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,gBAAgB,CAAC,gBAAqC;QAC7D,IAAI,CAAC,mBAAmB,CAAC,GAAG,gBAAgB,CAAC;IACjD,CAAC;IACD,IAAW,gBAAgB;QACvB,OAAO,IAAI,CAAC,mBAAmB,CAAC,CAAC;IACrC,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC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AAC;IAC3C,CAAC;IACD,IAAW,aAAa;QACpB,OAAO,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAClC,CAAC;CACJ;AAjID,4CAiIC"}
@@ -0,0 +1,16 @@
1
+ export declare class HostProperties {
2
+ private 'cpu_cores'?;
3
+ private 'memory_mb'?;
4
+ private 'cpu_speed'?;
5
+ constructor();
6
+ withCpuCores(cpuCores: number): HostProperties;
7
+ set cpuCores(cpuCores: number | undefined);
8
+ get cpuCores(): number | undefined;
9
+ withMemoryMb(memoryMb: number): HostProperties;
10
+ set memoryMb(memoryMb: number | undefined);
11
+ get memoryMb(): number | undefined;
12
+ withCpuSpeed(cpuSpeed: string): HostProperties;
13
+ set cpuSpeed(cpuSpeed: string | undefined);
14
+ get cpuSpeed(): string | undefined;
15
+ }
16
+ //# sourceMappingURL=HostProperties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HostProperties.d.ts","sourceRoot":"","sources":["../../../../../services/dcc/v1/model/HostProperties.ts"],"names":[],"mappings":"AAEA,qBAAa,cAAc;IACvB,OAAO,CAAC,WAAW,CAAC,CAAS;IAC7B,OAAO,CAAC,WAAW,CAAC,CAAS;IAC7B,OAAO,CAAC,WAAW,CAAC,CAAS;;IAGtB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc;IAIrD,IAAW,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAI,SAAS,EAEhD;IACD,IAAW,QAAQ,IAAI,MAAM,GAAG,SAAS,CAExC;IACM,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc;IAIrD,IAAW,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAI,SAAS,EAEhD;IACD,IAAW,QAAQ,IAAI,MAAM,GAAG,SAAS,CAExC;IACM,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc;IAIrD,IAAW,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAI,SAAS,EAEhD;IACD,IAAW,QAAQ,IAAI,MAAM,GAAG,SAAS,CAExC;CACJ"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HostProperties = void 0;
4
+ class HostProperties {
5
+ constructor() {
6
+ }
7
+ withCpuCores(cpuCores) {
8
+ this['cpu_cores'] = cpuCores;
9
+ return this;
10
+ }
11
+ set cpuCores(cpuCores) {
12
+ this['cpu_cores'] = cpuCores;
13
+ }
14
+ get cpuCores() {
15
+ return this['cpu_cores'];
16
+ }
17
+ withMemoryMb(memoryMb) {
18
+ this['memory_mb'] = memoryMb;
19
+ return this;
20
+ }
21
+ set memoryMb(memoryMb) {
22
+ this['memory_mb'] = memoryMb;
23
+ }
24
+ get memoryMb() {
25
+ return this['memory_mb'];
26
+ }
27
+ withCpuSpeed(cpuSpeed) {
28
+ this['cpu_speed'] = cpuSpeed;
29
+ return this;
30
+ }
31
+ set cpuSpeed(cpuSpeed) {
32
+ this['cpu_speed'] = cpuSpeed;
33
+ }
34
+ get cpuSpeed() {
35
+ return this['cpu_speed'];
36
+ }
37
+ }
38
+ exports.HostProperties = HostProperties;
39
+ //# sourceMappingURL=HostProperties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HostProperties.js","sourceRoot":"","sources":["../../../../../services/dcc/v1/model/HostProperties.ts"],"names":[],"mappings":";;;AAEA,MAAa,cAAc;IAIvB;IACA,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,QAAQ,CAAC,QAA6B;QAC7C,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,QAAQ,CAAC,QAA6B;QAC7C,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,QAAQ,CAAC,QAA6B;QAC7C,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;CACJ;AApCD,wCAoCC"}
@@ -0,0 +1,8 @@
1
+ export declare class ShowResourceClustersRequest {
2
+ private 'service_type'?;
3
+ constructor();
4
+ withServiceType(serviceType: string): ShowResourceClustersRequest;
5
+ set serviceType(serviceType: string | undefined);
6
+ get serviceType(): string | undefined;
7
+ }
8
+ //# sourceMappingURL=ShowResourceClustersRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowResourceClustersRequest.d.ts","sourceRoot":"","sources":["../../../../../services/dcc/v1/model/ShowResourceClustersRequest.ts"],"names":[],"mappings":"AAEA,qBAAa,2BAA2B;IACpC,OAAO,CAAC,cAAc,CAAC,CAAS;;IAGzB,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,2BAA2B;IAIxE,IAAW,WAAW,CAAC,WAAW,EAAE,MAAM,GAAI,SAAS,EAEtD;IACD,IAAW,WAAW,IAAI,MAAM,GAAG,SAAS,CAE3C;CACJ"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShowResourceClustersRequest = void 0;
4
+ class ShowResourceClustersRequest {
5
+ constructor() {
6
+ }
7
+ withServiceType(serviceType) {
8
+ this['service_type'] = serviceType;
9
+ return this;
10
+ }
11
+ set serviceType(serviceType) {
12
+ this['service_type'] = serviceType;
13
+ }
14
+ get serviceType() {
15
+ return this['service_type'];
16
+ }
17
+ }
18
+ exports.ShowResourceClustersRequest = ShowResourceClustersRequest;
19
+ //# sourceMappingURL=ShowResourceClustersRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowResourceClustersRequest.js","sourceRoot":"","sources":["../../../../../services/dcc/v1/model/ShowResourceClustersRequest.ts"],"names":[],"mappings":";;;AAEA,MAAa,2BAA2B;IAEpC;IACA,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,WAAW,CAAC,WAAgC;QACnD,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;IACvC,CAAC;IACD,IAAW,WAAW;QAClB,OAAO,IAAI,CAAC,cAAc,CAAC,CAAC;IAChC,CAAC;CACJ;AAdD,kEAcC"}
@@ -0,0 +1,10 @@
1
+ import { DedicatedCluster } from './DedicatedCluster';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class ShowResourceClustersResponse extends SdkResponse {
4
+ private 'dedicated_cluster'?;
5
+ constructor();
6
+ withDedicatedCluster(dedicatedCluster: Array<DedicatedCluster>): ShowResourceClustersResponse;
7
+ set dedicatedCluster(dedicatedCluster: Array<DedicatedCluster> | undefined);
8
+ get dedicatedCluster(): Array<DedicatedCluster> | undefined;
9
+ }
10
+ //# sourceMappingURL=ShowResourceClustersResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowResourceClustersResponse.d.ts","sourceRoot":"","sources":["../../../../../services/dcc/v1/model/ShowResourceClustersResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,4BAA6B,SAAQ,WAAW;IACzD,OAAO,CAAC,mBAAmB,CAAC,CAA0B;;IAI/C,oBAAoB,CAAC,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,4BAA4B;IAIpG,IAAW,gBAAgB,CAAC,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAI,SAAS,EAEjF;IACD,IAAW,gBAAgB,IAAI,KAAK,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAEjE;CACJ"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShowResourceClustersResponse = void 0;
4
+ const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
5
+ class ShowResourceClustersResponse extends SdkResponse_1.SdkResponse {
6
+ constructor() {
7
+ super();
8
+ }
9
+ withDedicatedCluster(dedicatedCluster) {
10
+ this['dedicated_cluster'] = dedicatedCluster;
11
+ return this;
12
+ }
13
+ set dedicatedCluster(dedicatedCluster) {
14
+ this['dedicated_cluster'] = dedicatedCluster;
15
+ }
16
+ get dedicatedCluster() {
17
+ return this['dedicated_cluster'];
18
+ }
19
+ }
20
+ exports.ShowResourceClustersResponse = ShowResourceClustersResponse;
21
+ //# sourceMappingURL=ShowResourceClustersResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowResourceClustersResponse.js","sourceRoot":"","sources":["../../../../../services/dcc/v1/model/ShowResourceClustersResponse.ts"],"names":[],"mappings":";;;AAEA,+EAA4E;AAE5E,MAAa,4BAA6B,SAAQ,yBAAW;IAEzD;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,oBAAoB,CAAC,gBAAyC;QACjE,IAAI,CAAC,mBAAmB,CAAC,GAAG,gBAAgB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,gBAAgB,CAAC,gBAAsD;QAC9E,IAAI,CAAC,mBAAmB,CAAC,GAAG,gBAAgB,CAAC;IACjD,CAAC;IACD,IAAW,gBAAgB;QACvB,OAAO,IAAI,CAAC,mBAAmB,CAAC,CAAC;IACrC,CAAC;CACJ;AAfD,oEAeC"}
@@ -0,0 +1,7 @@
1
+ export * from './DccClient';
2
+ export * from './model/DedicatedCluster';
3
+ export * from './model/HostProperties';
4
+ export * from './model/ShowResourceClustersRequest';
5
+ export * from './model/ShowResourceClustersResponse';
6
+ export * from './DccRegion';
7
+ //# sourceMappingURL=public-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../../services/dcc/v1/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAE5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,aAAa,CAAC"}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./DccClient"), exports);
18
+ __exportStar(require("./model/DedicatedCluster"), exports);
19
+ __exportStar(require("./model/HostProperties"), exports);
20
+ __exportStar(require("./model/ShowResourceClustersRequest"), exports);
21
+ __exportStar(require("./model/ShowResourceClustersResponse"), exports);
22
+ __exportStar(require("./DccRegion"), exports);
23
+ //# sourceMappingURL=public-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../../services/dcc/v1/public-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAE5B,2DAAyC;AACzC,yDAAuC;AACvC,sEAAoD;AACpD,uEAAqD;AACrD,8CAA4B"}