tencentcloud-sdk-nodejs-intl-en 3.0.384 → 3.0.385

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.384",
3
+ "version": "3.0.385",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -273,7 +273,7 @@ class ApigatewayClient extends AbstractClient {
273
273
 
274
274
  /**
275
275
  * This API is used to create a service.
276
- The maximum unit in API Gateway is service. Multiple APIs can be created in one service, and each service has a default domain name for users to call. You can also bind your own custom domain name to a service.
276
+ A service is the biggest usage unit in API Gateway. Each service can contain multiple APIs and one default domain name for invocation. You can also bind your own custom domain name to a service.
277
277
  * @param {CreateServiceRequest} req
278
278
  * @param {function(string, CreateServiceResponse):void} cb
279
279
  * @public
@@ -6591,6 +6591,42 @@ class ModifyApiRequest extends AbstractModel {
6591
6591
  */
6592
6592
  this.Base64EncodedTriggerRules = null;
6593
6593
 
6594
+ /**
6595
+ * Event bus ID.
6596
+ * @type {string || null}
6597
+ */
6598
+ this.EventBusId = null;
6599
+
6600
+ /**
6601
+ * SCF function type, which takes effect when the backend type is `SCF`. Valid values: `EVENT` and `HTTP`.
6602
+ * @type {string || null}
6603
+ */
6604
+ this.ServiceScfFunctionType = null;
6605
+
6606
+ /**
6607
+ * EIAM application type.
6608
+ * @type {string || null}
6609
+ */
6610
+ this.EIAMAppType = null;
6611
+
6612
+ /**
6613
+ * EIAM application authentication type. Valid values: `AuthenticationOnly`, `Authentication`, `Authorization`.
6614
+ * @type {string || null}
6615
+ */
6616
+ this.EIAMAuthType = null;
6617
+
6618
+ /**
6619
+ * Validity of the EIAM application token. Unit: second. Default value: `7200`.
6620
+ * @type {string || null}
6621
+ */
6622
+ this.EIAMAppId = null;
6623
+
6624
+ /**
6625
+ * EIAM application ID.
6626
+ * @type {number || null}
6627
+ */
6628
+ this.TokenTimeout = null;
6629
+
6594
6630
  }
6595
6631
 
6596
6632
  /**
@@ -6731,6 +6767,12 @@ class ModifyApiRequest extends AbstractModel {
6731
6767
  this.Base64EncodedTriggerRules.push(obj);
6732
6768
  }
6733
6769
  }
6770
+ this.EventBusId = 'EventBusId' in params ? params.EventBusId : null;
6771
+ this.ServiceScfFunctionType = 'ServiceScfFunctionType' in params ? params.ServiceScfFunctionType : null;
6772
+ this.EIAMAppType = 'EIAMAppType' in params ? params.EIAMAppType : null;
6773
+ this.EIAMAuthType = 'EIAMAuthType' in params ? params.EIAMAuthType : null;
6774
+ this.EIAMAppId = 'EIAMAppId' in params ? params.EIAMAppId : null;
6775
+ this.TokenTimeout = 'TokenTimeout' in params ? params.TokenTimeout : null;
6734
6776
 
6735
6777
  }
6736
6778
  }
@@ -7425,6 +7467,12 @@ class CreateApiRequest extends AbstractModel {
7425
7467
  */
7426
7468
  this.IsBase64Encoded = null;
7427
7469
 
