tencentcloud-sdk-nodejs-intl-en 3.0.353 → 3.0.354

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.353",
3
+ "version": "3.0.354",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -241,6 +241,7 @@ const DeleteCdnDomainResponse = models.DeleteCdnDomainResponse;
241
241
  const OriginIp = models.OriginIp;
242
242
  const CdnIp = models.CdnIp;
243
243
  const DescribeCdnDataRequest = models.DescribeCdnDataRequest;
244
+ const ExtraLogset = models.ExtraLogset;
244
245
  const CacheTagKey = models.CacheTagKey;
245
246
  const Quic = models.Quic;
246
247
  const DescribeDomainsRequest = models.DescribeDomainsRequest;
@@ -3141,6 +3141,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
3141
3141
  */
3142
3142
  this.Channel = null;
3143
3143
 
3144
+ /**
3145
+ * Whether the log topic has been removed from CLS
3146
+ Note: this field may return `null`, indicating that no valid values can be obtained.
3147
+ * @type {string || null}
3148
+ */
3149
+ this.Deleted = null;
3150
+
3144
3151
  }
3145
3152
 
3146
3153
  /**
@@ -3155,6 +3162,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
3155
3162
  this.Enabled = 'Enabled' in params ? params.Enabled : null;
3156
3163
  this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
3157
3164
  this.Channel = 'Channel' in params ? params.Channel : null;
3165
+ this.Deleted = 'Deleted' in params ? params.Deleted : null;
3158
3166
 
3159
3167
  }
3160
3168
  }
@@ -4123,18 +4131,25 @@ class ListClsLogTopicsResponse extends AbstractModel {
4123
4131
  super();
4124
4132
 
4125
4133
  /**
4126
- * Logset information
4134
+ * Information of logsets in the Shanghai region
4127
4135
  * @type {LogSetInfo || null}
4128
4136
  */
4129
4137
  this.Logset = null;
4130
4138
 
4131
4139
  /**
4132
- * Log topic information list
4133
- Note: this field may return null, indicating that no valid values can be obtained.
4140
+ * Information of log topics in the Shanghai region
4141
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4134
4142
  * @type {Array.<TopicInfo> || null}
4135
4143
  */
4136
4144
  this.Topics = null;
4137
4145
 
4146
+ /**
4147
+ * Information on logsets in regions except Shanghai
4148
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4149
+ * @type {Array.<ExtraLogset> || null}
4150
+ */
4151
+ this.ExtraLogset = null;
4152
+
4138
4153
  /**
4139
4154
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4140
4155
  * @type {string || null}
@@ -4165,6 +4180,15 @@ Note: this field may return null, indicating that no valid values can be obtaine
4165
4180
  this.Topics.push(obj);
4166
4181
  }
4167
4182
  }
4183
+
4184
+ if (params.ExtraLogset) {
4185
+ this.ExtraLogset = new Array();
4186
+ for (let z in params.ExtraLogset) {
4187
+ let obj = new ExtraLogset();
4188
+ obj.deserialize(params.ExtraLogset[z]);
4189
+ this.ExtraLogset.push(obj);
4190
+ }
4191
+ }
4168
4192
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
4169
4193
 
4170
4194
  }
@@ -13201,6 +13225,20 @@ Note: this field may return null, indicating that no valid values can be obtaine
13201
13225
  */
13202
13226
  this.Region = null;
13203
13227
 
13228
+ /**
13229
+ * Whether the logset has been removed from CLS
13230
+ Note: this field may return `null`, indicating that no valid values can be obtained.
13231
+ * @type {string || null}
13232
+ */
13233
+ this.Deleted = null;
13234
+
13235
+ /**
13236
+ * Whether English is used in this region
13237
+ Note: this field may return `null`, indicating that no valid values can be obtained.
13238
+ * @type {string || null}
13239
+ */
13240
+ this.RegionEn = null;
13241
+
13204
13242
  }
13205
13243
 
