tencentcloud-sdk-nodejs-intl-en 3.0.1409 → 3.0.1411

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.
@@ -872,6 +872,69 @@ class DescribeAclRuleResponse extends AbstractModel {
872
872
  }
873
873
  }
874
874
 
875
+ /**
876
+ * Group offset partition object
877
+ * @class
878
+ */
879
+ class GroupOffsetPartition extends AbstractModel {
880
+ constructor(){
881
+ super();
882
+
883
+ /**
884
+ * Topic `partitionId`
885
+ * @type {number || null}
886
+ */
887
+ this.Partition = null;
888
+
889
+ /**
890
+ * Offset position submitted by consumer
891
+ * @type {number || null}
892
+ */
893
+ this.Offset = null;
894
+
895
+ /**
896
+ * Supports consumers to submit messages with imported metadata for other purposes, currently an empty string.
897
+ * @type {string || null}
898
+ */
899
+ this.Metadata = null;
900
+
901
+ /**
902
+ * Error code
903
+ * @type {number || null}
904
+ */
905
+ this.ErrorCode = null;
906
+
907
+ /**
908
+ * Latest offset of current partition
909
+ * @type {number || null}
910
+ */
911
+ this.LogEndOffset = null;
912
+
913
+ /**
914
+ * Number of unconsumed messages
915
+ * @type {number || null}
916
+ */
917
+ this.Lag = null;
918
+
919
+ }
920
+
921
+ /**
922
+ * @private
923
+ */
924
+ deserialize(params) {
925
+ if (!params) {
926
+ return;
927
+ }
928
+ this.Partition = 'Partition' in params ? params.Partition : null;
929
+ this.Offset = 'Offset' in params ? params.Offset : null;
930
+ this.Metadata = 'Metadata' in params ? params.Metadata : null;
931
+ this.ErrorCode = 'ErrorCode' in params ? params.ErrorCode : null;
932
+ this.LogEndOffset = 'LogEndOffset' in params ? params.LogEndOffset : null;
933
+ this.Lag = 'Lag' in params ? params.Lag : null;
934
+
935
+ }
936
+ }
937
+
875
938
  /**
876
939
  * DescribeConsumerGroup response structure.
877
940
  * @class
@@ -1119,7 +1182,7 @@ class CreateRouteRequest extends AbstractModel {
1119
1182
  this.SubnetId = null;
1120
1183
 
1121
1184
  /**
1122
- * <p>Access type: 0-plaintext; 1-sasl_plaintext; 3-sasl_ssl; 4-sasl_scram_sha_256; 5-sasl_scram_sha_512. defaults to 0. when vipType=3, supports 0,1,3,4,5. when vipType=7, supports 0,1,3. when vipType=1, supports 1,3.</p>.
1185
+ * <p>Access type: 0-plaintext; 1-sasl_plaintext; 3-sasl_ssl; 4-sasl_scram_sha_256; 5-sasl_scram_sha_512. Default is 0.<br>vipType=3, supports 0,1,3,4,5<br>vipType=7, supports 0,1,3<br>vipType=1, supports 1,3</p>
1123
1186
  * @type {number || null}
1124
1187
  */
1125
1188
  this.AccessType = null;
@@ -1160,6 +1223,12 @@ class CreateRouteRequest extends AbstractModel {
1160
1223
  */
1161
1224
  this.SecurityGroupIds = null;
1162
1225
 
1226
+ /**
1227
+ * <p>Preset configuration of public network route IP allowlist</p><p>Input parameter limit: vipType=1</p>
1228
+ * @type {Array.<IpWhitelistDTO> || null}
1229
+ */
1230
+ this.IpWhitelist = null;
1231
+
1163
1232
  }
1164
1233
 
1165
1234
  /**
@@ -1181,6 +1250,15 @@ class CreateRouteRequest extends AbstractModel {
1181
1250
  this.Note = 'Note' in params ? params.Note : null;
1182
1251
  this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
1183
1252
 
1253
+ if (params.IpWhitelist) {
1254
+ this.IpWhitelist = new Array();
1255
+ for (let z in params.IpWhitelist) {
1256
+ let obj = new IpWhitelistDTO();
1257
+ obj.deserialize(params.IpWhitelist[z]);
1258
+ this.IpWhitelist.push(obj);
1259
+ }
1260
+ }
1261
+
1184
1262
  }
1185
1263
  }
1186
1264
 
@@ -1599,31 +1677,31 @@ class UpgradeBrokerVersionRequest extends AbstractModel {
1599
1677
  super();
1600
1678
 
1601
1679
  /**
1602
- * The ckafka cluster instance Id.
1680
+ * <p>ckafka cluster instance Id</p>
1603
1681
  * @type {string || null}
1604
1682
  */
1605
1683
  this.InstanceId = null;
1606
1684
 
1607
1685
  /**
1608
- * 1. smooth configuration upgrade 2. vertical configuration upgrade.
1686
+ * <p>Upgrade type</p><p>Enumeration value:</p><ul><li>1: Minor version migration (recommended)</li></ul>
1609
1687
  * @type {number || null}
1610
1688
  */
1611
1689
  this.Type = null;
1612
1690
 
1613
1691
  /**
1614
- * Version number
1692
+ * <p>Version number.</p>
1615
1693
  * @type {string || null}
1616
1694
  */
1617
1695
  this.SourceVersion = null;
1618
1696
 
1619
1697
  /**
1620
- * Version number
1698
+ * <p>Version number.</p>
1621
1699
  * @type {string || null}
1622
1700
  */
1623
1701
  this.TargetVersion = null;
1624
1702
 
1625
1703
  /**
1626
- * Delay time.
1704
+ * <p>Delay time</p>
1627
1705
  * @type {string || null}
1628
1706
  */
1629
1707
  this.DelayTimeStamp = null;
@@ -2224,20 +2302,20 @@ class JgwOperateResponse extends AbstractModel {
2224
2302
  super();
2225
2303
 
2226
2304
  /**
2227
- * Returned code. 0: normal, other values: error
2305
+ * <p>Returned code. 0 as normal, non-0 as error.</p>
2228
2306
  * @type {string || null}
2229
2307
  */
2230
2308
  this.ReturnCode = null;
2231
2309
 
2232
2310
  /**
2233
- * Success message
2311
+ * <p>Success message</p>
2234
2312
  * @type {string || null}
2235
2313
  */
2236
2314
  this.ReturnMessage = null;
2237
2315
 
2238
2316
  /**
2239
- * Data returned by an operation, which may contain `flowId`, etc.
2240
- Note: this field may return null, indicating that no valid values can be obtained.
2317
+ * <p>The Data returned by the operation may include flowId.</p>
2318
+ Note: This field may return null, indicating that no valid values can be obtained.
2241
2319
  * @type {OperateResponseData || null}
2242
2320
  */
2243
2321
  this.Data = null;
@@ -2763,6 +2841,46 @@ class ModifyAclRuleResponse extends AbstractModel {
2763
2841
  }
2764
2842
  }
2765
2843
 
2844
+ /**
2845
+ * ModifyInstanceAttributes response structure.
2846
+ * @class
2847
+ */
2848
+ class ModifyInstanceAttributesResponse extends AbstractModel {
2849
+ constructor(){
2850
+ super();
2851
+
2852
+ /**
2853
+ * <p>Returned result</p>
2854
+ * @type {JgwOperateResponse || null}
2855
+ */
2856
+ this.Result = null;
2857
+
2858
+ /**
2859
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2860
+ * @type {string || null}
2861
+ */
2862
+ this.RequestId = null;
2863
+
2864
+ }
2865
+
2866
+ /**
2867
+ * @private
2868
+ */
2869
+ deserialize(params) {
2870
+ if (!params) {
2871
+ return;
2872
+ }
2873
+
2874
+ if (params.Result) {
2875
+ let obj = new JgwOperateResponse();
2876
+ obj.deserialize(params.Result)
2877
+ this.Result = obj;
2878
+ }
2879
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2880
+
2881
+ }
2882
+ }
2883
+
2766
2884
  /**
2767
2885
  * BatchModifyGroupOffsets response structure.
2768
2886
  * @class
@@ -2979,31 +3097,31 @@ class CreateDatahubTopicRequest extends AbstractModel {
2979
3097
  super();
2980
3098
 
2981
3099
  /**
2982
- * Name, a string of no more than 128 characters, must start with "AppId-" and can contain letters, digits, and hyphens (-).
3100
+ * <p>Name is a string of no more than 128 characters, must start with "AppId-", and the remaining part can contain letters, digits, and hyphens (-). It can be queried through the API DescribeAppInfo.</p>
2983
3101
  * @type {string || null}
2984
3102
  */