7470
+ /**
7471
+ * Event bus ID.
7472
+ * @type {string || null}
7473
+ */
7474
+ this.EventBusId = null;
7475
+
7428
7476
  /**
7429
7477
  * SCF function type, which takes effect if the backend type is `SCF`. Valid values: `EVENT` and `HTTP`.
7430
7478
  * @type {string || null}
@@ -7588,6 +7636,7 @@ class CreateApiRequest extends AbstractModel {
7588
7636
  this.TargetNamespaceId = 'TargetNamespaceId' in params ? params.TargetNamespaceId : null;
7589
7637
  this.UserType = 'UserType' in params ? params.UserType : null;
7590
7638
  this.IsBase64Encoded = 'IsBase64Encoded' in params ? params.IsBase64Encoded : null;
7639
+ this.EventBusId = 'EventBusId' in params ? params.EventBusId : null;
7591
7640
  this.ServiceScfFunctionType = 'ServiceScfFunctionType' in params ? params.ServiceScfFunctionType : null;
7592
7641
  this.EIAMAppType = 'EIAMAppType' in params ? params.EIAMAppType : null;
7593
7642
  this.EIAMAuthType = 'EIAMAuthType' in params ? params.EIAMAuthType : null;
@@ -302,6 +302,7 @@ This is an async API. After it is returned successfully, you can call the Descri
302
302
 
303
303
  /**
304
304
  * This API is used to delete the SNAT IP for an SnatPro CLB instance.
305
+ This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.
305
306
  * @param {DeleteLoadBalancerSnatIpsRequest} req
306
307
  * @param {function(string, DeleteLoadBalancerSnatIpsResponse):void} cb
307
308
  * @public
@@ -889,6 +890,7 @@ This is an async API. After it is returned successfully, you can call the Descri
889
890
 
890
891
  /**
891
892
  * This API is used to modify the attributes of a CLB instance such as name and cross-region attributes.
893
+ This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.
892
894
  * @param {ModifyLoadBalancerAttributesRequest} req
893
895
  * @param {function(string, ModifyLoadBalancerAttributesResponse):void} cb
894
896
  * @public
@@ -912,6 +914,7 @@ This is an async API. After it is returned successfully, you can call the `Descr
912
914
 
913
915
  /**
914
916
  * This API is used to add an SNAT IP for an SnatPro CLB instance. If SnatPro is not enabled for CLB, it will be automatically enabled after the SNAT IP is added.
917
+ This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.
915
918
  * @param {CreateLoadBalancerSnatIpsRequest} req
916
919
  * @param {function(string, CreateLoadBalancerSnatIpsResponse):void} cb
917
920
  * @public
@@ -736,7 +736,7 @@ class DeleteRuleRequest extends AbstractModel {
736
736
  this.LocationIds = null;
737
737
 
738
738
  /**
739
- * Domain name of the forwarding rule to be deleted. This parameter does not take effect if LocationIds is specified.
739
+ * Specifies the target domain name. Only one domain name is allowed. This field is invalid when `LocationIds` is specified.
740
740
  * @type {string || null}
741
741
  */
742
742
  this.Domain = null;
@@ -748,7 +748,7 @@ class DeleteRuleRequest extends AbstractModel {
748
748
  this.Url = null;
749
749
 
750
750
  /**
751
- * A listener must be configured with a default domain name. If you need to delete the default domain name, you can specify another one as the new default domain name.
751
+ * Specifies a new default domain name for the listener. This field is used when the original default domain name is disabled. If there are multiple domain names, specify one of them.
752
752
  * @type {string || null}
753
753
  */
754
754
  this.NewDefaultServerDomain = null;
@@ -4092,8 +4092,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
4092
4092
  this.HttpVersion = null;
4093
4093
 
4094
4094
  /**
4095
- * Specifies the source IP for health check. `0`: use the CLB VIP as the source IP; `1`: IP range starting with 100.64 serving as the source IP. Default: `0`.
4096
- Note: this field may return `null`, indicating that no valid values can be obtained.
4095
+ * Specifies the type of IP for health check. `0` (default): Use the CLB VIP as the source IP. `1`: Use the IP range starting with 100.64 as the source IP.
4096
+ Note: This field may return `null`, indicating that no valid values can be obtained.
4097
4097
  * @type {number || null}
4098
4098
  */
4099
4099
  this.SourceIpType = null;
@@ -4181,6 +4181,12 @@ class CreateTopicRequest extends AbstractModel {
4181
4181
  */
4182
4182
  this.TopicType = null;
4183
4183
 
4184
+ /**
4185
+ * Logset retention period (in days). Default: 30 days.
4186
+ * @type {number || null}
4187
+ */
4188
+ this.Period = null;
4189
+
4184
4190
  }
4185
4191
 
4186
4192
  /**
@@ -4193,6 +4199,7 @@ class CreateTopicRequest extends AbstractModel {
4193
4199
  this.TopicName = 'TopicName' in params ? params.TopicName : null;
4194
4200
  this.PartitionCount = 'PartitionCount' in params ? params.PartitionCount : null;
4195
4201
  this.TopicType = 'TopicType' in params ? params.TopicType : null;
4202
+ this.Period = 'Period' in params ? params.Period : null;
4196
4203
 
4197
4204
  }
4198
4205
  }
@@ -5678,6 +5685,13 @@ Note: this field may return null, indicating that no valid values can be obtaine
5678
5685
  */
5679
5686
  this.QuicStatus = null;
5680
5687
 
5688
+ /**
5689
+ * List of domain names associated with the forwarding rule
5690
+ Note: This field may return `null`, indicating that no valid values can be obtained.
5691
+ * @type {Array.<string> || null}
5692
+ */
5693
+ this.Domains = null;
5694
+
5681
5695
  }