13206
13244
  /**
@@ -13218,6 +13256,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
13218
13256
  this.LogsetSavePeriod = 'LogsetSavePeriod' in params ? params.LogsetSavePeriod : null;
13219
13257
  this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
13220
13258
  this.Region = 'Region' in params ? params.Region : null;
13259
+ this.Deleted = 'Deleted' in params ? params.Deleted : null;
13260
+ this.RegionEn = 'RegionEn' in params ? params.RegionEn : null;
13221
13261
 
13222
13262
  }
13223
13263
  }
@@ -14558,6 +14598,56 @@ Note: non-IPv6 allowlisted users cannot specify `ipv4` and `ipv6` for query
14558
14598
  }
14559
14599
  }
14560
14600
 
14601
+ /**
14602
+ * Information of logsets and log topics (except those created in the Shanghai region)
14603
+ * @class
14604
+ */
14605
+ class ExtraLogset extends AbstractModel {
14606
+ constructor(){
14607
+ super();
14608
+
14609
+ /**
14610
+ * Logset information
14611
+ Note: this field may return `null`, indicating that no valid values can be obtained.
14612
+ * @type {LogSetInfo || null}
14613
+ */
14614
+ this.Logset = null;
14615
+
14616
+ /**
14617
+ * Log topic information
14618
+ Note: this field may return `null`, indicating that no valid values can be obtained.
14619
+ * @type {Array.<TopicInfo> || null}
14620
+ */
14621
+ this.Topics = null;
14622
+
14623
+ }
14624
+
14625
+ /**
14626
+ * @private
14627
+ */
14628
+ deserialize(params) {
14629
+ if (!params) {
14630
+ return;
14631
+ }
14632
+
14633
+ if (params.Logset) {
14634
+ let obj = new LogSetInfo();
14635
+ obj.deserialize(params.Logset)
14636
+ this.Logset = obj;
14637
+ }
14638
+
14639
+ if (params.Topics) {
14640
+ this.Topics = new Array();
14641
+ for (let z in params.Topics) {
14642
+ let obj = new TopicInfo();
14643
+ obj.deserialize(params.Topics[z]);
14644
+ this.Topics.push(obj);
14645
+ }
14646
+ }
14647
+
14648
+ }
14649
+ }
14650
+
14561
14651
  /**
14562
14652
  * A part of `CacheKey`
14563
14653
  * @class
@@ -15050,6 +15140,7 @@ module.exports = {
15050
15140
  OriginIp: OriginIp,
15051
15141
  CdnIp: CdnIp,
15052
15142
  DescribeCdnDataRequest: DescribeCdnDataRequest,
15143
+ ExtraLogset: ExtraLogset,
15053
15144
  CacheTagKey: CacheTagKey,
15054
15145
  Quic: Quic,
15055
15146
  DescribeDomainsRequest: DescribeDomainsRequest,
@@ -38,6 +38,7 @@ const Region = models.Region;
38
38
  const DescribeInstancesDetailResponse = models.DescribeInstancesDetailResponse;
39
39
  const AclRule = models.AclRule;
40
40
  const DescribeACLResponse = models.DescribeACLResponse;
41
+ const DynamicDiskConfig = models.DynamicDiskConfig;
41
42
  const JgwOperateResponse = models.JgwOperateResponse;
42
43
  const ZoneInfo = models.ZoneInfo;
43
44
  const DescribeTopicSubscribeGroupResponse = models.DescribeTopicSubscribeGroupResponse;
@@ -165,25 +165,25 @@ class DeleteAclRequest extends AbstractModel {
165
165
  this.InstanceId = null;
166
166
 
167
167
  /**
168
- * ACL resource type. 0: UNKNOWN, 1: ANY, 2: TOPIC, 3: GROUP, 4: CLUSTER, 5: TRANSACTIONAL_ID. Currently, only `TOPIC` is available, and other fields will be used for future ACLs compatible with open-source Kafka
168
+ * ACL resource type (`2`: TOPIC, `3`: GROUP, `4`: CLUSTER).
169
169
  * @type {number || null}
170
170
  */
171
171
  this.ResourceType = null;
172
172
 
173
173
  /**
174
- * Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name
174
+ * Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name; if `resourceType` is `CLUSTER`, this field can be left empty.
175
175
  * @type {string || null}
176
176
  */
177
177
  this.ResourceName = null;
178
178
 
179
179
  /**
180
- * ACL operation mode. 0: UNKNOWN, 1: ANY, 2: ALL, 3: READ, 4: WRITE, 5: CREATE, 6: DELETE, 7: ALTER, 8: DESCRIBE, 9: CLUSTER_ACTION, 10: DESCRIBE_CONFIGS, 11: ALTER_CONFIGS, 12: IDEMPOTEN_WRITE. Currently, CKafka only supports `READ` and `WRITE`, and other values will be used for future ACLs compatible with open-source Kafka
180
+ * ACL operation type (`2`: ALL, `3`: READ, `4`: WRITE, `5`: CREATE, `6`: DELETE, `7`: ALTER, `8`: DESCRIBE, `9`: CLUSTER_ACTION, `10`: DESCRIBE_CONFIGS, `11`: ALTER_CONFIGS, `12`: IDEMPOTENT_WRITE).
181
181
  * @type {number || null}
182
182
  */
