tencentcloud-sdk-nodejs-intl-en 3.0.1273 → 3.0.1275

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.1273",
3
+ "version": "3.0.1275",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -643,30 +643,30 @@ By default, 50 launch configurations can be created per region. For details, see
643
643
  }
644
644
 
645
645
  /**
646
- * This API is used to create a notification policy.
647
- When the notification is sent to a CMQ topic or queue, the following contents are included:
646
+ * This API is used to create a notification.
647
+ This API is used to send notifications to a CMQ topic or queue with the following message content:.
648
648
  ```
649
649
  {
650
650
  "Service": "Tencent Cloud Auto Scaling",
651
- "CreatedTime": "2021-10-11T10:15:11Z", // Activity creation time
651
+ "CreatedTime": "2021-10-11T10:15:11Z", // Activity creation time.
652
652
  "AppId": "100000000",
653
- "ActivityId": "asa-fznnvrja", // Scaling activity ID
654
- "AutoScalingGroupId": "asg-pc2oqu2z", // Scaling group ID
655
- "ActivityType": "SCALE_OUT", // Scaling activity type
656
- "StatusCode": "SUCCESSFUL", // Scaling activity result
653
+ "ActivityId": "asa-fznnvrja", // scaling activity ID.
654
+ This API is used to specify the scaling group ID.
655
+ "ActivityType": "SCALE_OUT", // scaling activity type.
656
+ "StatusCode": "SUCCESSFUL".
657
657
  "Description": "Activity was launched in response to a difference between desired capacity and actual capacity,
658
- scale out 1 instance(s).", // Scaling activity description
659
- "StartTime": "2021-10-11T10:15:11Z", // Activity starting time
660
- "EndTime": "2021-10-11T10:15:32Z", // Activity ending time
661
- "DetailedStatusMessageSet": [ // A collection of failed attempts during the scaling process (Failed attempts are allowed in a successful scaling activity)
658
+ This API is used to scale out 1 instance.
659
+ This API is used to set the activity start time.
660
+ "EndTime": "2021-10-11T10:15:32Z", // activity end time.
661
+ "DetailedStatusMessageSet": [ // Collection of activity internal errors (non-empty does not mean activity failure).
662
662
  {
663
663
  "Code": "InvalidInstanceType",
664
- "Zone": "ap-guangzhou-2",
664
+ "Zone": "ap-guangzhou-6",
665
665
  "InstanceId": "",
666
666
  "InstanceChargeType": "POSTPAID_BY_HOUR",
667
667
  "SubnetId": "subnet-4t5mgeuu",
668
- "Message": "The specified instance type `S5.LARGE8` is invalid in `subnet-4t5mgeuu`, `ap-guangzhou-2`.",
669
- "InstanceType": "S5.LARGE8",
668
+ "Message": "The specified instance type `S5.LARGE8` is invalid in `subnet-4t5mgeuu`, `ap-guangzhou-6`.",
669
+ "InstanceType": "S5.LARGE8"
670
670
  }
671
671
  ]
672
672
  }
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20220331: require("./v20220331"), v20210420: require("./v20210420"),
2
+ v20210420: require("./v20210420"), v20220331: require("./v20220331"),
3
3
  };
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1273";
1
+ const sdkVersion = "3.0.1275";
2
2
  module.exports = sdkVersion
@@ -419,13 +419,14 @@ This API is used to indicate that instances with no charge when shut down, insta
419
419
  }
420
420
 
421
421
  /**
422
- * The API is used to modify the attributes of an instance. Only the name and the associated security groups can be modified for now.
422
+ * This API is used to modify instance attributes.
423
423
 
424
- * An attribute must be specified in the request.
425
- * "Instance name" is a custom name for easier management. Tencent Cloud does not use the name for online support or instance management.
426
- * Batch operations are supported. Each request can modify up to 100 instances.
427
- * When you modify the security groups associated with an instance is modified, the original security groups are disassociated.
428
- * You can use the API [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) to query the instance operation result. If the 'LatestOperationState' in the response is **SUCCESS**, the operation is successful.
424
+ This API is used to modify one attribute of the instance per request. The attribute must be specified.
425
+ The instance name is only for user convenience in management. Tencent Cloud does not use this name as the basis for online support or to perform instance management operations.
426
+ This API is used to support batch operations. The maximum of 100 batch instances per request is supported.
427
+ This API is used to modify the security group association. The originally associated security group of the instance will be unbound.
428
+ * You can query the result of the instance operation by calling the API [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5). If the latest operation status (LatestOperationState) of the instance is **SUCCESS**, the operation is successful.
429
+ This API is used to modify the hostname. The instance restarts immediately after hostname modification, and the new hostname takes effect after restart.
429
430
  * @param {ModifyInstancesAttributeRequest} req
430
431
  * @param {function(string, ModifyInstancesAttributeResponse):void} cb
431
432
  * @public
@@ -2542,7 +2542,7 @@ class TagSpecification extends AbstractModel {
2542
2542
  super();
2543
2543
 
2544
2544
  /**
2545
- * Tag-Bound resource type. "instance" for cloud virtual machine, "host" for cdh, "image" for mirror, and "keypair" for key.
2545
+ * Specifies the resource type for Tag binding. valid values: "instance" (cloud virtual machine), "host" (cdh), "image" (mirror), "keypair" (key), "ps" (placement group), "hpc" (hyper computing cluster).
2546
2546
  * @type {string || null}
2547
2547
  */
