tencentcloud-sdk-nodejs 4.1.318 → 4.1.320
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/es/common/sdk_version.js +1 -1
- package/es/services/databuddy/v20260715/databuddy_client.js +30 -3
- package/es/services/dbbrain/v20210527/dbbrain_client.js +7 -4
- package/es/services/tcb/v20180608/tcb_client.js +21 -6
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ags/v20250920/ags_models.d.ts +33 -5
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +27 -26
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_client.d.ts +1 -1
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +91 -38
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +22 -1
- package/tencentcloud/services/cloudhsm/v20191112/cloudhsm_models.d.ts +56 -11
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +13 -10
- package/tencentcloud/services/databuddy/v20260715/databuddy_client.d.ts +41 -5
- package/tencentcloud/services/databuddy/v20260715/databuddy_client.js +60 -6
- package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +1050 -442
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +9 -5
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +12 -6
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +501 -123
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +1 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +202 -130
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +8 -0
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +107 -44
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +8 -0
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +59 -34
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +50 -15
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +62 -17
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +483 -61
package/es/common/sdk_version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.1.
|
|
1
|
+
export const sdkVersion = "4.1.320";
|
|
@@ -12,12 +12,21 @@ export class Client extends AbstractClient {
|
|
|
12
12
|
async GetWorkflow(req, cb) {
|
|
13
13
|
return this.request("GetWorkflow", req, cb);
|
|
14
14
|
}
|
|
15
|
+
async UpdateWorkspace(req, cb) {
|
|
16
|
+
return this.request("UpdateWorkspace", req, cb);
|
|
17
|
+
}
|
|
15
18
|
async GetWorkflowTaskRun(req, cb) {
|
|
16
19
|
return this.request("GetWorkflowTaskRun", req, cb);
|
|
17
20
|
}
|
|
18
21
|
async ListWorkflowTaskRuns(req, cb) {
|
|
19
22
|
return this.request("ListWorkflowTaskRuns", req, cb);
|
|
20
23
|
}
|
|
24
|
+
async GetWorkspace(req, cb) {
|
|
25
|
+
return this.request("GetWorkspace", req, cb);
|
|
26
|
+
}
|
|
27
|
+
async GetFolder(req, cb) {
|
|
28
|
+
return this.request("GetFolder", req, cb);
|
|
29
|
+
}
|
|
21
30
|
async DeleteConsoleGroups(req, cb) {
|
|
22
31
|
return this.request("DeleteConsoleGroups", req, cb);
|
|
23
32
|
}
|
|
@@ -30,6 +39,12 @@ export class Client extends AbstractClient {
|
|
|
30
39
|
async UnbindWorkflowBundle(req, cb) {
|
|
31
40
|
return this.request("UnbindWorkflowBundle", req, cb);
|
|
32
41
|
}
|
|
42
|
+
async CreateWorkspace(req, cb) {
|
|
43
|
+
return this.request("CreateWorkspace", req, cb);
|
|
44
|
+
}
|
|
45
|
+
async KillWorkflowRun(req, cb) {
|
|
46
|
+
return this.request("KillWorkflowRun", req, cb);
|
|
47
|
+
}
|
|
33
48
|
async DeleteWorkflow(req, cb) {
|
|
34
49
|
return this.request("DeleteWorkflow", req, cb);
|
|
35
50
|
}
|
|
@@ -39,12 +54,15 @@ export class Client extends AbstractClient {
|
|
|
39
54
|
async CreateConsoleGroup(req, cb) {
|
|
40
55
|
return this.request("CreateConsoleGroup", req, cb);
|
|
41
56
|
}
|
|
42
|
-
async KillWorkflowRun(req, cb) {
|
|
43
|
-
return this.request("KillWorkflowRun", req, cb);
|
|
44
|
-
}
|
|
45
57
|
async GetWorkflowRun(req, cb) {
|
|
46
58
|
return this.request("GetWorkflowRun", req, cb);
|
|
47
59
|
}
|
|
60
|
+
async UpdateFolder(req, cb) {
|
|
61
|
+
return this.request("UpdateFolder", req, cb);
|
|
62
|
+
}
|
|
63
|
+
async CreateFolder(req, cb) {
|
|
64
|
+
return this.request("CreateFolder", req, cb);
|
|
65
|
+
}
|
|
48
66
|
async ListConsoleUsers(req, cb) {
|
|
49
67
|
return this.request("ListConsoleUsers", req, cb);
|
|
50
68
|
}
|
|
@@ -54,6 +72,12 @@ export class Client extends AbstractClient {
|
|
|
54
72
|
async RunWorkflow(req, cb) {
|
|
55
73
|
return this.request("RunWorkflow", req, cb);
|
|
56
74
|
}
|
|
75
|
+
async ListFiles(req, cb) {
|
|
76
|
+
return this.request("ListFiles", req, cb);
|
|
77
|
+
}
|
|
78
|
+
async DeleteFolder(req, cb) {
|
|
79
|
+
return this.request("DeleteFolder", req, cb);
|
|
80
|
+
}
|
|
57
81
|
async ListConsoleGroups(req, cb) {
|
|
58
82
|
return this.request("ListConsoleGroups", req, cb);
|
|
59
83
|
}
|
|
@@ -84,4 +108,7 @@ export class Client extends AbstractClient {
|
|
|
84
108
|
async ListWorkflowRuns(req, cb) {
|
|
85
109
|
return this.request("ListWorkflowRuns", req, cb);
|
|
86
110
|
}
|
|
111
|
+
async DeleteWorkspace(req, cb) {
|
|
112
|
+
return this.request("DeleteWorkspace", req, cb);
|
|
113
|
+
}
|
|
87
114
|
}
|
|
@@ -81,6 +81,9 @@ export class Client extends AbstractClient {
|
|
|
81
81
|
async CreateSchedulerMailProfile(req, cb) {
|
|
82
82
|
return this.request("CreateSchedulerMailProfile", req, cb);
|
|
83
83
|
}
|
|
84
|
+
async DescribeDeadLockLogs(req, cb) {
|
|
85
|
+
return this.request("DescribeDeadLockLogs", req, cb);
|
|
86
|
+
}
|
|
84
87
|
async DescribeIndexRecommendInfo(req, cb) {
|
|
85
88
|
return this.request("DescribeIndexRecommendInfo", req, cb);
|
|
86
89
|
}
|
|
@@ -126,8 +129,8 @@ export class Client extends AbstractClient {
|
|
|
126
129
|
async UpdateAgentSwitch(req, cb) {
|
|
127
130
|
return this.request("UpdateAgentSwitch", req, cb);
|
|
128
131
|
}
|
|
129
|
-
async
|
|
130
|
-
return this.request("
|
|
132
|
+
async DescribeAuditLogFiles(req, cb) {
|
|
133
|
+
return this.request("DescribeAuditLogFiles", req, cb);
|
|
131
134
|
}
|
|
132
135
|
async KillMySqlThreads(req, cb) {
|
|
133
136
|
return this.request("KillMySqlThreads", req, cb);
|
|
@@ -222,8 +225,8 @@ export class Client extends AbstractClient {
|
|
|
222
225
|
async DescribeHealthScoreTimeSeries(req, cb) {
|
|
223
226
|
return this.request("DescribeHealthScoreTimeSeries", req, cb);
|
|
224
227
|
}
|
|
225
|
-
async
|
|
226
|
-
return this.request("
|
|
228
|
+
async ModifyDiagDBInstanceConf(req, cb) {
|
|
229
|
+
return this.request("ModifyDiagDBInstanceConf", req, cb);
|
|
227
230
|
}
|
|
228
231
|
async DeleteAuditLogFile(req, cb) {
|
|
229
232
|
return this.request("DeleteAuditLogFile", req, cb);
|
|
@@ -33,8 +33,8 @@ export class Client extends AbstractClient {
|
|
|
33
33
|
async DescribeClient(req, cb) {
|
|
34
34
|
return this.request("DescribeClient", req, cb);
|
|
35
35
|
}
|
|
36
|
-
async
|
|
37
|
-
return this.request("
|
|
36
|
+
async GetFunction(req, cb) {
|
|
37
|
+
return this.request("GetFunction", req, cb);
|
|
38
38
|
}
|
|
39
39
|
async DescribeBaasPackageList(req, cb) {
|
|
40
40
|
return this.request("DescribeBaasPackageList", req, cb);
|
|
@@ -135,15 +135,21 @@ export class Client extends AbstractClient {
|
|
|
135
135
|
async ModifyHTTPServiceRoute(req, cb) {
|
|
136
136
|
return this.request("ModifyHTTPServiceRoute", req, cb);
|
|
137
137
|
}
|
|
138
|
+
async CreatePlatformHTTPServiceRoute(req, cb) {
|
|
139
|
+
return this.request("CreatePlatformHTTPServiceRoute", req, cb);
|
|
140
|
+
}
|
|
138
141
|
async DescribeLoginConfig(req, cb) {
|
|
139
142
|
return this.request("DescribeLoginConfig", req, cb);
|
|
140
143
|
}
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
144
|
+
async DescribePlatformHTTPServiceRoute(req, cb) {
|
|
145
|
+
return this.request("DescribePlatformHTTPServiceRoute", req, cb);
|
|
143
146
|
}
|
|
144
147
|
async DeleteProvider(req, cb) {
|
|
145
148
|
return this.request("DeleteProvider", req, cb);
|
|
146
149
|
}
|
|
150
|
+
async ModifyPlatformHTTPServiceRoute(req, cb) {
|
|
151
|
+
return this.request("ModifyPlatformHTTPServiceRoute", req, cb);
|
|
152
|
+
}
|
|
147
153
|
async CreateApiKey(req, cb) {
|
|
148
154
|
return this.request("CreateApiKey", req, cb);
|
|
149
155
|
}
|
|
@@ -195,11 +201,14 @@ export class Client extends AbstractClient {
|
|
|
195
201
|
async CreateCloudApp(req, cb) {
|
|
196
202
|
return this.request("CreateCloudApp", req, cb);
|
|
197
203
|
}
|
|
204
|
+
async ModifyResourcePermission(req, cb) {
|
|
205
|
+
return this.request("ModifyResourcePermission", req, cb);
|
|
206
|
+
}
|
|
198
207
|
async DescribePGUserMigration(req, cb) {
|
|
199
208
|
return this.request("DescribePGUserMigration", req, cb);
|
|
200
209
|
}
|
|
201
|
-
async
|
|
202
|
-
return this.request("
|
|
210
|
+
async DescribeManagedAIModelList(req, cb) {
|
|
211
|
+
return this.request("DescribeManagedAIModelList", req, cb);
|
|
203
212
|
}
|
|
204
213
|
async CreateHostingDomain(req, cb) {
|
|
205
214
|
return this.request("CreateHostingDomain", req, cb);
|
|
@@ -222,6 +231,9 @@ export class Client extends AbstractClient {
|
|
|
222
231
|
async DescribePlatformCreditsUsage(req, cb) {
|
|
223
232
|
return this.request("DescribePlatformCreditsUsage", req, cb);
|
|
224
233
|
}
|
|
234
|
+
async VerifyPlatformHTTPServiceRoute(req, cb) {
|
|
235
|
+
return this.request("VerifyPlatformHTTPServiceRoute", req, cb);
|
|
236
|
+
}
|
|
225
237
|
async DownloadFunction(req, cb) {
|
|
226
238
|
return this.request("DownloadFunction", req, cb);
|
|
227
239
|
}
|
|
@@ -354,6 +366,9 @@ export class Client extends AbstractClient {
|
|
|
354
366
|
async DescribeEnvPlans(req, cb) {
|
|
355
367
|
return this.request("DescribeEnvPlans", req, cb);
|
|
356
368
|
}
|
|
369
|
+
async DeletePlatformHTTPServiceRoute(req, cb) {
|
|
370
|
+
return this.request("DeletePlatformHTTPServiceRoute", req, cb);
|
|
371
|
+
}
|
|
357
372
|
async ModifyProvider(req, cb) {
|
|
358
373
|
return this.request("ModifyProvider", req, cb);
|
|
359
374
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.1.
|
|
1
|
+
export declare const sdkVersion = "4.1.320";
|
|
@@ -130,6 +130,10 @@ export interface CreatePreCacheImageTaskResponse {
|
|
|
130
130
|
* <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>。</p>
|
|
131
131
|
*/
|
|
132
132
|
ImageRegistryType?: string;
|
|
133
|
+
/**
|
|
134
|
+
* <p>镜像预热ID</p>
|
|
135
|
+
*/
|
|
136
|
+
PreCacheImageId?: string;
|
|
133
137
|
/**
|
|
134
138
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
135
139
|
*/
|
|
@@ -193,15 +197,19 @@ export interface DescribePreCacheImageTaskRequest {
|
|
|
193
197
|
/**
|
|
194
198
|
* <p>镜像地址</p>
|
|
195
199
|
*/
|
|
196
|
-
Image
|
|
200
|
+
Image?: string;
|
|
201
|
+
/**
|
|
202
|
+
* <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code> 。</p><p>枚举值:</p><ul><li>enterprise: tcr 企业容器镜像服务</li><li>personal: ccr 个人容器镜像服务</li></ul>
|
|
203
|
+
*/
|
|
204
|
+
ImageRegistryType?: string;
|
|
197
205
|
/**
|
|
198
206
|
* <p>镜像 Digest</p>
|
|
199
207
|
*/
|
|
200
|
-
ImageDigest
|
|
208
|
+
ImageDigest?: string;
|
|
201
209
|
/**
|
|
202
|
-
* <p
|
|
210
|
+
* <p>镜像预热ID,只能ID或三元组(Image、ImageDigest、ImageRegistrytype)二选一查询</p>
|
|
203
211
|
*/
|
|
204
|
-
|
|
212
|
+
PreCacheImageId?: string;
|
|
205
213
|
}
|
|
206
214
|
/**
|
|
207
215
|
* Registry Record 对象。Record 只保存元数据;协议描述符与内容状态请通过 Version 相关接口获取。
|
|
@@ -2873,6 +2881,26 @@ export interface DescribePreCacheImageTaskResponse {
|
|
|
2873
2881
|
* <p>镜像预热状态描述</p>
|
|
2874
2882
|
*/
|
|
2875
2883
|
Message?: string;
|
|
2884
|
+
/**
|
|
2885
|
+
* <p>镜像预热创建时间</p>
|
|
2886
|
+
*/
|
|
2887
|
+
CreateTime?: string;
|
|
2888
|
+
/**
|
|
2889
|
+
* <p>镜像预热ID</p>
|
|
2890
|
+
*/
|
|
2891
|
+
PreCacheImageId?: string;
|
|
2892
|
+
/**
|
|
2893
|
+
* <p>镜像预热资源的来源类型,取值为 EXPLICIT、AUTO</p><p>枚举值:</p><ul><li>EXPLICIT: 手动创建</li><li>AUTO: 自动创建</li><li>TCR_AUTO: TCR自动预热</li></ul>
|
|
2894
|
+
*/
|
|
2895
|
+
SourceType?: string;
|
|
2896
|
+
/**
|
|
2897
|
+
* <p>镜像预热存储大小</p><p>单位:Byte</p>
|
|
2898
|
+
*/
|
|
2899
|
+
CachedImageSizeBytes?: number;
|
|
2900
|
+
/**
|
|
2901
|
+
* <p>该预热镜像最近一次被沙箱实例使用时间</p>
|
|
2902
|
+
*/
|
|
2903
|
+
LastUsedTime?: string;
|
|
2876
2904
|
/**
|
|
2877
2905
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2878
2906
|
*/
|
|
@@ -3379,7 +3407,7 @@ export interface ModifyDeploymentResponse {
|
|
|
3379
3407
|
*/
|
|
3380
3408
|
export interface CreatePreCacheImageTaskRequest {
|
|
3381
3409
|
/**
|
|
3382
|
-
* <p
|
|
3410
|
+
* <p>镜像地址。仅支持 repository:tag、repository@sha256:<64 位摘要> 或 repository:tag@sha256:<64 位摘要>。</p>
|
|
3383
3411
|
*/
|
|
3384
3412
|
Image: string;
|
|
3385
3413
|
/**
|
|
@@ -1332,15 +1332,15 @@ export interface BackupTableContent {
|
|
|
1332
1332
|
*/
|
|
1333
1333
|
export interface CreateInstanceNewResponse {
|
|
1334
1334
|
/**
|
|
1335
|
-
*
|
|
1335
|
+
* <p>流程ID</p>
|
|
1336
1336
|
*/
|
|
1337
1337
|
FlowId?: string;
|
|
1338
1338
|
/**
|
|
1339
|
-
*
|
|
1339
|
+
* <p>实例ID</p>
|
|
1340
1340
|
*/
|
|
1341
1341
|
InstanceId?: string;
|
|
1342
1342
|
/**
|
|
1343
|
-
*
|
|
1343
|
+
* <p>错误信息</p>
|
|
1344
1344
|
*/
|
|
1345
1345
|
ErrorMsg?: string;
|
|
1346
1346
|
/**
|
|
@@ -1416,90 +1416,91 @@ export interface ModifySecurityGroupsRequest {
|
|
|
1416
1416
|
*/
|
|
1417
1417
|
export interface CreateInstanceNewRequest {
|
|
1418
1418
|
/**
|
|
1419
|
-
*
|
|
1419
|
+
* <p>可用区</p>
|
|
1420
1420
|
*/
|
|
1421
1421
|
Zone: string;
|
|
1422
1422
|
/**
|
|
1423
|
-
* FE
|
|
1423
|
+
* <p>FE规格</p>
|
|
1424
1424
|
*/
|
|
1425
1425
|
FeSpec: CreateInstanceSpec;
|
|
1426
1426
|
/**
|
|
1427
|
-
* BE
|
|
1427
|
+
* <p>BE规格</p>
|
|
1428
1428
|
*/
|
|
1429
1429
|
BeSpec: CreateInstanceSpec;
|
|
1430
1430
|
/**
|
|
1431
|
-
*
|
|
1431
|
+
* <p>是否高可用</p>
|
|
1432
1432
|
*/
|
|
1433
1433
|
HaFlag: boolean;
|
|
1434
1434
|
/**
|
|
1435
|
-
*
|
|
1435
|
+
* <p>用户VPCID</p>
|
|
1436
1436
|
*/
|
|
1437
1437
|
UserVPCId: string;
|
|
1438
1438
|
/**
|
|
1439
|
-
*
|
|
1439
|
+
* <p>用户子网ID</p>
|
|
1440
1440
|
*/
|
|
1441
1441
|
UserSubnetId: string;
|
|
1442
1442
|
/**
|
|
1443
|
-
*
|
|
1443
|
+
* <p>产品版本号</p>
|
|
1444
1444
|
*/
|
|
1445
1445
|
ProductVersion: string;
|
|
1446
1446
|
/**
|
|
1447
|
-
*
|
|
1447
|
+
* <p>付费类型</p>
|
|
1448
1448
|
*/
|
|
1449
1449
|
ChargeProperties: ChargeProperties;
|
|
1450
1450
|
/**
|
|
1451
|
-
*
|
|
1451
|
+
* <p>实例名字</p>
|
|
1452
1452
|
*/
|
|
1453
1453
|
InstanceName: string;
|
|
1454
1454
|
/**
|
|
1455
|
-
*
|
|
1455
|
+
* <p>数据库密码</p>
|
|
1456
1456
|
*/
|
|
1457
1457
|
DorisUserPwd: string;
|
|
1458
1458
|
/**
|
|
1459
|
-
*
|
|
1459
|
+
* <p>标签列表</p>
|
|
1460
1460
|
*/
|
|
1461
1461
|
Tags?: Array<Tag>;
|
|
1462
1462
|
/**
|
|
1463
|
-
*
|
|
1464
|
-
0:非高可用(只有1个FE,FeSpec.CreateInstanceSpec.Count=1),
|
|
1465
|
-
1:读高可用(至少需部署3个FE,FeSpec.CreateInstanceSpec.Count>=3,且为奇数),
|
|
1466
|
-
2:读写高可用(至少需部署5个FE,FeSpec.CreateInstanceSpec.Count>=5,且为奇数)。
|
|
1463
|
+
* <p>高可用类型:<br>0:非高可用(只有1个FE,FeSpec.CreateInstanceSpec.Count=1),<br>1:读高可用(至少需部署3个FE,FeSpec.CreateInstanceSpec.Count>=3,且为奇数),<br>2:读写高可用(至少需部署5个FE,FeSpec.CreateInstanceSpec.Count>=5,且为奇数)。</p>
|
|
1467
1464
|
*/
|
|
1468
1465
|
HaType?: number;
|
|
1469
1466
|
/**
|
|
1470
|
-
*
|
|
1467
|
+
* <p>表名大小写是否敏感,0:敏感;1:不敏感,以小写进行比较;2:不敏感,表名改为以小写存储</p>
|
|
1471
1468
|
*/
|
|
1472
1469
|
CaseSensitive?: number;
|
|
1473
1470
|
/**
|
|
1474
|
-
*
|
|
1471
|
+
* <p>是否开启多可用区</p>
|
|
1475
1472
|
*/
|
|
1476
1473
|
EnableMultiZones?: boolean;
|
|
1477
1474
|
/**
|
|
1478
|
-
*
|
|
1475
|
+
* <p>开启多可用区后,用户的所有可用区和子网信息</p>
|
|
1479
1476
|
* @deprecated
|
|
1480
1477
|
*/
|
|
1481
1478
|
UserMultiZoneInfos?: NetworkInfo;
|
|
1482
1479
|
/**
|
|
1483
|
-
*
|
|
1480
|
+
* <p>开启多可用区后,用户的所有可用区和子网信息</p>
|
|
1484
1481
|
*/
|
|
1485
1482
|
UserMultiZoneInfoArr?: Array<NetworkInfo>;
|
|
1486
1483
|
/**
|
|
1487
|
-
*
|
|
1484
|
+
* <p>是否存算分离</p>
|
|
1488
1485
|
*/
|
|
1489
1486
|
IsSSC?: boolean;
|
|
1490
1487
|
/**
|
|
1491
|
-
* CU
|
|
1488
|
+
* <p>CU数</p>
|
|
1492
1489
|
*/
|
|
1493
1490
|
SSCCU?: number;
|
|
1494
1491
|
/**
|
|
1495
|
-
*
|
|
1492
|
+
* <p>缓存盘大小</p>
|
|
1496
1493
|
* @deprecated
|
|
1497
1494
|
*/
|
|
1498
1495
|
CacheDiskSize?: string;
|
|
1499
1496
|
/**
|
|
1500
|
-
*
|
|
1497
|
+
* <p>缓存盘大小</p>
|
|
1501
1498
|
*/
|
|
1502
1499
|
CacheDataDiskSize?: number;
|
|
1500
|
+
/**
|
|
1501
|
+
* <p>磁盘加密</p>
|
|
1502
|
+
*/
|
|
1503
|
+
DiskEncrypt?: number;
|
|
1503
1504
|
}
|
|
1504
1505
|
/**
|
|
1505
1506
|
* UpdateCoolDown请求参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import {
|
|
3
|
+
import { DescribeInstanceInfoRequest, DescribeUserHbaConfigResponse, DescribeUserHbaConfigRequest, ModifyDBParametersResponse, DescribeInstanceStateRequest, DescribeAccountsRequest, ScaleOutInstanceResponse, DescribeInstanceNodesRequest, RestartInstanceResponse, DestroyInstanceByApiRequest, DescribeDBConfigHistoryResponse, DescribeDBConfigHistoryRequest, DescribeDBParamsRequest, ModifyInstanceResponse, DescribeInstanceNodesResponse, ModifyInstanceRequest, DescribeSimpleInstancesResponse, UpgradeInstanceRequest, DescribeSlowLogResponse, ModifyUserHbaResponse, DescribeDBParamsResponse, DescribeInstancesResponse, ResetAccountPasswordResponse, ResetAccountPasswordRequest, RestartInstanceRequest, DescribeUpgradeListRequest, DescribeInstancesRequest, UpgradeInstanceResponse, DescribeInstanceOperationsResponse, CreateInstanceByApiResponse, DescribeSlowLogRequest, DescribeUpgradeListResponse, ScaleOutInstanceRequest, DescribeAccountsResponse, DescribeInstanceResponse, ModifyDBParametersRequest, DescribeErrorLogResponse, ModifyUserHbaRequest, ScaleUpInstanceRequest, DestroyInstanceByApiResponse, CreateInstanceByApiRequest, DescribeInstanceOperationsRequest, DescribeInstanceRequest, DescribeInstanceStateResponse, DescribeSimpleInstancesRequest, DescribeErrorLogRequest, ScaleUpInstanceResponse, DescribeInstanceInfoResponse } from "./cdwpg_models";
|
|
4
4
|
/**
|
|
5
5
|
* cdwpg client
|
|
6
6
|
* @class
|
|
@@ -16,13 +16,49 @@ export interface ConfigParams {
|
|
|
16
16
|
ParameterOldValue?: string;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* 批量实例状态项
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface InstanceStateItem {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* <p>集群实例名称</p>
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
InstanceId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* <p>集群状态,例如:Serving</p>
|
|
28
|
+
*/
|
|
29
|
+
InstanceState?: string;
|
|
30
|
+
/**
|
|
31
|
+
* <p>集群状态描述,例如:运行中</p>
|
|
32
|
+
*/
|
|
33
|
+
InstanceStateDesc?: string;
|
|
34
|
+
/**
|
|
35
|
+
* <p>集群备份任务开启状态</p>
|
|
36
|
+
*/
|
|
37
|
+
BackupStatus?: number;
|
|
38
|
+
/**
|
|
39
|
+
* <p>集群备份任务开启状态2</p>
|
|
40
|
+
*/
|
|
41
|
+
BackupOpenStatus?: number;
|
|
42
|
+
/**
|
|
43
|
+
* <p>集群操作创建时间</p>
|
|
44
|
+
*/
|
|
45
|
+
FlowCreateTime?: string;
|
|
46
|
+
/**
|
|
47
|
+
* <p>集群操作名称</p>
|
|
48
|
+
*/
|
|
49
|
+
FlowName?: string;
|
|
50
|
+
/**
|
|
51
|
+
* <p>集群操作进度</p>
|
|
52
|
+
*/
|
|
53
|
+
FlowProgress?: number;
|
|
54
|
+
/**
|
|
55
|
+
* <p>集群流程错误信息</p>
|
|
56
|
+
*/
|
|
57
|
+
FlowMsg?: string;
|
|
58
|
+
/**
|
|
59
|
+
* <p>当前步骤的名称</p>
|
|
60
|
+
*/
|
|
61
|
+
ProcessName?: string;
|
|
26
62
|
}
|
|
27
63
|
/**
|
|
28
64
|
* DescribeInstanceInfo请求参数结构体
|
|
@@ -208,9 +244,13 @@ export interface NormQueryItem {
|
|
|
208
244
|
*/
|
|
209
245
|
export interface DescribeInstanceStateRequest {
|
|
210
246
|
/**
|
|
211
|
-
*
|
|
247
|
+
* <p>集群实例名称</p>
|
|
212
248
|
*/
|
|
213
|
-
InstanceId
|
|
249
|
+
InstanceId?: string;
|
|
250
|
+
/**
|
|
251
|
+
* <p>集群实例名称列表(批量查询,优先于 InstanceId;上限100,超出截断)</p>
|
|
252
|
+
*/
|
|
253
|
+
InstanceIds?: Array<string>;
|
|
214
254
|
}
|
|
215
255
|
/**
|
|
216
256
|
* 用于描述账号的实例ID、账号名
|
|
@@ -305,14 +345,14 @@ export interface ChargeProperties {
|
|
|
305
345
|
* 时间单位,一般为h和m
|
|
306
346
|
*/
|
|
307
347
|
TimeUnit: string;
|
|
308
|
-
/**
|
|
309
|
-
* 计费类型0-按量计费,1-包年包月
|
|
310
|
-
*/
|
|
311
|
-
PayMode?: number;
|
|
312
348
|
/**
|
|
313
349
|
* PREPAID、POSTPAID_BY_HOUR
|
|
314
350
|
*/
|
|
315
351
|
ChargeType?: string;
|
|
352
|
+
/**
|
|
353
|
+
* 计费类型0-按量计费,1-包年包月
|
|
354
|
+
*/
|
|
355
|
+
PayMode?: number;
|
|
316
356
|
}
|
|
317
357
|
/**
|
|
318
358
|
* DestroyInstanceByApi请求参数结构体
|
|
@@ -514,22 +554,31 @@ export interface DescribeDBParamsRequest {
|
|
|
514
554
|
*/
|
|
515
555
|
InstanceId?: string;
|
|
516
556
|
}
|
|
557
|
+
/**
|
|
558
|
+
* ModifyInstance返回参数结构体
|
|
559
|
+
*/
|
|
560
|
+
export interface ModifyInstanceResponse {
|
|
561
|
+
/**
|
|
562
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
563
|
+
*/
|
|
564
|
+
RequestId?: string;
|
|
565
|
+
}
|
|
517
566
|
/**
|
|
518
567
|
* 磁盘规格
|
|
519
568
|
*/
|
|
520
569
|
export interface CBSSpec {
|
|
521
570
|
/**
|
|
522
|
-
*
|
|
571
|
+
* 个数
|
|
523
572
|
*/
|
|
524
|
-
|
|
573
|
+
DiskCount: number;
|
|
525
574
|
/**
|
|
526
575
|
* 大小
|
|
527
576
|
*/
|
|
528
577
|
DiskSize: number;
|
|
529
578
|
/**
|
|
530
|
-
*
|
|
579
|
+
* 盘类型
|
|
531
580
|
*/
|
|
532
|
-
|
|
581
|
+
DiskType: string;
|
|
533
582
|
}
|
|
534
583
|
/**
|
|
535
584
|
* DescribeInstanceNodes返回参数结构体
|
|
@@ -1334,14 +1383,6 @@ export interface ScaleUpInstanceRequest {
|
|
|
1334
1383
|
* 云原生资源规格描述信息
|
|
1335
1384
|
*/
|
|
1336
1385
|
export interface CNResourceSpec {
|
|
1337
|
-
/**
|
|
1338
|
-
* 节点类型
|
|
1339
|
-
*/
|
|
1340
|
-
Type: string;
|
|
1341
|
-
/**
|
|
1342
|
-
* 机型
|
|
1343
|
-
*/
|
|
1344
|
-
SpecName: string;
|
|
1345
1386
|
/**
|
|
1346
1387
|
* 节点个数
|
|
1347
1388
|
*/
|
|
@@ -1350,6 +1391,14 @@ export interface CNResourceSpec {
|
|
|
1350
1391
|
* 磁盘信息
|
|
1351
1392
|
*/
|
|
1352
1393
|
DiskSpec: CBSSpec;
|
|
1394
|
+
/**
|
|
1395
|
+
* 机型
|
|
1396
|
+
*/
|
|
1397
|
+
SpecName: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* 节点类型
|
|
1400
|
+
*/
|
|
1401
|
+
Type: string;
|
|
1353
1402
|
}
|
|
1354
1403
|
/**
|
|
1355
1404
|
* DestroyInstanceByApi返回参数结构体
|
|
@@ -1640,41 +1689,45 @@ export interface Tag {
|
|
|
1640
1689
|
*/
|
|
1641
1690
|
export interface DescribeInstanceStateResponse {
|
|
1642
1691
|
/**
|
|
1643
|
-
*
|
|
1692
|
+
* <p>集群备份任务开启状态2</p>
|
|
1644
1693
|
*/
|
|
1645
|
-
|
|
1694
|
+
BackupOpenStatus?: number;
|
|
1646
1695
|
/**
|
|
1647
|
-
*
|
|
1696
|
+
* <p>集群备份任务开启状态</p>
|
|
1697
|
+
*/
|
|
1698
|
+
BackupStatus?: number;
|
|
1699
|
+
/**
|
|
1700
|
+
* <p>集群操作创建时间</p>
|
|
1648
1701
|
*/
|
|
1649
1702
|
FlowCreateTime?: string;
|
|
1650
1703
|
/**
|
|
1651
|
-
*
|
|
1704
|
+
* <p>集群流程错误信息,例如:“创建失败,资源不足”</p>
|
|
1705
|
+
*/
|
|
1706
|
+
FlowMsg?: string;
|
|
1707
|
+
/**
|
|
1708
|
+
* <p>集群操作名称</p>
|
|
1652
1709
|
*/
|
|
1653
1710
|
FlowName?: string;
|
|
1654
1711
|
/**
|
|
1655
|
-
*
|
|
1712
|
+
* <p>集群操作进度</p>
|
|
1656
1713
|
*/
|
|
1657
1714
|
FlowProgress?: number;
|
|
1658
1715
|
/**
|
|
1659
|
-
*
|
|
1716
|
+
* <p>集群状态,例如:Serving</p>
|
|
1660
1717
|
*/
|
|
1661
|
-
|
|
1718
|
+
InstanceState?: string;
|
|
1662
1719
|
/**
|
|
1663
|
-
*
|
|
1720
|
+
* <p>集群状态描述,例如:运行中</p>
|
|
1664
1721
|
*/
|
|
1665
|
-
|
|
1722
|
+
InstanceStateDesc?: string;
|
|
1666
1723
|
/**
|
|
1667
|
-
*
|
|
1724
|
+
* <p>当前步骤的名称,例如:”购买资源中“</p>
|
|
1668
1725
|
*/
|
|
1669
1726
|
ProcessName?: string;
|
|
1670
1727
|
/**
|
|
1671
|
-
*
|
|
1672
|
-
*/
|
|
1673
|
-
BackupStatus?: number;
|
|
1674
|
-
/**
|
|
1675
|
-
* 集群备份任务开启状态2
|
|
1728
|
+
* <p>批量实例状态列表(InstanceIds 入参时返回,每项含 InstanceId 与状态字段)</p>
|
|
1676
1729
|
*/
|
|
1677
|
-
|
|
1730
|
+
InstanceStates?: Array<InstanceStateItem>;
|
|
1678
1731
|
/**
|
|
1679
1732
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1680
1733
|
*/
|