183
183
  this.Operation = null;
184
184
 
185
185
  /**
186
- * Permission type. 0: UNKNOWN, 1: ANY, 2: DENY, 3: ALLOW. Currently, CKafka supports `ALLOW` (equivalent to allowlist), and other fields will be used for future ACLs compatible with open-source Kafka
186
+ * Permission type (`2`: DENY, `3`: ALLOW). CKafka currently supports `ALLOW`, which is equivalent to allowlist. `DENY` will be supported for ACLs compatible with open-source Kafka.
187
187
  * @type {number || null}
188
188
  */
189
189
  this.PermissionType = null;
@@ -418,13 +418,13 @@ class DescribeACLRequest extends AbstractModel {
418
418
  this.InstanceId = null;
419
419
 
420
420
  /**
421
- * ACL resource type. 0: UNKNOWN, 1: ANY, 2: TOPIC, 3: GROUP, 4: CLUSTER, 5: TRANSACTIONAL_ID. Currently, only `TOPIC` is available, and other fields will be used for future ACLs compatible with open-source Kafka
421
+ * ACL resource type (`2`: TOPIC, `3`: GROUP, `4`: CLUSTER).
422
422
  * @type {number || null}
423
423
  */
424
424
  this.ResourceType = null;
425
425
 
426
426
  /**
427
- * Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name
427
+ * Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name; if `resourceType` is `CLUSTER`, this field can be left empty.
428
428
  * @type {string || null}
429
429
  */
430
430
  this.ResourceName = null;
@@ -1179,6 +1179,55 @@ class DescribeACLResponse extends AbstractModel {
1179
1179
  }
1180
1180
  }
1181
1181
 
1182
+ /**
1183
+ *
1184
+ * @class
1185
+ */
1186
+ class DynamicDiskConfig extends AbstractModel {
1187
+ constructor(){
1188
+ super();
1189
+
1190
+ /**
1191
+ *
1192
+ * @type {number || null}
1193
+ */
1194
+ this.Enable = null;
1195
+
1196
+ /**
1197
+ *
1198
+ * @type {number || null}
1199
+ */
1200
+ this.StepForwardPercentage = null;
1201
+
1202
+ /**
1203
+ *
1204
+ * @type {number || null}
1205
+ */
1206
+ this.DiskQuotaPercentage = null;
1207
+
1208
+ /**
1209
+ *
1210
+ * @type {number || null}
1211
+ */
1212
+ this.MaxDiskSpace = null;
1213
+
1214
+ }
1215
+
1216
+ /**
1217
+ * @private
1218
+ */
1219
+ deserialize(params) {
1220
+ if (!params) {
1221
+ return;
1222
+ }
1223
+ this.Enable = 'Enable' in params ? params.Enable : null;
1224
+ this.StepForwardPercentage = 'StepForwardPercentage' in params ? params.StepForwardPercentage : null;
1225
+ this.DiskQuotaPercentage = 'DiskQuotaPercentage' in params ? params.DiskQuotaPercentage : null;
1226
+ this.MaxDiskSpace = 'MaxDiskSpace' in params ? params.MaxDiskSpace : null;
1227
+
1228
+ }
1229
+ }
1230
+
1182
1231
  /**
1183
1232
  * Returned result value of operation
1184
1233
  * @class
@@ -2031,25 +2080,25 @@ class CreateAclRequest extends AbstractModel {
2031
2080
  this.InstanceId = null;
2032
2081
 
2033
2082
  /**
2034
- * ACL resource type. 0: UNKNOWN, 1: ANY, 2: TOPIC, 3: GROUP, 4: CLUSTER, 5: TRANSACTIONAL_ID. Currently, only `TOPIC` is available, and other fields will be used for future ACLs compatible with open-source Kafka
2083
+ * ACL resource type (`2`: TOPIC, `3`: GROUP, `4`: CLUSTER).
2035
2084
  * @type {number || null}
2036
2085
  */
2037
2086
  this.ResourceType = null;
2038
2087
 
2039
2088
  /**
2040
- * ACL operation mode. 0: UNKNOWN, 1: ANY, 2: ALL, 3: READ, 4: WRITE, 5: CREATE, 6: DELETE, 7: ALTER, 8: DESCRIBE, 9: CLUSTER_ACTION, 10: DESCRIBE_CONFIGS, 11: ALTER_CONFIGS
2089
+ * ACL operation type (`2`: ALL, `3`: READ, `4`: WRITE, `5`: CREATE, `6`: DELETE, `7`: ALTER, `8`: DESCRIBE, `9`: CLUSTER_ACTION, `10`: DESCRIBE_CONFIGS, `11`: ALTER_CONFIGS, `12`: IDEMPOTENT_WRITE).
2041
2090
  * @type {number || null}
2042
2091
  */