2985
3103
  this.Name = null;
2986
3104
 
2987
3105
  /**
2988
- * Number of partitions, which should be greater than 0.
3106
+ * <p>Number of partitions, maximum value is 500, larger than 0</p>
2989
3107
  * @type {number || null}
2990
3108
  */
2991
3109
  this.PartitionNum = null;
2992
3110
 
2993
3111
  /**
2994
- * Message retention period in milliseconds. The current minimum value is 60,000 ms.
3112
+ * <p>Message retention period in milliseconds. Current min value is 60000 ms.</p>
2995
3113
  * @type {number || null}
2996
3114
  */
2997
3115
  this.RetentionMs = null;
2998
3116
 
2999
3117
  /**
3000
- * Topic remarks, which are a string of up to 128 characters. It can contain letters, digits, and hyphens (-) and must start with a letter.
3118
+ * <p>Topic remark is a string of no more than 64 characters, which can contain letters, digits, and hyphens (-).</p>
3001
3119
  * @type {string || null}
3002
3120
  */
3003
3121
  this.Note = null;
3004
3122
 
3005
3123
  /**
3006
- * Tag list
3124
+ * <p>Tag list</p>
3007
3125
  * @type {Array.<Tag> || null}
3008
3126
  */
3009
3127
  this.Tags = null;
@@ -3035,24 +3153,30 @@ class CreateDatahubTopicRequest extends AbstractModel {
3035
3153
  }
3036
3154
 
3037
3155
  /**
3038
- * Instance billing parameters
3156
+ * Data structure returned by pay-as-you-go instance APIs
3039
3157
  * @class
3040
3158
  */