5682
5696
 
5683
5697
  /**
@@ -5728,6 +5742,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
5728
5742
  this.TrpcCallee = 'TrpcCallee' in params ? params.TrpcCallee : null;
5729
5743
  this.TrpcFunc = 'TrpcFunc' in params ? params.TrpcFunc : null;
5730
5744
  this.QuicStatus = 'QuicStatus' in params ? params.QuicStatus : null;
5745
+ this.Domains = 'Domains' in params ? params.Domains : null;
5731
5746
 
5732
5747
  }
5733
5748
  }
@@ -6541,18 +6556,18 @@ class CreateClsLogSetRequest extends AbstractModel {
6541
6556
  constructor(){
6542
6557
  super();
6543
6558
 
6544
- /**
6545
- * Logset retention period in days; max value: 90
6546
- * @type {number || null}
6547
- */
6548
- this.Period = null;
6549
-
6550
6559
  /**
6551
6560
  * Logset name, which must be unique among all CLS logsets; default value: clb_logset
6552
6561
  * @type {string || null}
6553
6562
  */
6554
6563
  this.LogsetName = null;
6555
6564
 
6565
+ /**
6566
+ * Logset retention period (in days)
6567
+ * @type {number || null}
6568
+ */
6569
+ this.Period = null;
6570
+
6556
6571
  /**
6557
6572
  * Logset type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs).
6558
6573
  * @type {string || null}
@@ -6568,8 +6583,8 @@ class CreateClsLogSetRequest extends AbstractModel {
6568
6583
  if (!params) {
6569
6584
  return;
6570
6585
  }
6571
- this.Period = 'Period' in params ? params.Period : null;
6572
6586
  this.LogsetName = 'LogsetName' in params ? params.LogsetName : null;
6587
+ this.Period = 'Period' in params ? params.Period : null;
6573
6588
  this.LogsetType = 'LogsetType' in params ? params.LogsetType : null;
6574
6589
 
6575
6590
  }
@@ -7431,6 +7446,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
7431
7446
  */
7432
7447
  this.TargetHealth = null;
7433
7448
 
7449
+ /**
7450
+ * List o domain names associated with the forwarding rule
7451
+ Note: This field may return `null`, indicating that no valid values can be obtained.
7452
+ * @type {string || null}
7453
+ */
7454
+ this.Domains = null;
7455
+
7434
7456
  }
7435
7457
 
7436
7458
  /**
@@ -7496,6 +7518,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
7496
7518
  this.SecurityGroup = 'SecurityGroup' in params ? params.SecurityGroup : null;
7497
7519
  this.LoadBalancerPassToTarget = 'LoadBalancerPassToTarget' in params ? params.LoadBalancerPassToTarget : null;
7498
7520
  this.TargetHealth = 'TargetHealth' in params ? params.TargetHealth : null;
7521
+ this.Domains = 'Domains' in params ? params.Domains : null;
7499
7522
 
7500
7523
  }
7501
7524
  }
@@ -7985,13 +8008,13 @@ class ModifyDomainAttributesRequest extends AbstractModel {
7985
8008
  this.ListenerId = null;
7986
8009
 
7987
8010
  /**
7988
- * Domain name, which must be under a created forwarding rule.
8011
+ * The domain name, which must be associated with an existing forwarding rule. If there are multiple domain names, you only need to specify one.
7989
8012
  * @type {string || null}
7990
8013
  */
7991
8014
  this.Domain = null;
7992
8015
 
7993
8016
  /**
7994
- * New domain name
8017
+ * The one domain name to modify. `NewDomain` and `NewDomains` can not be both specified.
7995
8018
  * @type {string || null}
7996
8019
  */
7997
8020
  this.NewDomain = null;