2548
2548
  this.ResourceType = null;
@@ -3135,8 +3135,7 @@ class ModifyInstancesAttributeRequest extends AbstractModel {
3135
3135
  this.InstanceIds = null;
3136
3136
 
3137
3137
  /**
3138
- * The instance name, which can not exceed 60 characters
3139
- <dx-alert infotype="explain" title="">Either `InstanceName` or `SecurityGroups` must be specified, but they can not be both specified.</dx-alert>
3138
+ * Modified instance name. can be named as required but should not exceed 128 characters.
3140
3139
  * @type {string || null}
3141
3140
  */
3142
3141
  this.InstanceName = null;
@@ -3148,7 +3147,7 @@ class ModifyInstancesAttributeRequest extends AbstractModel {
3148
3147
  this.UserData = null;
3149
3148
 
3150
3149
  /**
3151
- * IDs of security groups associated with the specified instance. You can associate with a security group by adding its ID, or cancel the association with a security group by removing its ID. <dx-alert infotype="explain" title="">Either `InstanceName` or `SecurityGroups` must be specified, but they cannot be both set.</dx-alert>
3150
+ * Specifies the security group Id list of the specified instance after modification. the instance will reassociate with the security groups in the specified list, and the associated security group will be unbound.
3152
3151
  * @type {Array.<string> || null}
3153
3152
  */
3154
3153
  this.SecurityGroups = null;
@@ -3172,9 +3171,9 @@ class ModifyInstancesAttributeRequest extends AbstractModel {
3172
3171
  this.DisableApiTermination = null;
3173
3172
 
3174
3173
  /**
3175
- * The role type, which is used in conjunction with `CamRoleName`. The value is obtained in `RoleType` field, returning by `CAM DescribeRoleList` and `GetRole` APIs. Valid value: `user`, `system` and `service_linked`.
3176
- For example, when `LinkedRoleIn` is contained in `CamRoleName` (such as `TKE_QCSLinkedRoleInPrometheusService`), the returned `RoleType` of `DescribeRoleList` and `GetRoleis` is `service_linked`, and the `CamRoleType` `service_linked`.
3177
- When the value obtained in `RoleType` is `user` (default) or `system`, `CamRoleType` can be left empty.
3174
+ * Role type, used in conjunction with CamRoleName. this value can be obtained from the RoleType field in the API response of CAM [DescribeRoleList](https://www.tencentcloud.comom/document/product/598/36223?from_cn_redirect=1) or [GetRole](https://www.tencentcloud.comom/document/product/598/36221?from_cn_redirect=1). currently, only user, system, and service_linked types are accepted.
3175
+ For example, when CamRoleName contains "LinkedRoleIn" (such as TKE_QCSLinkedRoleInPrometheusService), DescribeRoleList and GetRole return RoleType as service_linked, this parameter must also transmit service_linked.
3176
+ The parameter default value is user. this parameter can be omitted if CameRoleName is not of the service_linked kind.
3178
3177
  * @type {string || null}
3179
3178
  */
3180
3179
  this.CamRoleType = null;
@@ -4111,7 +4110,8 @@ class InquiryPriceRunInstancesRequest extends AbstractModel {
4111
4110
  this.InstanceChargePrepaid = null;
4112
4111
 
4113
4112
  /**
4114
- * The instance model. Different resource specifications are specified for different models. For specific values, call [DescribeInstanceTypeConfigs](https://intl.cloud.tencent.com/document/api/213/15749?from_cn_redirect=1) to retrieve the latest specification list or refer to [Instance Types](https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1). If the parameter is not specified, `S1.SMALL1` will be used by default.
4113
+ * Instance model. Different instance models specify different resource specifications.
4114
+ <br><li>For instances created with the payment modes PREPAID or POSTPAID_BY_HOUR, specifies the specific values obtained BY calling the [DescribeInstanceTypeConfigs](https://www.tencentcloud.comom/document/api/213/15749?from_cn_redirect=1) api for the latest specification table or referring to [instance specifications](https://www.tencentcloud.comom/document/product/213/11518?from_cn_redirect=1). if not specified, the system will dynamically assign a default model based on the current resource sales situation in a region.</li><br><li>for instances created with the payment mode CDHPAID, indicates this parameter uses the prefix "CDH_" and is generated based on CPU and memory configuration. the specific format is: CDH_XCXG. for example, for creating a CDH instance with 1 CPU core and 1 gb memory, this parameter should be CDH_1C1G.</li>.
4115
4115
  * @type {string || null}
4116
4116
  */
4117
4117
  this.InstanceType = null;
@@ -4147,7 +4147,7 @@ class InquiryPriceRunInstancesRequest extends AbstractModel {
4147
4147
  this.InstanceCount = null;
4148
4148
 
4149
4149
  /**
4150
- * Instance name.<br><li>If this parameter is not specified, "Unnamed" will be displayed by default.</li><li>If you purchase multiple instances and specify a pattern string `{R:x}`, numbers `[x, x+n-1]` will be generated, where `n` represents the number of instances purchased. For example, you specify a pattern string `server_{R:3}`. If you purchase only one instance, the instance will be named `server_3`; if you purchase two, they will be named `server_3` and `server_4`. You can specify multiple pattern strings in the format of `{R:x}`.</li><li>If you purchase multiple instances without specifying a pattern string, the instance names will be suffixed with `1, 2...n`, where `n` represents the number of instances purchased. For example, if you purchase two instances with the name `server_`, the instance names will be `server_1` and `server_2`.</li><li>This parameter can contain up to 60 characters (including pattern strings).</li>
4150
+ * Instance display name. <li>if no instance display name is specified, it will display 'unnamed' by default.</li> <li>when purchasing multiple instances, if the pattern string `{R:x}` is specified, it means generating numbers `[x, x+n-1]`, where `n` represents the number of purchased instances. for example, `server_{R:3}`: when purchasing 1 instance, the instance display name is `server_3`; when purchasing 2 instances, the instance display names are `server_3` and `server_4` respectively. supports specifying multiple pattern strings `{R:x}`.</li> <li>when purchasing multiple instances without specifying a pattern string, suffixes `1, 2...n` will be added to the instance display name, where `n` represents the number of purchased instances. for example, `server_`: when purchasing 2 instances, the instance display names are `server_1` and `server_2` respectively.</li> <li>supports up to 128 characters (including pattern strings).</li>.
4151
4151
  * @type {string || null}
4152
4152
  */
4153
4153
  this.InstanceName = null;
@@ -4159,7 +4159,8 @@ class InquiryPriceRunInstancesRequest extends AbstractModel {
4159
4159
  this.LoginSettings = null;
4160
4160
 
4161
4161
  /**
4162
- * Security groups to which the instance belongs. To obtain the security group IDs, you can call [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808) and look for the `sgld` fields in the response. If this parameter is not specified, the instance will not be associated with any security group by default.
4162
+ * Security group to which an instance belongs. obtain this parameter by calling the `SecurityGroupId` field in the return value of [DescribeSecurityGroups](https://www.tencentcloud.comom/document/api/215/15808?from_cn_redirect=1). if not specified, bind the default security group under the designated project. if the default security group does not exist, automatically create it.
4163
+
4163
4164
  * @type {Array.<string> || null}
4164
4165
  */
4165
4166
  this.SecurityGroupIds = null;
@@ -4194,6 +4195,14 @@ class InquiryPriceRunInstancesRequest extends AbstractModel {
4194
4195
  */
4195
4196
  this.InstanceMarketOptions = null;
4196
4197
 
4198
+ /**
4199
+ * Custom metadata, supports creating key-value pairs of custom metadata when creating a CVM.
4200
+
4201
+ **Note: this field is in beta test.**.
4202
+ * @type {Metadata || null}
4203
+ */
4204
+ this.Metadata = null;
4205
+
4197
4206
  /**
4198
4207
  * HPC cluster ID.
4199
4208
  * @type {string || null}
@@ -4295,6 +4304,12 @@ class InquiryPriceRunInstancesRequest extends AbstractModel {
4295
4304
  obj.deserialize(params.InstanceMarketOptions)
4296
4305
  this.InstanceMarketOptions = obj;
4297
4306
  }
4307
+
4308
+ if (params.Metadata) {
4309
+ let obj = new Metadata();
4310
+ obj.deserialize(params.Metadata)
4311
+ this.Metadata = obj;
4312
+ }
4298
4313
  this.HpcClusterId = 'HpcClusterId' in params ? params.HpcClusterId : null;
4299
4314
 
4300
4315
  if (params.CpuTopology) {
@@ -4902,7 +4917,7 @@ class DataDisk extends AbstractModel {
4902
4917
  this.DiskSize = null;
4903
4918
 
4904
4919
  /**
4905
- * Specifies the data disk type. for restrictions on data disk types, refer to [storage overview](https://www.tencentcloud.comom/document/product/213/4952?from_cn_redirect=1). valid values: <br /><li>LOCAL_BASIC: LOCAL disk</li> <li>LOCAL_SSD: LOCAL SSD</li><li>LOCAL_NVME: LOCAL NVME disk, which is closely related to InstanceType and cannot be specified</li><li>LOCAL_PRO: LOCAL HDD, which is closely related to InstanceType and cannot be specified</li><li>cloud_BASIC: BASIC cloud disk</li><li>cloud_PREMIUM: high-performance cloud block storage</li><li>cloud_SSD: SSD cloud disk</li><li>cloud_HSSD: enhanced SSD cloud disk</li> <li>cloud_TSSD: ultra-fast SSD cbs</li><li>cloud_BSSD: universal SSD cloud disk</li><br />default: LOCAL_BASIC.<br/><br />this parameter is invalid for the `ResizeInstanceDisk` api.
4920
+ * Specifies the data disk type. for restrictions on data disk types, refer to [storage overview](https://www.tencentcloud.com/document/product/213/4952?from_cn_redirect=1). valid values: <br /><li>LOCAL_BASIC: LOCAL disk</li> <li>LOCAL_SSD: LOCAL SSD</li><li>LOCAL_NVME: LOCAL NVME disk, which is closely related to InstanceType and cannot be specified</li><li>LOCAL_PRO: LOCAL HDD, which is closely related to InstanceType and cannot be specified</li><li>cloud_BASIC: BASIC cloud disk</li><li>cloud_PREMIUM: high-performance cloud block storage</li><li>cloud_SSD: SSD cloud disk</li><li>cloud_HSSD: enhanced SSD cloud disk</li> <li>cloud_TSSD: ultra-fast SSD cbs</li><li>cloud_BSSD: universal SSD cloud disk</li><br />default: LOCAL_BASIC.<br/><br />this parameter is invalid for the `ResizeInstanceDisk` api.
4906
4921
  * @type {string || null}
4907
4922
  */
4908
4923
  this.DiskType = null;
@@ -8372,7 +8387,16 @@ class RunInstancesRequest extends AbstractModel {
8372
8387
  this.InstanceCount = null;
8373
8388
 
8374
8389
  /**
8375
- * Instance name.<br><li>If this parameter is not specified, "Unnamed" will be displayed by default.</li><li>If you purchase multiple instances and specify a pattern string `{R:x}`, numbers `[x, x+n-1]` will be generated, where `n` represents the number of instances purchased. For example, you specify a pattern string `server_{R:3}`. If you purchase only one instance, the instance will be named `server_3`; if you purchase two, they will be named `server_3` and `server_4`. You can specify multiple pattern strings in the format of `{R:x}`.</li><li>If you purchase multiple instances without specifying a pattern string, the instance names will be suffixed with `1, 2...n`, where `n` represents the number of instances purchased. For example, if you purchase two instances with the name `server_`, the instance names will be `server_1` and `server_2`.</li><li>This parameter can contain up to 60 characters (including pattern strings).</li>
8390
+ * Specifies the minimum number of instances to create. value range: positive integer not greater than InstanceCount.
8391
+ Specifies the minimum purchasable quantity, guarantees to create at least MinCount instances, and creates InstanceCount instances as much as possible.
8392
+ Insufficient inventory to meet the minimum purchasable quantity will trigger an error info indicating insufficient stock.
8393
+ Only applicable to accounts, regions, and billing modes (annual/monthly subscription, pay-as-you-go, spot instance, exclusive sales) with partial support.
8394
+ * @type {number || null}
8395
+ */
8396
+ this.MinCount = null;
8397
+
8398
+ /**
8399
+ * Instance display name. <li>if no instance display name is specified, it will display 'unnamed' by default.</li> <li>when purchasing multiple instances, if the pattern string `{R:x}` is specified, it means generating numbers `[x, x+n-1]`, where `n` represents the number of purchased instances. for example, `server_{R:3}`: when purchasing 1 instance, the instance display name is `server_3`; when purchasing 2 instances, the instance display names are `server_3` and `server_4` respectively. supports specifying multiple pattern strings `{R:x}`.</li> <li>when purchasing multiple instances without specifying a pattern string, suffixes `1, 2...n` will be added to the instance display name, where `n` represents the number of purchased instances. for example, `server_`: when purchasing 2 instances, the instance display names are `server_1` and `server_2` respectively.</li> <li>supports up to 128 characters (including pattern strings).</li>.
8376
8400
  * @type {string || null}
8377
8401
  */
8378
8402
  this.InstanceName = null;
@@ -8384,7 +8408,8 @@ class RunInstancesRequest extends AbstractModel {
8384
8408
  this.LoginSettings = null;
8385
8409
 
8386
8410
  /**
8387
- * Security groups to which the instance belongs. To obtain the security group IDs, you can call [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808) and look for the `sgld` fields in the response. If this parameter is not specified, the instance will be associated with default security groups.
8411
+ * Security group to which an instance belongs. obtain this parameter by calling the `SecurityGroupId` field in the return value of [DescribeSecurityGroups](https://www.tencentcloud.comom/document/api/215/15808?from_cn_redirect=1). if not specified, bind the default security group under the designated project. if the default security group does not exist, automatically create it.
8412
+
8388
8413
  * @type {Array.<string> || null}
8389
8414
  */
8390
8415
  this.SecurityGroupIds = null;
@@ -8438,7 +8463,8 @@ class RunInstancesRequest extends AbstractModel {
8438
8463
  this.UserData = null;
8439
8464
 
8440
8465
  /**
8441
- *
8466
+ * Custom metadata. specifies the support for creating custom metadata key-value pairs when creating a CVM.
8467
+ **Note: this field is in beta test.**.
8442
8468
  * @type {Metadata || null}
8443
8469
  */
8444
8470
  this.Metadata = null;
@@ -8496,7 +8522,7 @@ If the dry run succeeds, the RequestId will be returned.
8496
8522
  this.DisableApiTermination = null;
8497
8523
 
8498
8524
  /**
8499
- *
8525
+ * Whether the instance enables jumbo frames. valid values:<br><li/> true: means the instance enables jumbo frames. only models supporting jumbo frames can be set to true.<br><li/> false: means the instance disables jumbo frames. only models supporting jumbo frames can be set to false.<br> instance specifications supporting jumbo frames: [instance specifications](https://www.tencentcloud.comom/document/product/213/11518?from_cn_redirect=1).
8500
8526
  * @type {boolean || null}
8501
8527
  */
8502
8528
  this.EnableJumboFrame = null;
@@ -8553,6 +8579,7 @@ If the dry run succeeds, the RequestId will be returned.
8553
8579
  this.InternetAccessible = obj;
8554
8580
  }
8555
8581
  this.InstanceCount = 'InstanceCount' in params ? params.InstanceCount : null;
8582
+ this.MinCount = 'MinCount' in params ? params.MinCount : null;
8556
8583
  this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
8557
8584
 
8558
8585
  if (params.LoginSettings) {
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20191016: require("./v20191016"), v20210527: require("./v20210527"),
2
+ v20210527: require("./v20210527"), v20191016: require("./v20191016"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20220901: require("./v20220901"), v20220106: require("./v20220106"),
2
+ v20220106: require("./v20220106"), v20220901: require("./v20220901"),
3
3
  };
@@ -4468,7 +4468,7 @@ class PostMaxSizeParameters extends AbstractModel {
4468
4468
  this.Switch = null;
4469
4469
 
4470
4470
  /**
4471
- * Maximum size of the file uploaded for streaming via a post request, in bytes. value range: 1 * 2<sup>20</sup> bytes to 500 * 2<sup>20</sup> bytes.
4471
+ * Maximum size of the file uploaded for streaming via a post request. Takes effect only when Switch is on. Range: 1 MB - 800 MB (bytes).
4472
4472
  * @type {number || null}
4473
4473
  */
4474
4474
  this.MaxSize = null;
@@ -31241,6 +31241,12 @@ Note: this field may return null, which indicates a failure to obtain a valid va
31241
31241
  */
31242
31242
  this.ForceRedirectHTTPSParameters = null;
31243
31243
 
31244
+ /**
31245
+ *
31246
+ * @type {OriginPullProtocolParameters || null}
31247
+ */
31248
+ this.OriginPullProtocolParameters = null;
31249
+
31244
31250
  /**
31245
31251
  * Intelligent compression configuration. this parameter is required when name is set to compression.
31246
31252
  Note: this field may return null, which indicates a failure to obtain a valid value.
@@ -31481,6 +31487,12 @@ Note: This field may return null, which indicates a failure to obtain a valid va
31481
31487
  this.ForceRedirectHTTPSParameters = obj;
31482
31488
  }
31483
31489
 
31490
+ if (params.OriginPullProtocolParameters) {
31491
+ let obj = new OriginPullProtocolParameters();
31492
+ obj.deserialize(params.OriginPullProtocolParameters)
31493
+ this.OriginPullProtocolParameters = obj;
31494
+ }
31495
+
31484
31496
  if (params.CompressionParameters) {
31485
31497
  let obj = new CompressionParameters();
31486
31498
  obj.deserialize(params.CompressionParameters)
@@ -33660,7 +33672,7 @@ class PostMaxSize extends AbstractModel {
33660
33672
  this.Switch = null;
33661
33673
 
33662
33674
  /**
33663
- * Maximum limit. value range between 1MB and 500MB. byte.
33675
+ * Maximum limit.Takes effect only when Switch is on. Range:1 MB - 800 MB (bytes).
33664
33676
  * @type {number || null}
33665
33677
  */
33666
33678
  this.MaxSize = null;
@@ -34342,6 +34354,34 @@ class CreateSecurityAPIResourceResponse extends AbstractModel {
34342
34354
  }
34343
34355
  }
34344
34356
 
34357
+ /**
34358
+ *
34359
+ * @class
34360
+ */
34361
+ class OriginPullProtocolParameters extends AbstractModel {
34362
+ constructor(){
34363
+ super();
34364
+
34365
+ /**
34366
+ *
34367
+ * @type {string || null}
34368
+ */
34369
+ this.Protocol = null;
34370
+
34371
+ }
34372
+
34373
+ /**
34374
+ * @private
34375
+ */
34376
+ deserialize(params) {
34377
+ if (!params) {
34378
+ return;
34379
+ }
34380
+ this.Protocol = 'Protocol' in params ? params.Protocol : null;
34381
+
34382
+ }
34383
+ }
34384
+
34345
34385
  /**
34346
34386
  * The information attached when the node cache purge type is set to purge_cache_tag.
34347
34387
  * @class
@@ -36906,6 +36946,7 @@ module.exports = {
36906
36946
  SecurityTemplateBinding: SecurityTemplateBinding,
36907
36947
  DescribeMultiPathGatewaySecretKeyResponse: DescribeMultiPathGatewaySecretKeyResponse,
36908
36948
  CreateSecurityAPIResourceResponse: CreateSecurityAPIResourceResponse,
36949
+ OriginPullProtocolParameters: OriginPullProtocolParameters,
36909
36950
  CacheTag: CacheTag,
36910
36951
  CreateSecurityClientAttesterResponse: CreateSecurityClientAttesterResponse,
36911
36952
  ModifyMultiPathGatewayLineResponse: ModifyMultiPathGatewayLineResponse,
@@ -658,6 +658,7 @@ const ManagedRules = models.ManagedRules;
658
658
  const SecurityTemplateBinding = models.SecurityTemplateBinding;
659
659
  const DescribeMultiPathGatewaySecretKeyResponse = models.DescribeMultiPathGatewaySecretKeyResponse;
660
660
  const CreateSecurityAPIResourceResponse = models.CreateSecurityAPIResourceResponse;
661
+ const OriginPullProtocolParameters = models.OriginPullProtocolParameters;
661
662
  const CacheTag = models.CacheTag;
662
663
  const CreateSecurityClientAttesterResponse = models.CreateSecurityClientAttesterResponse;
663
664
  const ModifyMultiPathGatewayLineResponse = models.ModifyMultiPathGatewayLineResponse;
@@ -1311,7 +1312,7 @@ The feature is only supported in the enterprise plan and is currently in closed
1311
1312
  * When you need features available only in higher-tier plans, you can upgrade your plan through this interface. Upgrades are only supported for Personal and Basic Edition Plans.
1312
1313
  > For differences between EdgeOne billing plans, refer to [Comparison of EdgeOne Plans](https://intl.cloud.tencent.com/document/product/1552/94165?from_cn_redirect=1).
1313
1314
  For EdgeOne plan upgrade rules and pricing details, refer to [EdgeOne Plan Upgrade Guide](https://intl.cloud.tencent.com/document/product/1552/95291?from_cn_redirect=1).
1314
- If your plan needs to upgrade to the Enterprise Edition, [Contact Us](https://intl.cloud.tencent.com/online?from_cn_redirect=1-service).
1315
+ If your plan needs to upgrade to the Enterprise Edition, [Contact Us](https://www.tencentcloud.com/contact-us).
1315
1316
  * @param {UpgradePlanRequest} req
1316
1317
  * @param {function(string, UpgradePlanResponse):void} cb
1317
1318
  * @public
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20180525: require("./v20180525"), v20220501: require("./v20220501"),
2
+ v20220501: require("./v20220501"), v20180525: require("./v20180525"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20180717: require("./v20180717"), v20240718: require("./v20240718"),
2
+ v20240718: require("./v20240718"), v20180717: require("./v20180717"),
3
3
  };
@@ -2630,8 +2630,7 @@ class AssistantCidr extends AbstractModel {
2630
2630
  this.AssistantType = null;
2631
2631
 
2632
2632
  /**
2633
- * Subnets divided by the secondary CIDR.
2634
- Note: This field may return null, indicating that no valid values can be obtained.
2633
+ * Subnet Split by Auxiliary CIDR
2635
2634
  * @type {Array.<Subnet> || null}
2636
2635
  */
2637
2636
  this.SubnetSet = null;
@@ -10116,12 +10115,23 @@ class Vpc extends AbstractModel {
10116
10115
  this.TagSet = null;
10117
10116
 
10118
10117
  /**
10119
- * The secondary CIDR block.
10120
- Note: This field may return null, indicating that no valid values can be obtained.
10118
+ * Auxiliary CIDR
10121
10119
  * @type {Array.<AssistantCidr> || null}
10122
10120
  */
10123
10121
  this.AssistantCidrSet = null;
10124
10122
 
10123
+ /**
10124
+ * Vpc association with CCN route publish policy. true: enables cidr route publishing. false: enables subnet route publishing. default is subnet route publishing when creating a vpc. to select cidr route publishing, submit a ticket for adding to allowlist.
10125
+ * @type {boolean || null}
10126
+ */
10127
+ this.EnableRouteVpcPublish = null;
10128
+
10129
+ /**
10130
+ * Returns the multi-operator IPv6 Cidr Block.
10131
+ * @type {Array.<ISPIPv6CidrBlock> || null}
10132
+ */
10133
+ this.Ipv6CidrBlockSet = null;
10134
+
10125
10135
  }
10126
10136
 
10127
10137
  /**
@@ -10160,6 +10170,16 @@ Note: This field may return null, indicating that no valid values can be obtaine
10160
10170
  this.AssistantCidrSet.push(obj);
10161
10171
  }
10162
10172
  }
10173
+ this.EnableRouteVpcPublish = 'EnableRouteVpcPublish' in params ? params.EnableRouteVpcPublish : null;
10174
+
10175
+ if (params.Ipv6CidrBlockSet) {
10176
+ this.Ipv6CidrBlockSet = new Array();
10177
+ for (let z in params.Ipv6CidrBlockSet) {
10178
+ let obj = new ISPIPv6CidrBlock();
10179
+ obj.deserialize(params.Ipv6CidrBlockSet[z]);
10180
+ this.Ipv6CidrBlockSet.push(obj);
10181
+ }
10182
+ }
10163
10183
 
10164
10184
  }
10165
10185
  }
@@ -20023,15 +20043,13 @@ class Subnet extends AbstractModel {
20023
20043
  this.TagSet = null;
20024
20044
 
20025
20045
  /**
20026
- * CDC instance ID
20027
- Note: this field may return `null`, indicating that no valid values can be obtained.
20046
+ * CDC instance ID.
20028
20047
  * @type {string || null}
20029
20048
  */
20030
20049
  this.CdcId = null;
20031
20050
 
20032
20051
  /**
20033
- * Whether it is a CDC subnet. Valid values: 0: no; 1: yes
20034
- Note: this field may return `null`, indicating that no valid values can be obtained.
20052
+ * Whether the subnet is associated with CDC. valid values: 0 (no), 1 (yes).
20035
20053
  * @type {number || null}
20036
20054
  */
20037
20055
  this.IsCdcSubnet = null;
@@ -22552,6 +22570,48 @@ class ModifyReserveIpAddressRequest extends AbstractModel {
22552
22570
  }
22553
22571
  }
22554
22572
 
22573
+ /**
22574
+ * Returns multi-operator IPv6 Cidr Block.
22575
+ * @class
22576
+ */
22577
+ class ISPIPv6CidrBlock extends AbstractModel {
22578
+ constructor(){
22579
+ super();
22580
+
22581
+ /**
22582
+ * IPv6 CIdr Block
22583
+ * @type {string || null}
22584
+ */
22585
+ this.IPv6CidrBlock = null;
22586
+
22587
+ /**
22588
+ * Network operator type. valid values: 'BGP' (default), 'CMCC' (china mobile), 'CTCC' (china telecom), 'CUCC' (china unicom).
22589
+ * @type {string || null}
22590
+ */
22591
+ this.ISPType = null;
22592
+
22593
+ /**
22594
+ * Specifies the type of IPv6 Cidr: `GUA` (global unicast address), `ULA` (unique local address).
22595
+ * @type {string || null}
22596
+ */
22597
+ this.AddressType = null;
22598
+
22599
+ }
22600
+
22601
+ /**
22602
+ * @private
22603
+ */
22604
+ deserialize(params) {
22605
+ if (!params) {
22606
+ return;
22607
+ }
22608
+ this.IPv6CidrBlock = 'IPv6CidrBlock' in params ? params.IPv6CidrBlock : null;
22609
+ this.ISPType = 'ISPType' in params ? params.ISPType : null;
22610
+ this.AddressType = 'AddressType' in params ? params.AddressType : null;
22611
+
22612
+ }
22613
+ }
22614
+
22555
22615
  /**
22556
22616
  * DisableRoutes request structure.
22557
22617
  * @class
@@ -25161,7 +25221,7 @@ class ModifyVpcAttributeRequest extends AbstractModel {
25161
25221
  super();
25162
25222
 
25163
25223
  /**
25164
- * Security group can be named freely, but cannot exceed 60 characters.
25224
+ * VPC instance ID, in the format of vpc-f49l6u0z.
25165
25225
  * @type {string || null}
25166
25226
  */
25167
25227
  this.VpcId = null;
@@ -25190,6 +25250,12 @@ class ModifyVpcAttributeRequest extends AbstractModel {
25190
25250
  */
25191
25251
  this.DomainName = null;
25192
25252
 
25253
+ /**
25254
+ * Vpc association with CCN route publish policy. true enables cidr route publishing. false enables subnet route publishing. the default is subnet route publishing when creating a vpc. to use cidr route publishing, submit a ticket to add to allowlist.
25255
+ * @type {boolean || null}
25256
+ */
25257
+ this.EnableRouteVpcPublish = null;
25258
+
25193
25259
  /**
25194
25260
  * Whether to publish the CDC subnet to CCN. `true`: Publish; `false`: Do not publish
25195
25261
  * @type {boolean || null}
@@ -25210,6 +25276,7 @@ class ModifyVpcAttributeRequest extends AbstractModel {
25210
25276
  this.EnableMulticast = 'EnableMulticast' in params ? params.EnableMulticast : null;
25211
25277
  this.DnsServers = 'DnsServers' in params ? params.DnsServers : null;
25212
25278
  this.DomainName = 'DomainName' in params ? params.DomainName : null;
25279
+ this.EnableRouteVpcPublish = 'EnableRouteVpcPublish' in params ? params.EnableRouteVpcPublish : null;
25213
25280
  this.EnableCdcPublish = 'EnableCdcPublish' in params ? params.EnableCdcPublish : null;
25214
25281
 
25215
25282
  }
@@ -32653,6 +32720,12 @@ class CreateVpcRequest extends AbstractModel {
32653
32720
  */
32654
32721
  this.Tags = null;
32655
32722
 
32723
+ /**
32724
+ * Vpc association with CCN route publish policy. true: enables cidr route publishing. false: enables subnet route publishing. default is subnet route publishing when creating a vpc. to select cidr route publishing, submit a ticket for adding to allowlist.
32725
+ * @type {boolean || null}
32726
+ */
32727
+ this.EnableRouteVpcPublish = null;
32728
+
32656
32729
  }
32657
32730
 
32658
32731
  /**
@@ -32676,6 +32749,7 @@ class CreateVpcRequest extends AbstractModel {
32676
32749
  this.Tags.push(obj);
32677
32750
  }
32678
32751
  }
32752
+ this.EnableRouteVpcPublish = 'EnableRouteVpcPublish' in params ? params.EnableRouteVpcPublish : null;
32679
32753
 
32680
32754
  }
32681
32755
  }
@@ -33844,6 +33918,7 @@ module.exports = {
33844
33918
  DescribeSecurityGroupReferencesRequest: DescribeSecurityGroupReferencesRequest,
33845
33919
  DescribeVpcPrivateIpAddressesResponse: DescribeVpcPrivateIpAddressesResponse,
33846
33920
  ModifyReserveIpAddressRequest: ModifyReserveIpAddressRequest,
33921
+ ISPIPv6CidrBlock: ISPIPv6CidrBlock,
33847
33922
  DisableRoutesRequest: DisableRoutesRequest,
33848
33923
  DisassociateDirectConnectGatewayNatGatewayRequest: DisassociateDirectConnectGatewayNatGatewayRequest,
33849
33924
  ReleaseIPv6AddressesRequest: ReleaseIPv6AddressesRequest,
@@ -474,6 +474,7 @@ const CreateHaVipResponse = models.CreateHaVipResponse;
474
474
  const DescribeSecurityGroupReferencesRequest = models.DescribeSecurityGroupReferencesRequest;
475
475
  const DescribeVpcPrivateIpAddressesResponse = models.DescribeVpcPrivateIpAddressesResponse;
476
476
  const ModifyReserveIpAddressRequest = models.ModifyReserveIpAddressRequest;
477
+ const ISPIPv6CidrBlock = models.ISPIPv6CidrBlock;
477
478
  const DisableRoutesRequest = models.DisableRoutesRequest;
478
479
  const DisassociateDirectConnectGatewayNatGatewayRequest = models.DisassociateDirectConnectGatewayNatGatewayRequest;
479
480
  const ReleaseIPv6AddressesRequest = models.ReleaseIPv6AddressesRequest;