3041
- class InstanceChargeParam extends AbstractModel {
3159
+ class CreateInstancePostResp extends AbstractModel {
3042
3160
  constructor(){
3043
3161
  super();
3044
3162
 
3045
3163
  /**
3046
- * Instance billing mode (`PREPAID`: Yearly/monthly subscription; `POSTPAID_BY_HOUR`: Pay-as-you-go)
3164
+ * Returned code. `0` indicates normal status while other codes indicate errors.
3047
3165
  * @type {string || null}
3048
3166
  */
3049
- this.InstanceChargeType = null;
3167
+ this.ReturnCode = null;
3050
3168
 
3051
3169
  /**
3052
- * Validity period, which is only required for the monthly subscription billing mode
3053
- * @type {number || null}
3170
+ * Message returned by the API. An error message will be returned if the API reports an error.
3171
+ * @type {string || null}
3054
3172
  */
3055
- this.InstanceChargePeriod = null;
3173
+ this.ReturnMessage = null;
3174
+
3175
+ /**
3176
+ * Specifies the Data returned.
3177
+ * @type {CreateInstancePostData || null}
3178
+ */
3179
+ this.Data = null;
3056
3180
 
3057
3181
  }
3058
3182
 
@@ -3063,37 +3187,73 @@ class InstanceChargeParam extends AbstractModel {
3063
3187
  if (!params) {
3064
3188
  return;
3065
3189
  }
3066
- this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
3067
- this.InstanceChargePeriod = 'InstanceChargePeriod' in params ? params.InstanceChargePeriod : null;
3190
+ this.ReturnCode = 'ReturnCode' in params ? params.ReturnCode : null;
3191
+ this.ReturnMessage = 'ReturnMessage' in params ? params.ReturnMessage : null;
3192
+
3193
+ if (params.Data) {
3194
+ let obj = new CreateInstancePostData();
3195
+ obj.deserialize(params.Data)
3196
+ this.Data = obj;
3197
+ }
3068
3198
 
3069
3199
  }
3070
3200
  }
3071
3201
 
3072
3202
  /**
3073
- * Data structure returned by pay-as-you-go instance APIs
3203
+ * ModifyGroupOffsets request structure.
3074
3204
  * @class
3075
3205
  */
3076
- class CreateInstancePostResp extends AbstractModel {
3206
+ class ModifyGroupOffsetsRequest extends AbstractModel {
3077
3207
  constructor(){
3078
3208
  super();
3079
3209
 
3080
3210
  /**
3081
- * Returned code. `0` indicates normal status while other codes indicate errors.
3211
+ * ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.com/document/product/597/40835?from_cn_redirect=1).
3082
3212
  * @type {string || null}
3083
3213
  */
3084
- this.ReturnCode = null;
3214
+ this.InstanceId = null;
3085
3215
 
3086
3216
  /**
3087
- * Message returned by the API. An error message will be returned if the API reports an error.
3217
+ * Consumer group name. obtain through the API [DescribeConsumerGroup](https://www.tencentcloud.com/document/product/597/40841?from_cn_redirect=1).
3088
3218
  * @type {string || null}
3089
3219
  */
3090
- this.ReturnMessage = null;
3220
+ this.Group = null;
3091
3221
 
3092
3222
  /**
3093
- * Specifies the Data returned.
3094
- * @type {CreateInstancePostData || null}
3223
+ * Reset offset strategy. parameter meaning: 0. align with the shift-by parameter, move the offset forward or backward by shift entries. 1. alignment reference (by-duration, to-datetime, to-earliest, to-latest), move the offset to the specified timestamp position. 2. alignment reference (to-offset), move the offset to the specified offset position.
3224
+ * @type {number || null}
3095
3225
  */
3096
- this.Data = null;
3226
+ this.Strategy = null;
3227
+
3228
+ /**
3229
+ * Specifies the topic name list that needs to reset.
3230
+ * @type {Array.<string> || null}
3231
+ */
3232
+ this.Topics = null;
3233
+
3234
+ /**
3235
+ * When `strategy` is 0, this field is required. If it is above zero, the offset will be shifted backward by the value of the `shift`. If it is below zero, the offset will be shifted forward by the value of the `shift`. After a correct reset, the new offset should be (old_offset + shift). Note that if the new offset is smaller than the `earliest` parameter of the partition, it will be set to `earliest`, and if it is greater than the `latest` parameter of the partition, it will be set to `latest`
3236
+ * @type {number || null}
3237
+ */
3238
+ this.Shift = null;
3239
+
3240
+ /**
3241
+ * In milliseconds. when strategy is 1, must include this field. among them, -2 means reset offset to the start position, -1 means reset to the latest position (equivalent to clearing), other values represent the specified time. obtain the offset at the specified time in the topic and reset. notably, if no message exists at the specified time, get the last offset.
3242
+ * @type {number || null}
3243
+ */
3244
+ this.ShiftTimestamp = null;
3245
+
3246
+ /**
3247
+ * Position of the offset that needs to be reset. When `strategy` is 2, this field is required
3248
+ * @type {number || null}
3249
+ */
3250
+ this.Offset = null;
3251
+
3252
+ /**
3253
+ * List of partitions that need to be reset. If the topics parameter is not specified, reset partitions in the corresponding partition list of all topics. If the topics parameter is specified, reset partitions of the corresponding partition list of the specified topic list.
3254
+ * @type {Array.<number> || null}
3255
+ */
3256
+ this.Partitions = null;
3097
3257
 
3098
3258
  }
3099
3259
 
@@ -3104,14 +3264,14 @@ class CreateInstancePostResp extends AbstractModel {
3104
3264
  if (!params) {
3105
3265
  return;
3106
3266
  }
3107
- this.ReturnCode = 'ReturnCode' in params ? params.ReturnCode : null;
3108
- this.ReturnMessage = 'ReturnMessage' in params ? params.ReturnMessage : null;
3109
-
3110
- if (params.Data) {
3111
- let obj = new CreateInstancePostData();
3112
- obj.deserialize(params.Data)
3113
- this.Data = obj;
3114
- }
3267
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
3268
+ this.Group = 'Group' in params ? params.Group : null;
3269
+ this.Strategy = 'Strategy' in params ? params.Strategy : null;
3270
+ this.Topics = 'Topics' in params ? params.Topics : null;
3271
+ this.Shift = 'Shift' in params ? params.Shift : null;
3272
+ this.ShiftTimestamp = 'ShiftTimestamp' in params ? params.ShiftTimestamp : null;
3273
+ this.Offset = 'Offset' in params ? params.Offset : null;
3274
+ this.Partitions = 'Partitions' in params ? params.Partitions : null;
3115
3275
 
3116
3276
  }
3117
3277
  }
@@ -3325,19 +3485,19 @@ class CreatePostPaidInstanceRequest extends AbstractModel {
3325
3485
  this.ClusterId = null;
3326
3486
 
3327
3487
  /**
3328
- * <P>Instance version. currently supports "2.4.1", "2.4.2", "2.8.1", "3.2.3". default value is "2.4.1". "2.4.1" and "2.4.2" belong to the same version, any one can be passed.</p>.
3488
+ * <p>Instance version. Currently supports "2.4.1", "2.4.2", "2.8.1", "3.2.3". Default value is "2.4.1". "2.4.1" and "2.4.2" belong to the same version. You can pass any one of them.</p>
3329
3489
  * @type {string || null}
3330
3490
  */
3331
3491
  this.KafkaVersion = null;
3332
3492
 
3333
3493
  /**
3334
- * <P>Instance type. "standard": standard version, "profession": professional version. (standard version is only supported on the international site. chinese site currently supports professional version)</p>.
3494
+ * <p>Instance type. "standard": standard version, "profession": professional version. (The standard version is only supported on the international site. The domestic site currently supports the professional version.)</p>
3335
3495
  * @type {string || null}
3336
3496
  */
3337
3497
  this.SpecificationsType = null;
3338
3498
 
3339
3499
  /**
3340
- * <p>Specifies the instance disk type for pro edition. standard edition instances do not require this field. valid values: "CLOUD_SSD" (SSD CLOUD disk), "CLOUD_BASIC" (high-performance CLOUD block storage). default value: "CLOUD_BASIC".</p>.
3500
+ * <p>Instance disk type for Pro Edition. You do not need to fill it in for standard edition instance. "CLOUD_SSD": SSD CLOUD disk; "CLOUD_BASIC": high-performance CLOUD block storage. Default value is "CLOUD_BASIC" if not specified.</p>
3341
3501
  * @type {string || null}
3342
3502
  */
3343
3503
  this.DiskType = null;
@@ -3391,7 +3551,7 @@ class CreatePostPaidInstanceRequest extends AbstractModel {
3391
3551
  this.InstanceNum = null;
3392
3552
 
3393
3553
  /**
3394
- * <p>Public bandwidth size in Mbps. the free 3 Mbps bandwidth is not included by default. for example, if the total required public network bandwidth is 3 Mbps, input 0 here; if the total required public network bandwidth is 6 Mbps, input 3 here. ensure the input parameter is a multiple of 3.</p>.
3554
+ * <p>Public bandwidth size, measurement unit Mbps.</p><p>Unit: Mbps</p>
3395
3555
  * @type {number || null}
3396
3556
  */
3397
3557
  this.PublicNetworkMonthly = null;
@@ -3414,6 +3574,12 @@ class CreatePostPaidInstanceRequest extends AbstractModel {
3414
3574
  */
3415
3575
  this.CustomSSLCertId = null;
3416
3576
 
3577
+ /**
3578
+ * <p>Elastic storage switch</p><p>Enumeration value:</p><ul><li>0: Turn off</li><li>1: Turn on</li></ul><p>Default value: 0</p>
3579
+ * @type {number || null}
3580
+ */
3581
+ this.StoreQuantityType = null;
3582
+
3417
3583
  }
3418
3584
 
3419
3585
  /**
@@ -3452,6 +3618,7 @@ class CreatePostPaidInstanceRequest extends AbstractModel {
3452
3618
  }
3453
3619
  this.ElasticBandwidthSwitch = 'ElasticBandwidthSwitch' in params ? params.ElasticBandwidthSwitch : null;
3454
3620
  this.CustomSSLCertId = 'CustomSSLCertId' in params ? params.CustomSSLCertId : null;
3621
+ this.StoreQuantityType = 'StoreQuantityType' in params ? params.StoreQuantityType : null;
3455
3622
 
3456
3623
  }
3457
3624
  }
@@ -3782,7 +3949,7 @@ class CreateUserResponse extends AbstractModel {
3782
3949
  super();
3783
3950
 
3784
3951
  /**
3785
- * Returned result.
3952
+ * <p>Returned results</p>
3786
3953
  * @type {JgwOperateResponse || null}
3787
3954
  */
3788
3955
  this.Result = null;
@@ -4988,7 +5155,7 @@ class CreateTopicRequest extends AbstractModel {
4988
5155
  this.MinInsyncReplicas = null;
4989
5156
 
4990
5157
  /**
4991
- * <p>Whether to allow unsynchronized replicas to be elected as leader, 0: not allowed, 1: allowed, default not allowed</p>
5158
+ * <p>Whether to allow unsynchronized replicas to be elected as leader. 0: not allowed, 1: allowed. Default value is the instance dimension value.</p>
4992
5159
  * @type {number || null}
4993
5160
  */
4994
5161
  this.UncleanLeaderElectionEnable = null;
@@ -5930,6 +6097,56 @@ class DescribeUserResponse extends AbstractModel {
5930
6097
  }
5931
6098
  }
5932
6099
 
6100
+ /**
6101
+ * ModifyAccessPolicy request structure.
6102
+ * @class
6103
+ */
6104
+ class ModifyAccessPolicyRequest extends AbstractModel {
6105
+ constructor(){
6106
+ super();
6107
+
6108
+ /**
6109
+ * <p>Instance ID.</p>
6110
+ * @type {string || null}
6111
+ */
6112
+ this.InstanceId = null;
6113
+
6114
+ /**
6115
+ * <p>Route ID</p>
6116
+ * @type {number || null}
6117
+ */
6118
+ this.RouteId = null;
6119
+
6120
+ /**
6121
+ * <p>Public Network IP Whitelist Configuration</p><p>Default if not passed: delete all</p>
6122
+ * @type {Array.<IpWhitelistDTO> || null}
6123
+ */
6124
+ this.IpWhitelist = null;
6125
+
6126
+ }
6127
+
6128
+ /**
6129
+ * @private
6130
+ */
6131
+ deserialize(params) {
6132
+ if (!params) {
6133
+ return;
6134
+ }
6135
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
6136
+ this.RouteId = 'RouteId' in params ? params.RouteId : null;
6137
+
6138
+ if (params.IpWhitelist) {
6139
+ this.IpWhitelist = new Array();
6140
+ for (let z in params.IpWhitelist) {
6141
+ let obj = new IpWhitelistDTO();
6142
+ obj.deserialize(params.IpWhitelist[z]);
6143
+ this.IpWhitelist.push(obj);
6144
+ }
6145
+ }
6146
+
6147
+ }
6148
+ }
6149
+
5933
6150
  /**
5934
6151
  * DescribeTopic request structure.
5935
6152
  * @class
@@ -5987,18 +6204,46 @@ class DescribeTopicRequest extends AbstractModel {
5987
6204
  }
5988
6205
 
5989
6206
  /**
5990
- * Mapping between orders and CKafka instances for yearly/monthly subscribed and pay-as-you-go instance APIs.
6207
+ * IsolatedInstancePre request structure.
5991
6208
  * @class
5992
6209
  */
5993
- class DealInstanceDTO extends AbstractModel {
6210
+ class IsolatedInstancePreRequest extends AbstractModel {
5994
6211
  constructor(){
5995
6212
  super();
5996
6213
 
5997
6214
  /**
5998
- * Order transaction.
6215
+ * CKafka cluster instance ID.
5999
6216
  * @type {string || null}
6000
6217
  */
6001
- this.DealName = null;
6218
+ this.InstanceId = null;
6219
+
6220
+ }
6221
+
6222
+ /**
6223
+ * @private
6224
+ */
6225
+ deserialize(params) {
6226
+ if (!params) {
6227
+ return;
6228
+ }
6229
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
6230
+
6231
+ }
6232
+ }
6233
+
6234
+ /**
6235
+ * Mapping between orders and CKafka instances for yearly/monthly subscribed and pay-as-you-go instance APIs.
6236
+ * @class
6237
+ */
6238
+ class DealInstanceDTO extends AbstractModel {
6239
+ constructor(){
6240
+ super();
6241
+
6242
+ /**
6243
+ * Order transaction.
6244
+ * @type {string || null}
6245
+ */
6246
+ this.DealName = null;
6002
6247
 
6003
6248
  /**
6004
6249
  * Order transaction corresponds to the list of purchased CKafka instance ids.
@@ -7054,6 +7299,41 @@ class ModifyInstanceAttributesRequest extends AbstractModel {
7054
7299
  }
7055
7300
  }
7056
7301
 
7302
+ /**
7303
+ * DescribeAccessPolicy request structure.
7304
+ * @class
7305
+ */
7306
+ class DescribeAccessPolicyRequest extends AbstractModel {
7307
+ constructor(){
7308
+ super();
7309
+
7310
+ /**
7311
+ * <p>Instance ID.</p>
7312
+ * @type {string || null}
7313
+ */
7314
+ this.InstanceId = null;
7315
+
7316
+ /**
7317
+ * <p>Route ID</p>
7318
+ * @type {number || null}
7319
+ */
7320
+ this.RouteId = null;
7321
+
7322
+ }
7323
+
7324
+ /**
7325
+ * @private
7326
+ */
7327
+ deserialize(params) {
7328
+ if (!params) {
7329
+ return;
7330
+ }
7331
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
7332
+ this.RouteId = 'RouteId' in params ? params.RouteId : null;
7333
+
7334
+ }
7335
+ }
7336
+
7057
7337
  /**
7058
7338
  * DescribeRegion response structure.
7059
7339
  * @class
@@ -7216,24 +7496,24 @@ class DescribeTopicProduceConnectionResponse extends AbstractModel {
7216
7496
  }
7217
7497
 
7218
7498
  /**
7219
- * ModifyInstanceAttributes response structure.
7499
+ * Public network route IP allowlist list object of the instance
7220
7500
  * @class
7221
7501
  */
7222
- class ModifyInstanceAttributesResponse extends AbstractModel {
7502
+ class IpWhitelistDTO extends AbstractModel {
7223
7503
  constructor(){
7224
7504
  super();
7225
7505
 
7226
7506
  /**
7227
- * <p>Returned result</p>
7228
- * @type {JgwOperateResponse || null}
7507
+ * <p>Allow IP or ranges</p>
7508
+ * @type {string || null}
7229
7509
  */
7230
- this.Result = null;
7510
+ this.CidrBlock = null;
7231
7511
 
7232
7512
  /**
7233
- * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
7513
+ * <p>Description.</p>
7234
7514
  * @type {string || null}
7235
7515
  */
7236
- this.RequestId = null;
7516
+ this.PolicyDescription = null;
7237
7517
 
7238
7518
  }
7239
7519
 
@@ -7244,13 +7524,8 @@ class ModifyInstanceAttributesResponse extends AbstractModel {
7244
7524
  if (!params) {
7245
7525
  return;
7246
7526
  }
7247
-
7248
- if (params.Result) {
7249
- let obj = new JgwOperateResponse();
7250
- obj.deserialize(params.Result)
7251
- this.Result = obj;
7252
- }
7253
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
7527
+ this.CidrBlock = 'CidrBlock' in params ? params.CidrBlock : null;
7528
+ this.PolicyDescription = 'PolicyDescription' in params ? params.PolicyDescription : null;
7254
7529
 
7255
7530
  }
7256
7531
  }
@@ -7299,25 +7574,25 @@ class User extends AbstractModel {
7299
7574
  super();
7300
7575
 
7301
7576
  /**
7302
- * User ID
7577
+ * <p>User id</p>
7303
7578
  * @type {number || null}
7304
7579
  */
7305
7580
  this.UserId = null;
7306
7581
 
7307
7582
  /**
7308
- * Username
7583
+ * <p>Username</p>
7309
7584
  * @type {string || null}
7310
7585
  */
7311
7586
  this.Name = null;
7312
7587
 
7313
7588
  /**
7314
- * Creation time
7589
+ * <p>Creation time.</p>
7315
7590
  * @type {string || null}
7316
7591
  */
7317
7592
  this.CreateTime = null;
7318
7593
 
7319
7594
  /**
7320
- * Last updated time
7595
+ * <p>Last update time</p>
7321
7596
  * @type {string || null}
7322
7597
  */
7323
7598
  this.UpdateTime = null;
@@ -7423,7 +7698,7 @@ class UpgradeBrokerVersionResponse extends AbstractModel {
7423
7698
  super();
7424
7699
 
7425
7700
  /**
7426
- * Upgrade result.
7701
+ * <p>Upgrade result</p>
7427
7702
  * @type {JgwOperateResponse || null}
7428
7703
  */
7429
7704
  this.Result = null;
@@ -7617,48 +7892,24 @@ class DescModifyType extends AbstractModel {
7617
7892
  }
7618
7893
 
7619
7894
  /**
7620
- * Group offset partition object
7895
+ * Result object of the public network route IP allowlist for the instance
7621
7896
  * @class
7622
7897
  */
7623
- class GroupOffsetPartition extends AbstractModel {
7898
+ class ExternalAccessInfoWrapper extends AbstractModel {
7624
7899
  constructor(){
7625
7900
  super();
7626
7901
 
7627
7902
  /**
7628
- * Topic `partitionId`
7903
+ * <p>Number of IP allowlist access rules</p>
7629
7904
  * @type {number || null}
7630
7905
  */
7631
- this.Partition = null;
7632
-
7633
- /**
7634
- * Offset position submitted by consumer
7635
- * @type {number || null}
7636
- */
7637
- this.Offset = null;
7638
-
7639
- /**
7640
- * Supports consumers to submit messages with imported metadata for other purposes, currently an empty string.
7641
- * @type {string || null}
7642
- */
7643
- this.Metadata = null;
7644
-
7645
- /**
7646
- * Error code
7647
- * @type {number || null}
7648
- */
7649
- this.ErrorCode = null;
7650
-
7651
- /**
7652
- * Latest offset of current partition
7653
- * @type {number || null}
7654
- */
7655
- this.LogEndOffset = null;
7906
+ this.TotalCount = null;
7656
7907
 
7657
7908
  /**
7658
- * Number of unconsumed messages
7659
- * @type {number || null}
7909
+ * <p>IP allowlist</p>
7910
+ * @type {Array.<IpWhitelistDTO> || null}
7660
7911
  */
7661
- this.Lag = null;
7912
+ this.IpWhitelist = null;
7662
7913
 
7663
7914
  }
7664
7915
 
@@ -7669,12 +7920,16 @@ class GroupOffsetPartition extends AbstractModel {
7669
7920
  if (!params) {
7670
7921
  return;
7671
7922
  }
7672
- this.Partition = 'Partition' in params ? params.Partition : null;
7673
- this.Offset = 'Offset' in params ? params.Offset : null;
7674
- this.Metadata = 'Metadata' in params ? params.Metadata : null;
7675
- this.ErrorCode = 'ErrorCode' in params ? params.ErrorCode : null;
7676
- this.LogEndOffset = 'LogEndOffset' in params ? params.LogEndOffset : null;
7677
- this.Lag = 'Lag' in params ? params.Lag : null;
7923
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
7924
+
7925
+ if (params.IpWhitelist) {
7926
+ this.IpWhitelist = new Array();
7927
+ for (let z in params.IpWhitelist) {
7928
+ let obj = new IpWhitelistDTO();
7929
+ obj.deserialize(params.IpWhitelist[z]);
7930
+ this.IpWhitelist.push(obj);
7931
+ }
7932
+ }
7678
7933
 
7679
7934
  }
7680
7935
  }
@@ -7788,7 +8043,7 @@ class InstanceAttributesResponse extends AbstractModel {
7788
8043
  this.Vport = null;
7789
8044
 
7790
8045
  /**
7791
- * <P>Specifies the instance status. valid values: 0 (creating), 1 (running), 2 (deleting), 3 (deleted), 5 (isolated), 7 (upgrading), -1 (creation failed).</p>.
8046
+ * <p>Instance status. 0: Creating, 1: Running, 2: Deleting, 3: Deleted, 5: Isolated, 7: Upgrading, -1: Creation failed</p>
7792
8047
  * @type {number || null}
7793
8048
  */
7794
8049
  this.Status = null;
@@ -7914,7 +8169,7 @@ class InstanceAttributesResponse extends AbstractModel {
7914
8169
  this.Cvm = null;
7915
8170
 
7916
8171
  /**
7917
- * <p>Instance type. enumerates the list: profession: pro edition; standards2: standard version; premium: advanced edition; serverless: serverless edition.</p>.
8172
+ * <p>Instance type</p><p>Enumeration value:</p><ul><li>profession: Pro Edition</li><li>premium: Advanced Edition</li><li>serverless: Serverless Edition</li><li>other: Standard Version (for example: standards2/standard, this version is not available for sale)</li></ul>
7918
8173
  * @type {string || null}
7919
8174
  */
7920
8175
  this.InstanceType = null;
@@ -7986,19 +8241,19 @@ class InstanceAttributesResponse extends AbstractModel {
7986
8241
  this.InstanceChargeType = null;
7987
8242
 
7988
8243
  /**
7989
- * <p>Specifies whether to enable the elastic bandwidth allowlist. valid values: 1 (enabled), 0 (disabled).</p>.
8244
+ * <p>Whether to enable elastic bandwidth allowlist<br>1: Elastic bandwidth allowlist is enabled;<br>0: Elastic bandwidth allowlist is not enabled;</p>
7990
8245
  * @type {number || null}
7991
8246
  */
7992
8247
  this.ElasticBandwidthSwitch = null;
7993
8248
 
7994
8249
  /**
7995
- * <P>Specifies the elastic bandwidth activation status. 1: elastic bandwidth is disabled; 16: enabling elastic bandwidth; 32: elastic bandwidth enabled successfully; 33: disabling elastic bandwidth; 34: elastic bandwidth disabled successfully; 64: failed to enable elastic bandwidth; 65: failed to disable elastic bandwidth.</p>.
8250
+ * <p>Elastic bandwidth activation status<br>1: Elastic bandwidth not enabled;<br>16: Enabling elastic bandwidth;<br>32: Elastic bandwidth enabled successfully;<br>33: Disabling elastic bandwidth;<br>34: Elastic bandwidth disabled successfully;<br>64: Failed to enable elastic bandwidth;<br>65: Failed to disable elastic bandwidth;</p>
7996
8251
  * @type {number || null}
7997
8252
  */
7998
8253
  this.ElasticBandwidthOpenStatus = null;
7999
8254
 
8000
8255
  /**
8001
- * <p>ClusterType<br />CLOUD_IDC IDC cluster<br />CLOUD_CVM_SHARE CVM shared cluster<br />CLOUD_CVM_YUNTI YUNTI CVM cluster<br />CLOUD_CVM CVM cluster<br />CLOUD_CDC CDC cluster<br />CLOUD_EKS_TSE EKS cluster</p>.
8256
+ * <p>Cluster type<br>CLOUD_IDC IDC cluster<br>CLOUD_CVM_SHARE CVM shared cluster<br>CLOUD_CVM_YUNTI YunTi CVM cluster<br>CLOUD_CVM CVM cluster<br>CLOUD_CDC cdc cluster<br>CLOUD_EKS_TSE EKS cluster</p>
8002
8257
  * @type {string || null}
8003
8258
  */
8004
8259
  this.ClusterType = null;
@@ -8034,13 +8289,13 @@ class InstanceAttributesResponse extends AbstractModel {
8034
8289
  this.DeleteProtectionEnable = null;
8035
8290
 
8036
8291
  /**
8037
- * <p>Message retention size at the instance level</p>Measurement unit: bytes<br>Default value: -1
8292
+ * <p>Message retention size at the instance level</p><p>Measurement unit: bytes</p><p>Default value: -1</p>
8038
8293
  * @type {number || null}
8039
8294
  */
8040
8295
  this.RetentionBytes = null;
8041
8296
 
8042
8297
  /**
8043
- * <p>The maximum idle time of a transaction ID. Uncommitted transactions that time out will be marked with expiration.</p>Unit: ms
8298
+ * <p>Maximum idle time of transaction ID. Uncommitted transactions that time out will be marked with expiration.</p><p>Unit: ms</p>
8044
8299
  * @type {number || null}
8045
8300
  */
8046
8301
  this.TransactionalIdExpirationMs = null;
@@ -8146,7 +8401,7 @@ class DescribeDatahubTopicsResponse extends AbstractModel {
8146
8401
  super();
8147
8402
 
8148
8403
  /**
8149
- * Topic list.
8404
+ * <p>Topic list</p>
8150
8405
  * @type {DescribeDatahubTopicsResp || null}
8151
8406
  */
8152
8407
  this.Result = null;
@@ -8433,19 +8688,19 @@ class CreateUserRequest extends AbstractModel {
8433
8688
  super();
8434
8689
 
8435
8690
  /**
8436
- * The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.com/document/product/597/40835?from_cn_redirect=1) api.
8691
+ * <p>ckafka cluster instance Id, which can be obtained through the <a href="https://www.tencentcloud.com/document/product/597/40835?from_cn_redirect=1">DescribeInstances</a> API</p>
8437
8692
  * @type {string || null}
8438
8693
  */
8439
8694
  this.InstanceId = null;
8440
8695
 
8441
8696
  /**
8442
- * Username
8697
+ * <p>Username.</p>
8443
8698
  * @type {string || null}
8444
8699
  */
8445
8700
  this.Name = null;
8446
8701
 
8447
8702
  /**
8448
- * User password
8703
+ * <p>User password.</p>
8449
8704
  * @type {string || null}
8450
8705
  */
8451
8706
  this.Password = null;
@@ -8466,6 +8721,41 @@ class CreateUserRequest extends AbstractModel {
8466
8721
  }
8467
8722
  }
8468
8723
 
8724
+ /**
8725
+ * ModifyAccessPolicy response structure.
8726
+ * @class
8727
+ */
8728
+ class ModifyAccessPolicyResponse extends AbstractModel {
8729
+ constructor(){
8730
+ super();
8731
+
8732
+ /**
8733
+ * <p>Result of public IP allowlist modification</p>
8734
+ * @type {string || null}
8735
+ */
8736
+ this.Result = null;
8737
+
8738
+ /**
8739
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
8740
+ * @type {string || null}
8741
+ */
8742
+ this.RequestId = null;
8743
+
8744
+ }
8745
+
8746
+ /**
8747
+ * @private
8748
+ */
8749
+ deserialize(params) {
8750
+ if (!params) {
8751
+ return;
8752
+ }
8753
+ this.Result = 'Result' in params ? params.Result : null;
8754
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
8755
+
8756
+ }
8757
+ }
8758
+
8469
8759
  /**
8470
8760
  * Returned result of instance details
8471
8761
  * @class
@@ -8559,24 +8849,24 @@ class DeleteRouteRequest extends AbstractModel {
8559
8849
  }
8560
8850
 
8561
8851
  /**
8562
- * DeleteTopicIpWhiteList response structure.
8852
+ * Instance billing parameters
8563
8853
  * @class
8564
8854
  */
8565
- class DeleteTopicIpWhiteListResponse extends AbstractModel {
8855
+ class InstanceChargeParam extends AbstractModel {
8566
8856
  constructor(){
8567
8857
  super();
8568
8858
 
8569
8859
  /**
8570
- * Result of deleting topic IP allowlist
8571
- * @type {JgwOperateResponse || null}
8860
+ * Instance billing mode (`PREPAID`: Yearly/monthly subscription; `POSTPAID_BY_HOUR`: Pay-as-you-go)
8861
+ * @type {string || null}
8572
8862
  */
8573
- this.Result = null;
8863
+ this.InstanceChargeType = null;
8574
8864
 
8575
8865
  /**
8576
- * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
8577
- * @type {string || null}
8866
+ * Validity period, which is only required for the monthly subscription billing mode
8867
+ * @type {number || null}
8578
8868
  */
8579
- this.RequestId = null;
8869
+ this.InstanceChargePeriod = null;
8580
8870
 
8581
8871
  }
8582
8872
 
@@ -8587,13 +8877,8 @@ class DeleteTopicIpWhiteListResponse extends AbstractModel {
8587
8877
  if (!params) {
8588
8878
  return;
8589
8879
  }
8590
-
8591
- if (params.Result) {
8592
- let obj = new JgwOperateResponse();
8593
- obj.deserialize(params.Result)
8594
- this.Result = obj;
8595
- }
8596
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
8880
+ this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
8881
+ this.InstanceChargePeriod = 'InstanceChargePeriod' in params ? params.InstanceChargePeriod : null;
8597
8882
 
8598
8883
  }
8599
8884
  }
@@ -9042,7 +9327,7 @@ class CreateDatahubTopicResponse extends AbstractModel {
9042
9327
  super();
9043
9328
 
9044
9329
  /**
9045
- * Returned creation result
9330
+ * <p>Return creation result</p>
9046
9331
  * @type {DatahubTopicResp || null}
9047
9332
  */
9048
9333
  this.Result = null;
@@ -9749,24 +10034,24 @@ class DescribeGroupInfoRequest extends AbstractModel {
9749
10034
  }
9750
10035
 
9751
10036
  /**
9752
- * `DescribeGroup` response entity
10037
+ * DescribeAccessPolicy response structure.
9753
10038
  * @class
9754
10039
  */
9755
- class DescribeGroup extends AbstractModel {
10040
+ class DescribeAccessPolicyResponse extends AbstractModel {
9756
10041
  constructor(){
9757
10042
  super();
9758
10043
 
9759
10044
  /**
9760
- * Consumer group name.
9761
- * @type {string || null}
10045
+ * <p>Public network IP allowlist configuration list of the instance</p>
10046
+ * @type {ExternalAccessInfoWrapper || null}
9762
10047
  */
9763
- this.Group = null;
10048
+ this.Result = null;
9764
10049
 
9765
10050
  /**
9766
- * Protocol used by the group.
10051
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
9767
10052
  * @type {string || null}
9768
10053
  */
9769
- this.Protocol = null;
10054
+ this.RequestId = null;
9770
10055
 
9771
10056
  }
9772
10057
 
@@ -9777,8 +10062,13 @@ class DescribeGroup extends AbstractModel {
9777
10062
  if (!params) {
9778
10063
  return;
9779
10064
  }
9780
- this.Group = 'Group' in params ? params.Group : null;
9781
- this.Protocol = 'Protocol' in params ? params.Protocol : null;
10065
+
10066
+ if (params.Result) {
10067
+ let obj = new ExternalAccessInfoWrapper();
10068
+ obj.deserialize(params.Result)
10069
+ this.Result = obj;
10070
+ }
10071
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
9782
10072
 
9783
10073
  }
9784
10074
  }
@@ -10049,7 +10339,7 @@ class ModifyDatahubTopicResponse extends AbstractModel {
10049
10339
  super();
10050
10340
 
10051
10341
  /**
10052
- * Returned result set
10342
+ * <p>Returned result set</p>
10053
10343
  * @type {JgwOperateResponse || null}
10054
10344
  */
10055
10345
  this.Result = null;
@@ -10080,6 +10370,41 @@ class ModifyDatahubTopicResponse extends AbstractModel {
10080
10370
  }
10081
10371
  }
10082
10372
 
10373
+ /**
10374
+ * `DescribeGroup` response entity
10375
+ * @class
10376
+ */
10377
+ class DescribeGroup extends AbstractModel {
10378
+ constructor(){
10379
+ super();
10380
+
10381
+ /**
10382
+ * Consumer group name.
10383
+ * @type {string || null}
10384
+ */
10385
+ this.Group = null;
10386
+
10387
+ /**
10388
+ * Protocol used by the group.
10389
+ * @type {string || null}
10390
+ */
10391
+ this.Protocol = null;
10392
+
10393
+ }
10394
+
10395
+ /**
10396
+ * @private
10397
+ */
10398
+ deserialize(params) {
10399
+ if (!params) {
10400
+ return;
10401
+ }
10402
+ this.Group = 'Group' in params ? params.Group : null;
10403
+ this.Protocol = 'Protocol' in params ? params.Protocol : null;
10404
+
10405
+ }
10406
+ }
10407
+
10083
10408
  /**
10084
10409
  * DescribeDatahubTopics request structure.
10085
10410
  * @class
@@ -10089,37 +10414,37 @@ class DescribeDatahubTopicsRequest extends AbstractModel {
10089
10414
  super();
10090
10415
 
10091
10416
  /**
10092
- * Search term.
10417
+ * <p>Search term</p><p>Performs fuzzy matching on the Name, TopicName, or TopicId field.</p>
10093
10418
  * @type {string || null}
10094
10419
  */
10095
10420
  this.SearchWord = null;
10096
10421
 
10097
10422
  /**
10098
- * Query offset, which defaults to `0`.
10423
+ * <p>Offset position of this page, defaults to 0</p>
10099
10424
  * @type {number || null}
10100
10425
  */
10101
10426
  this.Offset = null;
10102
10427
 
10103
10428
  /**
10104
- * Maximum number of results to be returned in this request. Default value: `50`. Maximum value: `50`.
10429
+ * <p>Maximum number of returned results this time</p><p>Value ranges from 1 to 100</p><p>Default value: 20</p>
10105
10430
  * @type {number || null}
10106
10431
  */
10107
10432
  this.Limit = null;
10108
10433
 
10109
10434
  /**
10110
- * Specifies whether to query the topic list from the connection.
10435
+ * <p>Whether to query the topic list from the connection query</p><p>Default value: false</p>
10111
10436
  * @type {boolean || null}
10112
10437
  */
10113
10438
  this.QueryFromConnectResource = null;
10114
10439
 
10115
10440
  /**
10116
- * Connection ID.
10441
+ * <p>Connection ID.</p>
10117
10442
  * @type {string || null}
10118
10443
  */
10119
10444
  this.ConnectResourceId = null;
10120
10445
 
10121
10446
  /**
10122
- * topic resource expression.
10447
+ * <p>topic resource expression</p>
10123
10448
  * @type {string || null}
10124
10449
  */
10125
10450
  this.TopicRegularExpression = null;
@@ -10601,60 +10926,24 @@ Note: This field may return null, indicating that no valid values can be obtaine
10601
10926
  }
10602
10927
 
10603
10928
  /**
10604
- * ModifyGroupOffsets request structure.
10929
+ * IsolatedInstancePre response structure.
10605
10930
  * @class
10606
10931
  */
10607
- class ModifyGroupOffsetsRequest extends AbstractModel {
10932
+ class IsolatedInstancePreResponse extends AbstractModel {
10608
10933
  constructor(){
10609
10934
  super();
10610
10935
 
10611
10936
  /**
10612
- * ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.com/document/product/597/40835?from_cn_redirect=1).
10613
- * @type {string || null}
10937
+ * Return result
10938
+ * @type {CreateInstancePreResp || null}
10614
10939
  */
10615
- this.InstanceId = null;
10940
+ this.Result = null;
10616
10941
 
10617
10942
  /**
10618
- * Consumer group name. obtain through the API [DescribeConsumerGroup](https://www.tencentcloud.com/document/product/597/40841?from_cn_redirect=1).
10943
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
10619
10944
  * @type {string || null}
10620
10945
  */
10621
- this.Group = null;
10622
-
10623
- /**
10624
- * Reset offset strategy. parameter meaning: 0. align with the shift-by parameter, move the offset forward or backward by shift entries. 1. alignment reference (by-duration, to-datetime, to-earliest, to-latest), move the offset to the specified timestamp position. 2. alignment reference (to-offset), move the offset to the specified offset position.
10625
- * @type {number || null}
10626
- */
10627
- this.Strategy = null;
10628
-
10629
- /**
10630
- * Specifies the topic name list that needs to reset.
10631
- * @type {Array.<string> || null}
10632
- */
10633
- this.Topics = null;
10634
-
10635
- /**
10636
- * When `strategy` is 0, this field is required. If it is above zero, the offset will be shifted backward by the value of the `shift`. If it is below zero, the offset will be shifted forward by the value of the `shift`. After a correct reset, the new offset should be (old_offset + shift). Note that if the new offset is smaller than the `earliest` parameter of the partition, it will be set to `earliest`, and if it is greater than the `latest` parameter of the partition, it will be set to `latest`
10637
- * @type {number || null}
10638
- */
10639
- this.Shift = null;
10640
-
10641
- /**
10642
- * In milliseconds. when strategy is 1, must include this field. among them, -2 means reset offset to the start position, -1 means reset to the latest position (equivalent to clearing), other values represent the specified time. obtain the offset at the specified time in the topic and reset. notably, if no message exists at the specified time, get the last offset.
10643
- * @type {number || null}
10644
- */
10645
- this.ShiftTimestamp = null;
10646
-
10647
- /**
10648
- * Position of the offset that needs to be reset. When `strategy` is 2, this field is required
10649
- * @type {number || null}
10650
- */
10651
- this.Offset = null;
10652
-
10653
- /**
10654
- * List of partitions that need to be reset. If the topics parameter is not specified, reset partitions in the corresponding partition list of all topics. If the topics parameter is specified, reset partitions of the corresponding partition list of the specified topic list.
10655
- * @type {Array.<number> || null}
10656
- */
10657
- this.Partitions = null;
10946
+ this.RequestId = null;
10658
10947
 
10659
10948
  }
10660
10949
 
@@ -10665,14 +10954,13 @@ class ModifyGroupOffsetsRequest extends AbstractModel {
10665
10954
  if (!params) {
10666
10955
  return;
10667
10956
  }
10668
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
10669
- this.Group = 'Group' in params ? params.Group : null;
10670
- this.Strategy = 'Strategy' in params ? params.Strategy : null;
10671
- this.Topics = 'Topics' in params ? params.Topics : null;
10672
- this.Shift = 'Shift' in params ? params.Shift : null;
10673
- this.ShiftTimestamp = 'ShiftTimestamp' in params ? params.ShiftTimestamp : null;
10674
- this.Offset = 'Offset' in params ? params.Offset : null;
10675
- this.Partitions = 'Partitions' in params ? params.Partitions : null;
10957
+
10958
+ if (params.Result) {
10959
+ let obj = new CreateInstancePreResp();
10960
+ obj.deserialize(params.Result)
10961
+ this.Result = obj;
10962
+ }
10963
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
10676
10964
 
10677
10965
  }
10678
10966
  }
@@ -11126,25 +11414,25 @@ class ModifyDatahubTopicRequest extends AbstractModel {
11126
11414
  super();
11127
11415
 
11128
11416
  /**
11129
- * Elastic topic name.
11417
+ * <p>Elastic topic name</p><p>For reference: <a href="https://www.tencentcloud.com/document/api/597/86863?from_cn_redirect=1">DescribeDatahubTopics</a></p>
11130
11418
  * @type {string || null}
11131
11419
  */
11132
11420
  this.Name = null;
11133
11421
 
11134
11422
  /**
11135
- * Message retention period in ms. The current minimum value is 60,000 ms.
11423
+ * <p>Message retention period in milliseconds. Current min value is 60000 ms.</p>
11136
11424
  * @type {number || null}
11137
11425
  */
11138
11426
  this.RetentionMs = null;
11139
11427
 
11140
11428
  /**
11141
- * Topic remarks, which are a string of up to 64 characters. It can contain letters, digits, and hyphens (-) and must start with a letter.
11429
+ * <p>Topic remark</p><p>Input parameter limit: no more than 64 characters</p>
11142
11430
  * @type {string || null}
11143
11431
  */
11144
11432
  this.Note = null;
11145
11433
 
11146
11434
  /**
11147
- * Tag list
11435
+ * <p>Tag list</p>
11148
11436
  * @type {Array.<Tag> || null}
11149
11437
  */
11150
11438
  this.Tags = null;
@@ -11357,7 +11645,7 @@ class CreateInstancePreRequest extends AbstractModel {
11357
11645
  this.ZoneId = null;
11358
11646
 
11359
11647
  /**
11360
- * <P>Specifies the prepaid purchase duration, such as "1m" (exactly one month). value ranges from 1m to 36m.</p>.
11648
+ * <p>Prepaid purchase duration, for example "1m", exactly one month, value ranges from 1m to 36m.</p>
11361
11649
  * @type {string || null}
11362
11650
  */
11363
11651
  this.Period = null;
@@ -11405,7 +11693,7 @@ class CreateInstancePreRequest extends AbstractModel {
11405
11693
  this.KafkaVersion = null;
11406
11694
 
11407
11695
  /**
11408
- * <P>Instance type. specifies "standard" for standard edition instance (default), "profession" for professional edition instance, "premium" for advanced edition instance.</p>.
11696
+ * <p>Instance type: Fill in "standard" for [standard edition instance] (default), "profession" for [professional edition instance], and "premium" for [Advanced Edition Instance].</p>
11409
11697
  * @type {string || null}
11410
11698
  */
11411
11699
  this.SpecificationsType = null;
@@ -11435,7 +11723,7 @@ class CreateInstancePreRequest extends AbstractModel {
11435
11723
  this.Tags = null;
11436
11724
 
11437
11725
  /**
11438
- * <p>Specifies the instance disk type for pro edition/advanced edition. standard edition instances do not require this field. valid values: "CLOUD_SSD" (SSD CLOUD disk), "CLOUD_BASIC" (high-performance CLOUD block storage). default value: "CLOUD_BASIC".</p>.
11726
+ * <p>Instance disk type for Pro Edition/Advanced Edition instances. You do not need to fill it in for Standard Edition instances. "CLOUD_SSD": SSD CLOUD disk; "CLOUD_BASIC": high-performance CLOUD block storage. Defaults to "CLOUD_BASIC" if not specified.</p>
11439
11727
  * @type {string || null}
11440
11728
  */
11441
11729
  this.DiskType = null;
@@ -11482,6 +11770,12 @@ class CreateInstancePreRequest extends AbstractModel {
11482
11770
  */
11483
11771
  this.CustomSSLCertId = null;
11484
11772
 
11773
+ /**
11774
+ * <p>Elastic storage switch</p><p>Enumeration value:</p><ul><li>0: Turn off</li><li>1: Turn on</li></ul><p>Default value: 0</p>
11775
+ * @type {number || null}
11776
+ */
11777
+ this.StoreQuantityType = null;
11778
+
11485
11779
  }
11486
11780
 
11487
11781
  /**
@@ -11522,48 +11816,7 @@ class CreateInstancePreRequest extends AbstractModel {
11522
11816
  this.AutoVoucher = 'AutoVoucher' in params ? params.AutoVoucher : null;
11523
11817
  this.ElasticBandwidthSwitch = 'ElasticBandwidthSwitch' in params ? params.ElasticBandwidthSwitch : null;
11524
11818
  this.CustomSSLCertId = 'CustomSSLCertId' in params ? params.CustomSSLCertId : null;
11525
-
11526
- }
11527
- }
11528
-
11529
- /**
11530
- * DeleteTopicIpWhiteList request structure.
11531
- * @class
11532
- */
11533
- class DeleteTopicIpWhiteListRequest extends AbstractModel {
11534
- constructor(){
11535
- super();
11536
-
11537
- /**
11538
- * The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.com/document/product/597/40835?from_cn_redirect=1) api.
11539
- * @type {string || null}
11540
- */
11541
- this.InstanceId = null;
11542
-
11543
- /**
11544
- * Specifies the topic name, which can be obtained through the [DescribeTopic](https://www.tencentcloud.com/document/product/597/40847?from_cn_redirect=1) api.
11545
- * @type {string || null}
11546
- */
11547
- this.TopicName = null;
11548
-
11549
- /**
11550
- * IP allowlist list
11551
- * @type {Array.<string> || null}
11552
- */
11553
- this.IpWhiteList = null;
11554
-
11555
- }
11556
-
11557
- /**
11558
- * @private
11559
- */
11560
- deserialize(params) {
11561
- if (!params) {
11562
- return;
11563
- }
11564
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
11565
- this.TopicName = 'TopicName' in params ? params.TopicName : null;
11566
- this.IpWhiteList = 'IpWhiteList' in params ? params.IpWhiteList : null;
11819
+ this.StoreQuantityType = 'StoreQuantityType' in params ? params.StoreQuantityType : null;
11567
11820
 
11568
11821
  }
11569
11822
  }
@@ -11914,7 +12167,7 @@ class InstanceDetail extends AbstractModel {
11914
12167
  this.VipList = null;
11915
12168
 
11916
12169
  /**
11917
- * <P>Specifies the instance status. valid values: 0 (creating), 1 (running), 2 (deleting), 3 (deleted), 5 (isolated), 7 (upgrading), -1 (creation failed).</p>.
12170
+ * <p>Instance status. 0: Creating, 1: Running, 2: Deleting, 3: Deleted, 5: Isolated, 7: Upgrading, -1: Creation failed</p>
11918
12171
  * @type {number || null}
11919
12172
  */
11920
12173
  this.Status = null;
@@ -12076,7 +12329,7 @@ class InstanceDetail extends AbstractModel {
12076
12329
  this.Features = null;
12077
12330
 
12078
12331
  /**
12079
- * <p>Message retention size at the instance level</p>Measurement unit: byte<br>Default value: -1<br><p>Message retention size at the instance level</p>
12332
+ * <p>Message retention size at the instance level</p><p>Measurement unit: byte</p><p>Default value: -1</p><p>Message retention size at the instance level</p>
12080
12333
  * @type {number || null}
12081
12334
  */
12082
12335
  this.RetentionBytes = null;
@@ -12522,6 +12775,7 @@ module.exports = {
12522
12775
  Assignment: Assignment,
12523
12776
  ModifyAclRuleRequest: ModifyAclRuleRequest,
12524
12777
  DescribeAclRuleResponse: DescribeAclRuleResponse,
12778
+ GroupOffsetPartition: GroupOffsetPartition,
12525
12779
  DescribeConsumerGroupResponse: DescribeConsumerGroupResponse,
12526
12780
  InquiryDetailPrice: InquiryDetailPrice,
12527
12781
  FetchMessageListByOffsetResponse: FetchMessageListByOffsetResponse,
@@ -12557,13 +12811,14 @@ module.exports = {
12557
12811
  DescribeTypeInstancesResponse: DescribeTypeInstancesResponse,
12558
12812
  Tag: Tag,
12559
12813
  ModifyAclRuleResponse: ModifyAclRuleResponse,
12814
+ ModifyInstanceAttributesResponse: ModifyInstanceAttributesResponse,
12560
12815
  BatchModifyGroupOffsetsResponse: BatchModifyGroupOffsetsResponse,
12561
12816
  SecurityGroupRoute: SecurityGroupRoute,
12562
12817
  GroupResponse: GroupResponse,
12563
12818
  FetchMessageListByTimestampRequest: FetchMessageListByTimestampRequest,
12564
12819
  CreateDatahubTopicRequest: CreateDatahubTopicRequest,
12565
- InstanceChargeParam: InstanceChargeParam,
12566
12820
  CreateInstancePostResp: CreateInstancePostResp,
12821
+ ModifyGroupOffsetsRequest: ModifyGroupOffsetsRequest,
12567
12822
  DescribeDatahubTopicResponse: DescribeDatahubTopicResponse,
12568
12823
  DescribeConsumerGroupRequest: DescribeConsumerGroupRequest,
12569
12824
  DescribeCvmInfoRequest: DescribeCvmInfoRequest,
@@ -12620,7 +12875,9 @@ module.exports = {
12620
12875
  BatchContent: BatchContent,
12621
12876
  DeleteRouteTriggerTimeResponse: DeleteRouteTriggerTimeResponse,
12622
12877
  DescribeUserResponse: DescribeUserResponse,
12878
+ ModifyAccessPolicyRequest: ModifyAccessPolicyRequest,
12623
12879
  DescribeTopicRequest: DescribeTopicRequest,
12880
+ IsolatedInstancePreRequest: IsolatedInstancePreRequest,
12624
12881
  DealInstanceDTO: DealInstanceDTO,
12625
12882
  CreatePartitionRequest: CreatePartitionRequest,
12626
12883
  Group: Group,
@@ -12639,11 +12896,12 @@ module.exports = {
12639
12896
  Config: Config,
12640
12897
  ModifyPasswordRequest: ModifyPasswordRequest,
12641
12898
  ModifyInstanceAttributesRequest: ModifyInstanceAttributesRequest,
12899
+ DescribeAccessPolicyRequest: DescribeAccessPolicyRequest,
12642
12900
  DescribeRegionResponse: DescribeRegionResponse,
12643
12901
  CreateTopicResponse: CreateTopicResponse,
12644
12902
  VipEntity: VipEntity,
12645
12903
  DescribeTopicProduceConnectionResponse: DescribeTopicProduceConnectionResponse,
12646
- ModifyInstanceAttributesResponse: ModifyInstanceAttributesResponse,
12904
+ IpWhitelistDTO: IpWhitelistDTO,
12647
12905
  ConsumerGroupTopic: ConsumerGroupTopic,
12648
12906
  User: User,
12649
12907
  CreateAclRuleResponse: CreateAclRuleResponse,
@@ -12652,7 +12910,7 @@ module.exports = {
12652
12910
  CreateInstancePostData: CreateInstancePostData,
12653
12911
  DescribeGroupOffsetsRequest: DescribeGroupOffsetsRequest,
12654
12912
  DescModifyType: DescModifyType,
12655
- GroupOffsetPartition: GroupOffsetPartition,
12913
+ ExternalAccessInfoWrapper: ExternalAccessInfoWrapper,
12656
12914
  DescribeInstancesRequest: DescribeInstancesRequest,
12657
12915
  InstanceAttributesResponse: InstanceAttributesResponse,
12658
12916
  DescribeDatahubTopicsResponse: DescribeDatahubTopicsResponse,
@@ -12662,9 +12920,10 @@ module.exports = {
12662
12920
  DescribeSecurityGroupRoutesRequest: DescribeSecurityGroupRoutesRequest,
12663
12921
  ModifyInstancePreResponse: ModifyInstancePreResponse,
12664
12922
  CreateUserRequest: CreateUserRequest,
12923
+ ModifyAccessPolicyResponse: ModifyAccessPolicyResponse,
12665
12924
  InstanceDetailResponse: InstanceDetailResponse,
12666
12925
  DeleteRouteRequest: DeleteRouteRequest,
12667
- DeleteTopicIpWhiteListResponse: DeleteTopicIpWhiteListResponse,
12926
+ InstanceChargeParam: InstanceChargeParam,
12668
12927
  CreateInstancePreResponse: CreateInstancePreResponse,
12669
12928
  CvmAndIpInfo: CvmAndIpInfo,
12670
12929
  DescribeInstancesDetailRequest: DescribeInstancesDetailRequest,
@@ -12689,13 +12948,14 @@ module.exports = {
12689
12948
  InstanceResponse: InstanceResponse,
12690
12949
  DatahubTopicDTO: DatahubTopicDTO,
12691
12950
  DescribeGroupInfoRequest: DescribeGroupInfoRequest,
12692
- DescribeGroup: DescribeGroup,
12951
+ DescribeAccessPolicyResponse: DescribeAccessPolicyResponse,
12693
12952
  TopicPartitionDO: TopicPartitionDO,
12694
12953
  CreateTopicResp: CreateTopicResp,
12695
12954
  TaskStatusResponse: TaskStatusResponse,
12696
12955
  BatchModifyTopicInfo: BatchModifyTopicInfo,
12697
12956
  DescribeRouteResponse: DescribeRouteResponse,
12698
12957
  ModifyDatahubTopicResponse: ModifyDatahubTopicResponse,
12958
+ DescribeGroup: DescribeGroup,
12699
12959
  DescribeDatahubTopicsRequest: DescribeDatahubTopicsRequest,
12700
12960
  DescribeTypeInstancesRequest: DescribeTypeInstancesRequest,
12701
12961
  InquiryPrice: InquiryPrice,
@@ -12704,7 +12964,7 @@ module.exports = {
12704
12964
  DescribeGroupOffsetsResponse: DescribeGroupOffsetsResponse,
12705
12965
  SendMessageRequest: SendMessageRequest,
12706
12966
  ConsumerRecord: ConsumerRecord,
12707
- ModifyGroupOffsetsRequest: ModifyGroupOffsetsRequest,
12967
+ IsolatedInstancePreResponse: IsolatedInstancePreResponse,
12708
12968
  BatchModifyTopicAttributesRequest: BatchModifyTopicAttributesRequest,
12709
12969
  DeleteGroupResponse: DeleteGroupResponse,
12710
12970
  CreateTopicIpWhiteListRequest: CreateTopicIpWhiteListRequest,
@@ -12716,7 +12976,6 @@ module.exports = {
12716
12976
  ModifyDatahubTopicRequest: ModifyDatahubTopicRequest,
12717
12977
  ModifyTopicAttributesRequest: ModifyTopicAttributesRequest,
12718
12978
  CreateInstancePreRequest: CreateInstancePreRequest,
12719
- DeleteTopicIpWhiteListRequest: DeleteTopicIpWhiteListRequest,
12720
12979
  DeleteTopicResponse: DeleteTopicResponse,
12721
12980
  DescribeDatahubTopicResp: DescribeDatahubTopicResp,
12722
12981
  DescribeTaskStatusRequest: DescribeTaskStatusRequest,