tencentcloud-sdk-nodejs-intl-en 3.0.1035 → 3.0.1037

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.1035",
3
+ "version": "3.0.1037",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1035";
1
+ const sdkVersion = "3.0.1037";
2
2
  module.exports = sdkVersion
@@ -63,6 +63,7 @@ const RemoveChcAssistVpcResponse = models.RemoveChcAssistVpcResponse;
63
63
  const InternetChargeTypeConfig = models.InternetChargeTypeConfig;
64
64
  const DescribeImagesResponse = models.DescribeImagesResponse;
65
65
  const ModifyInstancesVpcAttributeResponse = models.ModifyInstancesVpcAttributeResponse;
66
+ const CpuTopology = models.CpuTopology;
66
67
  const CreateKeyPairResponse = models.CreateKeyPairResponse;
67
68
  const DeleteKeyPairsResponse = models.DeleteKeyPairsResponse;
68
69
  const TagSpecification = models.TagSpecification;
@@ -2244,6 +2244,42 @@ class ModifyInstancesVpcAttributeResponse extends AbstractModel {
2244
2244
  }
2245
2245
  }
2246
2246
 
2247
+ /**
2248
+ * Information about the CPU topology of an instance.
2249
+ * @class
2250
+ */
2251
+ class CpuTopology extends AbstractModel {
2252
+ constructor(){
2253
+ super();
2254
+
2255
+ /**
2256
+ * Number of physical CPU cores to enable.
2257
+ * @type {number || null}
2258
+ */
2259
+ this.CoreCount = null;
2260
+
2261
+ /**
2262
+ * Number of threads per core. This parameter determines whether to enable or disable hyper-threading.<br><li>1: Disable hyper-threading.</li><br><li>2: Enable hyper-threading.</li>
2263
+ If not set, an instance uses the default hyper-threading policy. For how to enable or disable hyper-threading, refer to [Enabling and Disabling Hyper-Threading](https://intl.cloud.tencent.com/document/product/213/103798?from_cn_redirect=1).
2264
+ * @type {number || null}
2265
+ */
2266
+ this.ThreadPerCore = null;
2267
+
2268
+ }
2269
+
2270
+ /**
2271
+ * @private
2272
+ */
2273
+ deserialize(params) {
2274
+ if (!params) {
2275
+ return;
2276
+ }
2277
+ this.CoreCount = 'CoreCount' in params ? params.CoreCount : null;
2278
+ this.ThreadPerCore = 'ThreadPerCore' in params ? params.ThreadPerCore : null;
2279
+
2280
+ }
2281
+ }
2282
+
2247
2283
  /**
2248
2284
  * CreateKeyPair response structure.
2249
2285
  * @class
@@ -2562,7 +2598,7 @@ class RunInstancesResponse extends AbstractModel {
2562
2598
  this.InstanceIdSet = null;
2563
2599
 
2564
2600
  /**
2565
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2601
+ * 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.
2566
2602
  * @type {string || null}
2567
2603
  */
2568
2604
  this.RequestId = null;
