tencentcloud-sdk-nodejs-intl-en 3.0.1235 → 3.0.1236
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/common/sdk_version.js +1 -1
- package/tencentcloud/emr/v20190103/emr_client.js +1 -0
- package/tencentcloud/emr/v20190103/models.js +186 -0
- package/tencentcloud/postgres/v20170312/models.js +25 -11
- package/tencentcloud/redis/v20180412/models.js +663 -393
- package/tencentcloud/redis/v20180412/redis_client.js +54 -14
- package/tencentcloud/trtc/v20190722/models.js +843 -152
- package/tencentcloud/trtc/v20190722/trtc_client.js +89 -27
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1236";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -75,6 +75,7 @@ const SearchItem = models.SearchItem;
|
|
|
75
75
|
const ModifyResourcesTagsResponse = models.ModifyResourcesTagsResponse;
|
|
76
76
|
const ScaleOutServiceConfGroupsInfo = models.ScaleOutServiceConfGroupsInfo;
|
|
77
77
|
const CreateSLInstanceResponse = models.CreateSLInstanceResponse;
|
|
78
|
+
const SLInstance = models.SLInstance;
|
|
78
79
|
const MultiZoneSetting = models.MultiZoneSetting;
|
|
79
80
|
const TerminateInstanceResponse = models.TerminateInstanceResponse;
|
|
80
81
|
const InquiryPriceUpdateInstanceResponse = models.InquiryPriceUpdateInstanceResponse;
|
|
@@ -1610,6 +1610,12 @@ class CreateSLInstanceRequest extends AbstractModel {
|
|
|
1610
1610
|
*/
|
|
1611
1611
|
this.ClientToken = null;
|
|
1612
1612
|
|
|
1613
|
+
/**
|
|
1614
|
+
*
|
|
1615
|
+
* @type {string || null}
|
|
1616
|
+
*/
|
|
1617
|
+
this.DeploymentMode = null;
|
|
1618
|
+
|
|
1613
1619
|
}
|
|
1614
1620
|
|
|
1615
1621
|
/**
|
|
@@ -1649,6 +1655,7 @@ class CreateSLInstanceRequest extends AbstractModel {
|
|
|
1649
1655
|
this.PrePaySetting = obj;
|
|
1650
1656
|
}
|
|
1651
1657
|
this.ClientToken = 'ClientToken' in params ? params.ClientToken : null;
|
|
1658
|
+
this.DeploymentMode = 'DeploymentMode' in params ? params.DeploymentMode : null;
|
|
1652
1659
|
|
|
1653
1660
|
}
|
|
1654
1661
|
}
|
|
@@ -4554,6 +4561,169 @@ class CreateSLInstanceResponse extends AbstractModel {
|
|
|
4554
4561
|
}
|
|
4555
4562
|
}
|
|
4556
4563
|
|
|
4564
|
+
/**
|
|
4565
|
+
* Serverless Instance
|
|
4566
|
+
* @class
|
|
4567
|
+
*/
|
|
4568
|
+
class SLInstance extends AbstractModel {
|
|
4569
|
+
constructor(){
|
|
4570
|
+
super();
|
|
4571
|
+
|
|
4572
|
+
/**
|
|
4573
|
+
* EMR Instance Id
|
|
4574
|
+
* @type {string || null}
|
|
4575
|
+
*/
|
|
4576
|
+
this.InstanceId = null;
|
|
4577
|
+
|
|
4578
|
+
/**
|
|
4579
|
+
* EMR Numeric Instance Id
|
|
4580
|
+
* @type {number || null}
|
|
4581
|
+
*/
|
|
4582
|
+
this.ClusterId = null;
|
|
4583
|
+
|
|
4584
|
+
/**
|
|
4585
|
+
* Instance Name
|
|
4586
|
+
* @type {string || null}
|
|
4587
|
+
*/
|
|
4588
|
+
this.InstanceName = null;
|
|
4589
|
+
|
|
4590
|
+
/**
|
|
4591
|
+
* Region id
|
|
4592
|
+
* @type {number || null}
|
|
4593
|
+
*/
|
|
4594
|
+
this.RegionId = null;
|
|
4595
|
+
|
|
4596
|
+
/**
|
|
4597
|
+
* Zone Name
|
|
4598
|
+
* @type {string || null}
|
|
4599
|
+
*/
|
|
4600
|
+
this.Zone = null;
|
|
4601
|
+
|
|
4602
|
+
/**
|
|
4603
|
+
* Pay Mode
|
|
4604
|
+
* @type {number || null}
|
|
4605
|
+
*/
|
|
4606
|
+
this.PayMode = null;
|
|
4607
|
+
|
|
4608
|
+
/**
|
|
4609
|
+
* Disk Type
|
|
4610
|
+
* @type {string || null}
|
|
4611
|
+
*/
|
|
4612
|
+
this.DiskType = null;
|
|
4613
|
+
|
|
4614
|
+
/**
|
|
4615
|
+
* Disk Size
|
|
4616
|
+
* @type {number || null}
|
|
4617
|
+
*/
|
|
4618
|
+
this.DiskSize = null;
|
|
4619
|
+
|
|
4620
|
+
/**
|
|
4621
|
+
* Node Type
|
|
4622
|
+
* @type {string || null}
|
|
4623
|
+
*/
|
|
4624
|
+
this.NodeType = null;
|
|
4625
|
+
|
|
4626
|
+
/**
|
|
4627
|
+
* Node Number
|
|
4628
|
+
* @type {number || null}
|
|
4629
|
+
*/
|
|
4630
|
+
this.NodeNum = null;
|
|
4631
|
+
|
|
4632
|
+
/**
|
|
4633
|
+
* Expire Time
|
|
4634
|
+
* @type {string || null}
|
|
4635
|
+
*/
|
|
4636
|
+
this.ExpireTime = null;
|
|
4637
|
+
|
|
4638
|
+
/**
|
|
4639
|
+
* Isolate Time
|
|
4640
|
+
* @type {string || null}
|
|
4641
|
+
*/
|
|
4642
|
+
this.IsolateTime = null;
|
|
4643
|
+
|
|
4644
|
+
/**
|
|
4645
|
+
* Create Time
|
|
4646
|
+
* @type {string || null}
|
|
4647
|
+
*/
|
|
4648
|
+
this.CreateTime = null;
|
|
4649
|
+
|
|
4650
|
+
/**
|
|
4651
|
+
* Auto Renew Flag
|
|
4652
|
+
* @type {number || null}
|
|
4653
|
+
*/
|
|
4654
|
+
this.AutoRenewFlag = null;
|
|
4655
|
+
|
|
4656
|
+
/**
|
|
4657
|
+
* EMR Numeric Instance Status
|
|
4658
|
+
* @type {number || null}
|
|
4659
|
+
*/
|
|
4660
|
+
this.Status = null;
|
|
4661
|
+
|
|
4662
|
+
/**
|
|
4663
|
+
* Zone Setting
|
|
4664
|
+
* @type {Array.<ZoneSetting> || null}
|
|
4665
|
+
*/
|
|
4666
|
+
this.ZoneSettings = null;
|
|
4667
|
+
|
|
4668
|
+
/**
|
|
4669
|
+
* Bound Tags
|
|
4670
|
+
* @type {Array.<Tag> || null}
|
|
4671
|
+
*/
|
|
4672
|
+
this.Tags = null;
|
|
4673
|
+
|
|
4674
|
+
/**
|
|
4675
|
+
* Deploy Role
|
|
4676
|
+
* @type {string || null}
|
|
4677
|
+
*/
|
|
4678
|
+
this.DeployRole = null;
|
|
4679
|
+
|
|
4680
|
+
}
|
|
4681
|
+
|
|
4682
|
+
/**
|
|
4683
|
+
* @private
|
|
4684
|
+
*/
|
|
4685
|
+
deserialize(params) {
|
|
4686
|
+
if (!params) {
|
|
4687
|
+
return;
|
|
4688
|
+
}
|
|
4689
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4690
|
+
this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
|
|
4691
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
4692
|
+
this.RegionId = 'RegionId' in params ? params.RegionId : null;
|
|
4693
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
4694
|
+
this.PayMode = 'PayMode' in params ? params.PayMode : null;
|
|
4695
|
+
this.DiskType = 'DiskType' in params ? params.DiskType : null;
|
|
4696
|
+
this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
|
|
4697
|
+
this.NodeType = 'NodeType' in params ? params.NodeType : null;
|
|
4698
|
+
this.NodeNum = 'NodeNum' in params ? params.NodeNum : null;
|
|
4699
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
4700
|
+
this.IsolateTime = 'IsolateTime' in params ? params.IsolateTime : null;
|
|
4701
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
4702
|
+
this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
|
|
4703
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
4704
|
+
|
|
4705
|
+
if (params.ZoneSettings) {
|
|
4706
|
+
this.ZoneSettings = new Array();
|
|
4707
|
+
for (let z in params.ZoneSettings) {
|
|
4708
|
+
let obj = new ZoneSetting();
|
|
4709
|
+
obj.deserialize(params.ZoneSettings[z]);
|
|
4710
|
+
this.ZoneSettings.push(obj);
|
|
4711
|
+
}
|
|
4712
|
+
}
|
|
4713
|
+
|
|
4714
|
+
if (params.Tags) {
|
|
4715
|
+
this.Tags = new Array();
|
|
4716
|
+
for (let z in params.Tags) {
|
|
4717
|
+
let obj = new Tag();
|
|
4718
|
+
obj.deserialize(params.Tags[z]);
|
|
4719
|
+
this.Tags.push(obj);
|
|
4720
|
+
}
|
|
4721
|
+
}
|
|
4722
|
+
this.DeployRole = 'DeployRole' in params ? params.DeployRole : null;
|
|
4723
|
+
|
|
4724
|
+
}
|
|
4725
|
+
}
|
|
4726
|
+
|
|
4557
4727
|
/**
|
|
4558
4728
|
* Parameter information of each AZ
|
|
4559
4729
|
* @class
|
|
@@ -6735,6 +6905,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6735
6905
|
*/
|
|
6736
6906
|
this.NodeNum = null;
|
|
6737
6907
|
|
|
6908
|
+
/**
|
|
6909
|
+
*
|
|
6910
|
+
* @type {Array.<SLInstance> || null}
|
|
6911
|
+
*/
|
|
6912
|
+
this.SLInstance = null;
|
|
6913
|
+
|
|
6738
6914
|
/**
|
|
6739
6915
|
* 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.
|
|
6740
6916
|
* @type {string || null}
|
|
@@ -6783,6 +6959,15 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6783
6959
|
this.Status = 'Status' in params ? params.Status : null;
|
|
6784
6960
|
this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
|
|
6785
6961
|
this.NodeNum = 'NodeNum' in params ? params.NodeNum : null;
|
|
6962
|
+
|
|
6963
|
+
if (params.SLInstance) {
|
|
6964
|
+
this.SLInstance = new Array();
|
|
6965
|
+
for (let z in params.SLInstance) {
|
|
6966
|
+
let obj = new SLInstance();
|
|
6967
|
+
obj.deserialize(params.SLInstance[z]);
|
|
6968
|
+
this.SLInstance.push(obj);
|
|
6969
|
+
}
|
|
6970
|
+
}
|
|
6786
6971
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6787
6972
|
|
|
6788
6973
|
}
|
|
@@ -10283,6 +10468,7 @@ module.exports = {
|
|
|
10283
10468
|
ModifyResourcesTagsResponse: ModifyResourcesTagsResponse,
|
|
10284
10469
|
ScaleOutServiceConfGroupsInfo: ScaleOutServiceConfGroupsInfo,
|
|
10285
10470
|
CreateSLInstanceResponse: CreateSLInstanceResponse,
|
|
10471
|
+
SLInstance: SLInstance,
|
|
10286
10472
|
MultiZoneSetting: MultiZoneSetting,
|
|
10287
10473
|
TerminateInstanceResponse: TerminateInstanceResponse,
|
|
10288
10474
|
InquiryPriceUpdateInstanceResponse: InquiryPriceUpdateInstanceResponse,
|
|
@@ -717,6 +717,12 @@ For more information on `KMSRegion`, see [Enabling TDE](https://intl.cloud.tence
|
|
|
717
717
|
*/
|
|
718
718
|
this.KMSRegion = null;
|
|
719
719
|
|
|
720
|
+
/**
|
|
721
|
+
*
|
|
722
|
+
* @type {string || null}
|
|
723
|
+
*/
|
|
724
|
+
this.KMSClusterId = null;
|
|
725
|
+
|
|
720
726
|
/**
|
|
721
727
|
* Database engine, which supports:
|
|
722
728
|
<li>`postgresql`: TencentDB for PostgreSQL</li>
|
|
@@ -809,6 +815,7 @@ Default value: 0
|
|
|
809
815
|
this.NeedSupportTDE = 'NeedSupportTDE' in params ? params.NeedSupportTDE : null;
|
|
810
816
|
this.KMSKeyId = 'KMSKeyId' in params ? params.KMSKeyId : null;
|
|
811
817
|
this.KMSRegion = 'KMSRegion' in params ? params.KMSRegion : null;
|
|
818
|
+
this.KMSClusterId = 'KMSClusterId' in params ? params.KMSClusterId : null;
|
|
812
819
|
this.DBEngine = 'DBEngine' in params ? params.DBEngine : null;
|
|
813
820
|
this.DBEngineConfig = 'DBEngineConfig' in params ? params.DBEngineConfig : null;
|
|
814
821
|
this.SyncMode = 'SyncMode' in params ? params.SyncMode : null;
|
|
@@ -3839,7 +3846,7 @@ db-public-address: filter by instance public network address (in string format)
|
|
|
3839
3846
|
this.Filters = null;
|
|
3840
3847
|
|
|
3841
3848
|
/**
|
|
3842
|
-
* The maximum number of results returned per page. Value range: 1-100. Default: `10
|
|
3849
|
+
* The maximum number of results returned per page. Value range: 1-100. Default: `10`.
|
|
3843
3850
|
* @type {number || null}
|
|
3844
3851
|
*/
|
|
3845
3852
|
this.Limit = null;
|
|
@@ -3851,7 +3858,7 @@ db-public-address: filter by instance public network address (in string format)
|
|
|
3851
3858
|
this.Offset = null;
|
|
3852
3859
|
|
|
3853
3860
|
/**
|
|
3854
|
-
* Sorting metric, such as instance name or creation time. Valid values: DBInstanceId, CreateTime, Name, EndTime
|
|
3861
|
+
* Sorting metric, such as instance name or creation time. Valid values: DBInstanceId, CreateTime, Name, EndTime.
|
|
3855
3862
|
* @type {string || null}
|
|
3856
3863
|
*/
|
|
3857
3864
|
this.OrderBy = null;
|
|
@@ -8087,7 +8094,7 @@ class DBInstance extends AbstractModel {
|
|
|
8087
8094
|
|
|
8088
8095
|
/**
|
|
8089
8096
|
* The major PostgreSQL version number, which can be queried by the [DescribeDBVersions](https://intl.cloud.tencent.com/document/api/409/89018?from_cn_redirect=1) API. Valid values: `10`, `11`, `12`, `13`, `14`, `15`.
|
|
8090
|
-
Note:
|
|
8097
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8091
8098
|
* @type {string || null}
|
|
8092
8099
|
*/
|
|
8093
8100
|
this.DBMajorVersion = null;
|
|
@@ -8100,7 +8107,7 @@ Note: u200dThis field may return null, indicating that no valid values can be ob
|
|
|
8100
8107
|
|
|
8101
8108
|
/**
|
|
8102
8109
|
* PostgreSQL kernel version number (like v12.7_r1.8), which can be queried by the [DescribeDBVersions](https://intl.cloud.tencent.com/document/api/409/89018?from_cn_redirect=1) API.
|
|
8103
|
-
Note:
|
|
8110
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8104
8111
|
* @type {string || null}
|
|
8105
8112
|
*/
|
|
8106
8113
|
this.DBKernelVersion = null;
|
|
@@ -8202,42 +8209,42 @@ Default value: 0
|
|
|
8202
8209
|
|
|
8203
8210
|
/**
|
|
8204
8211
|
* The information of tags associated with instances
|
|
8205
|
-
Note:
|
|
8212
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8206
8213
|
* @type {Array.<Tag> || null}
|
|
8207
8214
|
*/
|
|
8208
8215
|
this.TagList = null;
|
|
8209
8216
|
|
|
8210
8217
|
/**
|
|
8211
8218
|
* Primary instance information, which is returned only when the instance is read-only.
|
|
8212
|
-
Note:
|
|
8219
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8213
8220
|
* @type {string || null}
|
|
8214
8221
|
*/
|
|
8215
8222
|
this.MasterDBInstanceId = null;
|
|
8216
8223
|
|
|
8217
8224
|
/**
|
|
8218
8225
|
* Number of read-only instances
|
|
8219
|
-
Note:
|
|
8226
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8220
8227
|
* @type {number || null}
|
|
8221
8228
|
*/
|
|
8222
8229
|
this.ReadOnlyInstanceNum = null;
|
|
8223
8230
|
|
|
8224
8231
|
/**
|
|
8225
8232
|
* The status of a read-only instance in a read-only group
|
|
8226
|
-
Note:
|
|
8233
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8227
8234
|
* @type {string || null}
|
|
8228
8235
|
*/
|
|
8229
8236
|
this.StatusInReadonlyGroup = null;
|
|
8230
8237
|
|
|
8231
8238
|
/**
|
|
8232
8239
|
* Offline time
|
|
8233
|
-
Note:
|
|
8240
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8234
8241
|
* @type {string || null}
|
|
8235
8242
|
*/
|
|
8236
8243
|
this.OfflineTime = null;
|
|
8237
8244
|
|
|
8238
8245
|
/**
|
|
8239
8246
|
* Instance node information
|
|
8240
|
-
Note:
|
|
8247
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8241
8248
|
* @type {Array.<DBNode> || null}
|
|
8242
8249
|
*/
|
|
8243
8250
|
this.DBNodeSet = null;
|
|
@@ -9210,11 +9217,17 @@ Default value: `0`.
|
|
|
9210
9217
|
this.Name = null;
|
|
9211
9218
|
|
|
9212
9219
|
/**
|
|
9213
|
-
* (Disused) You don
|
|
9220
|
+
* (Disused) You don't need to specify a version, as the kernel version is as the same as that of the instance.
|
|
9214
9221
|
* @type {string || null}
|
|
9215
9222
|
*/
|
|
9216
9223
|
this.DBVersion = null;
|
|
9217
9224
|
|
|
9225
|
+
/**
|
|
9226
|
+
*
|
|
9227
|
+
* @type {string || null}
|
|
9228
|
+
*/
|
|
9229
|
+
this.DedicatedClusterId = null;
|
|
9230
|
+
|
|
9218
9231
|
}
|
|
9219
9232
|
|
|
9220
9233
|
/**
|
|
@@ -9249,6 +9262,7 @@ Default value: `0`.
|
|
|
9249
9262
|
this.NeedSupportIpv6 = 'NeedSupportIpv6' in params ? params.NeedSupportIpv6 : null;
|
|
9250
9263
|
this.Name = 'Name' in params ? params.Name : null;
|
|
9251
9264
|
this.DBVersion = 'DBVersion' in params ? params.DBVersion : null;
|
|
9265
|
+
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
9252
9266
|
|
|
9253
9267
|
}
|
|
9254
9268
|
}
|