tencentcloud-sdk-nodejs-intl-en 3.0.1365 → 3.0.1367
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 +1 -1
- package/tencentcloud/as/v20180419/as_client.js +3 -3
- package/tencentcloud/as/v20180419/models.js +1 -1
- package/tencentcloud/ciam/index.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/models.js +75 -94
- package/tencentcloud/dbbrain/index.js +1 -1
- package/tencentcloud/dlc/v20210125/dlc_client.js +15 -2
- package/tencentcloud/dlc/v20210125/models.js +272 -169
- package/tencentcloud/faceid/v20180301/faceid_client.js +28 -2
- package/tencentcloud/faceid/v20180301/models.js +294 -27
- package/tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.js +86 -54
- package/tencentcloud/intlpartnersmgt/v20220928/models.js +976 -268
- package/tencentcloud/ocr/v20181119/models.js +12720 -37
- package/tencentcloud/ocr/v20181119/ocr_client.js +1157 -0
- package/tencentcloud/organization/index.js +1 -1
- package/tencentcloud/sms/index.js +1 -1
- package/tencentcloud/tdmysql/v20211122/models.js +6027 -896
- package/tencentcloud/tdmysql/v20211122/tdmysql_client.js +376 -111
- package/tencentcloud/tke/index.js +1 -1
- package/tencentcloud/vm/index.js +1 -1
- package/tencentcloud/vod/index.js +1 -1
- package/tencentcloud/wedata/index.js +1 -1
- package/tencentcloud/wedata/v20210820/models.js +2 -2
package/package.json
CHANGED
|
@@ -462,9 +462,9 @@ This API is used to ensure added CVM instances match the VPC network of the scal
|
|
|
462
462
|
/**
|
|
463
463
|
* This API is used to reduce the specified number of instances from the scaling group.
|
|
464
464
|
* There is no on going scaling task.
|
|
465
|
-
* This API is valid even when the scaling group is disabled. For more details, see [DisableAutoScalingGroup](https://intl.cloud.tencent.com/document/
|
|
466
|
-
* You can specify the instances to remove in the scale-in activity by using `TerminationPolicies`. For more information, see [Scaling In Policies](https://intl.cloud.tencent.com/document/product/377/8563
|
|
467
|
-
* Only the `IN_SERVICE` instances will be reduced. To reduce instances in other statues, use the [`DetachInstances`](https://intl.cloud.tencent.com/document/api/377/31011
|
|
465
|
+
* This API is valid even when the scaling group is disabled. For more details, see [DisableAutoScalingGroup](https://intl.cloud.tencent.com/document/product/377/31010).
|
|
466
|
+
* You can specify the instances to remove in the scale-in activity by using `TerminationPolicies`. For more information, see [Scaling In Policies](https://intl.cloud.tencent.com/document/product/377/8563).
|
|
467
|
+
* Only the `IN_SERVICE` instances will be reduced. To reduce instances in other statues, use the [`DetachInstances`](https://intl.cloud.tencent.com/document/api/377/31011) or [`RemoveInstances`](https://intl.cloud.tencent.com/document/api/377/31005) API.
|
|
468
468
|
* The desired capacity will be reduced accordingly. The new desired capacity should be no less than the minimum capacity.
|
|
469
469
|
* If the scale-in activity failed or partially succeeded, the final desired capacity only deducts the instances that have been reduced successfully.
|
|
470
470
|
* @param {ScaleInInstancesRequest} req
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1367";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -1075,31 +1075,31 @@ class CreateClustersResponse extends AbstractModel {
|
|
|
1075
1075
|
super();
|
|
1076
1076
|
|
|
1077
1077
|
/**
|
|
1078
|
-
* Frozen transaction ID
|
|
1078
|
+
* <p>Frozen transaction ID</p>
|
|
1079
1079
|
* @type {string || null}
|
|
1080
1080
|
*/
|
|
1081
1081
|
this.TranId = null;
|
|
1082
1082
|
|
|
1083
1083
|
/**
|
|
1084
|
-
* Order ID
|
|
1084
|
+
* <p>Order ID</p>
|
|
1085
1085
|
* @type {Array.<string> || null}
|
|
1086
1086
|
*/
|
|
1087
1087
|
this.DealNames = null;
|
|
1088
1088
|
|
|
1089
1089
|
/**
|
|
1090
|
-
* Resource ID list (
|
|
1090
|
+
* <p>Resource ID list (This field is no longer maintained. Please use the dealNames field to query the API DescribeResourcesByDealName to obtain resource IDs)</p>
|
|
1091
1091
|
* @type {Array.<string> || null}
|
|
1092
1092
|
*/
|
|
1093
1093
|
this.ResourceIds = null;
|
|
1094
1094
|
|
|
1095
1095
|
/**
|
|
1096
|
-
* Cluster ID list
|
|
1096
|
+
* <p>Cluster ID list (This field is no longer maintained. Please use the dealNames field and the query API DescribeResourcesByDealName to get the cluster ID)</p>
|
|
1097
1097
|
* @type {Array.<string> || null}
|
|
1098
1098
|
*/
|
|
1099
1099
|
this.ClusterIds = null;
|
|
1100
1100
|
|
|
1101
1101
|
/**
|
|
1102
|
-
*
|
|
1102
|
+
* <p>Large Order ID</p>
|
|
1103
1103
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1104
1104
|
* @type {Array.<string> || null}
|
|
1105
1105
|
*/
|
|
@@ -5462,301 +5462,283 @@ class CreateClustersRequest extends AbstractModel {
|
|
|
5462
5462
|
super();
|
|
5463
5463
|
|
|
5464
5464
|
/**
|
|
5465
|
-
* AZ
|
|
5465
|
+
* <p>AZ.</p>
|
|
5466
5466
|
* @type {string || null}
|
|
5467
5467
|
*/
|
|
5468
5468
|
this.Zone = null;
|
|
5469
5469
|
|
|
5470
5470
|
/**
|
|
5471
|
-
* VPC ID
|
|
5471
|
+
* <p>VPC network ID</p>
|
|
5472
5472
|
* @type {string || null}
|
|
5473
5473
|
*/
|
|
5474
5474
|
this.VpcId = null;
|
|
5475
5475
|
|
|
5476
5476
|
/**
|
|
5477
|
-
* Subnet ID
|
|
5477
|
+
* <p>Subnet ID</p>
|
|
5478
5478
|
* @type {string || null}
|
|
5479
5479
|
*/
|
|
5480
5480
|
this.SubnetId = null;
|
|
5481
5481
|
|
|
5482
5482
|
/**
|
|
5483
|
-
* Database type
|
|
5484
|
-
<li> MYSQL </li>
|
|
5483
|
+
* <p>Database type</p><p>Enumeration value:</p><ul><li>MYSQL: MYSQL</li></ul>
|
|
5485
5484
|
* @type {string || null}
|
|
5486
5485
|
*/
|
|
5487
5486
|
this.DbType = null;
|
|
5488
5487
|
|
|
5489
5488
|
/**
|
|
5490
|
-
* Database version.
|
|
5491
|
-
<li> Valid values for `MYSQL`: 5.7 and 8.0 </li>
|
|
5489
|
+
* <p>Database version</p><p>Enumeration value:</p><ul><li>5.7: MySQL 5.7 edition</li><li>8.0: MySQL 8.0 edition</li></ul>
|
|
5492
5490
|
* @type {string || null}
|
|
5493
5491
|
*/
|
|
5494
5492
|
this.DbVersion = null;
|
|
5495
5493
|
|
|
5496
5494
|
/**
|
|
5497
|
-
*
|
|
5495
|
+
* <p>project-ID</p>
|
|
5498
5496
|
* @type {number || null}
|
|
5499
5497
|
*/
|
|
5500
5498
|
this.ProjectId = null;
|
|
5501
5499
|
|
|
5502
5500
|
/**
|
|
5503
|
-
*
|
|
5504
|
-
Number of CPU cores of normal instance
|
|
5501
|
+
* <p>Required when DbMode is NORMAL or left blank<br>Cpu cores of the regular instance</p>
|
|
5505
5502
|
* @type {number || null}
|
|
5506
5503
|
*/
|
|
5507
5504
|
this.Cpu = null;
|
|
5508
5505
|
|
|
5509
5506
|
/**
|
|
5510
|
-
*
|
|
5511
|
-
Memory of a non-serverless instance in GB
|
|
5507
|
+
* <p>Required when DbMode is NORMAL or left blank<br>Ordinary instance memory in GB</p>
|
|
5512
5508
|
* @type {number || null}
|
|
5513
5509
|
*/
|
|
5514
5510
|
this.Memory = null;
|
|
5515
5511
|
|
|
5516
5512
|
/**
|
|
5517
|
-
* Instance count
|
|
5513
|
+
* <p>Instance count</p><p>Value ranges from [1, 16]</p><p>Default value: 2</p><ul><li>A value of 2 means one rw instance + one ro instance.</li><li>The transmitted n refers to one rw instance + n-1 ro instances (identical specifications).</li><li>For a more precise cluster composition collocation, please use InstanceInitInfos.</li><li>The value set by this parameter is suitable for provisioned resource cluster. If needed to set the specifications and quantity of Serverless cluster, please use the InstanceInitInfo structure in InstanceInitInfos.n.</li></ul>
|
|
5518
5514
|
* @type {number || null}
|
|
5519
5515
|
*/
|
|
5520
5516
|
this.InstanceCount = null;
|
|
5521
5517
|
|
|
5522
5518
|
/**
|
|
5523
|
-
* This parameter
|
|
5524
|
-
Storage capacity in GB
|
|
5519
|
+
* <p>This parameter is meaningless and abandoned.<br>Storage size, in GB.</p>
|
|
5525
5520
|
* @type {number || null}
|
|
5526
5521
|
*/
|
|
5527
5522
|
this.Storage = null;
|
|
5528
5523
|
|
|
5529
5524
|
/**
|
|
5530
|
-
* Cluster name,
|
|
5525
|
+
* <p>Cluster name, length less than 64 characters, each character value ranges from uppercase/lowercase letters, digits, special symbols ('-', '_', '.')</p>
|
|
5531
5526
|
* @type {string || null}
|
|
5532
5527
|
*/
|
|
5533
5528
|
this.ClusterName = null;
|
|
5534
5529
|
|
|
5535
5530
|
/**
|
|
5536
|
-
* Account
|
|
5531
|
+
* <p>Account (8-64 characters, a combination of uppercase and lowercase letters, digits and symbols ~!@#$%^&*_-+=`|(){}[]:;'<>,.?/ with any three types required)</p>
|
|
5537
5532
|
* @type {string || null}
|
|
5538
5533
|
*/
|
|
5539
5534
|
this.AdminPassword = null;
|
|
5540
5535
|
|
|
5541
5536
|
/**
|
|
5542
|
-
* Port
|
|
5537
|
+
* <p>Port, default 3306, in the range of [0, 65535)</p>
|
|
5543
5538
|
* @type {number || null}
|
|
5544
5539
|
*/
|
|
5545
5540
|
this.Port = null;
|
|
5546
5541
|
|
|
5547
5542
|
/**
|
|
5548
|
-
* Billing mode
|
|
5549
|
-
Value is 0, indicating pay-as-you-go billing.
|
|
5550
|
-
Value is 1, which means yearly/monthly subscription.
|
|
5543
|
+
* <p>Billing mode</p><p>Enumeration value:</p><ul><li>0: Pay-as-you-go billing</li><li>1: Monthly Subscription</li></ul><p>Default value: 0</p>
|
|
5551
5544
|
* @type {number || null}
|
|
5552
5545
|
*/
|
|
5553
5546
|
this.PayMode = null;
|
|
5554
5547
|
|
|
5555
5548
|
/**
|
|
5556
|
-
* Number of
|
|
5549
|
+
* <p>Number of clusters to purchase. Optional value range: [1,50]. Default is 1.</p>
|
|
5557
5550
|
* @type {number || null}
|
|
5558
5551
|
*/
|
|
5559
5552
|
this.Count = null;
|
|
5560
5553
|
|
|
5561
5554
|
/**
|
|
5562
|
-
* Rollback type:
|
|
5563
|
-
noneRollback: no rollback;
|
|
5564
|
-
snapRollback: rollback by snapshot;
|
|
5565
|
-
timeRollback: rollback by time point
|
|
5555
|
+
* <p>Rollback type</p><p>Enumeration value:</p><ul><li>noneRollback: No rollback</li><li>snapRollback: Snapshot rollback</li><li>timeRollback: Point-in-time rollback</li></ul>
|
|
5566
5556
|
* @type {string || null}
|
|
5567
5557
|
*/
|
|
5568
5558
|
this.RollbackStrategy = null;
|
|
5569
5559
|
|
|
5570
5560
|
/**
|
|
5571
|
-
*
|
|
5561
|
+
* <p>Snapshot rollback means snapshotId; point-in-time rollback means queryId. A value of 0 indicates requirement to judge whether the time point is valid.</p>
|
|
5572
5562
|
* @type {number || null}
|
|
5573
5563
|
*/
|
|
5574
5564
|
this.RollbackId = null;
|
|
5575
5565
|
|
|
5576
5566
|
/**
|
|
5577
|
-
*
|
|
5567
|
+
* <p>During rollback, input the source cluster ID to search for the source poolId</p>
|
|
5578
5568
|
* @type {string || null}
|
|
5579
5569
|
*/
|
|
5580
5570
|
this.OriginalClusterId = null;
|
|
5581
5571
|
|
|
5582
5572
|
/**
|
|
5583
|
-
*
|
|
5573
|
+
* <p>Point-in-time rollback, specified time; snapshot rollback, snapshot time</p>
|
|
5584
5574
|
* @type {string || null}
|
|
5585
5575
|
*/
|
|
5586
5576
|
this.ExpectTime = null;
|
|
5587
5577
|
|
|
5588
5578
|
/**
|
|
5589
|
-
* This parameter
|
|
5590
|
-
Specified allowed time range for time point rollback
|
|
5579
|
+
* <p>This parameter is meaningless and abandoned.<br>Point-in-time rollback, allowed range of specified time.</p>
|
|
5591
5580
|
* @type {number || null}
|
|
5592
5581
|
*/
|
|
5593
5582
|
this.ExpectTimeThresh = null;
|
|
5594
5583
|
|
|
5595
5584
|
/**
|
|
5596
|
-
*
|
|
5597
|
-
If `DbType` is `MYSQL` and the storage billing mode is yearly/monthly subscription, the parameter value can't exceed the maximum storage corresponding to the CPU and memory specifications.
|
|
5585
|
+
* <p>Ordinary instance storage cap, in GB<br>When DbType is MYSQL and the storage billing mode is prepaid, this parameter should not exceed the maximum storage specification corresponding to cpu and memory.</p>
|
|
5598
5586
|
* @type {number || null}
|
|
5599
5587
|
*/
|
|
5600
5588
|
this.StorageLimit = null;
|
|
5601
5589
|
|
|
5602
5590
|
/**
|
|
5603
|
-
*
|
|
5591
|
+
* <p>Annual and monthly subscription duration</p>
|
|
5604
5592
|
* @type {number || null}
|
|
5605
5593
|
*/
|
|
5606
5594
|
this.TimeSpan = null;
|
|
5607
5595
|
|
|
5608
5596
|
/**
|
|
5609
|
-
*
|
|
5597
|
+
* <p>Annual and monthly subscription duration unit, ['s', 'd', 'm', 'y']</p>
|
|
5610
5598
|
* @type {string || null}
|
|
5611
5599
|
*/
|
|
5612
5600
|
this.TimeUnit = null;
|
|
5613
5601
|
|
|
5614
5602
|
/**
|
|
5615
|
-
*
|
|
5616
|
-
0 indicates the default renewal method. 1 means auto-renewal. 2 means no auto-renewal.
|
|
5603
|
+
* <p>Whether Annual/Monthly Subscription is auto-renewed</p><p>Enumeration value:</p><ul><li>0: Default renewal method</li><li>1: Auto-renewal</li><li>2: No auto-renewal</li></ul><p>Default value: 0</p>
|
|
5617
5604
|
* @type {number || null}
|
|
5618
5605
|
*/
|
|
5619
5606
|
this.AutoRenewFlag = null;
|
|
5620
5607
|
|
|
5621
5608
|
/**
|
|
5622
|
-
* Whether to automatically select
|
|
5609
|
+
* <p>Whether to automatically select voucher 1 Yes 0 No Default value: 0</p><p>Enumeration value:</p><ul><li>1: Yes</li><li>0: No</li></ul><p>Default value: 0</p>
|
|
5623
5610
|
* @type {number || null}
|
|
5624
5611
|
*/
|
|
5625
5612
|
this.AutoVoucher = null;
|
|
5626
5613
|
|
|
5627
5614
|
/**
|
|
5628
|
-
*
|
|
5615
|
+
* <p>Instance count (this parameter is deprecated and only for existing accommodative)</p>
|
|
5629
5616
|
* @type {number || null}
|
|
5630
5617
|
*/
|
|
5631
5618
|
this.HaCount = null;
|
|
5632
5619
|
|
|
5633
5620
|
/**
|
|
5634
|
-
* Order source
|
|
5621
|
+
* <p>Order source</p>
|
|
5635
5622
|
* @type {string || null}
|
|
5636
5623
|
*/
|
|
5637
5624
|
this.OrderSource = null;
|
|
5638
5625
|
|
|
5639
5626
|
/**
|
|
5640
|
-
* Array
|
|
5627
|
+
* <p>tag Array info that should be bound for cluster creation</p>
|
|
5641
5628
|
* @type {Array.<Tag> || null}
|
|
5642
5629
|
*/
|
|
5643
5630
|
this.ResourceTags = null;
|
|
5644
5631
|
|
|
5645
5632
|
/**
|
|
5646
|
-
*
|
|
5647
|
-
Valid values when `DbType` is `MYSQL` (default value: `NORMAL`):
|
|
5648
|
-
<li>NORMAL</li>
|
|
5649
|
-
<li>SERVERLESS</li>
|
|
5633
|
+
* <p>Db type</p><p>Enumeration value:</p><ul><li>NORMAL: NORMAL instance</li><li>SERVERLESS: SERVERLESS instance</li></ul><p>Default value: NORMAL</p><p>Selectable when DbType is MYSQL (default NORMAL)</p>
|
|
5650
5634
|
* @type {string || null}
|
|
5651
5635
|
*/
|
|
5652
5636
|
this.DbMode = null;
|
|
5653
5637
|
|
|
5654
5638
|
/**
|
|
5655
|
-
*
|
|
5656
|
-
Minimum number of CPU cores. For the value range, see the returned result of `DescribeServerlessInstanceSpecs`.
|
|
5639
|
+
* <p>Required when DbMode is SERVERLESS<br>Minimum value of cpu. For optional range, see API response of DescribeServerlessInstanceSpecs</p>
|
|
5657
5640
|
* @type {number || null}
|
|
5658
5641
|
*/
|
|
5659
5642
|
this.MinCpu = null;
|
|
5660
5643
|
|
|
5661
5644
|
/**
|
|
5662
|
-
*
|
|
5663
|
-
Maximum number of CPU cores. For the value range, see the returned result of `DescribeServerlessInstanceSpecs`.
|
|
5645
|
+
* <p>Required when DbMode is SERVERLESS:<br>Maximum value of cpu. For optional range, see API response of DescribeServerlessInstanceSpecs.</p>
|
|
5664
5646
|
* @type {number || null}
|
|
5665
5647
|
*/
|
|
5666
5648
|
this.MaxCpu = null;
|
|
5667
5649
|
|
|
5668
5650
|
/**
|
|
5669
|
-
*
|
|
5670
|
-
<li>yes</li>
|
|
5671
|
-
<li>no</li>
|
|
5672
|
-
Default value: yes
|
|
5651
|
+
* <p>No auto pause</p><p>Enumeration value:</p><ul><li>yes: Yes</li><li>no: No</li></ul><p>Default value: yes</p><p>Take effect when DbMode is SERVERLESS</p>
|
|
5673
5652
|
* @type {string || null}
|
|
5674
5653
|
*/
|
|
5675
5654
|
this.AutoPause = null;
|
|
5676
5655
|
|
|
5677
5656
|
/**
|
|
5678
|
-
*
|
|
5679
|
-
Default value: `600`
|
|
5657
|
+
* <p>When DbMode is SERVERLESS, specify the delay for Cluster Auto-Pause in seconds. Optional range: [600,691200]<br>Default value: 600</p>
|
|
5680
5658
|
* @type {number || null}
|
|
5681
5659
|
*/
|
|
5682
5660
|
this.AutoPauseDelay = null;
|
|
5683
5661
|
|
|
5684
5662
|
/**
|
|
5685
|
-
* The billing mode of cluster
|
|
5686
|
-
If `DbType` is `MYSQL` and the billing mode of cluster compute is pay-as-you-go (or the `DbMode` is `SERVERLESS`), the billing mode of cluster storage must be pay-as-you-go.
|
|
5687
|
-
Clusters with storage billed in yearly/monthly subscription can't be cloned or rolled back.
|
|
5663
|
+
* <p>The storage billing mode of the cluster. Pay-As-You-Go: 0, Monthly Subscription: 1. Default is Pay-As-You-Go.<br>When DbType is MYSQL and the compute billing mode of the cluster is postpaid (including DbMode as SERVERLESS), the storage billing mode can only be Pay-As-You-Go.<br>Rollback and clone do not support Monthly Subscription storage.</p>
|
|
5688
5664
|
* @type {number || null}
|
|
5689
5665
|
*/
|
|
5690
5666
|
this.StoragePayMode = null;
|
|
5691
5667
|
|
|
5692
5668
|
/**
|
|
5693
|
-
*
|
|
5669
|
+
* <p>Security group id array</p>
|
|
5694
5670
|
* @type {Array.<string> || null}
|
|
5695
5671
|
*/
|
|
5696
5672
|
this.SecurityGroupIds = null;
|
|
5697
5673
|
|
|
5698
5674
|
/**
|
|
5699
|
-
*
|
|
5675
|
+
* <p>Alarm policy Id array</p>
|
|
5700
5676
|
* @type {Array.<string> || null}
|
|
5701
5677
|
*/
|
|
5702
5678
|
this.AlarmPolicyIds = null;
|
|
5703
5679
|
|
|
5704
5680
|
/**
|
|
5705
|
-
*
|
|
5681
|
+
* <p>Parameter array, temporarily supports character_set_server (utf8|latin1|gbk|utf8mb4), lower_case_table_names, 1-case-insensitive, 0-case-sensitive</p>
|
|
5706
5682
|
* @type {Array.<ParamItem> || null}
|
|
5707
5683
|
*/
|
|
5708
5684
|
this.ClusterParams = null;
|
|
5709
5685
|
|
|
5710
5686
|
/**
|
|
5711
|
-
* Transaction mode
|
|
5687
|
+
* <p>Transaction mode</p><p>Enumeration value:</p><ul><li>0: Place order and pay</li><li>1: Place order</li></ul><p>Default value: 0</p>
|
|
5712
5688
|
* @type {number || null}
|
|
5713
5689
|
*/
|
|
5714
5690
|
this.DealMode = null;
|
|
5715
5691
|
|
|
5716
5692
|
/**
|
|
5717
|
-
* Parameter template ID
|
|
5693
|
+
* <p>Parameter template ID. The parameter template ID can be obtained through querying parameter template information DescribeParamTemplates.</p>
|
|
5718
5694
|
* @type {number || null}
|
|
5719
5695
|
*/
|
|
5720
5696
|
this.ParamTemplateId = null;
|
|
5721
5697
|
|
|
5722
5698
|
/**
|
|
5723
|
-
* Multi-AZ address
|
|
5699
|
+
* <p>Multi-AZ address</p>
|
|
5724
5700
|
* @type {string || null}
|
|
5725
5701
|
*/
|
|
5726
5702
|
this.SlaveZone = null;
|
|
5727
5703
|
|
|
5728
5704
|
/**
|
|
5729
|
-
* Instance initialization configuration information
|
|
5705
|
+
* <p>Instance initialization configuration information is mainly used to select different specification instances during cluster purchase.</p>
|
|
5730
5706
|
* @type {Array.<InstanceInitInfo> || null}
|
|
5731
5707
|
*/
|
|
5732
5708
|
this.InstanceInitInfos = null;
|
|
5733
5709
|
|
|
5734
5710
|
/**
|
|
5735
|
-
* Global database unique
|
|
5711
|
+
* <p>Global database unique ID</p>
|
|
5736
5712
|
* @type {string || null}
|
|
5737
5713
|
*/
|
|
5738
5714
|
this.GdnId = null;
|
|
5739
5715
|
|
|
5740
5716
|
/**
|
|
5741
|
-
* Database proxy configuration
|
|
5717
|
+
* <p>Database proxy configuration</p>
|
|
5742
5718
|
* @type {ProxyConfig || null}
|
|
5743
5719
|
*/
|
|
5744
5720
|
this.ProxyConfig = null;
|
|
5745
5721
|
|
|
5746
5722
|
/**
|
|
5747
|
-
*
|
|
5723
|
+
* <p>Auto archive or not</p><p>Enumeration value:</p><ul><li>yes: Yes</li><li>no: No</li></ul><p>Default value: no</p><p>This parameter takes effect only when the primary instance of the current cluster is SERVERLESS</p>
|
|
5748
5724
|
* @type {string || null}
|
|
5749
5725
|
*/
|
|
5750
5726
|
this.AutoArchive = null;
|
|
5751
5727
|
|
|
5752
5728
|
/**
|
|
5753
|
-
* Archiving processing time after pausing
|
|
5729
|
+
* <p>Archiving processing time after pausing</p><p>Measurement unit: hour</p><p>Default value: 12</p><p>This parameter takes effect only when the primary instance of the current cluster is SERVERLESS.</p>
|
|
5754
5730
|
* @type {number || null}
|
|
5755
5731
|
*/
|
|
5756
5732
|
this.AutoArchiveDelayHours = null;
|
|
5757
5733
|
|
|
5758
5734
|
/**
|
|
5759
|
-
*
|
|
5735
|
+
* <p>Cluster level, optional. Example: P0, P1. (This field can be ignored)</p>
|
|
5736
|
+
* @type {string || null}
|
|
5737
|
+
*/
|
|
5738
|
+
this.ClusterLevel = null;
|
|
5739
|
+
|
|
5740
|
+
/**
|
|
5741
|
+
* <p>Kernel minor version</p>
|
|
5760
5742
|
* @type {string || null}
|
|
5761
5743
|
*/
|
|
5762
5744
|
this.CynosVersion = null;
|
|
@@ -5844,6 +5826,7 @@ Clusters with storage billed in yearly/monthly subscription can't be cloned or r
|
|
|
5844
5826
|
}
|
|
5845
5827
|
this.AutoArchive = 'AutoArchive' in params ? params.AutoArchive : null;
|
|
5846
5828
|
this.AutoArchiveDelayHours = 'AutoArchiveDelayHours' in params ? params.AutoArchiveDelayHours : null;
|
|
5829
|
+
this.ClusterLevel = 'ClusterLevel' in params ? params.ClusterLevel : null;
|
|
5847
5830
|
this.CynosVersion = 'CynosVersion' in params ? params.CynosVersion : null;
|
|
5848
5831
|
|
|
5849
5832
|
}
|
|
@@ -9739,49 +9722,49 @@ class ProxyConfig extends AbstractModel {
|
|
|
9739
9722
|
super();
|
|
9740
9723
|
|
|
9741
9724
|
/**
|
|
9742
|
-
* Number of database proxy group nodes.
|
|
9725
|
+
* <p>Number of database proxy group nodes. This parameter is no longer recommended. Recommend using ProxyZones.</p>
|
|
9743
9726
|
* @type {number || null}
|
|
9744
9727
|
*/
|
|
9745
9728
|
this.ProxyCount = null;
|
|
9746
9729
|
|
|
9747
9730
|
/**
|
|
9748
|
-
*
|
|
9731
|
+
* <p>cpu cores</p>
|
|
9749
9732
|
* @type {number || null}
|
|
9750
9733
|
*/
|
|
9751
9734
|
this.Cpu = null;
|
|
9752
9735
|
|
|
9753
9736
|
/**
|
|
9754
|
-
* Memory
|
|
9737
|
+
* <p>Memory</p>
|
|
9755
9738
|
* @type {number || null}
|
|
9756
9739
|
*/
|
|
9757
9740
|
this.Mem = null;
|
|
9758
9741
|
|
|
9759
9742
|
/**
|
|
9760
|
-
* Connection pool type: SessionConnectionPool (session-level connection pool)
|
|
9743
|
+
* <p>Connection pool type: SessionConnectionPool (session-level connection pool)</p>
|
|
9761
9744
|
* @type {string || null}
|
|
9762
9745
|
*/
|
|
9763
9746
|
this.ConnectionPoolType = null;
|
|
9764
9747
|
|
|
9765
9748
|
/**
|
|
9766
|
-
* Whether
|
|
9749
|
+
* <p>Whether the connection pool is enabled, yes-enable, no-disable</p>
|
|
9767
9750
|
* @type {string || null}
|
|
9768
9751
|
*/
|
|
9769
9752
|
this.OpenConnectionPool = null;
|
|
9770
9753
|
|
|
9771
9754
|
/**
|
|
9772
|
-
* Connection pool threshold
|
|
9755
|
+
* <p>Connection pool threshold: Measurement unit (seconds)</p>
|
|
9773
9756
|
* @type {number || null}
|
|
9774
9757
|
*/
|
|
9775
9758
|
this.ConnectionPoolTimeOut = null;
|
|
9776
9759
|
|
|
9777
9760
|
/**
|
|
9778
|
-
*
|
|
9761
|
+
* <p>description</p>
|
|
9779
9762
|
* @type {string || null}
|
|
9780
9763
|
*/
|
|
9781
9764
|
this.Description = null;
|
|
9782
9765
|
|
|
9783
9766
|
/**
|
|
9784
|
-
* Database node information (this parameter is used in combination with ProxyCount
|
|
9767
|
+
* <p>Database node information (this parameter is used in combination with ProxyCount and either one must be input)</p>
|
|
9785
9768
|
* @type {Array.<ProxyZone> || null}
|
|
9786
9769
|
*/
|
|
9787
9770
|
this.ProxyZones = null;
|
|
@@ -15676,57 +15659,55 @@ class InstanceInitInfo extends AbstractModel {
|
|
|
15676
15659
|
super();
|
|
15677
15660
|
|
|
15678
15661
|
/**
|
|
15679
|
-
* Instance
|
|
15662
|
+
* <p>Instance cpu</p>
|
|
15680
15663
|
* @type {number || null}
|
|
15681
15664
|
*/
|
|
15682
15665
|
this.Cpu = null;
|
|
15683
15666
|
|
|
15684
15667
|
/**
|
|
15685
|
-
* Instance memory
|
|
15668
|
+
* <p>Instance memory</p>
|
|
15686
15669
|
* @type {number || null}
|
|
15687
15670
|
*/
|
|
15688
15671
|
this.Memory = null;
|
|
15689
15672
|
|
|
15690
15673
|
/**
|
|
15691
|
-
* Instance type
|
|
15674
|
+
* <p>Instance type rw/ro</p>
|
|
15692
15675
|
* @type {string || null}
|
|
15693
15676
|
*/
|
|
15694
15677
|
this.InstanceType = null;
|
|
15695
15678
|
|
|
15696
15679
|
/**
|
|
15697
|
-
* Number of
|
|
15680
|
+
* <p>Number of instances, range [1,15]</p>
|
|
15698
15681
|
* @type {number || null}
|
|
15699
15682
|
*/
|
|
15700
15683
|
this.InstanceCount = null;
|
|
15701
15684
|
|
|
15702
15685
|
/**
|
|
15703
|
-
* Minimum
|
|
15686
|
+
* <p>Minimum count of Serverless instance, range [1,15]</p>
|
|
15704
15687
|
* @type {number || null}
|
|
15705
15688
|
*/
|
|
15706
15689
|
this.MinRoCount = null;
|
|
15707
15690
|
|
|
15708
15691
|
/**
|
|
15709
|
-
* Maximum
|
|
15692
|
+
* <p>Maximum count of Serverless instances, range [1,15]</p>
|
|
15710
15693
|
* @type {number || null}
|
|
15711
15694
|
*/
|
|
15712
15695
|
this.MaxRoCount = null;
|
|
15713
15696
|
|
|
15714
15697
|
/**
|
|
15715
|
-
* Minimum
|
|
15698
|
+
* <p>Minimum specification of Serverless instance</p>
|
|
15716
15699
|
* @type {number || null}
|
|
15717
15700
|
*/
|
|
15718
15701
|
this.MinRoCpu = null;
|
|
15719
15702
|
|
|
15720
15703
|
/**
|
|
15721
|
-
* Maximum
|
|
15704
|
+
* <p>Maximum specification of Serverless instance</p>
|
|
15722
15705
|
* @type {number || null}
|
|
15723
15706
|
*/
|
|
15724
15707
|
this.MaxRoCpu = null;
|
|
15725
15708
|
|
|
15726
15709
|
/**
|
|
15727
|
-
* Instance
|
|
15728
|
-
1. common: general.
|
|
15729
|
-
2. exclusive: exclusive.
|
|
15710
|
+
* <p>Instance Machine Type</p><ol><li>common, universal type.</li><li>exclusive, dedicated.</li></ol>
|
|
15730
15711
|
* @type {string || null}
|
|
15731
15712
|
*/
|
|
15732
15713
|
this.DeviceType = null;
|
|
@@ -59,7 +59,7 @@ const SwitchDataEngineImageResponse = models.SwitchDataEngineImageResponse;
|
|
|
59
59
|
const PythonSparkImage = models.PythonSparkImage;
|
|
60
60
|
const Task = models.Task;
|
|
61
61
|
const DataEngineConfigInstanceInfo = models.DataEngineConfigInstanceInfo;
|
|
62
|
-
const
|
|
62
|
+
const CreateUserRoleResponse = models.CreateUserRoleResponse;
|
|
63
63
|
const CrontabResumeSuspendStrategy = models.CrontabResumeSuspendStrategy;
|
|
64
64
|
const DescribeQueryResponse = models.DescribeQueryResponse;
|
|
65
65
|
const CreateCHDFSBindingProductRequest = models.CreateCHDFSBindingProductRequest;
|
|
@@ -119,6 +119,7 @@ const UpdateDataEngineResponse = models.UpdateDataEngineResponse;
|
|
|
119
119
|
const DescribeTaskStatisticsResponse = models.DescribeTaskStatisticsResponse;
|
|
120
120
|
const DeleteUserResponse = models.DeleteUserResponse;
|
|
121
121
|
const SortOrder = models.SortOrder;
|
|
122
|
+
const CreateUserRoleRequest = models.CreateUserRoleRequest;
|
|
122
123
|
const SparkSessionBatchLog = models.SparkSessionBatchLog;
|
|
123
124
|
const DescribeEngineUsageInfoRequest = models.DescribeEngineUsageInfoRequest;
|
|
124
125
|
const SmartOptimizerWrittenPolicy = models.SmartOptimizerWrittenPolicy;
|
|
@@ -239,6 +240,7 @@ const CheckDataEngineImageCanBeRollbackResponse = models.CheckDataEngineImageCan
|
|
|
239
240
|
const SmartPolicyBaseInfo = models.SmartPolicyBaseInfo;
|
|
240
241
|
const CreateStoreLocationRequest = models.CreateStoreLocationRequest;
|
|
241
242
|
const DescribeThirdPartyAccessUserResponse = models.DescribeThirdPartyAccessUserResponse;
|
|
243
|
+
const TaskResultInfo = models.TaskResultInfo;
|
|
242
244
|
const CreateResultDownloadRequest = models.CreateResultDownloadRequest;
|
|
243
245
|
const DescribeLakeFsInfoResponse = models.DescribeLakeFsInfoResponse;
|
|
244
246
|
const DescribeJobsRequest = models.DescribeJobsRequest;
|
|
@@ -267,7 +269,7 @@ const TagInfo = models.TagInfo;
|
|
|
267
269
|
const NetworkConnection = models.NetworkConnection;
|
|
268
270
|
const CreateTasksRequest = models.CreateTasksRequest;
|
|
269
271
|
const SuspendResumeDataEngineRequest = models.SuspendResumeDataEngineRequest;
|
|
270
|
-
const
|
|
272
|
+
const DetachUserPolicyRequest = models.DetachUserPolicyRequest;
|
|
271
273
|
const DescribeSparkAppJobsResponse = models.DescribeSparkAppJobsResponse;
|
|
272
274
|
const DeleteThirdPartyAccessUserResponse = models.DeleteThirdPartyAccessUserResponse;
|
|
273
275
|
const DescribeSparkAppTasksResponse = models.DescribeSparkAppTasksResponse;
|
|
@@ -1334,6 +1336,17 @@ class DlcClient extends AbstractClient {
|
|
|
1334
1336
|
this.request("CreateDataEngine", req, resp, cb);
|
|
1335
1337
|
}
|
|
1336
1338
|
|
|
1339
|
+
/**
|
|
1340
|
+
* This API is used to create a user role.
|
|
1341
|
+
* @param {CreateUserRoleRequest} req
|
|
1342
|
+
* @param {function(string, CreateUserRoleResponse):void} cb
|
|
1343
|
+
* @public
|
|
1344
|
+
*/
|
|
1345
|
+
CreateUserRole(req, cb) {
|
|
1346
|
+
let resp = new CreateUserRoleResponse();
|
|
1347
|
+
this.request("CreateUserRole", req, resp, cb);
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1337
1350
|
/**
|
|
1338
1351
|
* This API is used to unbind a user group from a user.
|
|
1339
1352
|
* @param {UnbindWorkGroupsFromUserRequest} req
|