@@ -3076,12 +3112,6 @@ class Placement extends AbstractModel {
3076
3112
  */
3077
3113
  this.HostIds = null;
3078
3114
 
3079
- /**
3080
- * IPs of the hosts to create CVMs
3081
- * @type {Array.<string> || null}
3082
- */
3083
- this.HostIps = null;
3084
-
3085
3115
  /**
3086
3116
  * The ID of the CDH to which the instance belongs, only used as an output parameter.
3087
3117
  * @type {string || null}
@@ -3100,7 +3130,6 @@ class Placement extends AbstractModel {
3100
3130
  this.Zone = 'Zone' in params ? params.Zone : null;
3101
3131
  this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
3102
3132
  this.HostIds = 'HostIds' in params ? params.HostIds : null;
3103
- this.HostIps = 'HostIps' in params ? params.HostIps : null;
3104
3133
  this.HostId = 'HostId' in params ? params.HostId : null;
3105
3134
 
3106
3135
  }
@@ -4285,7 +4314,37 @@ class DataDisk extends AbstractModel {
4285
4314
  this.DiskSize = null;
4286
4315
 
4287
4316
  /**
4288
- * Data disk type. For more information about limits on different data disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Valid values: <br><li>LOCAL_BASIC: local disk<br><li>LOCAL_SSD: local SSD disk<br><li>LOCAL_NVME: local NVME disk, specified in the `InstanceType`<br><li>LOCAL_PRO: local HDD disk, specified in the `InstanceType`<br><li>CLOUD_BASIC: HDD cloud disk<br><li>CLOUD_PREMIUM: Premium Cloud Storage<br><li>CLOUD_SSD: SSD<br><li>CLOUD_HSSD: Enhanced SSD<br><li>CLOUD_TSSD: Tremendous SSD<br><li>CLOUD_BSSD: Balanced SSD<br><br>Default value: LOCAL_BASIC.<br><br>This parameter is invalid for the `ResizeInstanceDisk` API.
4317
+ * Data disk type. For restrictions on data disk types, refer to [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Valid values:<br/>
4318
+ <li>
4319
+ LOCAL_BASIC: local disk.<br/>
4320
+ <li>
4321
+ LOCAL_SSD: local SSD.<br/>
4322
+ <li>
4323
+ LOCAL_NVME: local NVMe disk, which is closely related to InstanceType, and cannot be specified.<br/>
4324
+ <li>
4325
+ LOCAL_PRO: local HDD, which is closely related to InstanceType, and cannot be specified.<br/>
4326
+ <li>
4327
+ CLOUD_BASIC: basic cloud disk.<br/>
4328
+ <li>
4329
+ CLOUD_PREMIUM: premium cloud disk.<br/>
4330
+ <li>
4331
+ CLOUD_SSD: cloud SSD.<br />
4332
+ <li>
4333
+ CLOUD_HSSD: enhanced SSD.<br/>
4334
+ <li>
4335
+ CLOUD_TSSD: tremendous SSD.<br/>
4336
+ <li>
4337
+ CLOUD_BSSD: balanced SSD.<br/><br/>Default value: LOCAL_BASIC.<br/><br/>This parameter is invalid for the `ResizeInstanceDisk` API.
4338
+ </li>
4339
+ </li>
4340
+ </li>
4341
+ </li>
4342
+ </li>
4343
+ </li>
4344
+ </li>
4345
+ </li>
4346
+ </li>
4347
+ </li>
4289
4348
  * @type {string || null}
4290
4349
  */
4291
4350
  this.DiskType = null;
@@ -4298,11 +4357,13 @@ It is only used as a response parameter for APIs such as `DescribeInstances`, an
4298
4357
  this.DiskId = null;
4299
4358
 
4300
4359
  /**
4301
- * Whether to terminate the data disk when its CVM is terminated. Valid values:
4302
- <li>TRUE: terminate the data disk when its CVM is terminated. This value only supports pay-as-you-go cloud disks billed on an hourly basis.
4303
- <li>FALSE: retain the data disk when its CVM is terminated.<br>
4304
- Default value: TRUE<br>
4305
- Currently this parameter is only used in the `RunInstances` API.
4360
+ * Whether a data disk is terminated when the associated CVM instance is terminated. Valid values:
4361
+ <li>TRUE: The data disk is terminated when the associated CVM instance is terminated. This only supports pay-as-you-go cloud disks that are billed by hour.</li>
4362
+ <li>
4363
+ FALSE: The data disk is retained when the associated CVM instance is terminated.<br/>
4364
+ Default value: TRUE.<br/>
4365
+ This parameter is currently used only in the `RunInstances` API.
4366
+ </li>
4306
4367
  Note: This field may return null, indicating that no valid value is found.
4307
4368
  * @type {boolean || null}
4308
4369
  */
@@ -4316,12 +4377,14 @@ Note: This field may return null, indicating that no valid value is found.
4316
4377
  this.SnapshotId = null;
4317
4378
 
4318
4379
  /**
4319
- * Specifies whether the data disk is encrypted. Valid values:
4320
- <li>TRUE: encrypted
4321
- <li>FALSE: not encrypted<br>
4322
- Default value: FALSE<br>
4323
- This parameter is only used with `RunInstances`.
4324
- Note: this field may return `null`, indicating that no valid value is obtained.
4380
+ * Whether a data disk is encrypted. Valid values:
4381
+ <li>true: encrypted.</li>
4382
+ <li>
4383
+ false: not encrypted.<br/>
4384
+ Default value: false.<br/>
4385
+ This parameter is currently used only in the `RunInstances` API.
4386
+ </li>
4387
+ Note: This field may return null, indicating that no valid value is found.
4325
4388
  * @type {boolean || null}
4326
4389
  */
4327
4390
  this.Encrypt = null;
@@ -4349,6 +4412,15 @@ Note: this field may return `null`, indicating that no valid values can be obtai
4349
4412
  */
4350
4413
  this.CdcId = null;
4351
4414
 
4415
+ /**
4416
+ * Burst performance.
4417
+
4418
+ <b>Note: This field is in beta test.</b>
4419
+ Note: This field may return null, indicating that no valid value is found.
4420
+ * @type {boolean || null}
4421
+ */
4422
+ this.BurstPerformance = null;
4423
+
4352
4424
  }
4353
4425
 
