tencentcloud-sdk-nodejs-intl-en 3.0.1362 → 3.0.1363

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.1362",
3
+ "version": "3.0.1363",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1362";
1
+ const sdkVersion = "3.0.1363";
2
2
  module.exports = sdkVersion
@@ -427,7 +427,7 @@ This API is used to modify one attribute of the instance per request. The attrib
427
427
  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.
428
428
  This API is used to support batch operations. The maximum of 100 batch instances per request is supported.
429
429
  This API is used to modify the security group association. The originally associated security group of the instance will be unbound.
430
- * 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.
430
+ * You can query the result of the instance operation by calling the API [DescribeInstances](https://www.tencentcloud.com/document/api/213/33258). If the latest operation status (LatestOperationState) of the instance is **SUCCESS**, the operation is successful.
431
431
  This API is used to modify the hostname. The instance restarts immediately after hostname modification, and the new hostname takes effect after restart.
432
432
  * @param {ModifyInstancesAttributeRequest} req
433
433
  * @param {function(string, ModifyInstancesAttributeResponse):void} cb
@@ -682,7 +682,7 @@ If you currently use a password to log in, you will no longer be able to do so a
682
682
  * This API is used to modify the VPC attributes of an instance, such as the VPC IP address.
683
683
  * This action will shut down the instance, and restart it after the modification is completed.
684
684
  * To migrate an instance to another VPC/subnet, specify the new VPC and subnet directly. Make sure that the instance to migrate is not bound to an [ENI](https://intl.cloud.tencent.com/document/product/576?from_cn_redirect=1) or [CLB](https://intl.cloud.tencent.com/document/product/214?from_cn_redirect=1) instances.
685
- * 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 operation result. If the `LatestOperationState` in the response is `SUCCESS`, the operation is successful.
685
+ * You can use the API [DescribeInstances](https://www.tencentcloud.com/document/api/213/33258) to query the operation result. If the `LatestOperationState` in the response is `SUCCESS`, the operation is successful.
686
686
  * @param {ModifyInstancesVpcAttributeRequest} req
687
687
  * @param {function(string, ModifyInstancesVpcAttributeResponse):void} cb
688
688
  * @public
@@ -724,7 +724,7 @@ If you currently use a password to log in, you will no longer be able to do so a
724
724
  * To modify the password of the administrator account: the name of the administrator account varies with the operating system. In Windows, it is `Administrator`; in Ubuntu, it is `ubuntu`; in Linux, it is `root`.
725
725
  * To reset the password of a running instance, you need to set the parameter `ForceStop` to `True` for a forced shutdown. If not, only passwords of stopped instances can be reset.
726
726
  * Batch operations are supported. You can reset the passwords of up to 100 instances to the same value once.
727
- * You can call the [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) API and find the result of the operation in the response parameter `LatestOperationState`. If the value is `SUCCESS`, the operation is successful.
727
+ * You can call the [DescribeInstances](https://www.tencentcloud.com/document/api/213/33258) API and find the result of the operation in the response parameter `LatestOperationState`. If the value is `SUCCESS`, the operation is successful.
728
728
  * @param {ResetInstancesPasswordRequest} req
729
729
  * @param {function(string, ResetInstancesPasswordResponse):void} cb
730
730
  * @public
@@ -738,7 +738,7 @@ If you currently use a password to log in, you will no longer be able to do so a
738
738
  * This API is used to modify the renewal flag of monthly subscription instances.
739
739
 
740
740
  * After an instance is marked as auto-renewal, it will be automatically renewed for one month each time it expires.
741
- * Batch operations are supported. The maximum number of instances for each request is 100.* 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.
741
+ * Batch operations are supported. The maximum number of instances for each request is 100.* You can query the result of the instance operation by calling the API [DescribeInstances](https://www.tencentcloud.com/document/api/213/33258). If the latest operation status (LatestOperationState) of the instance is **SUCCESS**, the operation is successful.
742
742
  * @param {ModifyInstancesRenewFlagRequest} req
743
743
  * @param {function(string, ModifyInstancesRenewFlagResponse):void} cb
744
744
  * @public
@@ -766,7 +766,7 @@ If you currently use a password to log in, you will no longer be able to do so a
766
766
  /**
767
767
  * This API is used to query the price for adjusting the instance model.
768
768
 
769
- * Currently, you can only use this API to query the prices of instances whose [system disk type](https://intl.cloud.tencent.com/document/api/213/9452?from_cn_redirect=1#block_device) is `CLOUD_BASIC`, `CLOUD_PREMIUM`, or `CLOUD_SSD`.
769
+ * Currently, you can only use this API to query the prices of instances whose [system disk type](https://www.tencentcloud.com/document/product/213/15753) is `CLOUD_BASIC`, `CLOUD_PREMIUM`, or `CLOUD_SSD`.
770
770
  * Currently, you cannot use this API to query the prices of [CDH](https://intl.cloud.tencent.com/document/product/416?from_cn_redirect=1) instances.
771
771
  * @param {InquiryPriceResetInstancesTypeRequest} req
772
772
  * @param {function(string, InquiryPriceResetInstancesTypeResponse):void} cb
@@ -780,7 +780,7 @@ If you currently use a password to log in, you will no longer be able to do so a
780
780
  /**
781
781
  * This API (ResizeInstanceDisks) is used to expand the data disks of an instance.
782
782
 
783
- * Currently, you can only use the API to expand non-elastic data disks whose [disk type](https://intl.cloud.tencent.com/document/api/213/9452?from_cn_redirect=1#block_device) is `CLOUD_BASIC`, `CLOUD_PREMIUM`, or `CLOUD_SSD`. You can use [`DescribeDisks`](https://intl.cloud.tencent.com/document/api/362/16315?from_cn_redirect=1) to check whether a disk is elastic. If the `Portable` field in the response is `false`, it means that the disk is non-elastic.
783
+ * Currently, you can only use the API to expand non-elastic data disks whose [disk type](https://www.tencentcloud.com/document/product/213/15753) is `CLOUD_BASIC`, `CLOUD_PREMIUM`, or `CLOUD_SSD`. You can use [`DescribeDisks`](https://intl.cloud.tencent.com/document/api/362/16315?from_cn_redirect=1) to check whether a disk is elastic. If the `Portable` field in the response is `false`, it means that the disk is non-elastic.
784
784
  * Currently, this API does not support [CDH](https://intl.cloud.tencent.com/document/product/416?from_cn_redirect=1) instances.
785
785
  * Currently, only one data disk can be expanded at a time.
786
786
  * @param {ResizeInstanceDisksRequest} req
@@ -1024,7 +1024,7 @@ This API is used to create an instance launch template. After the initial creati
1024
1024
  * The system disk will be formatted and reset. Ensure that there are no important files in the system disk.
1025
1025
  * If you do not specify a password, a random password will be sent via Message Center.
1026
1026
  * Currently, only instances with a [system disk type](https://intl.cloud.tencent.com/document/api/213/9452?from_cn_redirect=1#SystemDisk) of `CLOUD_BASIC`, `CLOUD_PREMIUM`, `CLOUD_SSD`, or `CLOUD_BSSD` are supported for implementing operating system switching through this API.
1027
- * 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.
1027
+ * You can query the result of the instance operation by calling the API [DescribeInstances](https://www.tencentcloud.com/document/api/213/33258). If the latest operation status (LatestOperationState) of the instance is **SUCCESS**, the operation is successful.
1028
1028
  * @param {ResetInstanceRequest} req
1029
1029
  * @param {function(string, ResetInstanceResponse):void} cb
1030
1030
  * @public
@@ -1121,7 +1121,7 @@ This API is used to query the renewal price of monthly subscription instances.
1121
1121
  * This API is used to switch the billing mode of an instance.
1122
1122
 
1123
1123
  This API is used to perform operations that do not support instances with no charge when shut down, instances of the model families Batch Compute BC1 and Batch Compute BS1, or instances of scheduled termination.
1124
- * 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.
1124
+ * You can query the result of the instance operation by calling the API [DescribeInstances](https://www.tencentcloud.com/document/api/213/33258). If the latest operation status (LatestOperationState) of the instance is **SUCCESS**, the operation is successful.
1125
1125
  * @param {ModifyInstancesChargeTypeRequest} req
1126
1126
  * @param {function(string, ModifyInstancesChargeTypeResponse):void} cb
1127
1127
  * @public
@@ -1136,7 +1136,7 @@ This API is used to perform operations that do not support instances with no cha
1136
1136
 
1137
1137
  This API is used to operate on monthly subscription instances only.
1138
1138
  This API is used to ensure your account balance is sufficient for renewal. You can check the balance via the DescribeAccountBalance API (https://www.tencentcloud.com/document/product/555/20253?from_cn_redirect=1).
1139
- * 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.
1139
+ * You can query the result of the instance operation by calling the API [DescribeInstances](https://www.tencentcloud.com/document/api/213/33258). If the latest operation status (LatestOperationState) of the instance is **SUCCESS**, the operation is successful.
1140
1140
  * @param {RenewInstancesRequest} req
1141
1141
  * @param {function(string, RenewInstancesResponse):void} cb
1142
1142
  * @public
@@ -1301,7 +1301,7 @@ This API is used to ensure your account balance is sufficient for renewal. You c
1301
1301
  * Project is a virtual concept. You can create multiple projects under one account, manage different resources in each project, and assign different instances to different projects. You may use the [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) API to query instances and use the project ID to filter the results.
1302
1302
  * You cannot modify the project of an instance that is bound to a load balancer. You need to unbind the load balancer from the instance by using the [DeregisterInstancesFromLoadBalancer](https://intl.cloud.tencent.com/document/api/214/1258?from_cn_redirect=1) API before using this API.
1303
1303
  * Batch operations are supported. Up to 100 instances per request is allowed.
1304
- * 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 operation result. If the `LatestOperationState` in the response is `SUCCESS`, the operation is successful.
1304
+ * You can use the API [DescribeInstances](https://www.tencentcloud.com/document/api/213/33258) to query the operation result. If the `LatestOperationState` in the response is `SUCCESS`, the operation is successful.
1305
1305
  * @param {ModifyInstancesProjectRequest} req
1306
1306
  * @param {function(string, ModifyInstancesProjectResponse):void} cb
1307
1307
  * @public
@@ -115,8 +115,7 @@ class RenewInstancesRequest extends AbstractModel {
115
115
  this.InstanceIds = null;
116
116
 
117
117
  /**
118
- * Prepaid mode, that is, parameter settings related to monthly/annual subscription. specifies attributes of a monthly subscription instance, such as renewal duration and whether to enable auto-renewal, by specifying this parameter. <dx-alert infotype="explain" title="">.
119
- Annual and monthly subscription instances. this parameter is a required parameter.</dx-alert>.
118
+ * Settings for prepaid (monthly/yearly subscription) instances, including renewal duration and auto-renewal options. This parameter is required for prepaid instances.
120
119
  * @type {InstanceChargePrepaid || null}
121
120
  */
122
121
  this.InstanceChargePrepaid = null;
@@ -3708,7 +3707,7 @@ class SyncImagesRequest extends AbstractModel {
3708
3707
  this.ImageIds = null;
3709
3708
 
3710
3709
  /**
3711
- * List of target synchronization regions, which should meet the following requirements:<br><li>It should be a valid region.</li><li>If it is a custom image, the target synchronization region cannot be the source region.</li><li>If it is a shared image, the target synchronization region only supports the source region, meaning the shared image will be copied as a custom image in the source region.</li><li>Partial region synchronization is not supported currently. For details, see [Copying Images](https://intl.cloud.tencent.com/document/product/213/4943?from_cn_redirect=1#.E5.A4.8D.E5.88.B6.E8.AF.B4.E6.98.8E).</li>For specific regional parameters, refer to [Region](https://intl.cloud.tencent.com/document/product/213/6091?from_cn_redirect=1).
3710
+ * List of target synchronization regions, which should meet the following requirements:<br><li>It should be a valid region.</li><li>If it is a custom image, the target synchronization region cannot be the source region.</li><li>If it is a shared image, the target synchronization region only supports the source region, meaning the shared image will be copied as a custom image in the source region.</li><li>Partial region synchronization is not supported currently. For details, see [Copying Images](https://www.tencentcloud.com/document/product/213/4943).</li>For specific regional parameters, refer to [Region](https://intl.cloud.tencent.com/document/product/213/6091?from_cn_redirect=1).
3712
3711
  * @type {Array.<string> || null}
3713
3712
  */
3714
3713
  this.DestinationRegions = null;
@@ -7692,7 +7691,7 @@ class ResetInstancesInternetMaxBandwidthRequest extends AbstractModel {
7692
7691
  this.StartTime = null;
7693
7692
 
7694
7693
  /**
7695
- * Date until which the bandwidth takes effect, in the format of `YYYY-MM-DD`, such as `2016-10-30`. The validity period of the new bandwidth covers the end date. The end date should not be later than the expiration date of a monthly subscription instance. You can obtain the expiration date of an instance through the `ExpiredTime` in the return value from the API [DescribeInstances](https://www.tencentcloud.com/zh/document/api/213/33258). This parameter is only valid for monthly subscription bandwidth, and is not supported for bandwidth billed by other modes. Otherwise, the API will return a corresponding error code.
7694
+ * Date until which the bandwidth takes effect, in the format of `YYYY-MM-DD`, such as `2016-10-30`. The validity period of the new bandwidth covers the end date. The end date should not be later than the expiration date of a monthly subscription instance. You can obtain the expiration date of an instance through the `ExpiredTime` in the return value from the API [DescribeInstances](https://www.tencentcloud.com/document/api/213/33258). This parameter is only valid for monthly subscription bandwidth, and is not supported for bandwidth billed by other modes. Otherwise, the API will return a corresponding error code.
7696
7695
  * @type {string || null}
7697
7696
  */
7698
7697
  this.EndTime = null;
@@ -11475,13 +11474,13 @@ class DescribeImagesRequest extends AbstractModel {
11475
11474
  this.Filters = null;
11476
11475
 
11477
11476
  /**
11478
- * Offset; default value: 0. For more information on `Offset`, see [API Introduction](https://intl.cloud.tencent.com/document/api/213/568?from_cn_redirect=1#.E8.BE.93.E5.85.A5.E5.8F.82.E6.95.B0.E4.B8.8E.E8.BF.94.E5.9B.9E.E5.8F.82.E6.95.B0.E9.87.8A.E4.B9.89).
11477
+ * Offset; default value: 0. For more information on `Offset`, see [API Introduction](https://www.tencentcloud.com/document/product/213/15689).
11479
11478
  * @type {number || null}
11480
11479
  */
11481
11480
  this.Offset = null;
11482
11481
 
11483
11482
  /**
11484
- * Number of results returned; default value: 20; maximum: 100. For more information on `Limit`, see [API Introduction](https://intl.cloud.tencent.com/document/api/213/568?from_cn_redirect=1#.E8.BE.93.E5.85.A5.E5.8F.82.E6.95.B0.E4.B8.8E.E8.BF.94.E5.9B.9E.E5.8F.82.E6.95.B0.E9.87.8A.E4.B9.89).
11483
+ * Number of results returned; default value: 20; maximum: 100. For more information on `Limit`, see [API Introduction](https://www.tencentcloud.com/document/product/213/15689).
11485
11484
  * @type {number || null}
11486
11485
  */
11487
11486
  this.Limit = null;
@@ -12563,7 +12562,7 @@ class InternetAccessible extends AbstractModel {
12563
12562
  this.BandwidthPackageId = null;
12564
12563
 
12565
12564
  /**
12566
- * Line type. for details on various types of lines and supported regions, refer to [EIP IP address types](https://www.tencentcloud.com/zh/document/product/213/5733). default value: BGP.
12565
+ * Line type. for details on various types of lines and supported regions, refer to [EIP IP address types](https://www.tencentcloud.com/document/product/213/5733). default value: BGP.
12567
12566
  <Li>BGP: specifies the general bgp line.</li>.
12568
12567
  For a user with static single-line IP allowlist enabled, valid values include:.
12569
12568
  <Li>CMCC: china mobile.</li>.
@@ -12581,7 +12580,7 @@ Note: The static single-line IP is only supported in some regions.
12581
12580
 
12582
12581
  <Li>WanIP: specifies the public ip address.</li>.
12583
12582
  <Li>HighQualityEIP: specifies a high quality ip. high quality ip is only supported in Singapore and hong kong (china).</li>.
12584
- <li> AntiDDoSEIP: specifies the anti-ddos eip. only partial regions support anti-ddos eip. details visible in the [elastic IP product overview](https://www.tencentcloud.com/zh/document/product/213/5733).</li>.
12583
+ <li> AntiDDoSEIP: specifies the anti-ddos eip. only partial regions support anti-ddos eip. details visible in the [elastic IP product overview](https://www.tencentcloud.com/document/product/213/5733).</li>.
12585
12584
  If needed, assign a public IPv4 address to the resource by specifying the IPv4 address type.
12586
12585
 
12587
12586
  This feature is in beta test in selected regions. submit a ticket for consultation (https://console.cloud.tencent.com/workorder/category) if needed.
@@ -218,6 +218,14 @@ Example value: RUN
218
218
  */
219
219
  this.ResultFile3Ds = null;
220
220
 
221
+ /**
222
+ * Component segmentation data;
223
+ Output format: {"MeshName_part_1": {"face_ids": [1,2,3..], "color": "#FF805C"}}
224
+ Here, face_idsis an integer array representing a set of face IDs for the segment, and colorspecifies the display color.
225
+ * @type {string || null}
226
+ */
227
+ this.PartSegmentationInfo = null;
228
+
221
229
  /**
222
230
  * 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.
223
231
  * @type {string || null}
@@ -245,6 +253,7 @@ Example value: RUN
245
253
  this.ResultFile3Ds.push(obj);
246
254
  }
247
255
  }
256
+ this.PartSegmentationInfo = 'PartSegmentationInfo' in params ? params.PartSegmentationInfo : null;
248
257
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
249
258
 
250
259
  }
@@ -1700,6 +1709,18 @@ Only supports FBX format
1700
1709
  */
1701
1710
  this.File = null;
1702
1711
 
1712
+ /**
1713
+ * <p>Model component segmentation data;<br>The format is a JSON string, e.g., {"MeshName_part_1":{"face_ids":[1,2,3..],"color":"#FF805C"}}.<br>Here, `face_ids` is an integer array representing the set of face IDs for the segment, and `color` specifies the color.</p>
1714
+ * @type {string || null}
1715
+ */
1716
+ this.PartSegmentationInfo = null;
1717
+
1718
+ /**
1719
+ * <p>Determines whether component generation is performed in a step-by-step manner.<br>When enabled, providing the original model allows for the generation of a model containing segmentation information, along with the corresponding segmentation data. Users can then edit this information before submitting the segmented model and data to proceed with the component generation process.<br>This parameter is disabled by default.</p>
1720
+ * @type {boolean || null}
1721
+ */
1722
+ this.EnableStagedGeneration = null;
1723
+
1703
1724
  }
1704
1725
 
1705
1726
  /**
@@ -1715,6 +1736,8 @@ Only supports FBX format
1715
1736
  obj.deserialize(params.File)
1716
1737
  this.File = obj;
1717
1738
  }
1739
+ this.PartSegmentationInfo = 'PartSegmentationInfo' in params ? params.PartSegmentationInfo : null;
1740
+ this.EnableStagedGeneration = 'EnableStagedGeneration' in params ? params.EnableStagedGeneration : null;
1718
1741
 
1719
1742
  }
1720
1743
  }
@@ -341,33 +341,18 @@ class DescribeCurrentOpResponse extends AbstractModel {
341
341
  }
342
342
 
343
343
  /**
344
- * ModifyInstanceParams response structure.
344
+ * DescribeAccountUsers request structure.
345
345
  * @class
346
346
  */
347
- class ModifyInstanceParamsResponse extends AbstractModel {
347
+ class DescribeAccountUsersRequest extends AbstractModel {
348
348
  constructor(){
349
349
  super();
350
350
 
351
351
  /**
352
- * Whether the modification on the parameter configuration takes effect.
353
- - true: the modified parameter value has taken effect.
354
- - false: execution failed.
355
-
356
- * @type {boolean || null}
357
- */
358
- this.Changed = null;
359
-
360
- /**
361
- * This parameter is temporarily meaningless (to be compatible with the earlier versions, reserve this parameter at the frontend).
362
- * @type {number || null}
363
- */
364
- this.TaskId = null;
365
-
366
- /**
367
- * 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.
352
+ * Specifies the ID of the instance for obtaining accounts. For example, cmgo-p8vn****. Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/MongoDB) and copy the instance ID from the instance list.
368
353
  * @type {string || null}
369
354
  */
370
- this.RequestId = null;
355
+ this.InstanceId = null;
371
356
 
372
357
  }
373
358
 
@@ -378,9 +363,7 @@ class ModifyInstanceParamsResponse extends AbstractModel {
378
363
  if (!params) {
379
364
  return;
380
365
  }
381
- this.Changed = 'Changed' in params ? params.Changed : null;
382
- this.TaskId = 'TaskId' in params ? params.TaskId : null;
383
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
366
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
384
367
 
385
368
  }
386
369
  }
@@ -1025,6 +1008,51 @@ class DescribeSRVConnectionDomainResponse extends AbstractModel {
1025
1008
  }
1026
1009
  }
1027
1010
 
1011
+ /**
1012
+ * ModifyInstanceParams response structure.
1013
+ * @class
1014
+ */
1015
+ class ModifyInstanceParamsResponse extends AbstractModel {
1016
+ constructor(){
1017
+ super();
1018
+
1019
+ /**
1020
+ * Whether the modification on the parameter configuration takes effect.
1021
+ - true: the modified parameter value has taken effect.
1022
+ - false: execution failed.
1023
+
1024
+ * @type {boolean || null}
1025
+ */
1026
+ this.Changed = null;
1027
+
1028
+ /**
1029
+ * This parameter is temporarily meaningless (to be compatible with the earlier versions, reserve this parameter at the frontend).
1030
+ * @type {number || null}
1031
+ */
1032
+ this.TaskId = null;
1033
+
1034
+ /**
1035
+ * 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.
1036
+ * @type {string || null}
1037
+ */
1038
+ this.RequestId = null;
1039
+
1040
+ }
1041
+
1042
+ /**
1043
+ * @private
1044
+ */
1045
+ deserialize(params) {
1046
+ if (!params) {
1047
+ return;
1048
+ }
1049
+ this.Changed = 'Changed' in params ? params.Changed : null;
1050
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
1051
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1052
+
1053
+ }
1054
+ }
1055
+
1028
1056
  /**
1029
1057
  * DescribeInstanceSSL request structure.
1030
1058
  * @class
@@ -4239,6 +4267,49 @@ class ModifyDBInstanceSecurityGroupRequest extends AbstractModel {
4239
4267
  }
4240
4268
  }
4241
4269
 
4270
+ /**
4271
+ * DescribeAccountUsers response structure.
4272
+ * @class
4273
+ */
4274
+ class DescribeAccountUsersResponse extends AbstractModel {
4275
+ constructor(){
4276
+ super();
4277
+
4278
+ /**
4279
+ *
4280
+ * @type {Array.<UserInfo> || null}
4281
+ */
4282
+ this.Users = null;
4283
+
4284
+ /**
4285
+ * 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.
4286
+ * @type {string || null}
4287
+ */
4288
+ this.RequestId = null;
4289
+
4290
+ }
4291
+
4292
+ /**
4293
+ * @private
4294
+ */
4295
+ deserialize(params) {
4296
+ if (!params) {
4297
+ return;
4298
+ }
4299
+
4300
+ if (params.Users) {
4301
+ this.Users = new Array();
4302
+ for (let z in params.Users) {
4303
+ let obj = new UserInfo();
4304
+ obj.deserialize(params.Users[z]);
4305
+ this.Users.push(obj);
4306
+ }
4307
+ }
4308
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4309
+
4310
+ }
4311
+ }
4312
+
4242
4313
  /**
4243
4314
  * DescribeDBInstanceNamespace response structure.
4244
4315
  * @class
@@ -4593,6 +4664,77 @@ class ModifyDBInstanceSecurityGroupResponse extends AbstractModel {
4593
4664
  }
4594
4665
  }
4595
4666
 
4667
+ /**
4668
+ *
4669
+ * @class
4670
+ */
4671
+ class UserInfo extends AbstractModel {
4672
+ constructor(){
4673
+ super();
4674
+
4675
+ /**
4676
+ *
4677
+ * @type {string || null}
4678
+ */
4679
+ this.UserName = null;
4680
+
4681
+ /**
4682
+ *
4683
+ * @type {Array.<Auth> || null}
4684
+ */
4685
+ this.AuthRole = null;
4686
+
4687
+ /**
4688
+ *
4689
+ * @type {string || null}
4690
+ */
4691
+ this.CreateTime = null;
4692
+
4693
+ /**
4694
+ *
4695
+ * @type {string || null}
4696
+ */
4697
+ this.UpdateTime = null;
4698
+
4699
+ /**
4700
+ *
4701
+ * @type {string || null}
4702
+ */
4703
+ this.UserDesc = null;
4704
+
4705
+ /**
4706
+ * Console password update time.
4707
+ * @type {string || null}
4708
+ */
4709
+ this.ConsolePassUpdateTime = null;
4710
+
4711
+ }
4712
+
4713
+ /**
4714
+ * @private
4715
+ */
4716
+ deserialize(params) {
4717
+ if (!params) {
4718
+ return;
4719
+ }
4720
+ this.UserName = 'UserName' in params ? params.UserName : null;
4721
+
4722
+ if (params.AuthRole) {
4723
+ this.AuthRole = new Array();
4724
+ for (let z in params.AuthRole) {
4725
+ let obj = new Auth();
4726
+ obj.deserialize(params.AuthRole[z]);
4727
+ this.AuthRole.push(obj);
4728
+ }
4729
+ }
4730
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
4731
+ this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
4732
+ this.UserDesc = 'UserDesc' in params ? params.UserDesc : null;
4733
+ this.ConsolePassUpdateTime = 'ConsolePassUpdateTime' in params ? params.ConsolePassUpdateTime : null;
4734
+
4735
+ }
4736
+ }
4737
+
4596
4738
  /**
4597
4739
  * DescribeInstanceParams request structure.
4598
4740
  * @class
@@ -9181,7 +9323,7 @@ module.exports = {
9181
9323
  DescribeSpecInfoRequest: DescribeSpecInfoRequest,
9182
9324
  CreateDBInstanceRequest: CreateDBInstanceRequest,
9183
9325
  DescribeCurrentOpResponse: DescribeCurrentOpResponse,
9184
- ModifyInstanceParamsResponse: ModifyInstanceParamsResponse,
9326
+ DescribeAccountUsersRequest: DescribeAccountUsersRequest,
9185
9327
  SetInstanceMaintenanceResponse: SetInstanceMaintenanceResponse,
9186
9328
  CreateBackupDBInstanceResponse: CreateBackupDBInstanceResponse,
9187
9329
  DescribeAuditLogsRequest: DescribeAuditLogsRequest,
@@ -9196,6 +9338,7 @@ module.exports = {
9196
9338
  SetDBInstanceDeletionProtectionRequest: SetDBInstanceDeletionProtectionRequest,
9197
9339
  InstanceMultiParam: InstanceMultiParam,
9198
9340
  DescribeSRVConnectionDomainResponse: DescribeSRVConnectionDomainResponse,
9341
+ ModifyInstanceParamsResponse: ModifyInstanceParamsResponse,
9199
9342
  DescribeInstanceSSLRequest: DescribeInstanceSSLRequest,
9200
9343
  DescribeBackupRulesResponse: DescribeBackupRulesResponse,
9201
9344
  SlowLogPattern: SlowLogPattern,
@@ -9251,6 +9394,7 @@ module.exports = {
9251
9394
  CreateAccountUserRequest: CreateAccountUserRequest,
9252
9395
  InstanceTextParam: InstanceTextParam,
9253
9396
  ModifyDBInstanceSecurityGroupRequest: ModifyDBInstanceSecurityGroupRequest,
9397
+ DescribeAccountUsersResponse: DescribeAccountUsersResponse,
9254
9398
  DescribeDBInstanceNamespaceResponse: DescribeDBInstanceNamespaceResponse,
9255
9399
  DescribeBackupDownloadTaskRequest: DescribeBackupDownloadTaskRequest,
9256
9400
  ModifySRVConnectionUrlRequest: ModifySRVConnectionUrlRequest,
@@ -9259,6 +9403,7 @@ module.exports = {
9259
9403
  DescribeSRVConnectionDomainRequest: DescribeSRVConnectionDomainRequest,
9260
9404
  DescribeDBBackupsResponse: DescribeDBBackupsResponse,
9261
9405
  ModifyDBInstanceSecurityGroupResponse: ModifyDBInstanceSecurityGroupResponse,
9406
+ UserInfo: UserInfo,
9262
9407
  DescribeInstanceParamsRequest: DescribeInstanceParamsRequest,
9263
9408
  NodeTag: NodeTag,
9264
9409
  InquirePriceCreateDBInstancesResponse: InquirePriceCreateDBInstancesResponse,
@@ -19,7 +19,7 @@ const AbstractClient = require('../../common/abstract_client')
19
19
  const DescribeSpecInfoRequest = models.DescribeSpecInfoRequest;
20
20
  const CreateDBInstanceRequest = models.CreateDBInstanceRequest;
21
21
  const DescribeCurrentOpResponse = models.DescribeCurrentOpResponse;
22
- const ModifyInstanceParamsResponse = models.ModifyInstanceParamsResponse;
22
+ const DescribeAccountUsersRequest = models.DescribeAccountUsersRequest;
23
23
  const SetInstanceMaintenanceResponse = models.SetInstanceMaintenanceResponse;
24
24
  const CreateBackupDBInstanceResponse = models.CreateBackupDBInstanceResponse;
25
25
  const DescribeAuditLogsRequest = models.DescribeAuditLogsRequest;
@@ -34,6 +34,7 @@ const FlushInstanceRouterConfigResponse = models.FlushInstanceRouterConfigRespon
34
34
  const SetDBInstanceDeletionProtectionRequest = models.SetDBInstanceDeletionProtectionRequest;
35
35
  const InstanceMultiParam = models.InstanceMultiParam;
36
36
  const DescribeSRVConnectionDomainResponse = models.DescribeSRVConnectionDomainResponse;
37
+ const ModifyInstanceParamsResponse = models.ModifyInstanceParamsResponse;
37
38
  const DescribeInstanceSSLRequest = models.DescribeInstanceSSLRequest;
38
39
  const DescribeBackupRulesResponse = models.DescribeBackupRulesResponse;
39
40
  const SlowLogPattern = models.SlowLogPattern;
@@ -89,6 +90,7 @@ const WanServiceNodeList = models.WanServiceNodeList;
89
90
  const CreateAccountUserRequest = models.CreateAccountUserRequest;
90
91
  const InstanceTextParam = models.InstanceTextParam;
91
92
  const ModifyDBInstanceSecurityGroupRequest = models.ModifyDBInstanceSecurityGroupRequest;
93
+ const DescribeAccountUsersResponse = models.DescribeAccountUsersResponse;
92
94
  const DescribeDBInstanceNamespaceResponse = models.DescribeDBInstanceNamespaceResponse;
93
95
  const DescribeBackupDownloadTaskRequest = models.DescribeBackupDownloadTaskRequest;
94
96
  const ModifySRVConnectionUrlRequest = models.ModifySRVConnectionUrlRequest;
@@ -97,6 +99,7 @@ const DisableSRVConnectionUrlRequest = models.DisableSRVConnectionUrlRequest;
97
99
  const DescribeSRVConnectionDomainRequest = models.DescribeSRVConnectionDomainRequest;
98
100
  const DescribeDBBackupsResponse = models.DescribeDBBackupsResponse;
99
101
  const ModifyDBInstanceSecurityGroupResponse = models.ModifyDBInstanceSecurityGroupResponse;
102
+ const UserInfo = models.UserInfo;
100
103
  const DescribeInstanceParamsRequest = models.DescribeInstanceParamsRequest;
101
104
  const NodeTag = models.NodeTag;
102
105
  const InquirePriceCreateDBInstancesResponse = models.InquirePriceCreateDBInstancesResponse;
@@ -752,6 +755,17 @@ class MongodbClient extends AbstractClient {
752
755
  this.request("UpgradeDbInstanceVersion", req, resp, cb);
753
756
  }
754
757
 
758
+ /**
759
+ * This API is used to obtain all accounts of the current instance.
760
+ * @param {DescribeAccountUsersRequest} req
761
+ * @param {function(string, DescribeAccountUsersResponse):void} cb
762
+ * @public
763
+ */
764
+ DescribeAccountUsers(req, cb) {
765
+ let resp = new DescribeAccountUsersResponse();
766
+ this.request("DescribeAccountUsers", req, resp, cb);
767
+ }
768
+
755
769
  /**
756
770
  * This API is used to modify the TTL duration of the SRV Access Address for a MongoDB database.
757
771
  * @param {ModifySRVConnectionUrlRequest} req