@@ -8015,11 +8038,17 @@ class ModifyDomainAttributesRequest extends AbstractModel {
8015
8038
  this.DefaultServer = null;
8016
8039
 
8017
8040
  /**
8018
- * A listener must be configured with a default domain name. If you need to disable the default domain name, you must specify another one as the new default domain name.
8041
+ * Specifies a new default domain name for the listener. This field is used when the original default domain name is disabled. If there are multiple domain names, specify one of them.
8019
8042
  * @type {string || null}
8020
8043
  */
8021
8044
  this.NewDefaultServerDomain = null;
8022
8045
 
8046
+ /**
8047
+ * The new domain names to modify. `NewDomain` and `NewDomains` can not be both specified.
8048
+ * @type {Array.<string> || null}
8049
+ */
8050
+ this.NewDomains = null;
8051
+
8023
8052
  }
8024
8053
 
8025
8054
  /**
@@ -8042,6 +8071,7 @@ class ModifyDomainAttributesRequest extends AbstractModel {
8042
8071
  this.Http2 = 'Http2' in params ? params.Http2 : null;
8043
8072
  this.DefaultServer = 'DefaultServer' in params ? params.DefaultServer : null;
8044
8073
  this.NewDefaultServerDomain = 'NewDefaultServerDomain' in params ? params.NewDefaultServerDomain : null;
8074
+ this.NewDomains = 'NewDomains' in params ? params.NewDomains : null;
8045
8075
 
8046
8076
  }
8047
8077
  }
@@ -8502,16 +8532,16 @@ class RuleInput extends AbstractModel {
8502
8532
  super();
8503
8533
 
8504
8534
  /**
8505
- * Domain name of the forwarding rule. Length: 1-80.
8535
+ * Forwarding rule path. Length: 1-200.
8506
8536
  * @type {string || null}
8507
8537
  */
8508
- this.Domain = null;
8538
+ this.Url = null;
8509
8539
 
8510
8540
  /**
8511
- * Forwarding rule path. Length: 1-200.
8541
+ * The domain name associated with the forwarding rule. It can contain 1-80 characters. Only one domain name can be entered. If you need to enter multiple domain names, use `Domains`.
8512
8542
  * @type {string || null}
8513
8543
  */
8514
- this.Url = null;
8544
+ this.Domain = null;
8515
8545
 
8516
8546
  /**
8517
8547
  * Session persistence time in seconds. Value range: 30-3,600. Setting it to 0 indicates that session persistence is disabled.
@@ -8580,6 +8610,12 @@ They represent weighted round robin, least connections, and IP hash, respectivel
8580
8610
  */
8581
8611
  this.Quic = null;
8582
8612
 
8613
+ /**
8614
+ * The domain name associated with the forwarding rule. Each contain 1-80 characters. If you only need to enter one domain name, use `Domain` instead.
8615
+ * @type {Array.<string> || null}
8616
+ */
8617
+ this.Domains = null;
8618
+
8583
8619
  }
8584
8620
 
8585
8621
  /**
@@ -8589,8 +8625,8 @@ They represent weighted round robin, least connections, and IP hash, respectivel
8589
8625
  if (!params) {
8590
8626
  return;
8591
8627
  }
8592
- this.Domain = 'Domain' in params ? params.Domain : null;
8593
8628
  this.Url = 'Url' in params ? params.Url : null;
8629
+ this.Domain = 'Domain' in params ? params.Domain : null;
8594
8630
  this.SessionExpireTime = 'SessionExpireTime' in params ? params.SessionExpireTime : null;
8595
8631
 
8596
8632
  if (params.HealthCheck) {
@@ -8612,6 +8648,7 @@ They represent weighted round robin, least connections, and IP hash, respectivel
8612
8648
  this.TrpcCallee = 'TrpcCallee' in params ? params.TrpcCallee : null;
8613
8649
  this.TrpcFunc = 'TrpcFunc' in params ? params.TrpcFunc : null;
8614
8650
  this.Quic = 'Quic' in params ? params.Quic : null;
8651
+ this.Domains = 'Domains' in params ? params.Domains : null;
8615
8652
 
8616
8653
  }
8617
8654
  }
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.384";
1
+ const sdkVersion = "3.0.385";
2
2
  module.exports = sdkVersion