4354
4426
  /**
@@ -4367,6 +4439,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
4367
4439
  this.KmsKeyId = 'KmsKeyId' in params ? params.KmsKeyId : null;
4368
4440
  this.ThroughputPerformance = 'ThroughputPerformance' in params ? params.ThroughputPerformance : null;
4369
4441
  this.CdcId = 'CdcId' in params ? params.CdcId : null;
4442
+ this.BurstPerformance = 'BurstPerformance' in params ? params.BurstPerformance : null;
4370
4443
 
4371
4444
  }
4372
4445
  }
@@ -7134,7 +7207,7 @@ class RunInstancesRequest extends AbstractModel {
7134
7207
  this.InstanceCount = null;
7135
7208
 
7136
7209
  /**
7137
- * Instance name to be displayed. <br><li>If this parameter is not specified, "Unnamed" will be displayed by default. </li><li>If you purchase multiple instances at the same time 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 only purchase 1 instance, the instance will be named `server_3`; if you purchase 2, 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 at the same time and do not specify a pattern string, the instance names will be suffixed by `1, 2...n`, where `n` represents the number of instances purchased. For example, if you purchase 2 instances and the instance name body is `server_`, the instance names will be `server_1` and `server_2`. </li><li>This parameter can contain up to 60 characters, including the pattern string.
7210
+ * 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>
7138
7211
  * @type {string || null}
7139
7212
  */
7140
7213
  this.InstanceName = null;
@@ -7164,7 +7237,7 @@ class RunInstancesRequest extends AbstractModel {
7164
7237
  this.ClientToken = null;
7165
7238
 
7166
7239
  /**
7167
- * Instance hostname. <br><li>Dots (.) and dashes (-) can not be used as the first or last character of HostName nor used consecutively. <br<li>Windows instances: 2 to 15 characters, including English letters (case-insensitive), numbers and dashes (-). Dots and numeric-only names are not allowed. <br><li>Other instances (Linux, etc.): 2 to 60 characters, including English letters (case-insensitive), numbers, dashes (-) and dots. Note that consecutive dots are not allowed.<br><li>Batch naming: use `{R:x}` for batch naming if multiple instances are purchased. `x` is the serial number of the instance. It’s generated by [x, x+n-1], where `n` refers to the number of instances purchased. For example, if `server{R:3}` is input, if you purchase one instance, the hostname is `server3`. If you purchase two instances, the hostnames are `server3` and `server4` respectively. You can specify multiple pattern strings `{R:x}`. </li><br><li>Purchasing multiple instances: If no pattern string is specified, you shall add suffixes `1, 2...n` to the instance hostname. `n` represents the number of purchased instances. For example, if the instance hostname is `server`, when two instances are purchased, the hostnames of instances purchased are respectively `server1` and `server2`.
7240
+ * Hostname of an instance.<br><li>Period (.) and hyphen (-) should not be used as the first or last character of the hostname, and should not be used consecutively.</li><br><li>Windows instances: The hostname should contain 2 to 15 characters, including letters (case insensitive), digits, and hyphens (-), does not support periods (.), and should not be all digits.</li><br><li>Instances of other types (such as Linux instances): The hostname should contain 2 to 60 characters, including multiple periods (.), with each segment between periods considered as one section. Each section can contain letters (case insensitive), digits, and hyphens (-).</li><br><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 hostname will be `server3`; if you purchase two, they will be `server3` and `server4`. You can specify multiple pattern strings in the format of `{R:x}`.</li><br><li>If you purchase multiple instances without specifying a pattern string, the hostnames 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 hostnames will be `server1` and `server2`.</li>
7168
7241
  * @type {string || null}
7169
7242
  */
7170
7243
  this.HostName = null;
@@ -7209,6 +7282,12 @@ If the dry run succeeds, the RequestId will be returned.
7209
7282
  */
7210
7283
  this.DryRun = null;
7211
7284
 
7285
+ /**
7286
+ * Information about the CPU topology of an instance. If not specified, it is determined by system resources.
7287
+ * @type {CpuTopology || null}
7288
+ */
7289
+ this.CpuTopology = null;
7290
+
7212
7291
  /**
7213
7292
  * CAM role name, which can be obtained from the `roleName` field in the response of the [`DescribeRoleList`](https://intl.cloud.tencent.com/document/product/598/36223?from_cn_redirect=1) API.
7214
7293
  * @type {string || null}
@@ -7240,7 +7319,7 @@ If the dry run succeeds, the RequestId will be returned.
7240
7319
  this.ChcIds = null;
7241
7320
 
7242
7321
  /**
7243
- * Whether the termination protection is enabled. Values: <br><li>`TRUE`: Enable instance protection, which means that this instance can not be deleted by an API action.<br><li>`FALSE`: Do not enable the instance protection.<br><br>Default value: `FALSE`.
7322
+ * Instance termination protection flag, indicating whether an instance is allowed to be deleted through an API. Valid values:<br><li>true: Instance protection is enabled, and the instance is not allowed to be deleted through the API.</li><br><li>false: Instance protection is disabled, and the instance is allowed to be deleted through the API.</li><br><br>Default value: false.
7244
7323
  * @type {boolean || null}
7245
7324
  */
7246
7325
  this.DisableApiTermination = null;
@@ -7337,6 +7416,12 @@ If the dry run succeeds, the RequestId will be returned.
7337
7416
  }
