tencentcloud-sdk-nodejs-cdwdoris 4.0.1049 → 4.1.5
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/README.md +27 -5
- package/es/index.js +1 -0
- package/es/services/cdwdoris/index.js +4 -0
- package/es/services/cdwdoris/v20211228/cdwdoris_client.js +186 -0
- package/es/services/cdwdoris/v20211228/cdwdoris_models.js +0 -0
- package/es/services/cdwdoris/v20211228/index.js +6 -0
- package/es/services/index.js +1 -0
- package/package.json +18 -5
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +2 -1
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +80 -0
- package/tencentcloud/services/cdwdoris/v20211228/index.js +2 -1
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/src/index.ts +0 -1
- package/src/services/cdwdoris/index.ts +0 -5
- package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +0 -792
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +0 -4184
- package/src/services/cdwdoris/v20211228/index.ts +0 -6
- package/src/services/index.ts +0 -1
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
package/README.md
CHANGED
|
@@ -44,18 +44,40 @@ npm install tencentcloud-sdk-nodejs-vpc --save
|
|
|
44
44
|
|
|
45
45
|
### 安装全产品 SDK
|
|
46
46
|
|
|
47
|
+
如果项目依赖的云产品较多,可以引入全产品 SDK。
|
|
48
|
+
|
|
47
49
|
```
|
|
48
50
|
npm install tencentcloud-sdk-nodejs --save
|
|
49
51
|
```
|
|
50
52
|
|
|
51
|
-
全产品 SDK
|
|
53
|
+
全产品 SDK 包含所有云产品调用代码和 TypeScript 类型文件,体积偏大。对于体积敏感的场景,推荐安装指定产品 SDK。
|
|
54
|
+
|
|
55
|
+
如果既希望全产品调用,又对包体积比较敏感,可以使用 Slim 版本 SDK。Slim SDK 移除类型文件,并进行了代码压缩,适合体积敏感场景使用:
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
npm install tencentcloud-sdk-slim-nodejs --save
|
|
59
|
+
```
|
|
52
60
|
|
|
53
61
|
## 通过源码包安装
|
|
54
62
|
|
|
55
|
-
1.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
63
|
+
1. clone 代码到本地:
|
|
64
|
+
```
|
|
65
|
+
git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
66
|
+
# 或者
|
|
67
|
+
git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
68
|
+
```
|
|
69
|
+
2. 在项目根目录执行以下命令完成构建:
|
|
70
|
+
```
|
|
71
|
+
npm install && npm run build
|
|
72
|
+
```
|
|
73
|
+
3. 打包 NPM 压缩文件,例如 `tencentcloud-sdk-nodejs-4.0.0.tgz`
|
|
74
|
+
```
|
|
75
|
+
npm pack
|
|
76
|
+
```
|
|
77
|
+
4. 安装包到你的项目里:
|
|
78
|
+
```
|
|
79
|
+
npm install /path/to/tencentcloud-sdk-nodejs/tencentcloud-sdk-nodejs-4.0.0.tgz
|
|
80
|
+
```
|
|
59
81
|
|
|
60
82
|
# 示例
|
|
61
83
|
|
package/es/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./services";
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
+
export class Client extends TencentCloudCommon.AbstractClient {
|
|
3
|
+
constructor(clientConfig) {
|
|
4
|
+
super("cdwdoris.tencentcloudapi.com", "2021-12-28", clientConfig);
|
|
5
|
+
}
|
|
6
|
+
async CreateBackUpSchedule(req, cb) {
|
|
7
|
+
return this.request("CreateBackUpSchedule", req, cb);
|
|
8
|
+
}
|
|
9
|
+
async OpenCoolDownPolicy(req, cb) {
|
|
10
|
+
return this.request("OpenCoolDownPolicy", req, cb);
|
|
11
|
+
}
|
|
12
|
+
async DescribeBackUpSchedules(req, cb) {
|
|
13
|
+
return this.request("DescribeBackUpSchedules", req, cb);
|
|
14
|
+
}
|
|
15
|
+
async DescribeBackUpJob(req, cb) {
|
|
16
|
+
return this.request("DescribeBackUpJob", req, cb);
|
|
17
|
+
}
|
|
18
|
+
async DestroyInstance(req, cb) {
|
|
19
|
+
return this.request("DestroyInstance", req, cb);
|
|
20
|
+
}
|
|
21
|
+
async DescribeCoolDownTableData(req, cb) {
|
|
22
|
+
return this.request("DescribeCoolDownTableData", req, cb);
|
|
23
|
+
}
|
|
24
|
+
async DescribeDatabaseAuditRecords(req, cb) {
|
|
25
|
+
return this.request("DescribeDatabaseAuditRecords", req, cb);
|
|
26
|
+
}
|
|
27
|
+
async DescribeRestoreTaskDetail(req, cb) {
|
|
28
|
+
return this.request("DescribeRestoreTaskDetail", req, cb);
|
|
29
|
+
}
|
|
30
|
+
async CreateWorkloadGroup(req, cb) {
|
|
31
|
+
return this.request("CreateWorkloadGroup", req, cb);
|
|
32
|
+
}
|
|
33
|
+
async DescribeDatabaseAuditDownload(req, cb) {
|
|
34
|
+
return this.request("DescribeDatabaseAuditDownload", req, cb);
|
|
35
|
+
}
|
|
36
|
+
async DescribeUserBindWorkloadGroup(req, cb) {
|
|
37
|
+
return this.request("DescribeUserBindWorkloadGroup", req, cb);
|
|
38
|
+
}
|
|
39
|
+
async DescribeInstanceNodesInfo(req, cb) {
|
|
40
|
+
return this.request("DescribeInstanceNodesInfo", req, cb);
|
|
41
|
+
}
|
|
42
|
+
async DescribeInstanceUsedSubnets(req, cb) {
|
|
43
|
+
return this.request("DescribeInstanceUsedSubnets", req, cb);
|
|
44
|
+
}
|
|
45
|
+
async DescribeTableList(req, cb) {
|
|
46
|
+
return this.request("DescribeTableList", req, cb);
|
|
47
|
+
}
|
|
48
|
+
async DescribeBackUpTables(req, cb) {
|
|
49
|
+
return this.request("DescribeBackUpTables", req, cb);
|
|
50
|
+
}
|
|
51
|
+
async ScaleOutInstance(req, cb) {
|
|
52
|
+
return this.request("ScaleOutInstance", req, cb);
|
|
53
|
+
}
|
|
54
|
+
async ModifyNodeStatus(req, cb) {
|
|
55
|
+
return this.request("ModifyNodeStatus", req, cb);
|
|
56
|
+
}
|
|
57
|
+
async DescribeClusterConfigsHistory(req, cb) {
|
|
58
|
+
return this.request("DescribeClusterConfigsHistory", req, cb);
|
|
59
|
+
}
|
|
60
|
+
async DescribeSlowQueryRecords(req, cb) {
|
|
61
|
+
return this.request("DescribeSlowQueryRecords", req, cb);
|
|
62
|
+
}
|
|
63
|
+
async RecoverBackUpJob(req, cb) {
|
|
64
|
+
return this.request("RecoverBackUpJob", req, cb);
|
|
65
|
+
}
|
|
66
|
+
async ModifyUserBindWorkloadGroup(req, cb) {
|
|
67
|
+
return this.request("ModifyUserBindWorkloadGroup", req, cb);
|
|
68
|
+
}
|
|
69
|
+
async DeleteBackUpData(req, cb) {
|
|
70
|
+
return this.request("DeleteBackUpData", req, cb);
|
|
71
|
+
}
|
|
72
|
+
async DescribeInstances(req, cb) {
|
|
73
|
+
return this.request("DescribeInstances", req, cb);
|
|
74
|
+
}
|
|
75
|
+
async ResizeDisk(req, cb) {
|
|
76
|
+
return this.request("ResizeDisk", req, cb);
|
|
77
|
+
}
|
|
78
|
+
async CreateCoolDownPolicy(req, cb) {
|
|
79
|
+
return this.request("CreateCoolDownPolicy", req, cb);
|
|
80
|
+
}
|
|
81
|
+
async UpdateCoolDown(req, cb) {
|
|
82
|
+
return this.request("UpdateCoolDown", req, cb);
|
|
83
|
+
}
|
|
84
|
+
async DescribeInstanceState(req, cb) {
|
|
85
|
+
return this.request("DescribeInstanceState", req, cb);
|
|
86
|
+
}
|
|
87
|
+
async DescribeClusterConfigs(req, cb) {
|
|
88
|
+
return this.request("DescribeClusterConfigs", req, cb);
|
|
89
|
+
}
|
|
90
|
+
async DeleteWorkloadGroup(req, cb) {
|
|
91
|
+
return this.request("DeleteWorkloadGroup", req, cb);
|
|
92
|
+
}
|
|
93
|
+
async ModifyClusterConfigs(req, cb) {
|
|
94
|
+
return this.request("ModifyClusterConfigs", req, cb);
|
|
95
|
+
}
|
|
96
|
+
async ModifySecurityGroups(req, cb) {
|
|
97
|
+
return this.request("ModifySecurityGroups", req, cb);
|
|
98
|
+
}
|
|
99
|
+
async DescribeCoolDownBackends(req, cb) {
|
|
100
|
+
return this.request("DescribeCoolDownBackends", req, cb);
|
|
101
|
+
}
|
|
102
|
+
async ScaleUpInstance(req, cb) {
|
|
103
|
+
return this.request("ScaleUpInstance", req, cb);
|
|
104
|
+
}
|
|
105
|
+
async ReduceInstance(req, cb) {
|
|
106
|
+
return this.request("ReduceInstance", req, cb);
|
|
107
|
+
}
|
|
108
|
+
async ModifyUserPrivilegesV3(req, cb) {
|
|
109
|
+
return this.request("ModifyUserPrivilegesV3", req, cb);
|
|
110
|
+
}
|
|
111
|
+
async DescribeInstanceOperations(req, cb) {
|
|
112
|
+
return this.request("DescribeInstanceOperations", req, cb);
|
|
113
|
+
}
|
|
114
|
+
async ModifyWorkloadGroupStatus(req, cb) {
|
|
115
|
+
return this.request("ModifyWorkloadGroupStatus", req, cb);
|
|
116
|
+
}
|
|
117
|
+
async ModifyCoolDownPolicy(req, cb) {
|
|
118
|
+
return this.request("ModifyCoolDownPolicy", req, cb);
|
|
119
|
+
}
|
|
120
|
+
async ActionAlterUser(req, cb) {
|
|
121
|
+
return this.request("ActionAlterUser", req, cb);
|
|
122
|
+
}
|
|
123
|
+
async DescribeSqlApis(req, cb) {
|
|
124
|
+
return this.request("DescribeSqlApis", req, cb);
|
|
125
|
+
}
|
|
126
|
+
async DescribeBackUpTaskDetail(req, cb) {
|
|
127
|
+
return this.request("DescribeBackUpTaskDetail", req, cb);
|
|
128
|
+
}
|
|
129
|
+
async DescribeInstance(req, cb) {
|
|
130
|
+
return this.request("DescribeInstance", req, cb);
|
|
131
|
+
}
|
|
132
|
+
async CreateInstanceNew(req, cb) {
|
|
133
|
+
return this.request("CreateInstanceNew", req, cb);
|
|
134
|
+
}
|
|
135
|
+
async ModifyWorkloadGroup(req, cb) {
|
|
136
|
+
return this.request("ModifyWorkloadGroup", req, cb);
|
|
137
|
+
}
|
|
138
|
+
async CancelBackupJob(req, cb) {
|
|
139
|
+
return this.request("CancelBackupJob", req, cb);
|
|
140
|
+
}
|
|
141
|
+
async DescribeBackUpJobDetail(req, cb) {
|
|
142
|
+
return this.request("DescribeBackUpJobDetail", req, cb);
|
|
143
|
+
}
|
|
144
|
+
async CheckCoolDownWorkingVariableConfigCorrect(req, cb) {
|
|
145
|
+
return this.request("CheckCoolDownWorkingVariableConfigCorrect", req, cb);
|
|
146
|
+
}
|
|
147
|
+
async DescribeInstanceNodesRole(req, cb) {
|
|
148
|
+
return this.request("DescribeInstanceNodesRole", req, cb);
|
|
149
|
+
}
|
|
150
|
+
async RestartClusterForConfigs(req, cb) {
|
|
151
|
+
return this.request("RestartClusterForConfigs", req, cb);
|
|
152
|
+
}
|
|
153
|
+
async DescribeSpec(req, cb) {
|
|
154
|
+
return this.request("DescribeSpec", req, cb);
|
|
155
|
+
}
|
|
156
|
+
async DescribeAreaRegion(req, cb) {
|
|
157
|
+
return this.request("DescribeAreaRegion", req, cb);
|
|
158
|
+
}
|
|
159
|
+
async OpenCoolDown(req, cb) {
|
|
160
|
+
return this.request("OpenCoolDown", req, cb);
|
|
161
|
+
}
|
|
162
|
+
async DescribeInstancesHealthState(req, cb) {
|
|
163
|
+
return this.request("DescribeInstancesHealthState", req, cb);
|
|
164
|
+
}
|
|
165
|
+
async RestartClusterForNode(req, cb) {
|
|
166
|
+
return this.request("RestartClusterForNode", req, cb);
|
|
167
|
+
}
|
|
168
|
+
async DescribeSlowQueryRecordsDownload(req, cb) {
|
|
169
|
+
return this.request("DescribeSlowQueryRecordsDownload", req, cb);
|
|
170
|
+
}
|
|
171
|
+
async DescribeInstanceNodes(req, cb) {
|
|
172
|
+
return this.request("DescribeInstanceNodes", req, cb);
|
|
173
|
+
}
|
|
174
|
+
async DescribeCoolDownPolicies(req, cb) {
|
|
175
|
+
return this.request("DescribeCoolDownPolicies", req, cb);
|
|
176
|
+
}
|
|
177
|
+
async DescribeWorkloadGroup(req, cb) {
|
|
178
|
+
return this.request("DescribeWorkloadGroup", req, cb);
|
|
179
|
+
}
|
|
180
|
+
async ModifyInstance(req, cb) {
|
|
181
|
+
return this.request("ModifyInstance", req, cb);
|
|
182
|
+
}
|
|
183
|
+
async ModifyInstanceKeyValConfigs(req, cb) {
|
|
184
|
+
return this.request("ModifyInstanceKeyValConfigs", req, cb);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { cdwdoris } from "./cdwdoris";
|
package/package.json
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tencentcloud-sdk-nodejs-cdwdoris",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"description": "腾讯云 API NODEJS SDK",
|
|
5
|
-
"main": "tencentcloud/index.js",
|
|
5
|
+
"main": "./tencentcloud/index.js",
|
|
6
|
+
"module": "./es/index.js",
|
|
7
|
+
"types": "./tencentcloud/index.d.ts",
|
|
6
8
|
"scripts": {
|
|
7
9
|
"test": "mocha -t 10000",
|
|
8
|
-
"build": "
|
|
9
|
-
"
|
|
10
|
+
"build": "concurrently 'npm:build:cjs' 'npm:build:es'",
|
|
11
|
+
"build:cjs": "tsc -p tsconfig.json",
|
|
12
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
13
|
+
"build:slim": "node ./scripts/build_slim.js",
|
|
14
|
+
"prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
|
|
15
|
+
"clean": "rimraf tencentcloud es"
|
|
10
16
|
},
|
|
11
17
|
"engines": {
|
|
12
18
|
"node": ">=10"
|
|
13
19
|
},
|
|
20
|
+
"files": [
|
|
21
|
+
"tencentcloud",
|
|
22
|
+
"es"
|
|
23
|
+
],
|
|
14
24
|
"keywords": [
|
|
15
25
|
"tencentcloudapi",
|
|
16
26
|
"tencentcloud",
|
|
@@ -43,10 +53,13 @@
|
|
|
43
53
|
"@typescript-eslint/parser": "^2.34.0",
|
|
44
54
|
"babel-eslint": "^10.0.2",
|
|
45
55
|
"chai": "^4.2.0",
|
|
56
|
+
"concurrently": "^6.5.1",
|
|
57
|
+
"esbuild": "^0.25.0",
|
|
46
58
|
"eslint": "^6.8.0",
|
|
47
59
|
"eslint-plugin-react": "^7.17.0",
|
|
48
|
-
"mocha": "^8.
|
|
60
|
+
"mocha": "^8.4.0",
|
|
49
61
|
"prettier": "^2.3.0",
|
|
62
|
+
"rimraf": "^5.0.10",
|
|
50
63
|
"ts-node": "^8.10.2",
|
|
51
64
|
"typescript": "^3.9.7"
|
|
52
65
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Client = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
4
5
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
6
|
/*
|
|
6
7
|
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
@@ -18,7 +19,7 @@ exports.Client = void 0;
|
|
|
18
19
|
* specific language governing permissions and limitations
|
|
19
20
|
* under the License.
|
|
20
21
|
*/
|
|
21
|
-
const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
|
|
22
|
+
const TencentCloudCommon = tslib_1.__importStar(require("tencentcloud-sdk-nodejs-common"));
|
|
22
23
|
/**
|
|
23
24
|
* cdwdoris client
|
|
24
25
|
* @class
|
|
@@ -77,6 +77,10 @@ export interface DescribeInstanceOperationsRequest {
|
|
|
77
77
|
* 结束时间
|
|
78
78
|
*/
|
|
79
79
|
EndTime?: string;
|
|
80
|
+
/**
|
|
81
|
+
* 计算组ID
|
|
82
|
+
*/
|
|
83
|
+
ComputeGroupId?: string;
|
|
80
84
|
}
|
|
81
85
|
/**
|
|
82
86
|
* DescribeClusterConfigs返回参数结构体
|
|
@@ -161,6 +165,14 @@ export interface ModifyUserPrivilegesV3Request {
|
|
|
161
165
|
* 用户链接来自的 IP
|
|
162
166
|
*/
|
|
163
167
|
WhiteHost?: string;
|
|
168
|
+
/**
|
|
169
|
+
* 更新类型,默认0,1为更新绑定计算组
|
|
170
|
+
*/
|
|
171
|
+
UpdateType?: number;
|
|
172
|
+
/**
|
|
173
|
+
* 需绑定计算组列表
|
|
174
|
+
*/
|
|
175
|
+
UpdateComputeGroups?: Array<string>;
|
|
164
176
|
}
|
|
165
177
|
/**
|
|
166
178
|
* DestroyInstance请求参数结构体
|
|
@@ -626,6 +638,10 @@ export interface ZoneInfo {
|
|
|
626
638
|
* 是否为主力园区
|
|
627
639
|
*/
|
|
628
640
|
Main?: boolean;
|
|
641
|
+
/**
|
|
642
|
+
* 0表示未开通容器化,1表示已开通容器化
|
|
643
|
+
*/
|
|
644
|
+
ContainerEnabled?: number;
|
|
629
645
|
}
|
|
630
646
|
/**
|
|
631
647
|
* DescribeAreaRegion返回参数结构体
|
|
@@ -845,6 +861,10 @@ export interface DescribeSlowQueryRecordsDownloadRequest {
|
|
|
845
861
|
* user
|
|
846
862
|
*/
|
|
847
863
|
UserName?: string;
|
|
864
|
+
/**
|
|
865
|
+
* 计算组列表
|
|
866
|
+
*/
|
|
867
|
+
ComputeGroups?: Array<string>;
|
|
848
868
|
}
|
|
849
869
|
/**
|
|
850
870
|
* DescribeRestoreTaskDetail返回参数结构体
|
|
@@ -999,6 +1019,10 @@ export interface SlowQueryRecord {
|
|
|
999
1019
|
* cpu执行时间
|
|
1000
1020
|
*/
|
|
1001
1021
|
CpuTimeMs?: number;
|
|
1022
|
+
/**
|
|
1023
|
+
* 计算组
|
|
1024
|
+
*/
|
|
1025
|
+
ComputeGroup?: string;
|
|
1002
1026
|
}
|
|
1003
1027
|
/**
|
|
1004
1028
|
* DescribeInstanceNodes请求参数结构体
|
|
@@ -1121,6 +1145,10 @@ export interface InstanceOperation {
|
|
|
1121
1145
|
* 操作明细
|
|
1122
1146
|
*/
|
|
1123
1147
|
OperationDetail?: string;
|
|
1148
|
+
/**
|
|
1149
|
+
* 计算组id
|
|
1150
|
+
*/
|
|
1151
|
+
ComputerGroupId?: string;
|
|
1124
1152
|
}
|
|
1125
1153
|
/**
|
|
1126
1154
|
* 备份表信息
|
|
@@ -1494,6 +1522,10 @@ export interface DataBaseAuditRecord {
|
|
|
1494
1522
|
* 是否是查询
|
|
1495
1523
|
*/
|
|
1496
1524
|
IsQuery?: boolean;
|
|
1525
|
+
/**
|
|
1526
|
+
* 计算组
|
|
1527
|
+
*/
|
|
1528
|
+
ComputeGroup?: string;
|
|
1497
1529
|
}
|
|
1498
1530
|
/**
|
|
1499
1531
|
* DescribeSlowQueryRecords返回参数结构体
|
|
@@ -1675,6 +1707,10 @@ export interface DescribeSpecRequest {
|
|
|
1675
1707
|
* 机型名称
|
|
1676
1708
|
*/
|
|
1677
1709
|
SpecName?: string;
|
|
1710
|
+
/**
|
|
1711
|
+
* 是否存算分离
|
|
1712
|
+
*/
|
|
1713
|
+
IsSSC?: boolean;
|
|
1678
1714
|
}
|
|
1679
1715
|
/**
|
|
1680
1716
|
* DescribeClusterConfigsHistory请求参数结构体
|
|
@@ -1817,6 +1853,10 @@ export interface DescribeSlowQueryRecordsRequest {
|
|
|
1817
1853
|
* user
|
|
1818
1854
|
*/
|
|
1819
1855
|
UserName?: string;
|
|
1856
|
+
/**
|
|
1857
|
+
* 计算组列表
|
|
1858
|
+
*/
|
|
1859
|
+
ComputeGroups?: Array<string>;
|
|
1820
1860
|
}
|
|
1821
1861
|
/**
|
|
1822
1862
|
* DescribeInstanceNodesRole返回参数结构体
|
|
@@ -2098,6 +2138,10 @@ export interface InstanceNode {
|
|
|
2098
2138
|
* 创建时间
|
|
2099
2139
|
*/
|
|
2100
2140
|
CreateTime?: string;
|
|
2141
|
+
/**
|
|
2142
|
+
* 计算组ID
|
|
2143
|
+
*/
|
|
2144
|
+
ComputeGroupId?: string;
|
|
2101
2145
|
}
|
|
2102
2146
|
/**
|
|
2103
2147
|
* ModifyCoolDownPolicy返回参数结构体
|
|
@@ -2418,6 +2462,10 @@ export interface InstanceInfo {
|
|
|
2418
2462
|
* cn节点信息
|
|
2419
2463
|
*/
|
|
2420
2464
|
CNSummary?: NodesSummary;
|
|
2465
|
+
/**
|
|
2466
|
+
* 计算组个数
|
|
2467
|
+
*/
|
|
2468
|
+
ComputeGroupCount?: number;
|
|
2421
2469
|
}
|
|
2422
2470
|
/**
|
|
2423
2471
|
* DescribeUserBindWorkloadGroup请求参数结构体
|
|
@@ -2469,6 +2517,10 @@ export interface DescribeInstancesRequest {
|
|
|
2469
2517
|
* 搜索标签列表,没匹配到则不过滤集群列表
|
|
2470
2518
|
*/
|
|
2471
2519
|
SearchTags?: Array<SearchTags>;
|
|
2520
|
+
/**
|
|
2521
|
+
* 0 : 存算一体,1:存算分离,2:ALL
|
|
2522
|
+
*/
|
|
2523
|
+
InstanceType?: number;
|
|
2472
2524
|
}
|
|
2473
2525
|
/**
|
|
2474
2526
|
* DescribeBackUpSchedules请求参数结构体
|
|
@@ -2839,6 +2891,10 @@ export interface DescribeDatabaseAuditRecordsRequest {
|
|
|
2839
2891
|
* 是否是查询
|
|
2840
2892
|
*/
|
|
2841
2893
|
IsQuery?: Array<boolean>;
|
|
2894
|
+
/**
|
|
2895
|
+
* 计算组列表
|
|
2896
|
+
*/
|
|
2897
|
+
ComputeGroups?: Array<string>;
|
|
2842
2898
|
}
|
|
2843
2899
|
/**
|
|
2844
2900
|
* DescribeBackUpJobDetail返回参数结构体
|
|
@@ -3567,6 +3623,10 @@ export interface ModifyUserBindWorkloadGroupResponse {
|
|
|
3567
3623
|
* 用于返回XML格式的配置文件和内容以及其他配置文件有关的信息
|
|
3568
3624
|
*/
|
|
3569
3625
|
export interface ClusterConfigsInfoFromEMR {
|
|
3626
|
+
/**
|
|
3627
|
+
* 计算组id
|
|
3628
|
+
*/
|
|
3629
|
+
ComputeGroupId?: string;
|
|
3570
3630
|
/**
|
|
3571
3631
|
* 配置文件名称
|
|
3572
3632
|
*/
|
|
@@ -3786,6 +3846,10 @@ export interface DescribeDatabaseAuditDownloadRequest {
|
|
|
3786
3846
|
* 是否是查询
|
|
3787
3847
|
*/
|
|
3788
3848
|
IsQuery?: Array<boolean>;
|
|
3849
|
+
/**
|
|
3850
|
+
* 计算组列表
|
|
3851
|
+
*/
|
|
3852
|
+
ComputeGroups?: Array<string>;
|
|
3789
3853
|
}
|
|
3790
3854
|
/**
|
|
3791
3855
|
* 集群规格
|
|
@@ -3865,6 +3929,14 @@ export interface ActionAlterUserRequest {
|
|
|
3865
3929
|
* 用户权限类型 0:普通用户 1:管理员
|
|
3866
3930
|
*/
|
|
3867
3931
|
UserPrivilege?: number;
|
|
3932
|
+
/**
|
|
3933
|
+
* 计算组列表
|
|
3934
|
+
*/
|
|
3935
|
+
ComputeGroups?: Array<string>;
|
|
3936
|
+
/**
|
|
3937
|
+
* 集群ID
|
|
3938
|
+
*/
|
|
3939
|
+
InstanceId?: string;
|
|
3868
3940
|
}
|
|
3869
3941
|
/**
|
|
3870
3942
|
* DescribeBackUpTables请求参数结构体
|
|
@@ -3953,6 +4025,14 @@ export interface NodeInfos {
|
|
|
3953
4025
|
* 创建时间
|
|
3954
4026
|
*/
|
|
3955
4027
|
CreateTime?: string;
|
|
4028
|
+
/**
|
|
4029
|
+
* 计算组id
|
|
4030
|
+
*/
|
|
4031
|
+
ComputeGroupId?: string;
|
|
4032
|
+
/**
|
|
4033
|
+
* rip
|
|
4034
|
+
*/
|
|
4035
|
+
RIp?: string;
|
|
3956
4036
|
}
|
|
3957
4037
|
/**
|
|
3958
4038
|
* DescribeInstanceNodesInfo返回参数结构体
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.v20211228 = void 0;
|
|
4
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const Models = tslib_1.__importStar(require("./cdwdoris_models"));
|
|
5
6
|
const cdwdoris_client_1 = require("./cdwdoris_client");
|
|
6
7
|
exports.v20211228 = {
|
|
7
8
|
Client: cdwdoris_client_1.Client,
|
package/index.d.ts
DELETED
package/index.js
DELETED
package/prettier.config.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// prettier.config.js
|
|
2
|
-
module.exports = {
|
|
3
|
-
// 一行最多 100 字符
|
|
4
|
-
printWidth: 100,
|
|
5
|
-
// 使用 4 个空格缩进
|
|
6
|
-
tabWidth: 2,
|
|
7
|
-
// 不使用缩进符,而使用空格
|
|
8
|
-
useTabs: false,
|
|
9
|
-
// 行尾需要有分号
|
|
10
|
-
semi: false,
|
|
11
|
-
// 使用单引号
|
|
12
|
-
singleQuote: false,
|
|
13
|
-
// 对象的 key 仅在必要时用引号
|
|
14
|
-
quoteProps: "as-needed",
|
|
15
|
-
// jsx 不使用单引号,而使用双引号
|
|
16
|
-
jsxSingleQuote: false,
|
|
17
|
-
// 末尾不需要逗号
|
|
18
|
-
trailingComma: "es5",
|
|
19
|
-
// 大括号内的首尾需要空格
|
|
20
|
-
bracketSpacing: true,
|
|
21
|
-
// jsx 标签的反尖括号需要换行
|
|
22
|
-
jsxBracketSameLine: false,
|
|
23
|
-
// 箭头函数,只有一个参数的时候,也需要括号
|
|
24
|
-
arrowParens: "always",
|
|
25
|
-
// 每个文件格式化的范围是文件的全部内容
|
|
26
|
-
rangeStart: 0,
|
|
27
|
-
rangeEnd: Infinity,
|
|
28
|
-
// 不需要写文件开头的 @prettier
|
|
29
|
-
requirePragma: false,
|
|
30
|
-
// 不需要自动在文件开头插入 @prettier
|
|
31
|
-
insertPragma: false,
|
|
32
|
-
// 使用默认的折行标准
|
|
33
|
-
proseWrap: "preserve",
|
|
34
|
-
// 根据显示样式决定 html 要不要折行
|
|
35
|
-
htmlWhitespaceSensitivity: "css",
|
|
36
|
-
// 换行符使用 lf
|
|
37
|
-
endOfLine: "lf",
|
|
38
|
-
}
|
package/src/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./services"
|