tencentcloud-sdk-nodejs 4.0.276 → 4.0.277
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/CHANGELOG.md +162 -0
- package/SERVICE_CHANGELOG.md +227 -34
- package/package.json +1 -1
- package/products.md +12 -12
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cam/v20190116/cam_models.ts +35 -34
- package/src/services/captcha/v20190722/captcha_models.ts +1 -0
- package/src/services/cdb/v20170320/cdb_client.ts +16 -2
- package/src/services/cdb/v20170320/cdb_models.ts +157 -31
- package/src/services/cii/v20210408/cii_client.ts +44 -5
- package/src/services/cii/v20210408/cii_models.ts +239 -59
- package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
- package/src/services/clb/v20180317/clb_models.ts +31 -9
- package/src/services/cpdp/v20190820/cpdp_models.ts +16 -8
- package/src/services/eb/v20210416/eb_client.ts +14 -2
- package/src/services/eb/v20210416/eb_models.ts +49 -24
- package/src/services/eis/v20210601/eis_models.ts +1 -1
- package/src/services/es/v20180416/es_models.ts +11 -0
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +3 -3
- package/src/services/tsf/v20180326/tsf_models.ts +33 -9
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +33 -32
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +1 -0
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +5 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +6 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +133 -25
- package/tencentcloud/services/cii/v20210408/cii_client.d.ts +13 -1
- package/tencentcloud/services/cii/v20210408/cii_client.js +18 -0
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +205 -52
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +27 -9
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +8 -0
- package/tencentcloud/services/eb/v20210416/eb_client.d.ts +6 -2
- package/tencentcloud/services/eb/v20210416/eb_client.js +7 -1
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +42 -20
- package/tencentcloud/services/eis/v20210601/eis_models.d.ts +1 -1
- package/tencentcloud/services/es/v20180416/es_models.d.ts +9 -0
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +3 -3
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +21 -1
- package/test/cdb.v20170320.test.js +10 -0
- package/test/cii.v20210408.test.js +30 -0
- package/test/eb.v20210416.test.js +10 -0
|
@@ -304,7 +304,7 @@ export interface RuntimeDeployedInstanceMC {
|
|
|
304
304
|
*/
|
|
305
305
|
UpdatedAt: number;
|
|
306
306
|
/**
|
|
307
|
-
* 应用类型:0:NormalApp普通应用 1:TemplateApp
|
|
307
|
+
* 应用类型:0:NormalApp普通应用 1:TemplateApp模板应用 2:LightApp轻应用 3:MicroConnTemplate微连接模板 4:MicroConnApp微连接应用
|
|
308
308
|
*/
|
|
309
309
|
ProjectType: number;
|
|
310
310
|
}
|
|
@@ -929,6 +929,11 @@ export interface InstanceInfo {
|
|
|
929
929
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
930
930
|
*/
|
|
931
931
|
FrozenDiskSize: number;
|
|
932
|
+
/**
|
|
933
|
+
* 集群健康状态 -1 未知;0 Green; 1 Yellow; 2 Red
|
|
934
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
935
|
+
*/
|
|
936
|
+
HealthStatus: number;
|
|
932
937
|
}
|
|
933
938
|
/**
|
|
934
939
|
* DeleteInstance返回参数结构体
|
|
@@ -1073,6 +1078,10 @@ export interface DescribeInstancesRequest {
|
|
|
1073
1078
|
* 可用区列表
|
|
1074
1079
|
*/
|
|
1075
1080
|
ZoneList?: Array<string>;
|
|
1081
|
+
/**
|
|
1082
|
+
* 健康状态筛列表
|
|
1083
|
+
*/
|
|
1084
|
+
HealthStatus?: Array<number>;
|
|
1076
1085
|
}
|
|
1077
1086
|
/**
|
|
1078
1087
|
* UpdateDiagnoseSettings请求参数结构体
|
|
@@ -626,7 +626,7 @@ export interface GetVideoListByConRequest {
|
|
|
626
626
|
*/
|
|
627
627
|
Limit: number;
|
|
628
628
|
/**
|
|
629
|
-
*
|
|
629
|
+
* 通道唯一标识,对于NVR设备,多通道IPC设备,设备编码与通道编码不一致的IPC设备,此字段为必填
|
|
630
630
|
*/
|
|
631
631
|
ChannelId?: string;
|
|
632
632
|
/**
|
|
@@ -2158,7 +2158,7 @@ export interface DescribeRecordStreamRequest {
|
|
|
2158
2158
|
*/
|
|
2159
2159
|
EndTime?: number;
|
|
2160
2160
|
/**
|
|
2161
|
-
*
|
|
2161
|
+
* 通道唯一标识(此接口升级为必填字段)
|
|
2162
2162
|
*/
|
|
2163
2163
|
ChannelId?: string;
|
|
2164
2164
|
}
|
|
@@ -3095,7 +3095,7 @@ export interface GetRecordDatesByDevRequest {
|
|
|
3095
3095
|
*/
|
|
3096
3096
|
Offset: number;
|
|
3097
3097
|
/**
|
|
3098
|
-
*
|
|
3098
|
+
* 通道唯一标识,对于NVR设备,多通道IPC设备,设备编码与通道编码不一致的IPC设备,此字段为必填
|
|
3099
3099
|
*/
|
|
3100
3100
|
ChannelId?: string;
|
|
3101
3101
|
/**
|
|
@@ -2450,6 +2450,10 @@ export interface ModifyTaskRequest {
|
|
|
2450
2450
|
* 任务参数,长度限制10000个字符
|
|
2451
2451
|
*/
|
|
2452
2452
|
TaskArgument?: string;
|
|
2453
|
+
/**
|
|
2454
|
+
* 无
|
|
2455
|
+
*/
|
|
2456
|
+
ProgramIdList?: Array<string>;
|
|
2453
2457
|
}
|
|
2454
2458
|
/**
|
|
2455
2459
|
* DeleteUnitNamespaces返回参数结构体
|
|
@@ -4578,6 +4582,7 @@ export interface ImageRepositoryResult {
|
|
|
4578
4582
|
export interface ModifyTaskResponse {
|
|
4579
4583
|
/**
|
|
4580
4584
|
* 更新是否成功
|
|
4585
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4581
4586
|
*/
|
|
4582
4587
|
Result: boolean;
|
|
4583
4588
|
/**
|
|
@@ -5206,6 +5211,7 @@ export interface CreateLaneRuleResponse {
|
|
|
5206
5211
|
export interface CreateTaskResponse {
|
|
5207
5212
|
/**
|
|
5208
5213
|
* 任务ID
|
|
5214
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5209
5215
|
*/
|
|
5210
5216
|
Result: string;
|
|
5211
5217
|
/**
|
|
@@ -5521,6 +5527,10 @@ export interface CreateTaskFlowRequest {
|
|
|
5521
5527
|
* 工作流执行超时时间
|
|
5522
5528
|
*/
|
|
5523
5529
|
TimeOut: number;
|
|
5530
|
+
/**
|
|
5531
|
+
* 无
|
|
5532
|
+
*/
|
|
5533
|
+
ProgramIdList?: Array<string>;
|
|
5524
5534
|
}
|
|
5525
5535
|
/**
|
|
5526
5536
|
* ModifyContainerReplicas返回参数结构体
|
|
@@ -5925,6 +5935,7 @@ export interface CreateUnitRuleResponse {
|
|
|
5925
5935
|
export interface DescribeTaskRecordsResponse {
|
|
5926
5936
|
/**
|
|
5927
5937
|
* 任务记录列表
|
|
5938
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5928
5939
|
*/
|
|
5929
5940
|
Result: TaskRecordPage;
|
|
5930
5941
|
/**
|
|
@@ -6808,6 +6819,10 @@ export interface CreateTaskRequest {
|
|
|
6808
6819
|
* 任务参数,长度限制10000个字符
|
|
6809
6820
|
*/
|
|
6810
6821
|
TaskArgument?: string;
|
|
6822
|
+
/**
|
|
6823
|
+
* 无
|
|
6824
|
+
*/
|
|
6825
|
+
ProgramIdList?: Array<string>;
|
|
6811
6826
|
}
|
|
6812
6827
|
/**
|
|
6813
6828
|
* 提供给前端,控制按钮是否显示
|
|
@@ -7001,6 +7016,10 @@ export interface DescribeTaskRecordsRequest {
|
|
|
7001
7016
|
* 任务触发类型,UNICAST、BROADCAST。
|
|
7002
7017
|
*/
|
|
7003
7018
|
ExecuteType?: string;
|
|
7019
|
+
/**
|
|
7020
|
+
* 无
|
|
7021
|
+
*/
|
|
7022
|
+
Ids?: Array<string>;
|
|
7004
7023
|
}
|
|
7005
7024
|
/**
|
|
7006
7025
|
* ModifyContainerGroup返回参数结构体
|
|
@@ -7702,8 +7721,9 @@ export interface ModifyLaneRuleRequest {
|
|
|
7702
7721
|
export interface CreateTaskFlowResponse {
|
|
7703
7722
|
/**
|
|
7704
7723
|
* 工作流 ID
|
|
7724
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7705
7725
|
*/
|
|
7706
|
-
Result
|
|
7726
|
+
Result: string;
|
|
7707
7727
|
/**
|
|
7708
7728
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7709
7729
|
*/
|
|
@@ -1198,6 +1198,16 @@ it("cdb.v20170320.ModifyAuditRule", async function () {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
})
|
|
1200
1200
|
|
|
1201
|
+
it("cdb.v20170320.QueryCDBProxy", async function () {
|
|
1202
|
+
try {
|
|
1203
|
+
const data = await client.QueryCDBProxy({})
|
|
1204
|
+
expect(data).to.be.ok
|
|
1205
|
+
} catch(error) {
|
|
1206
|
+
expect(error.requestId).to.be.ok
|
|
1207
|
+
expect(error.code).to.be.ok
|
|
1208
|
+
}
|
|
1209
|
+
})
|
|
1210
|
+
|
|
1201
1211
|
it("cdb.v20170320.ModifyDBInstanceSecurityGroups", async function () {
|
|
1202
1212
|
try {
|
|
1203
1213
|
const data = await client.ModifyDBInstanceSecurityGroups({})
|
|
@@ -58,6 +58,16 @@ it("cii.v20210408.CreateUnderwriteTaskById", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("cii.v20210408.DescribeUnderwriteTask", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeUnderwriteTask({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
61
71
|
it("cii.v20210408.DescribeMachineUnderwrite", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.DescribeMachineUnderwrite({})
|
|
@@ -108,4 +118,24 @@ it("cii.v20210408.DescribeStructureResult", async function () {
|
|
|
108
118
|
}
|
|
109
119
|
})
|
|
110
120
|
|
|
121
|
+
it("cii.v20210408.DescribeReportClassify", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeReportClassify({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
131
|
+
it("cii.v20210408.AddSubStructureTasks", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.AddSubStructureTasks({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
111
141
|
})
|
|
@@ -98,6 +98,16 @@ it("eb.v20210416.PublishEvent", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("eb.v20210416.PutEvents", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.PutEvents({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
101
111
|
it("eb.v20210416.UpdateTarget", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.UpdateTarget({})
|