7338
7417
  this.UserData = 'UserData' in params ? params.UserData : null;
7339
7418
  this.DryRun = 'DryRun' in params ? params.DryRun : null;
7419
+
7420
+ if (params.CpuTopology) {
7421
+ let obj = new CpuTopology();
7422
+ obj.deserialize(params.CpuTopology)
7423
+ this.CpuTopology = obj;
7424
+ }
7340
7425
  this.CamRoleName = 'CamRoleName' in params ? params.CamRoleName : null;
7341
7426
  this.HpcClusterId = 'HpcClusterId' in params ? params.HpcClusterId : null;
7342
7427
 
@@ -10136,7 +10221,7 @@ class VirtualPrivateCloud extends AbstractModel {
10136
10221
  this.SubnetId = null;
10137
10222
 
10138
10223
  /**
10139
- * Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values: <br><li>`TRUE`: yes;<br><li>`FALSE`: no<br><br>Default: `FALSE`.
10224
+ * Whether it is used as a public gateway. A public gateway can only be used normally when an instance has a public IP address and is in a VPC. Valid values:<li>true: It is used as a public gateway.</li><li>false: It is not used as a public gateway.</li>Default value: false.
10140
10225
  * @type {boolean || null}
10141
10226
  */
10142
10227
  this.AsVpcGateway = null;
@@ -10432,7 +10517,7 @@ class InternetAccessible extends AbstractModel {
10432
10517
  this.InternetMaxBandwidthOut = null;
10433
10518
 
10434
10519
  /**
10435
- * Whether to assign a public IP. Valid values: <br><li>TRUE: Assign a public IP <br><li>FALSE: Do not assign a public IP <br><br>If the public network bandwidth is greater than 0 Mbps, you can choose whether to assign a public IP; by default a public IP will be assigned. If the public network bandwidth is 0 Mbps, you will not be able to assign a public IP.
10520
+ * Whether to allocate a public IP address. Valid values:<br><li>true: Allocate a public IP address.</li><li>false: Do not allocate a public IP address.</li><br>When the public network bandwidth is greater than 0 Mbps, you can choose whether to enable the public IP address. The public IP address is enabled by default. When the public network bandwidth is 0, allocating the public IP address is not supported. This parameter is only used as an input parameter in the RunInstances API.
10436
10521
  * @type {boolean || null}
10437
10522
  */
10438
10523
  this.PublicIpAssigned = null;
@@ -10669,8 +10754,8 @@ Note: This field may return `null`, indicating that no valid values can be obtai
10669
10754
  this.Period = null;
10670
10755
 
10671
10756
  /**
10672
- * Auto-renewal flag. Valid values: <br><li>NOTIFY_AND_AUTO_RENEW: Notify upon expiration and renew automatically <br><li>NOTIFY_AND_MANUAL_RENEW: Notify upon expiration but do not renew automatically <br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW: Neither notify upon expiration nor renew automatically <br><br>Default value: `NOTIFY_AND_MANUAL_RENEW`. When `NOTIFY_AND_AUTO_RENEW` is specified, the instance is automatically renewed on a monthly basis if the account has sufficient balance.
10673
- Note: This field may return `null`, indicating that no valid values can be obtained.
10757
+ * Auto-renewal flag. Valid values:<br><li>NOTIFY_AND_AUTO_RENEW: Notify of expiration and automatically renew.</li><br><li>NOTIFY_AND_MANUAL_RENEW: Notify of expiration and manually renew.</li><br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not notify of expiration and do not automatically renew.</li><br><br>Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is set to NOTIFY_AND_AUTO_RENEW, an instance will be automatically renewed monthly after expiration, provided that the account balance is sufficient.
10758
+ Note: This field may return null, indicating that no valid value is found.
10674
10759
  * @type {string || null}
10675
10760
  */
10676
10761
  this.RenewFlag = null;
@@ -10783,6 +10868,7 @@ module.exports = {
10783
10868
  InternetChargeTypeConfig: InternetChargeTypeConfig,
10784
10869
  DescribeImagesResponse: DescribeImagesResponse,
10785
10870
  ModifyInstancesVpcAttributeResponse: ModifyInstancesVpcAttributeResponse,
10871
+ CpuTopology: CpuTopology,
10786
10872
  CreateKeyPairResponse: CreateKeyPairResponse,
10787
10873
  DeleteKeyPairsResponse: DeleteKeyPairsResponse,
10788
10874
  TagSpecification: TagSpecification,