2043
2092
  this.Operation = null;
2044
2093
 
2045
2094
  /**
2046
- * Permission type. 0: UNKNOWN, 1: ANY, 2: DENY, 3: ALLOW. Currently, CKafka supports `ALLOW` (equivalent to allowlist), and other fields will be used for future ACLs compatible with open-source Kafka
2095
+ * Permission type (`2`: DENY, `3`: ALLOW). CKafka currently supports `ALLOW`, which is equivalent to allowlist. `DENY` will be supported for ACLs compatible with open-source Kafka.
2047
2096
  * @type {number || null}
2048
2097
  */
2049
2098
  this.PermissionType = null;
2050
2099
 
2051
2100
  /**
2052
- * Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name
2101
+ * Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name; if `resourceType` is `CLUSTER`, this field can be left empty.
2053
2102
  * @type {string || null}
2054
2103
  */
2055
2104
  this.ResourceName = null;
@@ -4379,7 +4428,7 @@ class DescribeInstancesRequest extends AbstractModel {
4379
4428
  this.Limit = null;
4380
4429
 
4381
4430
  /**
4382
- * Tag key match.
4431
+ * Tag key value (this field has been deprecated).
4383
4432
  * @type {string || null}
4384
4433
  */
4385
4434
  this.TagKey = null;
@@ -4615,6 +4664,26 @@ Note: this field may return null, indicating that no valid values can be obtaine
4615
4664
  */
4616
4665
  this.DeleteRouteTimestamp = null;
4617
4666
 
4667
+ /**
4668
+ * Number of remaining creatable partitions
4669
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4670
+ * @type {number || null}
4671
+ */
4672
+ this.RemainingPartitions = null;
4673
+
4674
+ /**
4675
+ * Number of remaining creatable topics
4676
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4677
+ * @type {number || null}
4678
+ */
4679
+ this.RemainingTopics = null;
4680
+
4681
+ /**
4682
+ *
4683
+ * @type {DynamicDiskConfig || null}
4684
+ */
4685
+ this.DynamicDiskConfig = null;
4686
+
4618
4687
  }
4619
4688
 
4620
4689
  /**
@@ -4682,6 +4751,14 @@ Note: this field may return null, indicating that no valid values can be obtaine
4682
4751
  this.MaxConnection = 'MaxConnection' in params ? params.MaxConnection : null;
4683
4752
  this.PublicNetwork = 'PublicNetwork' in params ? params.PublicNetwork : null;
4684
4753
  this.DeleteRouteTimestamp = 'DeleteRouteTimestamp' in params ? params.DeleteRouteTimestamp : null;
4754
+ this.RemainingPartitions = 'RemainingPartitions' in params ? params.RemainingPartitions : null;
4755
+ this.RemainingTopics = 'RemainingTopics' in params ? params.RemainingTopics : null;
4756
+
4757
+ if (params.DynamicDiskConfig) {
4758
+ let obj = new DynamicDiskConfig();
4759
+ obj.deserialize(params.DynamicDiskConfig)
4760
+ this.DynamicDiskConfig = obj;
4761
+ }
4685
4762
 
4686
4763
  }
4687
4764
  }
@@ -6839,6 +6916,7 @@ module.exports = {
6839
6916
  DescribeInstancesDetailResponse: DescribeInstancesDetailResponse,
6840
6917
  AclRule: AclRule,
6841
6918
  DescribeACLResponse: DescribeACLResponse,
6919
+ DynamicDiskConfig: DynamicDiskConfig,
6842
6920
  JgwOperateResponse: JgwOperateResponse,
6843
6921
  ZoneInfo: ZoneInfo,
6844
6922
  DescribeTopicSubscribeGroupResponse: DescribeTopicSubscribeGroupResponse,
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.353";
1
+ const sdkVersion = "3.0.354";
2
2
  module.exports = sdkVersion
@@ -627,6 +627,16 @@ class InquiryPriceCreateInstanceRequest extends AbstractModel {
627
627
  */
628
628
  this.ProductId = null;
629
629
 
630
+ /**
631
+ * Scenario-based values:
632
+ Hadoop-Kudu
633
+ Hadoop-Zookeeper
634
+ Hadoop-Presto
635
+ Hadoop-Hbase
636
+ * @type {string || null}
637
+ */
638
+ this.SceneName = null;
639
+
630
640
  }
631
641
 
