tencentcloud-sdk-nodejs-intl-en 3.0.646 → 3.0.647
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/package.json +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/lighthouse/v20200324/models.js +22 -11
- package/tencentcloud/tat/v20201028/models.js +21 -0
- package/tencentcloud/tdmq/v20200217/models.js +369 -86
- package/tencentcloud/tdmq/v20200217/tdmq_client.js +31 -15
- package/tencentcloud/tem/v20210701/models.js +91 -7
- package/tencentcloud/trtc/v20190722/models.js +37 -6
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.647";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -1229,7 +1229,7 @@ class InquirePriceRenewInstancesRequest extends AbstractModel {
|
|
|
1229
1229
|
this.InstanceIds = null;
|
|
1230
1230
|
|
|
1231
1231
|
/**
|
|
1232
|
-
*
|
|
1232
|
+
* Parameter setting for prepaid mode. This parameter can specify the renewal period, whether to enable auto-renewal, and other attributes of the monthly subscribed instances.
|
|
1233
1233
|
* @type {InstanceChargePrepaid || null}
|
|
1234
1234
|
*/
|
|
1235
1235
|
this.InstanceChargePrepaid = null;
|
|
@@ -2050,6 +2050,7 @@ class Disk extends AbstractModel {
|
|
|
2050
2050
|
/**
|
|
2051
2051
|
* Creation time according to ISO 8601 standard. UTC time is used.
|
|
2052
2052
|
Format: YYYY-MM-DDThh:mm:ssZ.
|
|
2053
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
2053
2054
|
* @type {string || null}
|
|
2054
2055
|
*/
|
|
2055
2056
|
this.CreatedTime = null;
|
|
@@ -2762,12 +2763,12 @@ class DescribeBlueprintsRequest extends AbstractModel {
|
|
|
2762
2763
|
this.Limit = null;
|
|
2763
2764
|
|
|
2764
2765
|
/**
|
|
2765
|
-
* Filter list
|
|
2766
|
+
* Filter list.
|
|
2766
2767
|
<li>blueprint-id</li>Filter by the **image ID**.
|
|
2767
2768
|
Type: String
|
|
2768
2769
|
Required: no
|
|
2769
2770
|
<li>blueprint-type</li>Filter by the **image type**.
|
|
2770
|
-
Valid values: `APP_OS` (application image)
|
|
2771
|
+
Valid values: `APP_OS` (application image), `PURE_OS` (system image), `DOCKER` (Docker container image), `PRIVATE` (custom image), `SHARED` (shared image)
|
|
2771
2772
|
Type: String
|
|
2772
2773
|
Required: no
|
|
2773
2774
|
<li>platform-type</li>Filter by the **image operating system**.
|
|
@@ -2784,7 +2785,7 @@ Required: no
|
|
|
2784
2785
|
Type: String
|
|
2785
2786
|
Required: no
|
|
2786
2787
|
|
|
2787
|
-
Each request can contain up to 10 `Filters`, each of which can contain up to
|
|
2788
|
+
Each request can contain up to 10 `Filters`, each of which can contain up to 100 `Filter.Values`. `BlueprintIds` and `Filters` cannot be specified at the same time.
|
|
2788
2789
|
* @type {Array.<Filter> || null}
|
|
2789
2790
|
*/
|
|
2790
2791
|
this.Filters = null;
|
|
@@ -4774,6 +4775,7 @@ class Blueprint extends AbstractModel {
|
|
|
4774
4775
|
|
|
4775
4776
|
/**
|
|
4776
4777
|
* Image description information.
|
|
4778
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
4777
4779
|
* @type {string || null}
|
|
4778
4780
|
*/
|
|
4779
4781
|
this.Description = null;
|
|
@@ -4872,6 +4874,13 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
4872
4874
|
*/
|
|
4873
4875
|
this.SceneIdSet = null;
|
|
4874
4876
|
|
|
4877
|
+
/**
|
|
4878
|
+
* Docker version.
|
|
4879
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
4880
|
+
* @type {string || null}
|
|
4881
|
+
*/
|
|
4882
|
+
this.DockerVersion = null;
|
|
4883
|
+
|
|
4875
4884
|
}
|
|
4876
4885
|
|
|
4877
4886
|
/**
|
|
@@ -4900,6 +4909,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
4900
4909
|
this.CommunityUrl = 'CommunityUrl' in params ? params.CommunityUrl : null;
|
|
4901
4910
|
this.GuideUrl = 'GuideUrl' in params ? params.GuideUrl : null;
|
|
4902
4911
|
this.SceneIdSet = 'SceneIdSet' in params ? params.SceneIdSet : null;
|
|
4912
|
+
this.DockerVersion = 'DockerVersion' in params ? params.DockerVersion : null;
|
|
4903
4913
|
|
|
4904
4914
|
}
|
|
4905
4915
|
}
|
|
@@ -5805,6 +5815,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5805
5815
|
|
|
5806
5816
|
/**
|
|
5807
5817
|
* Snapshot creation time.
|
|
5818
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
5808
5819
|
* @type {string || null}
|
|
5809
5820
|
*/
|
|
5810
5821
|
this.CreatedTime = null;
|
|
@@ -8163,16 +8174,16 @@ class InquirePriceCreateInstancesRequest extends AbstractModel {
|
|
|
8163
8174
|
this.BundleId = null;
|
|
8164
8175
|
|
|
8165
8176
|
/**
|
|
8166
|
-
*
|
|
8167
|
-
* @type {
|
|
8177
|
+
* Parameter setting for prepaid mode. This parameter can specify the purchase period, whether to enable auto-renewal, and other attributes of the monthly subscribed instances.
|
|
8178
|
+
* @type {InstanceChargePrepaid || null}
|
|
8168
8179
|
*/
|
|
8169
|
-
this.
|
|
8180
|
+
this.InstanceChargePrepaid = null;
|
|
8170
8181
|
|
|
8171
8182
|
/**
|
|
8172
|
-
*
|
|
8173
|
-
* @type {
|
|
8183
|
+
* Number of instances to be created. Default value: 1.
|
|
8184
|
+
* @type {number || null}
|
|
8174
8185
|
*/
|
|
8175
|
-
this.
|
|
8186
|
+
this.InstanceCount = null;
|
|
8176
8187
|
|
|
8177
8188
|
/**
|
|
8178
8189
|
* Application image ID, which is required if a paid application image is used and can be obtained from the `BlueprintId` returned by the [DescribeBlueprints](https://intl.cloud.tencent.com/document/product/1207/47689?from_cn_redirect=1) API.
|
|
@@ -8190,13 +8201,13 @@ class InquirePriceCreateInstancesRequest extends AbstractModel {
|
|
|
8190
8201
|
return;
|
|
8191
8202
|
}
|
|
8192
8203
|
this.BundleId = 'BundleId' in params ? params.BundleId : null;
|
|
8193
|
-
this.InstanceCount = 'InstanceCount' in params ? params.InstanceCount : null;
|
|
8194
8204
|
|
|
8195
8205
|
if (params.InstanceChargePrepaid) {
|
|
8196
8206
|
let obj = new InstanceChargePrepaid();
|
|
8197
8207
|
obj.deserialize(params.InstanceChargePrepaid)
|
|
8198
8208
|
this.InstanceChargePrepaid = obj;
|
|
8199
8209
|
}
|
|
8210
|
+
this.InstanceCount = 'InstanceCount' in params ? params.InstanceCount : null;
|
|
8200
8211
|
this.BlueprintId = 'BlueprintId' in params ? params.BlueprintId : null;
|
|
8201
8212
|
|
|
8202
8213
|
}
|
|
@@ -255,6 +255,12 @@ class AutomationAgentInfo extends AbstractModel {
|
|
|
255
255
|
*/
|
|
256
256
|
this.Environment = null;
|
|
257
257
|
|
|
258
|
+
/**
|
|
259
|
+
* Features supported by the TAT agent.
|
|
260
|
+
* @type {Array.<string> || null}
|
|
261
|
+
*/
|
|
262
|
+
this.SupportFeatures = null;
|
|
263
|
+
|
|
258
264
|
}
|
|
259
265
|
|
|
260
266
|
/**
|
|
@@ -269,6 +275,7 @@ class AutomationAgentInfo extends AbstractModel {
|
|
|
269
275
|
this.LastHeartbeatTime = 'LastHeartbeatTime' in params ? params.LastHeartbeatTime : null;
|
|
270
276
|
this.AgentStatus = 'AgentStatus' in params ? params.AgentStatus : null;
|
|
271
277
|
this.Environment = 'Environment' in params ? params.Environment : null;
|
|
278
|
+
this.SupportFeatures = 'SupportFeatures' in params ? params.SupportFeatures : null;
|
|
272
279
|
|
|
273
280
|
}
|
|
274
281
|
}
|
|
@@ -828,6 +835,18 @@ class CommandDocument extends AbstractModel {
|
|
|
828
835
|
*/
|
|
829
836
|
this.Username = null;
|
|
830
837
|
|
|
838
|
+
/**
|
|
839
|
+
* URL of the COS bucket to store the output
|
|
840
|
+
* @type {string || null}
|
|
841
|
+
*/
|
|
842
|
+
this.OutputCOSBucketUrl = null;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* Prefix of the output file name
|
|
846
|
+
* @type {string || null}
|
|
847
|
+
*/
|
|
848
|
+
this.OutputCOSKeyPrefix = null;
|
|
849
|
+
|
|
831
850
|
}
|
|
832
851
|
|
|
833
852
|
/**
|
|
@@ -842,6 +861,8 @@ class CommandDocument extends AbstractModel {
|
|
|
842
861
|
this.Timeout = 'Timeout' in params ? params.Timeout : null;
|
|
843
862
|
this.WorkingDirectory = 'WorkingDirectory' in params ? params.WorkingDirectory : null;
|
|
844
863
|
this.Username = 'Username' in params ? params.Username : null;
|
|
864
|
+
this.OutputCOSBucketUrl = 'OutputCOSBucketUrl' in params ? params.OutputCOSBucketUrl : null;
|
|
865
|
+
this.OutputCOSKeyPrefix = 'OutputCOSKeyPrefix' in params ? params.OutputCOSKeyPrefix : null;
|
|
845
866
|
|
|
846
867
|
}
|
|
847
868
|
}
|
|
@@ -313,6 +313,48 @@ class DescribeSubscriptionsRequest extends AbstractModel {
|
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
+
/**
|
|
317
|
+
* Information of instance node distribution
|
|
318
|
+
* @class
|
|
319
|
+
*/
|
|
320
|
+
class InstanceNodeDistribution extends AbstractModel {
|
|
321
|
+
constructor(){
|
|
322
|
+
super();
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* AZ
|
|
326
|
+
* @type {string || null}
|
|
327
|
+
*/
|
|
328
|
+
this.ZoneName = null;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* AZ ID
|
|
332
|
+
* @type {string || null}
|
|
333
|
+
*/
|
|
334
|
+
this.ZoneId = null;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Number of nodes
|
|
338
|
+
* @type {number || null}
|
|
339
|
+
*/
|
|
340
|
+
this.NodeCount = null;
|
|
341
|
+
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* @private
|
|
346
|
+
*/
|
|
347
|
+
deserialize(params) {
|
|
348
|
+
if (!params) {
|
|
349
|
+
return;
|
|
350
|
+
}
|
|
351
|
+
this.ZoneName = 'ZoneName' in params ? params.ZoneName : null;
|
|
352
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
353
|
+
this.NodeCount = 'NodeCount' in params ? params.NodeCount : null;
|
|
354
|
+
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
316
358
|
/**
|
|
317
359
|
* CreateRocketMQGroup request structure.
|
|
318
360
|
* @class
|
|
@@ -1218,6 +1260,127 @@ class PublishCmqMsgRequest extends AbstractModel {
|
|
|
1218
1260
|
}
|
|
1219
1261
|
}
|
|
1220
1262
|
|
|
1263
|
+
/**
|
|
1264
|
+
* Instance configurations of a TDMQ for RocketMQ exclusive cluster
|
|
1265
|
+
* @class
|
|
1266
|
+
*/
|
|
1267
|
+
class RocketMQInstanceConfig extends AbstractModel {
|
|
1268
|
+
constructor(){
|
|
1269
|
+
super();
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* Maximum TPS per namespace
|
|
1273
|
+
* @type {number || null}
|
|
1274
|
+
*/
|
|
1275
|
+
this.MaxTpsPerNamespace = null;
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* Maximum number of namespaces
|
|
1279
|
+
* @type {number || null}
|
|
1280
|
+
*/
|
|
1281
|
+
this.MaxNamespaceNum = null;
|
|
1282
|
+
|
|
1283
|
+
/**
|
|
1284
|
+
* Number of used namespaces
|
|
1285
|
+
* @type {number || null}
|
|
1286
|
+
*/
|
|
1287
|
+
this.UsedNamespaceNum = null;
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* Maximum number of topics
|
|
1291
|
+
* @type {number || null}
|
|
1292
|
+
*/
|
|
1293
|
+
this.MaxTopicNum = null;
|
|
1294
|
+
|
|
1295
|
+
/**
|
|
1296
|
+
* Number of used topics
|
|
1297
|
+
* @type {number || null}
|
|
1298
|
+
*/
|
|
1299
|
+
this.UsedTopicNum = null;
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* Maximum number of groups
|
|
1303
|
+
* @type {number || null}
|
|
1304
|
+
*/
|
|
1305
|
+
this.MaxGroupNum = null;
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* Number of used groups
|
|
1309
|
+
* @type {number || null}
|
|
1310
|
+
*/
|
|
1311
|
+
this.UsedGroupNum = null;
|
|
1312
|
+
|
|
1313
|
+
/**
|
|
1314
|
+
* Cluster type
|
|
1315
|
+
* @type {string || null}
|
|
1316
|
+
*/
|
|
1317
|
+
this.ConfigDisplay = null;
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* Number of nodes in the cluster
|
|
1321
|
+
* @type {number || null}
|
|
1322
|
+
*/
|
|
1323
|
+
this.NodeCount = null;
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* Node distribution
|
|
1327
|
+
* @type {Array.<InstanceNodeDistribution> || null}
|
|
1328
|
+
*/
|
|
1329
|
+
this.NodeDistribution = null;
|
|
1330
|
+
|
|
1331
|
+
/**
|
|
1332
|
+
* Topic distribution
|
|
1333
|
+
* @type {Array.<RocketMQTopicDistribution> || null}
|
|
1334
|
+
*/
|
|
1335
|
+
this.TopicDistribution = null;
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
*
|
|
1339
|
+
* @type {number || null}
|
|
1340
|
+
*/
|
|
1341
|
+
this.MaxQueuesPerTopic = null;
|
|
1342
|
+
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
/**
|
|
1346
|
+
* @private
|
|
1347
|
+
*/
|
|
1348
|
+
deserialize(params) {
|
|
1349
|
+
if (!params) {
|
|
1350
|
+
return;
|
|
1351
|
+
}
|
|
1352
|
+
this.MaxTpsPerNamespace = 'MaxTpsPerNamespace' in params ? params.MaxTpsPerNamespace : null;
|
|
1353
|
+
this.MaxNamespaceNum = 'MaxNamespaceNum' in params ? params.MaxNamespaceNum : null;
|
|
1354
|
+
this.UsedNamespaceNum = 'UsedNamespaceNum' in params ? params.UsedNamespaceNum : null;
|
|
1355
|
+
this.MaxTopicNum = 'MaxTopicNum' in params ? params.MaxTopicNum : null;
|
|
1356
|
+
this.UsedTopicNum = 'UsedTopicNum' in params ? params.UsedTopicNum : null;
|
|
1357
|
+
this.MaxGroupNum = 'MaxGroupNum' in params ? params.MaxGroupNum : null;
|
|
1358
|
+
this.UsedGroupNum = 'UsedGroupNum' in params ? params.UsedGroupNum : null;
|
|
1359
|
+
this.ConfigDisplay = 'ConfigDisplay' in params ? params.ConfigDisplay : null;
|
|
1360
|
+
this.NodeCount = 'NodeCount' in params ? params.NodeCount : null;
|
|
1361
|
+
|
|
1362
|
+
if (params.NodeDistribution) {
|
|
1363
|
+
this.NodeDistribution = new Array();
|
|
1364
|
+
for (let z in params.NodeDistribution) {
|
|
1365
|
+
let obj = new InstanceNodeDistribution();
|
|
1366
|
+
obj.deserialize(params.NodeDistribution[z]);
|
|
1367
|
+
this.NodeDistribution.push(obj);
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
if (params.TopicDistribution) {
|
|
1372
|
+
this.TopicDistribution = new Array();
|
|
1373
|
+
for (let z in params.TopicDistribution) {
|
|
1374
|
+
let obj = new RocketMQTopicDistribution();
|
|
1375
|
+
obj.deserialize(params.TopicDistribution[z]);
|
|
1376
|
+
this.TopicDistribution.push(obj);
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
this.MaxQueuesPerTopic = 'MaxQueuesPerTopic' in params ? params.MaxQueuesPerTopic : null;
|
|
1380
|
+
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1221
1384
|
/**
|
|
1222
1385
|
* CreateCmqSubscribe request structure.
|
|
1223
1386
|
* @class
|
|
@@ -3489,24 +3652,24 @@ class ResetRocketMQConsumerOffSetResponse extends AbstractModel {
|
|
|
3489
3652
|
}
|
|
3490
3653
|
|
|
3491
3654
|
/**
|
|
3492
|
-
*
|
|
3655
|
+
* DescribeRocketMQVipInstanceDetail response structure.
|
|
3493
3656
|
* @class
|
|
3494
3657
|
*/
|
|
3495
|
-
class
|
|
3658
|
+
class DescribeRocketMQVipInstanceDetailResponse extends AbstractModel {
|
|
3496
3659
|
constructor(){
|
|
3497
3660
|
super();
|
|
3498
3661
|
|
|
3499
3662
|
/**
|
|
3500
|
-
*
|
|
3501
|
-
* @type {
|
|
3663
|
+
* Cluster information
|
|
3664
|
+
* @type {RocketMQClusterInfo || null}
|
|
3502
3665
|
*/
|
|
3503
|
-
this.
|
|
3666
|
+
this.ClusterInfo = null;
|
|
3504
3667
|
|
|
3505
3668
|
/**
|
|
3506
|
-
*
|
|
3507
|
-
* @type {
|
|
3669
|
+
* Cluster configuration
|
|
3670
|
+
* @type {RocketMQInstanceConfig || null}
|
|
3508
3671
|
*/
|
|
3509
|
-
this.
|
|
3672
|
+
this.InstanceConfig = null;
|
|
3510
3673
|
|
|
3511
3674
|
/**
|
|
3512
3675
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
@@ -3524,15 +3687,17 @@ class DescribeTopicsResponse extends AbstractModel {
|
|
|
3524
3687
|
return;
|
|
3525
3688
|
}
|
|
3526
3689
|
|
|
3527
|
-
if (params.
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3690
|
+
if (params.ClusterInfo) {
|
|
3691
|
+
let obj = new RocketMQClusterInfo();
|
|
3692
|
+
obj.deserialize(params.ClusterInfo)
|
|
3693
|
+
this.ClusterInfo = obj;
|
|
3694
|
+
}
|
|
3695
|
+
|
|
3696
|
+
if (params.InstanceConfig) {
|
|
3697
|
+
let obj = new RocketMQInstanceConfig();
|
|
3698
|
+
obj.deserialize(params.InstanceConfig)
|
|
3699
|
+
this.InstanceConfig = obj;
|
|
3534
3700
|
}
|
|
3535
|
-
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
3536
3701
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3537
3702
|
|
|
3538
3703
|
}
|
|
@@ -7116,64 +7281,18 @@ class DescribeRocketMQVipInstancesRequest extends AbstractModel {
|
|
|
7116
7281
|
}
|
|
7117
7282
|
|
|
7118
7283
|
/**
|
|
7119
|
-
*
|
|
7284
|
+
* DescribeRocketMQVipInstanceDetail request structure.
|
|
7120
7285
|
* @class
|
|
7121
7286
|
*/
|
|
7122
|
-
class
|
|
7287
|
+
class DescribeRocketMQVipInstanceDetailRequest extends AbstractModel {
|
|
7123
7288
|
constructor(){
|
|
7124
7289
|
super();
|
|
7125
7290
|
|
|
7126
7291
|
/**
|
|
7127
|
-
*
|
|
7128
|
-
* @type {string || null}
|
|
7129
|
-
*/
|
|
7130
|
-
this.MessageID = null;
|
|
7131
|
-
|
|
7132
|
-
/**
|
|
7133
|
-
* Content of the received message
|
|
7134
|
-
* @type {string || null}
|
|
7135
|
-
*/
|
|
7136
|
-
this.MessagePayload = null;
|
|
7137
|
-
|
|
7138
|
-
/**
|
|
7139
|
-
* Provided to the `Ack` API and used to acknowledge messages in the topic
|
|
7140
|
-
* @type {string || null}
|
|
7141
|
-
*/
|
|
7142
|
-
this.AckTopic = null;
|
|
7143
|
-
|
|
7144
|
-
/**
|
|
7145
|
-
* Returned error message. If it is an empty string, no error occurred.
|
|
7146
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
7147
|
-
* @type {string || null}
|
|
7148
|
-
*/
|
|
7149
|
-
this.ErrorMsg = null;
|
|
7150
|
-
|
|
7151
|
-
/**
|
|
7152
|
-
* Returned subscriber name, which will be used when an acknowledgment consumer is created.
|
|
7153
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
7154
|
-
* @type {string || null}
|
|
7155
|
-
*/
|
|
7156
|
-
this.SubName = null;
|
|
7157
|
-
|
|
7158
|
-
/**
|
|
7159
|
-
* MessageIDs returned by `BatchReceivePolicy` at a time, which are separated by “###”.
|
|
7160
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7161
|
-
* @type {string || null}
|
|
7162
|
-
*/
|
|
7163
|
-
this.MessageIDList = null;
|
|
7164
|
-
|
|
7165
|
-
/**
|
|
7166
|
-
* Message contents returned by `BatchReceivePolicy` at a time, which are separated by “###”.
|
|
7167
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7168
|
-
* @type {string || null}
|
|
7169
|
-
*/
|
|
7170
|
-
this.MessagesPayload = null;
|
|
7171
|
-
|
|
7172
|
-
/**
|
|
7173
|
-
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
7292
|
+
* Cluster ID
|
|
7174
7293
|
* @type {string || null}
|
|
7175
7294
|
*/
|
|
7176
|
-
this.
|
|
7295
|
+
this.ClusterId = null;
|
|
7177
7296
|
|
|
7178
7297
|
}
|
|
7179
7298
|
|
|
@@ -7184,14 +7303,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
7184
7303
|
if (!params) {
|
|
7185
7304
|
return;
|
|
7186
7305
|
}
|
|
7187
|
-
this.
|
|
7188
|
-
this.MessagePayload = 'MessagePayload' in params ? params.MessagePayload : null;
|
|
7189
|
-
this.AckTopic = 'AckTopic' in params ? params.AckTopic : null;
|
|
7190
|
-
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
7191
|
-
this.SubName = 'SubName' in params ? params.SubName : null;
|
|
7192
|
-
this.MessageIDList = 'MessageIDList' in params ? params.MessageIDList : null;
|
|
7193
|
-
this.MessagesPayload = 'MessagesPayload' in params ? params.MessagesPayload : null;
|
|
7194
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7306
|
+
this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
|
|
7195
7307
|
|
|
7196
7308
|
}
|
|
7197
7309
|
}
|
|
@@ -8409,6 +8521,87 @@ class CreateRocketMQClusterResponse extends AbstractModel {
|
|
|
8409
8521
|
}
|
|
8410
8522
|
}
|
|
8411
8523
|
|
|
8524
|
+
/**
|
|
8525
|
+
* ReceiveMessage response structure.
|
|
8526
|
+
* @class
|
|
8527
|
+
*/
|
|
8528
|
+
class ReceiveMessageResponse extends AbstractModel {
|
|
8529
|
+
constructor(){
|
|
8530
|
+
super();
|
|
8531
|
+
|
|
8532
|
+
/**
|
|
8533
|
+
* Unique primary key used to identify the message
|
|
8534
|
+
* @type {string || null}
|
|
8535
|
+
*/
|
|
8536
|
+
this.MessageID = null;
|
|
8537
|
+
|
|
8538
|
+
/**
|
|
8539
|
+
* Content of the received message
|
|
8540
|
+
* @type {string || null}
|
|
8541
|
+
*/
|
|
8542
|
+
this.MessagePayload = null;
|
|
8543
|
+
|
|
8544
|
+
/**
|
|
8545
|
+
* Provided to the `Ack` API and used to acknowledge messages in the topic
|
|
8546
|
+
* @type {string || null}
|
|
8547
|
+
*/
|
|
8548
|
+
this.AckTopic = null;
|
|
8549
|
+
|
|
8550
|
+
/**
|
|
8551
|
+
* Returned error message. If it is an empty string, no error occurred.
|
|
8552
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
8553
|
+
* @type {string || null}
|
|
8554
|
+
*/
|
|
8555
|
+
this.ErrorMsg = null;
|
|
8556
|
+
|
|
8557
|
+
/**
|
|
8558
|
+
* Returned subscriber name, which will be used when an acknowledgment consumer is created.
|
|
8559
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
8560
|
+
* @type {string || null}
|
|
8561
|
+
*/
|
|
8562
|
+
this.SubName = null;
|
|
8563
|
+
|
|
8564
|
+
/**
|
|
8565
|
+
* MessageIDs returned by `BatchReceivePolicy` at a time, which are separated by “###”.
|
|
8566
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8567
|
+
* @type {string || null}
|
|
8568
|
+
*/
|
|
8569
|
+
this.MessageIDList = null;
|
|
8570
|
+
|
|
8571
|
+
/**
|
|
8572
|
+
* Message contents returned by `BatchReceivePolicy` at a time, which are separated by “###”.
|
|
8573
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8574
|
+
* @type {string || null}
|
|
8575
|
+
*/
|
|
8576
|
+
this.MessagesPayload = null;
|
|
8577
|
+
|
|
8578
|
+
/**
|
|
8579
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
8580
|
+
* @type {string || null}
|
|
8581
|
+
*/
|
|
8582
|
+
this.RequestId = null;
|
|
8583
|
+
|
|
8584
|
+
}
|
|
8585
|
+
|
|
8586
|
+
/**
|
|
8587
|
+
* @private
|
|
8588
|
+
*/
|
|
8589
|
+
deserialize(params) {
|
|
8590
|
+
if (!params) {
|
|
8591
|
+
return;
|
|
8592
|
+
}
|
|
8593
|
+
this.MessageID = 'MessageID' in params ? params.MessageID : null;
|
|
8594
|
+
this.MessagePayload = 'MessagePayload' in params ? params.MessagePayload : null;
|
|
8595
|
+
this.AckTopic = 'AckTopic' in params ? params.AckTopic : null;
|
|
8596
|
+
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
8597
|
+
this.SubName = 'SubName' in params ? params.SubName : null;
|
|
8598
|
+
this.MessageIDList = 'MessageIDList' in params ? params.MessageIDList : null;
|
|
8599
|
+
this.MessagesPayload = 'MessagesPayload' in params ? params.MessagesPayload : null;
|
|
8600
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8601
|
+
|
|
8602
|
+
}
|
|
8603
|
+
}
|
|
8604
|
+
|
|
8412
8605
|
/**
|
|
8413
8606
|
* DeleteRocketMQNamespace response structure.
|
|
8414
8607
|
* @class
|
|
@@ -9355,6 +9548,76 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
9355
9548
|
}
|
|
9356
9549
|
}
|
|
9357
9550
|
|
|
9551
|
+
/**
|
|
9552
|
+
* TDMQ for RocketMQ topic distribution
|
|
9553
|
+
* @class
|
|
9554
|
+
*/
|
|
9555
|
+
class RocketMQTopicDistribution extends AbstractModel {
|
|
9556
|
+
constructor(){
|
|
9557
|
+
super();
|
|
9558
|
+
|
|
9559
|
+
/**
|
|
9560
|
+
* Topic type
|
|
9561
|
+
* @type {string || null}
|
|
9562
|
+
*/
|
|
9563
|
+
this.TopicType = null;
|
|
9564
|
+
|
|
9565
|
+
/**
|
|
9566
|
+
* Number of topics
|
|
9567
|
+
* @type {number || null}
|
|
9568
|
+
*/
|
|
9569
|
+
this.Count = null;
|
|
9570
|
+
|
|
9571
|
+
}
|
|
9572
|
+
|
|
9573
|
+
/**
|
|
9574
|
+
* @private
|
|
9575
|
+
*/
|
|
9576
|
+
deserialize(params) {
|
|
9577
|
+
if (!params) {
|
|
9578
|
+
return;
|
|
9579
|
+
}
|
|
9580
|
+
this.TopicType = 'TopicType' in params ? params.TopicType : null;
|
|
9581
|
+
this.Count = 'Count' in params ? params.Count : null;
|
|
9582
|
+
|
|
9583
|
+
}
|
|
9584
|
+
}
|
|
9585
|
+
|
|
9586
|
+
/**
|
|
9587
|
+
* Sort by field
|
|
9588
|
+
* @class
|
|
9589
|
+
*/
|
|
9590
|
+
class Sort extends AbstractModel {
|
|
9591
|
+
constructor(){
|
|
9592
|
+
super();
|
|
9593
|
+
|
|
9594
|
+
/**
|
|
9595
|
+
* Sorting field.
|
|
9596
|
+
* @type {string || null}
|
|
9597
|
+
*/
|
|
9598
|
+
this.Name = null;
|
|
9599
|
+
|
|
9600
|
+
/**
|
|
9601
|
+
* Ascending order: `ASC`; descending order: `DESC`.
|
|
9602
|
+
* @type {string || null}
|
|
9603
|
+
*/
|
|
9604
|
+
this.Order = null;
|
|
9605
|
+
|
|
9606
|
+
}
|
|
9607
|
+
|
|
9608
|
+
/**
|
|
9609
|
+
* @private
|
|
9610
|
+
*/
|
|
9611
|
+
deserialize(params) {
|
|
9612
|
+
if (!params) {
|
|
9613
|
+
return;
|
|
9614
|
+
}
|
|
9615
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
9616
|
+
this.Order = 'Order' in params ? params.Order : null;
|
|
9617
|
+
|
|
9618
|
+
}
|
|
9619
|
+
}
|
|
9620
|
+
|
|
9358
9621
|
/**
|
|
9359
9622
|
* CreateRole request structure.
|
|
9360
9623
|
* @class
|
|
@@ -9587,24 +9850,30 @@ class Role extends AbstractModel {
|
|
|
9587
9850
|
}
|
|
9588
9851
|
|
|
9589
9852
|
/**
|
|
9590
|
-
*
|
|
9853
|
+
* DescribeTopics response structure.
|
|
9591
9854
|
* @class
|
|
9592
9855
|
*/
|
|
9593
|
-
class
|
|
9856
|
+
class DescribeTopicsResponse extends AbstractModel {
|
|
9594
9857
|
constructor(){
|
|
9595
9858
|
super();
|
|
9596
9859
|
|
|
9597
9860
|
/**
|
|
9598
|
-
*
|
|
9599
|
-
* @type {
|
|
9861
|
+
* Array of topic sets.
|
|
9862
|
+
* @type {Array.<Topic> || null}
|
|
9600
9863
|
*/
|
|
9601
|
-
this.
|
|
9864
|
+
this.TopicSets = null;
|
|
9602
9865
|
|
|
9603
9866
|
/**
|
|
9604
|
-
*
|
|
9867
|
+
* The number of topics.
|
|
9868
|
+
* @type {number || null}
|
|
9869
|
+
*/
|
|
9870
|
+
this.TotalCount = null;
|
|
9871
|
+
|
|
9872
|
+
/**
|
|
9873
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
9605
9874
|
* @type {string || null}
|
|
9606
9875
|
*/
|
|
9607
|
-
this.
|
|
9876
|
+
this.RequestId = null;
|
|
9608
9877
|
|
|
9609
9878
|
}
|
|
9610
9879
|
|
|
@@ -9615,8 +9884,17 @@ class Sort extends AbstractModel {
|
|
|
9615
9884
|
if (!params) {
|
|
9616
9885
|
return;
|
|
9617
9886
|
}
|
|
9618
|
-
|
|
9619
|
-
|
|
9887
|
+
|
|
9888
|
+
if (params.TopicSets) {
|
|
9889
|
+
this.TopicSets = new Array();
|
|
9890
|
+
for (let z in params.TopicSets) {
|
|
9891
|
+
let obj = new Topic();
|
|
9892
|
+
obj.deserialize(params.TopicSets[z]);
|
|
9893
|
+
this.TopicSets.push(obj);
|
|
9894
|
+
}
|
|
9895
|
+
}
|
|
9896
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
9897
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9620
9898
|
|
|
9621
9899
|
}
|
|
9622
9900
|
}
|
|
@@ -10621,6 +10899,7 @@ module.exports = {
|
|
|
10621
10899
|
CmqDeadLetterPolicy: CmqDeadLetterPolicy,
|
|
10622
10900
|
RocketMQNamespace: RocketMQNamespace,
|
|
10623
10901
|
DescribeSubscriptionsRequest: DescribeSubscriptionsRequest,
|
|
10902
|
+
InstanceNodeDistribution: InstanceNodeDistribution,
|
|
10624
10903
|
CreateRocketMQGroupRequest: CreateRocketMQGroupRequest,
|
|
10625
10904
|
ModifyEnvironmentAttributesRequest: ModifyEnvironmentAttributesRequest,
|
|
10626
10905
|
DeleteClusterResponse: DeleteClusterResponse,
|
|
@@ -10636,6 +10915,7 @@ module.exports = {
|
|
|
10636
10915
|
DescribeCmqQueuesResponse: DescribeCmqQueuesResponse,
|
|
10637
10916
|
DescribeRabbitMQNodeListRequest: DescribeRabbitMQNodeListRequest,
|
|
10638
10917
|
PublishCmqMsgRequest: PublishCmqMsgRequest,
|
|
10918
|
+
RocketMQInstanceConfig: RocketMQInstanceConfig,
|
|
10639
10919
|
CreateCmqSubscribeRequest: CreateCmqSubscribeRequest,
|
|
10640
10920
|
RewindCmqQueueResponse: RewindCmqQueueResponse,
|
|
10641
10921
|
DeleteClusterRequest: DeleteClusterRequest,
|
|
@@ -10672,7 +10952,7 @@ module.exports = {
|
|
|
10672
10952
|
ModifyRocketMQClusterRequest: ModifyRocketMQClusterRequest,
|
|
10673
10953
|
AcknowledgeMessageRequest: AcknowledgeMessageRequest,
|
|
10674
10954
|
ResetRocketMQConsumerOffSetResponse: ResetRocketMQConsumerOffSetResponse,
|
|
10675
|
-
|
|
10955
|
+
DescribeRocketMQVipInstanceDetailResponse: DescribeRocketMQVipInstanceDetailResponse,
|
|
10676
10956
|
PublishCmqMsgResponse: PublishCmqMsgResponse,
|
|
10677
10957
|
DescribePublishersRequest: DescribePublishersRequest,
|
|
10678
10958
|
CreateRocketMQClusterRequest: CreateRocketMQClusterRequest,
|
|
@@ -10739,7 +11019,7 @@ module.exports = {
|
|
|
10739
11019
|
ModifyCmqSubscriptionAttributeRequest: ModifyCmqSubscriptionAttributeRequest,
|
|
10740
11020
|
ModifyTopicResponse: ModifyTopicResponse,
|
|
10741
11021
|
DescribeRocketMQVipInstancesRequest: DescribeRocketMQVipInstancesRequest,
|
|
10742
|
-
|
|
11022
|
+
DescribeRocketMQVipInstanceDetailRequest: DescribeRocketMQVipInstanceDetailRequest,
|
|
10743
11023
|
DeleteRocketMQClusterResponse: DeleteRocketMQClusterResponse,
|
|
10744
11024
|
CreateCmqTopicResponse: CreateCmqTopicResponse,
|
|
10745
11025
|
CmqDeadLetterSource: CmqDeadLetterSource,
|
|
@@ -10762,6 +11042,7 @@ module.exports = {
|
|
|
10762
11042
|
Cluster: Cluster,
|
|
10763
11043
|
RetentionPolicy: RetentionPolicy,
|
|
10764
11044
|
CreateRocketMQClusterResponse: CreateRocketMQClusterResponse,
|
|
11045
|
+
ReceiveMessageResponse: ReceiveMessageResponse,
|
|
10765
11046
|
DeleteRocketMQNamespaceResponse: DeleteRocketMQNamespaceResponse,
|
|
10766
11047
|
DescribePublishersResponse: DescribePublishersResponse,
|
|
10767
11048
|
SendMsgRequest: SendMsgRequest,
|
|
@@ -10781,11 +11062,13 @@ module.exports = {
|
|
|
10781
11062
|
DeleteCmqQueueRequest: DeleteCmqQueueRequest,
|
|
10782
11063
|
DescribeRocketMQGroupsRequest: DescribeRocketMQGroupsRequest,
|
|
10783
11064
|
DescribeRocketMQClustersResponse: DescribeRocketMQClustersResponse,
|
|
11065
|
+
RocketMQTopicDistribution: RocketMQTopicDistribution,
|
|
11066
|
+
Sort: Sort,
|
|
10784
11067
|
CreateRoleRequest: CreateRoleRequest,
|
|
10785
11068
|
ModifyEnvironmentRoleRequest: ModifyEnvironmentRoleRequest,
|
|
10786
11069
|
DescribeEnvironmentAttributesResponse: DescribeEnvironmentAttributesResponse,
|
|
10787
11070
|
Role: Role,
|
|
10788
|
-
|
|
11071
|
+
DescribeTopicsResponse: DescribeTopicsResponse,
|
|
10789
11072
|
DescribePublisherSummaryResponse: DescribePublisherSummaryResponse,
|
|
10790
11073
|
CreateRocketMQNamespaceResponse: CreateRocketMQNamespaceResponse,
|
|
10791
11074
|
SendBatchMessagesRequest: SendBatchMessagesRequest,
|
|
@@ -21,6 +21,7 @@ const DescribeBindClustersResponse = models.DescribeBindClustersResponse;
|
|
|
21
21
|
const CmqDeadLetterPolicy = models.CmqDeadLetterPolicy;
|
|
22
22
|
const RocketMQNamespace = models.RocketMQNamespace;
|
|
23
23
|
const DescribeSubscriptionsRequest = models.DescribeSubscriptionsRequest;
|
|
24
|
+
const InstanceNodeDistribution = models.InstanceNodeDistribution;
|
|
24
25
|
const CreateRocketMQGroupRequest = models.CreateRocketMQGroupRequest;
|
|
25
26
|
const ModifyEnvironmentAttributesRequest = models.ModifyEnvironmentAttributesRequest;
|
|
26
27
|
const DeleteClusterResponse = models.DeleteClusterResponse;
|
|
@@ -36,6 +37,7 @@ const RabbitMQVipInstance = models.RabbitMQVipInstance;
|
|
|
36
37
|
const DescribeCmqQueuesResponse = models.DescribeCmqQueuesResponse;
|
|
37
38
|
const DescribeRabbitMQNodeListRequest = models.DescribeRabbitMQNodeListRequest;
|
|
38
39
|
const PublishCmqMsgRequest = models.PublishCmqMsgRequest;
|
|
40
|
+
const RocketMQInstanceConfig = models.RocketMQInstanceConfig;
|
|
39
41
|
const CreateCmqSubscribeRequest = models.CreateCmqSubscribeRequest;
|
|
40
42
|
const RewindCmqQueueResponse = models.RewindCmqQueueResponse;
|
|
41
43
|
const DeleteClusterRequest = models.DeleteClusterRequest;
|
|
@@ -72,7 +74,7 @@ const DescribeEnvironmentAttributesRequest = models.DescribeEnvironmentAttribute
|
|
|
72
74
|
const ModifyRocketMQClusterRequest = models.ModifyRocketMQClusterRequest;
|
|
73
75
|
const AcknowledgeMessageRequest = models.AcknowledgeMessageRequest;
|
|
74
76
|
const ResetRocketMQConsumerOffSetResponse = models.ResetRocketMQConsumerOffSetResponse;
|
|
75
|
-
const
|
|
77
|
+
const DescribeRocketMQVipInstanceDetailResponse = models.DescribeRocketMQVipInstanceDetailResponse;
|
|
76
78
|
const PublishCmqMsgResponse = models.PublishCmqMsgResponse;
|
|
77
79
|
const DescribePublishersRequest = models.DescribePublishersRequest;
|
|
78
80
|
const CreateRocketMQClusterRequest = models.CreateRocketMQClusterRequest;
|
|
@@ -139,7 +141,7 @@ const DescribeEnvironmentsResponse = models.DescribeEnvironmentsResponse;
|
|
|
139
141
|
const ModifyCmqSubscriptionAttributeRequest = models.ModifyCmqSubscriptionAttributeRequest;
|
|
140
142
|
const ModifyTopicResponse = models.ModifyTopicResponse;
|
|
141
143
|
const DescribeRocketMQVipInstancesRequest = models.DescribeRocketMQVipInstancesRequest;
|
|
142
|
-
const
|
|
144
|
+
const DescribeRocketMQVipInstanceDetailRequest = models.DescribeRocketMQVipInstanceDetailRequest;
|
|
143
145
|
const DeleteRocketMQClusterResponse = models.DeleteRocketMQClusterResponse;
|
|
144
146
|
const CreateCmqTopicResponse = models.CreateCmqTopicResponse;
|
|
145
147
|
const CmqDeadLetterSource = models.CmqDeadLetterSource;
|
|
@@ -162,6 +164,7 @@ const ConsumersSchedule = models.ConsumersSchedule;
|
|
|
162
164
|
const Cluster = models.Cluster;
|
|
163
165
|
const RetentionPolicy = models.RetentionPolicy;
|
|
164
166
|
const CreateRocketMQClusterResponse = models.CreateRocketMQClusterResponse;
|
|
167
|
+
const ReceiveMessageResponse = models.ReceiveMessageResponse;
|
|
165
168
|
const DeleteRocketMQNamespaceResponse = models.DeleteRocketMQNamespaceResponse;
|
|
166
169
|
const DescribePublishersResponse = models.DescribePublishersResponse;
|
|
167
170
|
const SendMsgRequest = models.SendMsgRequest;
|
|
@@ -181,11 +184,13 @@ const ModifyEnvironmentRoleResponse = models.ModifyEnvironmentRoleResponse;
|
|
|
181
184
|
const DeleteCmqQueueRequest = models.DeleteCmqQueueRequest;
|
|
182
185
|
const DescribeRocketMQGroupsRequest = models.DescribeRocketMQGroupsRequest;
|
|
183
186
|
const DescribeRocketMQClustersResponse = models.DescribeRocketMQClustersResponse;
|
|
187
|
+
const RocketMQTopicDistribution = models.RocketMQTopicDistribution;
|
|
188
|
+
const Sort = models.Sort;
|
|
184
189
|
const CreateRoleRequest = models.CreateRoleRequest;
|
|
185
190
|
const ModifyEnvironmentRoleRequest = models.ModifyEnvironmentRoleRequest;
|
|
186
191
|
const DescribeEnvironmentAttributesResponse = models.DescribeEnvironmentAttributesResponse;
|
|
187
192
|
const Role = models.Role;
|
|
188
|
-
const
|
|
193
|
+
const DescribeTopicsResponse = models.DescribeTopicsResponse;
|
|
189
194
|
const DescribePublisherSummaryResponse = models.DescribePublisherSummaryResponse;
|
|
190
195
|
const CreateRocketMQNamespaceResponse = models.CreateRocketMQNamespaceResponse;
|
|
191
196
|
const SendBatchMessagesRequest = models.SendBatchMessagesRequest;
|
|
@@ -449,6 +454,17 @@ class TdmqClient extends AbstractClient {
|
|
|
449
454
|
this.request("DescribePublishers", req, resp, cb);
|
|
450
455
|
}
|
|
451
456
|
|
|
457
|
+
/**
|
|
458
|
+
* This API is used to update a RocketMQ namespace.
|
|
459
|
+
* @param {ModifyRocketMQNamespaceRequest} req
|
|
460
|
+
* @param {function(string, ModifyRocketMQNamespaceResponse):void} cb
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
ModifyRocketMQNamespace(req, cb) {
|
|
464
|
+
let resp = new ModifyRocketMQNamespaceResponse();
|
|
465
|
+
this.request("ModifyRocketMQNamespace", req, resp, cb);
|
|
466
|
+
}
|
|
467
|
+
|
|
452
468
|
/**
|
|
453
469
|
* This API is used to create a RocketMQ cluster.
|
|
454
470
|
* @param {CreateRocketMQClusterRequest} req
|
|
@@ -725,14 +741,14 @@ class TdmqClient extends AbstractClient {
|
|
|
725
741
|
}
|
|
726
742
|
|
|
727
743
|
/**
|
|
728
|
-
* This API is used to
|
|
729
|
-
* @param {
|
|
730
|
-
* @param {function(string,
|
|
744
|
+
* This API is used to get the information of a specific TDMQ for RocketMQ exclusive cluster.
|
|
745
|
+
* @param {DescribeRocketMQVipInstanceDetailRequest} req
|
|
746
|
+
* @param {function(string, DescribeRocketMQVipInstanceDetailResponse):void} cb
|
|
731
747
|
* @public
|
|
732
748
|
*/
|
|
733
|
-
|
|
734
|
-
let resp = new
|
|
735
|
-
this.request("
|
|
749
|
+
DescribeRocketMQVipInstanceDetail(req, cb) {
|
|
750
|
+
let resp = new DescribeRocketMQVipInstanceDetailResponse();
|
|
751
|
+
this.request("DescribeRocketMQVipInstanceDetail", req, resp, cb);
|
|
736
752
|
}
|
|
737
753
|
|
|
738
754
|
/**
|
|
@@ -758,14 +774,14 @@ class TdmqClient extends AbstractClient {
|
|
|
758
774
|
}
|
|
759
775
|
|
|
760
776
|
/**
|
|
761
|
-
* This API is used to
|
|
762
|
-
* @param {
|
|
763
|
-
* @param {function(string,
|
|
777
|
+
* This API is used to query the list of subscribers under the specified environment and topic.
|
|
778
|
+
* @param {DescribeSubscriptionsRequest} req
|
|
779
|
+
* @param {function(string, DescribeSubscriptionsResponse):void} cb
|
|
764
780
|
* @public
|
|
765
781
|
*/
|
|
766
|
-
|
|
767
|
-
let resp = new
|
|
768
|
-
this.request("
|
|
782
|
+
DescribeSubscriptions(req, cb) {
|
|
783
|
+
let resp = new DescribeSubscriptionsResponse();
|
|
784
|
+
this.request("DescribeSubscriptions", req, resp, cb);
|
|
769
785
|
}
|
|
770
786
|
|
|
771
787
|
/**
|
|
@@ -1690,6 +1690,13 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
1690
1690
|
*/
|
|
1691
1691
|
this.CreateDate = null;
|
|
1692
1692
|
|
|
1693
|
+
/**
|
|
1694
|
+
* Region ID
|
|
1695
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1696
|
+
* @type {string || null}
|
|
1697
|
+
*/
|
|
1698
|
+
this.RegionId = null;
|
|
1699
|
+
|
|
1693
1700
|
}
|
|
1694
1701
|
|
|
1695
1702
|
/**
|
|
@@ -1742,6 +1749,7 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
1742
1749
|
this.WorkloadInfo = obj;
|
|
1743
1750
|
}
|
|
1744
1751
|
this.CreateDate = 'CreateDate' in params ? params.CreateDate : null;
|
|
1752
|
+
this.RegionId = 'RegionId' in params ? params.RegionId : null;
|
|
1745
1753
|
|
|
1746
1754
|
}
|
|
1747
1755
|
}
|
|
@@ -1817,6 +1825,20 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
1817
1825
|
*/
|
|
1818
1826
|
this.UnMatchedKey = null;
|
|
1819
1827
|
|
|
1828
|
+
/**
|
|
1829
|
+
* tracking
|
|
1830
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1831
|
+
* @type {string || null}
|
|
1832
|
+
*/
|
|
1833
|
+
this.Backtracking = null;
|
|
1834
|
+
|
|
1835
|
+
/**
|
|
1836
|
+
* Separator
|
|
1837
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1838
|
+
* @type {string || null}
|
|
1839
|
+
*/
|
|
1840
|
+
this.Delimiter = null;
|
|
1841
|
+
|
|
1820
1842
|
}
|
|
1821
1843
|
|
|
1822
1844
|
/**
|
|
@@ -1835,6 +1857,8 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
1835
1857
|
this.TimeFormat = 'TimeFormat' in params ? params.TimeFormat : null;
|
|
1836
1858
|
this.UnMatchUpload = 'UnMatchUpload' in params ? params.UnMatchUpload : null;
|
|
1837
1859
|
this.UnMatchedKey = 'UnMatchedKey' in params ? params.UnMatchedKey : null;
|
|
1860
|
+
this.Backtracking = 'Backtracking' in params ? params.Backtracking : null;
|
|
1861
|
+
this.Delimiter = 'Delimiter' in params ? params.Delimiter : null;
|
|
1838
1862
|
|
|
1839
1863
|
}
|
|
1840
1864
|
}
|
|
@@ -1853,6 +1877,12 @@ class CreateEnvironmentRequest extends AbstractModel {
|
|
|
1853
1877
|
*/
|
|
1854
1878
|
this.EnvironmentName = null;
|
|
1855
1879
|
|
|
1880
|
+
/**
|
|
1881
|
+
* Environment description
|
|
1882
|
+
* @type {string || null}
|
|
1883
|
+
*/
|
|
1884
|
+
this.Description = null;
|
|
1885
|
+
|
|
1856
1886
|
/**
|
|
1857
1887
|
* VPC name
|
|
1858
1888
|
* @type {string || null}
|
|
@@ -1865,12 +1895,6 @@ class CreateEnvironmentRequest extends AbstractModel {
|
|
|
1865
1895
|
*/
|
|
1866
1896
|
this.SubnetIds = null;
|
|
1867
1897
|
|
|
1868
|
-
/**
|
|
1869
|
-
* Environment description
|
|
1870
|
-
* @type {string || null}
|
|
1871
|
-
*/
|
|
1872
|
-
this.Description = null;
|
|
1873
|
-
|
|
1874
1898
|
/**
|
|
1875
1899
|
* Kubernetes version
|
|
1876
1900
|
* @type {string || null}
|
|
@@ -1907,6 +1931,30 @@ class CreateEnvironmentRequest extends AbstractModel {
|
|
|
1907
1931
|
*/
|
|
1908
1932
|
this.CreateRegion = null;
|
|
1909
1933
|
|
|
1934
|
+
/**
|
|
1935
|
+
* Whether to create a VPC
|
|
1936
|
+
* @type {boolean || null}
|
|
1937
|
+
*/
|
|
1938
|
+
this.SetupVpc = null;
|
|
1939
|
+
|
|
1940
|
+
/**
|
|
1941
|
+
* Whether to create a TMP instance
|
|
1942
|
+
* @type {boolean || null}
|
|
1943
|
+
*/
|
|
1944
|
+
this.SetupPrometheus = null;
|
|
1945
|
+
|
|
1946
|
+
/**
|
|
1947
|
+
* TMP instance ID
|
|
1948
|
+
* @type {string || null}
|
|
1949
|
+
*/
|
|
1950
|
+
this.PrometheusId = null;
|
|
1951
|
+
|
|
1952
|
+
/**
|
|
1953
|
+
* APM ID
|
|
1954
|
+
* @type {string || null}
|
|
1955
|
+
*/
|
|
1956
|
+
this.ApmId = null;
|
|
1957
|
+
|
|
1910
1958
|
}
|
|
1911
1959
|
|
|
1912
1960
|
/**
|
|
@@ -1917,9 +1965,9 @@ class CreateEnvironmentRequest extends AbstractModel {
|
|
|
1917
1965
|
return;
|
|
1918
1966
|
}
|
|
1919
1967
|
this.EnvironmentName = 'EnvironmentName' in params ? params.EnvironmentName : null;
|
|
1968
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
1920
1969
|
this.Vpc = 'Vpc' in params ? params.Vpc : null;
|
|
1921
1970
|
this.SubnetIds = 'SubnetIds' in params ? params.SubnetIds : null;
|
|
1922
|
-
this.Description = 'Description' in params ? params.Description : null;
|
|
1923
1971
|
this.K8sVersion = 'K8sVersion' in params ? params.K8sVersion : null;
|
|
1924
1972
|
this.SourceChannel = 'SourceChannel' in params ? params.SourceChannel : null;
|
|
1925
1973
|
this.EnableTswTraceService = 'EnableTswTraceService' in params ? params.EnableTswTraceService : null;
|
|
@@ -1934,6 +1982,10 @@ class CreateEnvironmentRequest extends AbstractModel {
|
|
|
1934
1982
|
}
|
|
1935
1983
|
this.EnvType = 'EnvType' in params ? params.EnvType : null;
|
|
1936
1984
|
this.CreateRegion = 'CreateRegion' in params ? params.CreateRegion : null;
|
|
1985
|
+
this.SetupVpc = 'SetupVpc' in params ? params.SetupVpc : null;
|
|
1986
|
+
this.SetupPrometheus = 'SetupPrometheus' in params ? params.SetupPrometheus : null;
|
|
1987
|
+
this.PrometheusId = 'PrometheusId' in params ? params.PrometheusId : null;
|
|
1988
|
+
this.ApmId = 'ApmId' in params ? params.ApmId : null;
|
|
1937
1989
|
|
|
1938
1990
|
}
|
|
1939
1991
|
}
|
|
@@ -2961,6 +3013,20 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
2961
3013
|
*/
|
|
2962
3014
|
this.Tags = null;
|
|
2963
3015
|
|
|
3016
|
+
/**
|
|
3017
|
+
* Whether to encode
|
|
3018
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3019
|
+
* @type {string || null}
|
|
3020
|
+
*/
|
|
3021
|
+
this.PreStopEncoded = null;
|
|
3022
|
+
|
|
3023
|
+
/**
|
|
3024
|
+
* Whether to encode
|
|
3025
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3026
|
+
* @type {string || null}
|
|
3027
|
+
*/
|
|
3028
|
+
this.PostStartEncoded = null;
|
|
3029
|
+
|
|
2964
3030
|
}
|
|
2965
3031
|
|
|
2966
3032
|
/**
|
|
@@ -3178,6 +3244,8 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
3178
3244
|
this.Tags.push(obj);
|
|
3179
3245
|
}
|
|
3180
3246
|
}
|
|
3247
|
+
this.PreStopEncoded = 'PreStopEncoded' in params ? params.PreStopEncoded : null;
|
|
3248
|
+
this.PostStartEncoded = 'PostStartEncoded' in params ? params.PostStartEncoded : null;
|
|
3181
3249
|
|
|
3182
3250
|
}
|
|
3183
3251
|
}
|
|
@@ -4499,6 +4567,13 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
4499
4567
|
*/
|
|
4500
4568
|
this.StoppedApplicationNum = null;
|
|
4501
4569
|
|
|
4570
|
+
/**
|
|
4571
|
+
* Number of applications failed to be stopped
|
|
4572
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
4573
|
+
* @type {number || null}
|
|
4574
|
+
*/
|
|
4575
|
+
this.StopFailedApplicationNum = null;
|
|
4576
|
+
|
|
4502
4577
|
}
|
|
4503
4578
|
|
|
4504
4579
|
/**
|
|
@@ -4510,6 +4585,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
4510
4585
|
}
|
|
4511
4586
|
this.ApplicationNumNeedToStop = 'ApplicationNumNeedToStop' in params ? params.ApplicationNumNeedToStop : null;
|
|
4512
4587
|
this.StoppedApplicationNum = 'StoppedApplicationNum' in params ? params.StoppedApplicationNum : null;
|
|
4588
|
+
this.StopFailedApplicationNum = 'StopFailedApplicationNum' in params ? params.StopFailedApplicationNum : null;
|
|
4513
4589
|
|
|
4514
4590
|
}
|
|
4515
4591
|
}
|
|
@@ -5298,6 +5374,13 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
5298
5374
|
*/
|
|
5299
5375
|
this.StartedApplicationNum = null;
|
|
5300
5376
|
|
|
5377
|
+
/**
|
|
5378
|
+
* Number of applications failed to be started
|
|
5379
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
5380
|
+
* @type {number || null}
|
|
5381
|
+
*/
|
|
5382
|
+
this.StartFailedApplicationNum = null;
|
|
5383
|
+
|
|
5301
5384
|
}
|
|
5302
5385
|
|
|
5303
5386
|
/**
|
|
@@ -5309,6 +5392,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
5309
5392
|
}
|
|
5310
5393
|
this.ApplicationNumNeedToStart = 'ApplicationNumNeedToStart' in params ? params.ApplicationNumNeedToStart : null;
|
|
5311
5394
|
this.StartedApplicationNum = 'StartedApplicationNum' in params ? params.StartedApplicationNum : null;
|
|
5395
|
+
this.StartFailedApplicationNum = 'StartFailedApplicationNum' in params ? params.StartFailedApplicationNum : null;
|
|
5312
5396
|
|
|
5313
5397
|
}
|
|
5314
5398
|
}
|
|
@@ -26,7 +26,7 @@ class CloudStorage extends AbstractModel {
|
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* The cloud storage provider.
|
|
29
|
-
0
|
|
29
|
+
`0`: Tencent Cloud COS; `1`: AWS storage. Other vendors are not supported currently.
|
|
30
30
|
* @type {number || null}
|
|
31
31
|
*/
|
|
32
32
|
this.Vendor = null;
|
|
@@ -552,7 +552,6 @@ class UpdatePublishCdnStreamRequest extends AbstractModel {
|
|
|
552
552
|
|
|
553
553
|
/**
|
|
554
554
|
* The layout parameters for mixed-stream recording.
|
|
555
|
-
|
|
556
555
|
* @class
|
|
557
556
|
*/
|
|
558
557
|
class MixLayoutParams extends AbstractModel {
|
|
@@ -605,7 +604,7 @@ This parameter specifies the type of the stream displayed in the big window. If
|
|
|
605
604
|
this.MediaId = null;
|
|
606
605
|
|
|
607
606
|
/**
|
|
608
|
-
* The
|
|
607
|
+
* The URL of the background image, which cannot contain Chinese characters. The image must be in JPG or PNG format and cannot be larger than 5 MB.
|
|
609
608
|
* @type {string || null}
|
|
610
609
|
*/
|
|
611
610
|
this.BackgroundImageUrl = null;
|
|
@@ -708,13 +707,13 @@ class McuFeedBackRoomParams extends AbstractModel {
|
|
|
708
707
|
this.RoomIdType = null;
|
|
709
708
|
|
|
710
709
|
/**
|
|
711
|
-
* The [user ID](https://
|
|
710
|
+
* The [user ID](https://www.tencentcloud.com/document/product/647/37714) of the relaying robot in the TRTC room, which cannot be the same as a user ID already in use. We recommend you include the room ID in this user ID.
|
|
712
711
|
* @type {string || null}
|
|
713
712
|
*/
|
|
714
713
|
this.UserId = null;
|
|
715
714
|
|
|
716
715
|
/**
|
|
717
|
-
* The signature (similar to login password) required for the relaying robot to enter the room. For information on how to calculate the signature, see [What is UserSig?](https://
|
|
716
|
+
* The signature (similar to login password) required for the relaying robot to enter the room. For information on how to calculate the signature, see [What is UserSig?](https://www.tencentcloud.com/document/product/647/38104).
|
|
718
717
|
* @type {string || null}
|
|
719
718
|
*/
|
|
720
719
|
this.UserSig = null;
|
|
@@ -835,7 +834,7 @@ class MixLayout extends AbstractModel {
|
|
|
835
834
|
this.ImageLayer = null;
|
|
836
835
|
|
|
837
836
|
/**
|
|
838
|
-
* The
|
|
837
|
+
* The URL of the background image for a window. The image must be in JPG or PNG format and cannot be larger than 5 MB. If the image’s aspect ratio is different from that of the window, the image will be rendered according to the value of `RenderMode`.
|
|
839
838
|
* @type {string || null}
|
|
840
839
|
*/
|
|
841
840
|
this.SubBackgroundImage = null;
|
|
@@ -1190,6 +1189,20 @@ class McuLayoutVolume extends AbstractModel {
|
|
|
1190
1189
|
*/
|
|
1191
1190
|
this.PayloadType = null;
|
|
1192
1191
|
|
|
1192
|
+
/**
|
|
1193
|
+
* The SEI sending interval (milliseconds). The default value is 1000.
|
|
1194
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1195
|
+
* @type {number || null}
|
|
1196
|
+
*/
|
|
1197
|
+
this.Interval = null;
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* Valid values: `1`: SEI is guaranteed when keyframes are sent; `0` (default): SEI is not guaranteed when keyframes are sent.
|
|
1201
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1202
|
+
* @type {number || null}
|
|
1203
|
+
*/
|
|
1204
|
+
this.FollowIdr = null;
|
|
1205
|
+
|
|
1193
1206
|
}
|
|
1194
1207
|
|
|
1195
1208
|
/**
|
|
@@ -1201,6 +1214,8 @@ class McuLayoutVolume extends AbstractModel {
|
|
|
1201
1214
|
}
|
|
1202
1215
|
this.AppData = 'AppData' in params ? params.AppData : null;
|
|
1203
1216
|
this.PayloadType = 'PayloadType' in params ? params.PayloadType : null;
|
|
1217
|
+
this.Interval = 'Interval' in params ? params.Interval : null;
|
|
1218
|
+
this.FollowIdr = 'FollowIdr' in params ? params.FollowIdr : null;
|
|
1204
1219
|
|
|
1205
1220
|
}
|
|
1206
1221
|
}
|
|
@@ -1440,6 +1455,20 @@ class McuPassThrough extends AbstractModel {
|
|
|
1440
1455
|
*/
|
|
1441
1456
|
this.PayloadUuid = null;
|
|
1442
1457
|
|
|
1458
|
+
/**
|
|
1459
|
+
* The SEI sending interval (milliseconds). The default value is 1000.
|
|
1460
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1461
|
+
* @type {number || null}
|
|
1462
|
+
*/
|
|
1463
|
+
this.Interval = null;
|
|
1464
|
+
|
|
1465
|
+
/**
|
|
1466
|
+
* Valid values: `1`: SEI is guaranteed when keyframes are sent; `0` (default): SEI is not guaranteed when keyframes are sent.
|
|
1467
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1468
|
+
* @type {number || null}
|
|
1469
|
+
*/
|
|
1470
|
+
this.FollowIdr = null;
|
|
1471
|
+
|
|
1443
1472
|
}
|
|
1444
1473
|
|
|
1445
1474
|
/**
|
|
@@ -1452,6 +1481,8 @@ class McuPassThrough extends AbstractModel {
|
|
|
1452
1481
|
this.PayloadContent = 'PayloadContent' in params ? params.PayloadContent : null;
|
|
1453
1482
|
this.PayloadType = 'PayloadType' in params ? params.PayloadType : null;
|
|
1454
1483
|
this.PayloadUuid = 'PayloadUuid' in params ? params.PayloadUuid : null;
|
|
1484
|
+
this.Interval = 'Interval' in params ? params.Interval : null;
|
|
1485
|
+
this.FollowIdr = 'FollowIdr' in params ? params.FollowIdr : null;
|
|
1455
1486
|
|
|
1456
1487
|
}
|
|
1457
1488
|
}
|