tencentcloud-sdk-nodejs 4.0.256 → 4.0.257
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 +334 -109
- package/package.json +1 -1
- package/products.md +12 -12
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +15 -0
- package/src/services/cam/v20190116/cam_models.ts +1 -1
- package/src/services/cii/v20210408/cii_models.ts +6 -6
- package/src/services/cls/v20201016/cls_client.ts +6 -6
- package/src/services/cls/v20201016/cls_models.ts +1 -1
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +14 -2
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +100 -45
- package/src/services/eiam/v20210420/eiam_client.ts +230 -65
- package/src/services/eiam/v20210420/eiam_models.ts +1582 -816
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_client.ts +374 -56
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +1526 -397
- package/src/services/live/v20180801/live_models.ts +12 -1
- package/src/services/thpc/v20211109/thpc_client.ts +2 -1
- package/src/services/thpc/v20211109/thpc_models.ts +29 -4
- package/src/services/tiw/v20190919/tiw_models.ts +2 -6
- package/src/services/vpc/v20170312/vpc_models.ts +15 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +12 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +1 -1
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +6 -6
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +6 -6
- package/tencentcloud/services/cls/v20201016/cls_client.js +6 -6
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +83 -37
- package/tencentcloud/services/eiam/v20210420/eiam_client.d.ts +57 -5
- package/tencentcloud/services/eiam/v20210420/eiam_client.js +84 -6
- package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +1348 -693
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +119 -15
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +177 -21
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +1191 -221
- package/tencentcloud/services/live/v20180801/live_models.d.ts +11 -1
- package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +25 -4
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +2 -6
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +14 -1
- package/test/dbbrain.v20210527.test.js +10 -0
- package/test/eiam.v20210420.test.js +134 -4
- package/test/iotvideoindustry.v20201201.test.js +274 -14
|
@@ -2580,7 +2580,8 @@ export interface DescribeCallbackRecordsListRequest {
|
|
|
2580
2580
|
* 事件类型。
|
|
2581
2581
|
0: "断流",
|
|
2582
2582
|
1: "推流",
|
|
2583
|
-
100: "录制"
|
|
2583
|
+
100: "录制"
|
|
2584
|
+
200: "截图回调"。
|
|
2584
2585
|
*/
|
|
2585
2586
|
EventType?: number;
|
|
2586
2587
|
/**
|
|
@@ -2891,6 +2892,15 @@ export interface DescribeLivePackageInfoResponse {
|
|
|
2891
2892
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2892
2893
|
*/
|
|
2893
2894
|
PageSize: number;
|
|
2895
|
+
/**
|
|
2896
|
+
* 当请求参数 PackageType = 0 时生效,逗号分隔,从第一个到最后一个分别表示:
|
|
2897
|
+
标准直播,中国大陆(境内全地区)计费方式。
|
|
2898
|
+
标准直播,国际/港澳台(境外多地区)计费方式。
|
|
2899
|
+
快直播,中国大陆(境内全地区)计费方式。
|
|
2900
|
+
快直播,国际/港澳台(境外多地区)计费方式。
|
|
2901
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2902
|
+
*/
|
|
2903
|
+
FluxPackageBillMode: string;
|
|
2894
2904
|
/**
|
|
2895
2905
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2896
2906
|
*/
|
|
@@ -221,6 +221,19 @@ export interface VirtualPrivateCloud {
|
|
|
221
221
|
*/
|
|
222
222
|
SubnetId: string;
|
|
223
223
|
}
|
|
224
|
+
/**
|
|
225
|
+
* 描述集群文件系统选项
|
|
226
|
+
*/
|
|
227
|
+
export interface StorageOption {
|
|
228
|
+
/**
|
|
229
|
+
* 集群挂载CFS文件系统选项
|
|
230
|
+
*/
|
|
231
|
+
CFSOptions?: Array<CFSOption>;
|
|
232
|
+
/**
|
|
233
|
+
* 集群挂在GooseFS文件系统选项
|
|
234
|
+
*/
|
|
235
|
+
GooseFSOptions?: Array<GooseFSOption>;
|
|
236
|
+
}
|
|
224
237
|
/**
|
|
225
238
|
* DeleteCluster返回参数结构体
|
|
226
239
|
*/
|
|
@@ -231,13 +244,21 @@ export interface DeleteClusterResponse {
|
|
|
231
244
|
RequestId?: string;
|
|
232
245
|
}
|
|
233
246
|
/**
|
|
234
|
-
*
|
|
247
|
+
* 描述GooseFS挂载信息
|
|
235
248
|
*/
|
|
236
|
-
export interface
|
|
249
|
+
export interface GooseFSOption {
|
|
237
250
|
/**
|
|
238
|
-
*
|
|
251
|
+
* 文件系统本地挂载路径
|
|
252
|
+
*/
|
|
253
|
+
LocalPath: string;
|
|
254
|
+
/**
|
|
255
|
+
* 文件系统远程挂载路径
|
|
256
|
+
*/
|
|
257
|
+
RemotePath: string;
|
|
258
|
+
/**
|
|
259
|
+
* 文件系统master的ip和端口
|
|
239
260
|
*/
|
|
240
|
-
|
|
261
|
+
Masters: Array<string>;
|
|
241
262
|
}
|
|
242
263
|
/**
|
|
243
264
|
* 描述了实例的计费模式
|
|
@@ -247,9 +247,7 @@ SdkAppID = 12345678,RoomID = 12345,PushUserID = push_user_1
|
|
|
247
247
|
*/
|
|
248
248
|
ExtraData?: string;
|
|
249
249
|
/**
|
|
250
|
-
*
|
|
251
|
-
|
|
252
|
-
TRTC数字类型房间号,取值范围: (1, 4294967295)。
|
|
250
|
+
* TRTC数字类型房间号,取值范围: (1, 4294967295)。
|
|
253
251
|
|
|
254
252
|
在同时指定了RoomId与TRTCRoomId的情况下,优先使用TRTCRoomId作为白板流进行推流的TRTC房间号。
|
|
255
253
|
|
|
@@ -257,9 +255,7 @@ TRTC数字类型房间号,取值范围: (1, 4294967295)。
|
|
|
257
255
|
*/
|
|
258
256
|
TRTCRoomId?: number;
|
|
259
257
|
/**
|
|
260
|
-
*
|
|
261
|
-
|
|
262
|
-
TRTC字符串类型房间号。
|
|
258
|
+
* TRTC字符串类型房间号。
|
|
263
259
|
|
|
264
260
|
在指定了TRTCRoomIdStr的情况下,会优先使用TRTCRoomIdStr作为白板流进行推流的TRTC房间号。
|
|
265
261
|
*/
|
|
@@ -3707,7 +3707,7 @@ export interface DescribeSecurityGroupPoliciesResponse {
|
|
|
3707
3707
|
/**
|
|
3708
3708
|
* 安全组规则集合。
|
|
3709
3709
|
*/
|
|
3710
|
-
SecurityGroupPolicySet
|
|
3710
|
+
SecurityGroupPolicySet: SecurityGroupPolicySet;
|
|
3711
3711
|
/**
|
|
3712
3712
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3713
3713
|
*/
|
|
@@ -5067,6 +5067,19 @@ export interface DescribeSecurityGroupPoliciesRequest {
|
|
|
5067
5067
|
* 安全组实例ID,例如:sg-33ocnj9n,可通过DescribeSecurityGroups获取。
|
|
5068
5068
|
*/
|
|
5069
5069
|
SecurityGroupId: string;
|
|
5070
|
+
/**
|
|
5071
|
+
* 过滤条件,不支持同时指定SecurityGroupId和Filters参数。
|
|
5072
|
+
<li>security-group-id - String - 安全组ID。</li>
|
|
5073
|
+
<li>ip - String - IP,支持IPV4和IPV6模糊匹配。</li>
|
|
5074
|
+
<li>address-module - String - IP地址模板或IP地址组模板ID。</li>
|
|
5075
|
+
<li>service-module - String - 协议端口模板或协议端口组模板ID。</li>
|
|
5076
|
+
<li>protocol-type - String - 安全组策略支持的协议,可选值:`TCP`, `UDP`, `ICMP`, `ICMPV6`, `GRE`, `ALL`。</li>
|
|
5077
|
+
<li>port - String - 是否必填:否 -协议端口,支持模糊匹配,值为`ALL`时,查询所有的端口。</li>
|
|
5078
|
+
<li>poly - String - 协议策略,可选值:`ALL`,所有策略;`ACCEPT`,允许;`DROP`,拒绝。</li>
|
|
5079
|
+
<li>direction - String - 协议规则,可选值:`ALL`,所有策略;`INBOUND`,入站规则;`OUTBOUND`,出站规则。</li>
|
|
5080
|
+
<li>description - String - 协议描述,该过滤条件支持模糊匹配。</li>
|
|
5081
|
+
*/
|
|
5082
|
+
Filters?: Array<Filter>;
|
|
5070
5083
|
}
|
|
5071
5084
|
/**
|
|
5072
5085
|
* ModifyNetworkInterfaceAttribute返回参数结构体
|
|
@@ -88,6 +88,16 @@ it("dbbrain.v20210527.DescribeAllUserGroup", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
+
it("dbbrain.v20210527.DescribeDBDiagEvents", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeDBDiagEvents({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
91
101
|
it("dbbrain.v20210527.DescribeSlowLogTimeSeriesStats", async function () {
|
|
92
102
|
try {
|
|
93
103
|
const data = await client.DescribeSlowLogTimeSeriesStats({})
|
|
@@ -28,6 +28,16 @@ it("eiam.v20210420.DescribeUserGroup", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("eiam.v20210420.CreateAccountGroup", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateAccountGroup({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
31
41
|
it("eiam.v20210420.DescribeOrgResourcesAuthorization", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.DescribeOrgResourcesAuthorization({})
|
|
@@ -68,6 +78,26 @@ it("eiam.v20210420.ListUsers", async function () {
|
|
|
68
78
|
}
|
|
69
79
|
})
|
|
70
80
|
|
|
81
|
+
it("eiam.v20210420.RemoveAccountFromAccountGroup", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.RemoveAccountFromAccountGroup({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
it("eiam.v20210420.ListAccountInAccountGroup", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.ListAccountInAccountGroup({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
71
101
|
it("eiam.v20210420.ListAuthorizedApplicationsToUserGroup", async function () {
|
|
72
102
|
try {
|
|
73
103
|
const data = await client.ListAuthorizedApplicationsToUserGroup({})
|
|
@@ -88,6 +118,16 @@ it("eiam.v20210420.ListApplicationAuthorizations", async function () {
|
|
|
88
118
|
}
|
|
89
119
|
})
|
|
90
120
|
|
|
121
|
+
it("eiam.v20210420.ModifyAccountGroup", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.ModifyAccountGroup({})
|
|
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
|
+
|
|
91
131
|
it("eiam.v20210420.DescribeUserResourcesAuthorization", async function () {
|
|
92
132
|
try {
|
|
93
133
|
const data = await client.DescribeUserResourcesAuthorization({})
|
|
@@ -98,6 +138,26 @@ it("eiam.v20210420.DescribeUserResourcesAuthorization", async function () {
|
|
|
98
138
|
}
|
|
99
139
|
})
|
|
100
140
|
|
|
141
|
+
it("eiam.v20210420.ModifyAppAccount", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ModifyAppAccount({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
it("eiam.v20210420.DescribeUserThirdPartyAccountInfo", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeUserThirdPartyAccountInfo({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
101
161
|
it("eiam.v20210420.DeleteUserGroup", async function () {
|
|
102
162
|
try {
|
|
103
163
|
const data = await client.DeleteUserGroup({})
|
|
@@ -108,6 +168,16 @@ it("eiam.v20210420.DeleteUserGroup", async function () {
|
|
|
108
168
|
}
|
|
109
169
|
})
|
|
110
170
|
|
|
171
|
+
it("eiam.v20210420.DeleteAccountGroup", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DeleteAccountGroup({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
111
181
|
it("eiam.v20210420.ModifyApplication", async function () {
|
|
112
182
|
try {
|
|
113
183
|
const data = await client.ModifyApplication({})
|
|
@@ -138,6 +208,36 @@ it("eiam.v20210420.AddUserToUserGroup", async function () {
|
|
|
138
208
|
}
|
|
139
209
|
})
|
|
140
210
|
|
|
211
|
+
it("eiam.v20210420.DeleteAppAccount", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.DeleteAppAccount({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
221
|
+
it("eiam.v20210420.DescribeAccountGroup", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.DescribeAccountGroup({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
231
|
+
it("eiam.v20210420.DeleteUsers", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.DeleteUsers({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
141
241
|
it("eiam.v20210420.DescribeUserGroupResourcesAuthorization", async function () {
|
|
142
242
|
try {
|
|
143
243
|
const data = await client.DescribeUserGroupResourcesAuthorization({})
|
|
@@ -148,6 +248,16 @@ it("eiam.v20210420.DescribeUserGroupResourcesAuthorization", async function () {
|
|
|
148
248
|
}
|
|
149
249
|
})
|
|
150
250
|
|
|
251
|
+
it("eiam.v20210420.CreateAppAccount", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.CreateAppAccount({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
151
261
|
it("eiam.v20210420.ListUsersInUserGroup", async function () {
|
|
152
262
|
try {
|
|
153
263
|
const data = await client.ListUsersInUserGroup({})
|
|
@@ -158,9 +268,9 @@ it("eiam.v20210420.ListUsersInUserGroup", async function () {
|
|
|
158
268
|
}
|
|
159
269
|
})
|
|
160
270
|
|
|
161
|
-
it("eiam.v20210420.
|
|
271
|
+
it("eiam.v20210420.ListUserGroupsOfUser", async function () {
|
|
162
272
|
try {
|
|
163
|
-
const data = await client.
|
|
273
|
+
const data = await client.ListUserGroupsOfUser({})
|
|
164
274
|
expect(data).to.be.ok
|
|
165
275
|
} catch(error) {
|
|
166
276
|
expect(error.requestId).to.be.ok
|
|
@@ -178,6 +288,16 @@ it("eiam.v20210420.ListAuthorizedApplicationsToUser", async function () {
|
|
|
178
288
|
}
|
|
179
289
|
})
|
|
180
290
|
|
|
291
|
+
it("eiam.v20210420.DescribeAppAccount", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DescribeAppAccount({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
181
301
|
it("eiam.v20210420.DescribeOrgNode", async function () {
|
|
182
302
|
try {
|
|
183
303
|
const data = await client.DescribeOrgNode({})
|
|
@@ -258,6 +378,16 @@ it("eiam.v20210420.DeleteOrgNode", async function () {
|
|
|
258
378
|
}
|
|
259
379
|
})
|
|
260
380
|
|
|
381
|
+
it("eiam.v20210420.AddAccountToAccountGroup", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.AddAccountToAccountGroup({})
|
|
384
|
+
expect(data).to.be.ok
|
|
385
|
+
} catch(error) {
|
|
386
|
+
expect(error.requestId).to.be.ok
|
|
387
|
+
expect(error.code).to.be.ok
|
|
388
|
+
}
|
|
389
|
+
})
|
|
390
|
+
|
|
261
391
|
it("eiam.v20210420.CreateUserGroup", async function () {
|
|
262
392
|
try {
|
|
263
393
|
const data = await client.CreateUserGroup({})
|
|
@@ -268,9 +398,9 @@ it("eiam.v20210420.CreateUserGroup", async function () {
|
|
|
268
398
|
}
|
|
269
399
|
})
|
|
270
400
|
|
|
271
|
-
it("eiam.v20210420.
|
|
401
|
+
it("eiam.v20210420.CreateUser", async function () {
|
|
272
402
|
try {
|
|
273
|
-
const data = await client.
|
|
403
|
+
const data = await client.CreateUser({})
|
|
274
404
|
expect(data).to.be.ok
|
|
275
405
|
} catch(error) {
|
|
276
406
|
expect(error.requestId).to.be.ok
|