632
642
  /**
@@ -669,6 +679,7 @@ class InquiryPriceCreateInstanceRequest extends AbstractModel {
669
679
  this.MetaDBInfo = obj;
670
680
  }
671
681
  this.ProductId = 'ProductId' in params ? params.ProductId : null;
682
+ this.SceneName = 'SceneName' in params ? params.SceneName : null;
672
683
 
673
684
  }
674
685
  }
@@ -1670,6 +1681,16 @@ This parameter can be obtained in the `SecurityGroupId` field in the return valu
1670
1681
  */
1671
1682
  this.ApplicationRole = null;
1672
1683
 
1684
+ /**
1685
+ * Scenario-based values:
1686
+ Hadoop-Kudu
1687
+ Hadoop-Zookeeper
1688
+ Hadoop-Presto
1689
+ Hadoop-Hbase
1690
+ * @type {string || null}
1691
+ */
1692
+ this.SceneName = null;
1693
+
1673
1694
  }
1674
1695
 
1675
1696
  /**
@@ -1752,6 +1773,7 @@ This parameter can be obtained in the `SecurityGroupId` field in the return valu
1752
1773
  this.MetaDBInfo = obj;
1753
1774
  }
1754
1775
  this.ApplicationRole = 'ApplicationRole' in params ? params.ApplicationRole : null;
1776
+ this.SceneName = 'SceneName' in params ? params.SceneName : null;
1755
1777
 
1756
1778
  }
1757
1779
  }
@@ -2661,6 +2683,48 @@ Note: this field may return `null`, indicating that no valid value can be obtain
2661
2683
  */
2662
2684
  this.Zone = null;
2663
2685
 
2686
+ /**
2687
+ * Scenario name
2688
+ Note: This field may return `null`, indicating that no valid value was found.
2689
+ * @type {string || null}
2690
+ */
2691
+ this.SceneName = null;
2692
+
2693
+ /**
2694
+ * Scenario-based cluster type
2695
+ Note: This field may return `null`, indicating that no valid value was found.
2696
+ * @type {string || null}
2697
+ */
2698
+ this.SceneServiceClass = null;
2699
+
2700
+ /**
2701
+ * Scenario-based EMR version
2702
+ Note: This field may return `null`, indicating that no valid value was found.
2703
+ * @type {string || null}
2704
+ */
2705
+ this.SceneEmrVersion = null;
2706
+
2707
+ /**
2708
+ * Scenario-based cluster type
2709
+ Note: This field may return `null`, indicating that no valid value was found.
2710
+ * @type {string || null}
2711
+ */
2712
+ this.DisplayName = null;
2713
+
2714
+ /**
2715
+ * VPC name
2716
+ Note: This field may return `null`, indicating that no valid value was found.
2717
+ * @type {string || null}
2718
+ */
2719
+ this.VpcName = null;
2720
+
2721
+ /**
2722
+ * Subnet name
2723
+ Note: This field may return `null`, indicating that no valid value was found.
2724
+ * @type {string || null}
2725
+ */
2726
+ this.SubnetName = null;
2727
+
2664
2728
  }
2665
2729
 
2666
2730
  /**
@@ -2713,6 +2777,12 @@ Note: this field may return `null`, indicating that no valid value can be obtain
2713
2777
  this.AliasInfo = 'AliasInfo' in params ? params.AliasInfo : null;
2714
2778
  this.ProductId = 'ProductId' in params ? params.ProductId : null;
2715
2779
  this.Zone = 'Zone' in params ? params.Zone : null;
2780
+ this.SceneName = 'SceneName' in params ? params.SceneName : null;
2781
+ this.SceneServiceClass = 'SceneServiceClass' in params ? params.SceneServiceClass : null;
2782
+ this.SceneEmrVersion = 'SceneEmrVersion' in params ? params.SceneEmrVersion : null;
2783
+ this.DisplayName = 'DisplayName' in params ? params.DisplayName : null;
2784
+ this.VpcName = 'VpcName' in params ? params.VpcName : null;
2785
+ this.SubnetName = 'SubnetName' in params ? params.SubnetName : null;
2716
2786
 
2717
2787
  }
2718
2788
  }
@@ -61,6 +61,7 @@ module.exports = {
61
61
  tag: require("./tag"),
62
62
  tcaplusdb: require("./tcaplusdb"),
63
63
  tcr: require("./tcr"),
64
+ tdmq: require("./tdmq"),
64
65
  tem: require("./tem"),
65
66
  tiw: require("./tiw"),
66
67
  tke: require("./tke"),
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ v20200217: require("./v20200217"),
3
+ };
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ Client: require("./tdmq_client"),
3
+ Models: require("./models"),
4
+ };