tencentcloud-sdk-nodejs-intl-en 3.0.1370 → 3.0.1371
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/cdb/v20170320/cdb_client.js +15 -0
- package/tencentcloud/cdb/v20170320/models.js +275 -12
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/cvm_client.js +3 -3
- package/tencentcloud/cvm/v20170312/models.js +8 -8
- package/tencentcloud/faceid/v20180301/models.js +49 -17
- package/tencentcloud/wedata/v20210820/models.js +1 -1
package/package.json
CHANGED
|
@@ -197,6 +197,7 @@ const StopRollbackRequest = models.StopRollbackRequest;
|
|
|
197
197
|
const LogToCLSConfig = models.LogToCLSConfig;
|
|
198
198
|
const ResetRootAccountRequest = models.ResetRootAccountRequest;
|
|
199
199
|
const DescribeDBInstanceConfigRequest = models.DescribeDBInstanceConfigRequest;
|
|
200
|
+
const ClusterNodeInfo = models.ClusterNodeInfo;
|
|
200
201
|
const DescribeTableColumnsRequest = models.DescribeTableColumnsRequest;
|
|
201
202
|
const DescribeProxyCustomConfResponse = models.DescribeProxyCustomConfResponse;
|
|
202
203
|
const ModifyAuditConfigResponse = models.ModifyAuditConfigResponse;
|
|
@@ -250,6 +251,7 @@ const ResetRootAccountResponse = models.ResetRootAccountResponse;
|
|
|
250
251
|
const DisassociateSecurityGroupsRequest = models.DisassociateSecurityGroupsRequest;
|
|
251
252
|
const Account = models.Account;
|
|
252
253
|
const ModifyNameOrDescByDpIdResponse = models.ModifyNameOrDescByDpIdResponse;
|
|
254
|
+
const DescribeClusterInfoRequest = models.DescribeClusterInfoRequest;
|
|
253
255
|
const DescribeDBPriceResponse = models.DescribeDBPriceResponse;
|
|
254
256
|
const AuditLogFilter = models.AuditLogFilter;
|
|
255
257
|
const OpenDBInstanceGTIDResponse = models.OpenDBInstanceGTIDResponse;
|
|
@@ -407,6 +409,7 @@ const CloseAuditServiceRequest = models.CloseAuditServiceRequest;
|
|
|
407
409
|
const AutoStrategy = models.AutoStrategy;
|
|
408
410
|
const ModifyAccountMaxUserConnectionsResponse = models.ModifyAccountMaxUserConnectionsResponse;
|
|
409
411
|
const Outbound = models.Outbound;
|
|
412
|
+
const DescribeClusterInfoResponse = models.DescribeClusterInfoResponse;
|
|
410
413
|
const AuditInstanceFilters = models.AuditInstanceFilters;
|
|
411
414
|
const ParamInfo = models.ParamInfo;
|
|
412
415
|
const DescribeBackupDecryptionKeyResponse = models.DescribeBackupDecryptionKeyResponse;
|
|
@@ -454,6 +457,7 @@ const ModifyNameOrDescByDpIdRequest = models.ModifyNameOrDescByDpIdRequest;
|
|
|
454
457
|
const UpgradeDBInstanceResponse = models.UpgradeDBInstanceResponse;
|
|
455
458
|
const UpgradeCDBProxyVersionRequest = models.UpgradeCDBProxyVersionRequest;
|
|
456
459
|
const DeleteAuditRuleTemplatesResponse = models.DeleteAuditRuleTemplatesResponse;
|
|
460
|
+
const AddressInfo = models.AddressInfo;
|
|
457
461
|
const ModifyAuditRuleTemplatesResponse = models.ModifyAuditRuleTemplatesResponse;
|
|
458
462
|
|
|
459
463
|
|
|
@@ -1499,6 +1503,17 @@ Description: The parameter template is a common component, effective across all
|
|
|
1499
1503
|
this.request("DescribeDBInstanceInfo", req, resp, cb);
|
|
1500
1504
|
}
|
|
1501
1505
|
|
|
1506
|
+
/**
|
|
1507
|
+
* This API is used to query cloud disk edition instance info.
|
|
1508
|
+
* @param {DescribeClusterInfoRequest} req
|
|
1509
|
+
* @param {function(string, DescribeClusterInfoResponse):void} cb
|
|
1510
|
+
* @public
|
|
1511
|
+
*/
|
|
1512
|
+
DescribeClusterInfo(req, cb) {
|
|
1513
|
+
let resp = new DescribeClusterInfoResponse();
|
|
1514
|
+
this.request("DescribeClusterInfo", req, resp, cb);
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1502
1517
|
/**
|
|
1503
1518
|
* This API (DescribeRollbackRangeTime) is used to query the time range available for instance rollback.
|
|
1504
1519
|
* @param {DescribeRollbackRangeTimeRequest} req
|
|
@@ -8028,67 +8028,71 @@ class ModifyDBInstanceLogToCLSRequest extends AbstractModel {
|
|
|
8028
8028
|
super();
|
|
8029
8029
|
|
|
8030
8030
|
/**
|
|
8031
|
-
* Instance ID, which can be obtained through the
|
|
8031
|
+
* <p>Instance ID, which can be obtained through the <a href="https://www.tencentcloud.com/document/product/236/15872?from_cn_redirect=1">DescribeDBInstances</a> API.</p>
|
|
8032
8032
|
* @type {string || null}
|
|
8033
8033
|
*/
|
|
8034
8034
|
this.InstanceId = null;
|
|
8035
8035
|
|
|
8036
8036
|
/**
|
|
8037
|
-
* Log type.
|
|
8037
|
+
* <p>Log type. Error: error log, slowlog: slow log.</p>
|
|
8038
8038
|
* @type {string || null}
|
|
8039
8039
|
*/
|
|
8040
8040
|
this.LogType = null;
|
|
8041
8041
|
|
|
8042
8042
|
/**
|
|
8043
|
-
* Delivery status. ON:
|
|
8043
|
+
* <p>Delivery status. ON: enabled, OFF: disabled.</p>
|
|
8044
8044
|
* @type {string || null}
|
|
8045
8045
|
*/
|
|
8046
8046
|
this.Status = null;
|
|
8047
8047
|
|
|
8048
8048
|
/**
|
|
8049
|
-
* Whether required to create logset. Default to false
|
|
8049
|
+
* <p>Whether required to create logset. Default to false.</p>
|
|
8050
8050
|
* @type {boolean || null}
|
|
8051
8051
|
*/
|
|
8052
8052
|
this.CreateLogset = null;
|
|
8053
8053
|
|
|
8054
8054
|
/**
|
|
8055
|
-
* Logset name when creating a logset; logset ID when selecting an existing
|
|
8056
|
-
Description: When the parameter Status is set to ON, you must fill in either the Logset or LogTopic parameter.
|
|
8055
|
+
* <p>Logset name when creating a logset; logset ID when selecting an existing logset. Empty by default.<br>Description: When the Status parameter is ON, either the Logset or LogTopic parameter must be filled.</p>
|
|
8057
8056
|
* @type {string || null}
|
|
8058
8057
|
*/
|
|
8059
8058
|
this.Logset = null;
|
|
8060
8059
|
|
|
8061
8060
|
/**
|
|
8062
|
-
* Whether required to create log topic. Default to false
|
|
8061
|
+
* <p>Whether required to create log topic. Default to false.</p>
|
|
8063
8062
|
* @type {boolean || null}
|
|
8064
8063
|
*/
|
|
8065
8064
|
this.CreateLogTopic = null;
|
|
8066
8065
|
|
|
8067
8066
|
/**
|
|
8068
|
-
*
|
|
8069
|
-
Description: When the parameter Status is set to ON, you must fill in either the Logset or LogTopic parameter.
|
|
8067
|
+
* <p>Enter a log topic name when creating a log topic, or enter a log topic ID when selecting an existing log topic. Empty by default.<br>Description: When the Status parameter is set to ON, either the Logset or LogTopic parameter must be specified.</p>
|
|
8070
8068
|
* @type {string || null}
|
|
8071
8069
|
*/
|
|
8072
8070
|
this.LogTopic = null;
|
|
8073
8071
|
|
|
8074
8072
|
/**
|
|
8075
|
-
*
|
|
8073
|
+
* <p>Valid period of the log topic. Default value: 30 days if left empty. Maximum value: 3600 days.</p>
|
|
8076
8074
|
* @type {number || null}
|
|
8077
8075
|
*/
|
|
8078
8076
|
this.Period = null;
|
|
8079
8077
|
|
|
8080
8078
|
/**
|
|
8081
|
-
* Whether to create an index when creating a log topic.
|
|
8079
|
+
* <p>Whether to create an index when creating a log topic. Defaults to false.</p>
|
|
8082
8080
|
* @type {boolean || null}
|
|
8083
8081
|
*/
|
|
8084
8082
|
this.CreateIndex = null;
|
|
8085
8083
|
|
|
8086
8084
|
/**
|
|
8087
|
-
*
|
|
8085
|
+
* <p>CLS region. If left empty, it defaults to the Region parameter value.</p>
|
|
8088
8086
|
* @type {string || null}
|
|
8089
8087
|
*/
|
|
8090
8088
|
this.ClsRegion = null;
|
|
8091
8089
|
|
|
8090
|
+
/**
|
|
8091
|
+
* <p>Selectable when creating a log topic. Cannot exceed 10 tags</p>
|
|
8092
|
+
* @type {Array.<TagInfoItem> || null}
|
|
8093
|
+
*/
|
|
8094
|
+
this.ResourceTags = null;
|
|
8095
|
+
|
|
8092
8096
|
}
|
|
8093
8097
|
|
|
8094
8098
|
/**
|
|
@@ -8109,6 +8113,15 @@ Description: When the parameter Status is set to ON, you must fill in either the
|
|
|
8109
8113
|
this.CreateIndex = 'CreateIndex' in params ? params.CreateIndex : null;
|
|
8110
8114
|
this.ClsRegion = 'ClsRegion' in params ? params.ClsRegion : null;
|
|
8111
8115
|
|
|
8116
|
+
if (params.ResourceTags) {
|
|
8117
|
+
this.ResourceTags = new Array();
|
|
8118
|
+
for (let z in params.ResourceTags) {
|
|
8119
|
+
let obj = new TagInfoItem();
|
|
8120
|
+
obj.deserialize(params.ResourceTags[z]);
|
|
8121
|
+
this.ResourceTags.push(obj);
|
|
8122
|
+
}
|
|
8123
|
+
}
|
|
8124
|
+
|
|
8112
8125
|
}
|
|
8113
8126
|
}
|
|
8114
8127
|
|
|
@@ -9618,6 +9631,62 @@ class DescribeDBInstanceConfigRequest extends AbstractModel {
|
|
|
9618
9631
|
}
|
|
9619
9632
|
}
|
|
9620
9633
|
|
|
9634
|
+
/**
|
|
9635
|
+
* Cluster Edition instance node information.
|
|
9636
|
+
* @class
|
|
9637
|
+
*/
|
|
9638
|
+
class ClusterNodeInfo extends AbstractModel {
|
|
9639
|
+
constructor(){
|
|
9640
|
+
super();
|
|
9641
|
+
|
|
9642
|
+
/**
|
|
9643
|
+
* node id.
|
|
9644
|
+
* @type {string || null}
|
|
9645
|
+
*/
|
|
9646
|
+
this.NodeId = null;
|
|
9647
|
+
|
|
9648
|
+
/**
|
|
9649
|
+
* Node role.
|
|
9650
|
+
* @type {string || null}
|
|
9651
|
+
*/
|
|
9652
|
+
this.Role = null;
|
|
9653
|
+
|
|
9654
|
+
/**
|
|
9655
|
+
* Node AZ.
|
|
9656
|
+
* @type {string || null}
|
|
9657
|
+
*/
|
|
9658
|
+
this.Zone = null;
|
|
9659
|
+
|
|
9660
|
+
/**
|
|
9661
|
+
* Weight of the node
|
|
9662
|
+
* @type {number || null}
|
|
9663
|
+
*/
|
|
9664
|
+
this.Weight = null;
|
|
9665
|
+
|
|
9666
|
+
/**
|
|
9667
|
+
* Node status.
|
|
9668
|
+
* @type {string || null}
|
|
9669
|
+
*/
|
|
9670
|
+
this.Status = null;
|
|
9671
|
+
|
|
9672
|
+
}
|
|
9673
|
+
|
|
9674
|
+
/**
|
|
9675
|
+
* @private
|
|
9676
|
+
*/
|
|
9677
|
+
deserialize(params) {
|
|
9678
|
+
if (!params) {
|
|
9679
|
+
return;
|
|
9680
|
+
}
|
|
9681
|
+
this.NodeId = 'NodeId' in params ? params.NodeId : null;
|
|
9682
|
+
this.Role = 'Role' in params ? params.Role : null;
|
|
9683
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
9684
|
+
this.Weight = 'Weight' in params ? params.Weight : null;
|
|
9685
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
9686
|
+
|
|
9687
|
+
}
|
|
9688
|
+
}
|
|
9689
|
+
|
|
9621
9690
|
/**
|
|
9622
9691
|
* DescribeTableColumns request structure.
|
|
9623
9692
|
* @class
|
|
@@ -12533,6 +12602,35 @@ class ModifyNameOrDescByDpIdResponse extends AbstractModel {
|
|
|
12533
12602
|
}
|
|
12534
12603
|
}
|
|
12535
12604
|
|
|
12605
|
+
/**
|
|
12606
|
+
* DescribeClusterInfo request structure.
|
|
12607
|
+
* @class
|
|
12608
|
+
*/
|
|
12609
|
+
class DescribeClusterInfoRequest extends AbstractModel {
|
|
12610
|
+
constructor(){
|
|
12611
|
+
super();
|
|
12612
|
+
|
|
12613
|
+
/**
|
|
12614
|
+
* Instance ID, which can be obtained through the [DescribeDBInstances](https://www.tencentcloud.com/document/product/236/15872?from_cn_redirect=1) API.
|
|
12615
|
+
Description: Only able to input the instance ID of instances with cloud disk architecture, corresponding to console instance configurations displayed as "Cloud Disk Edition (Cloud Disk)".
|
|
12616
|
+
* @type {string || null}
|
|
12617
|
+
*/
|
|
12618
|
+
this.InstanceId = null;
|
|
12619
|
+
|
|
12620
|
+
}
|
|
12621
|
+
|
|
12622
|
+
/**
|
|
12623
|
+
* @private
|
|
12624
|
+
*/
|
|
12625
|
+
deserialize(params) {
|
|
12626
|
+
if (!params) {
|
|
12627
|
+
return;
|
|
12628
|
+
}
|
|
12629
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
12630
|
+
|
|
12631
|
+
}
|
|
12632
|
+
}
|
|
12633
|
+
|
|
12536
12634
|
/**
|
|
12537
12635
|
* DescribeDBPrice response structure.
|
|
12538
12636
|
* @class
|
|
@@ -21611,6 +21709,97 @@ class Outbound extends AbstractModel {
|
|
|
21611
21709
|
}
|
|
21612
21710
|
}
|
|
21613
21711
|
|
|
21712
|
+
/**
|
|
21713
|
+
* DescribeClusterInfo response structure.
|
|
21714
|
+
* @class
|
|
21715
|
+
*/
|
|
21716
|
+
class DescribeClusterInfoResponse extends AbstractModel {
|
|
21717
|
+
constructor(){
|
|
21718
|
+
super();
|
|
21719
|
+
|
|
21720
|
+
/**
|
|
21721
|
+
* Instance name.
|
|
21722
|
+
* @type {string || null}
|
|
21723
|
+
*/
|
|
21724
|
+
this.ClusterName = null;
|
|
21725
|
+
|
|
21726
|
+
/**
|
|
21727
|
+
* Address information for reading and writing of the cloud disk edition instance.
|
|
21728
|
+
* @type {AddressInfo || null}
|
|
21729
|
+
*/
|
|
21730
|
+
this.ReadWriteAddress = null;
|
|
21731
|
+
|
|
21732
|
+
/**
|
|
21733
|
+
* Read-only address information of the cloud disk edition instance.
|
|
21734
|
+
* @type {Array.<AddressInfo> || null}
|
|
21735
|
+
*/
|
|
21736
|
+
this.ReadOnlyAddress = null;
|
|
21737
|
+
|
|
21738
|
+
/**
|
|
21739
|
+
* Node list information of the Cloud Disk Edition instance.
|
|
21740
|
+
* @type {Array.<ClusterNodeInfo> || null}
|
|
21741
|
+
*/
|
|
21742
|
+
this.NodeList = null;
|
|
21743
|
+
|
|
21744
|
+
/**
|
|
21745
|
+
* Read-only space protection threshold, GB
|
|
21746
|
+
* @type {number || null}
|
|
21747
|
+
*/
|
|
21748
|
+
this.ReadonlyLimit = null;
|
|
21749
|
+
|
|
21750
|
+
/**
|
|
21751
|
+
* Number of instance nodes.
|
|
21752
|
+
* @type {number || null}
|
|
21753
|
+
*/
|
|
21754
|
+
this.NodeCount = null;
|
|
21755
|
+
|
|
21756
|
+
/**
|
|
21757
|
+
* 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.
|
|
21758
|
+
* @type {string || null}
|
|
21759
|
+
*/
|
|
21760
|
+
this.RequestId = null;
|
|
21761
|
+
|
|
21762
|
+
}
|
|
21763
|
+
|
|
21764
|
+
/**
|
|
21765
|
+
* @private
|
|
21766
|
+
*/
|
|
21767
|
+
deserialize(params) {
|
|
21768
|
+
if (!params) {
|
|
21769
|
+
return;
|
|
21770
|
+
}
|
|
21771
|
+
this.ClusterName = 'ClusterName' in params ? params.ClusterName : null;
|
|
21772
|
+
|
|
21773
|
+
if (params.ReadWriteAddress) {
|
|
21774
|
+
let obj = new AddressInfo();
|
|
21775
|
+
obj.deserialize(params.ReadWriteAddress)
|
|
21776
|
+
this.ReadWriteAddress = obj;
|
|
21777
|
+
}
|
|
21778
|
+
|
|
21779
|
+
if (params.ReadOnlyAddress) {
|
|
21780
|
+
this.ReadOnlyAddress = new Array();
|
|
21781
|
+
for (let z in params.ReadOnlyAddress) {
|
|
21782
|
+
let obj = new AddressInfo();
|
|
21783
|
+
obj.deserialize(params.ReadOnlyAddress[z]);
|
|
21784
|
+
this.ReadOnlyAddress.push(obj);
|
|
21785
|
+
}
|
|
21786
|
+
}
|
|
21787
|
+
|
|
21788
|
+
if (params.NodeList) {
|
|
21789
|
+
this.NodeList = new Array();
|
|
21790
|
+
for (let z in params.NodeList) {
|
|
21791
|
+
let obj = new ClusterNodeInfo();
|
|
21792
|
+
obj.deserialize(params.NodeList[z]);
|
|
21793
|
+
this.NodeList.push(obj);
|
|
21794
|
+
}
|
|
21795
|
+
}
|
|
21796
|
+
this.ReadonlyLimit = 'ReadonlyLimit' in params ? params.ReadonlyLimit : null;
|
|
21797
|
+
this.NodeCount = 'NodeCount' in params ? params.NodeCount : null;
|
|
21798
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
21799
|
+
|
|
21800
|
+
}
|
|
21801
|
+
}
|
|
21802
|
+
|
|
21614
21803
|
/**
|
|
21615
21804
|
* Filter conditions for querying audit instances.
|
|
21616
21805
|
* @class
|
|
@@ -23936,6 +24125,76 @@ class DeleteAuditRuleTemplatesResponse extends AbstractModel {
|
|
|
23936
24125
|
}
|
|
23937
24126
|
}
|
|
23938
24127
|
|
|
24128
|
+
/**
|
|
24129
|
+
* Instance address information.
|
|
24130
|
+
* @class
|
|
24131
|
+
*/
|
|
24132
|
+
class AddressInfo extends AbstractModel {
|
|
24133
|
+
constructor(){
|
|
24134
|
+
super();
|
|
24135
|
+
|
|
24136
|
+
/**
|
|
24137
|
+
* Resource ID identifier of the address.
|
|
24138
|
+
* @type {string || null}
|
|
24139
|
+
*/
|
|
24140
|
+
this.ResourceId = null;
|
|
24141
|
+
|
|
24142
|
+
/**
|
|
24143
|
+
* The vpc where the address resides.
|
|
24144
|
+
* @type {string || null}
|
|
24145
|
+
*/
|
|
24146
|
+
this.UniqVpcId = null;
|
|
24147
|
+
|
|
24148
|
+
/**
|
|
24149
|
+
* The subnet where the address resides.
|
|
24150
|
+
* @type {string || null}
|
|
24151
|
+
*/
|
|
24152
|
+
this.UniqSubnetId = null;
|
|
24153
|
+
|
|
24154
|
+
/**
|
|
24155
|
+
* vip address.
|
|
24156
|
+
* @type {string || null}
|
|
24157
|
+
*/
|
|
24158
|
+
this.Vip = null;
|
|
24159
|
+
|
|
24160
|
+
/**
|
|
24161
|
+
* The port of the address.
|
|
24162
|
+
* @type {number || null}
|
|
24163
|
+
*/
|
|
24164
|
+
this.VPort = null;
|
|
24165
|
+
|
|
24166
|
+
/**
|
|
24167
|
+
* Public network address domain name.
|
|
24168
|
+
* @type {string || null}
|
|
24169
|
+
*/
|
|
24170
|
+
this.WanDomain = null;
|
|
24171
|
+
|
|
24172
|
+
/**
|
|
24173
|
+
* Public network address port.
|
|
24174
|
+
* @type {number || null}
|
|
24175
|
+
*/
|
|
24176
|
+
this.WanPort = null;
|
|
24177
|
+
|
|
24178
|
+
}
|
|
24179
|
+
|
|
24180
|
+
/**
|
|
24181
|
+
* @private
|
|
24182
|
+
*/
|
|
24183
|
+
deserialize(params) {
|
|
24184
|
+
if (!params) {
|
|
24185
|
+
return;
|
|
24186
|
+
}
|
|
24187
|
+
this.ResourceId = 'ResourceId' in params ? params.ResourceId : null;
|
|
24188
|
+
this.UniqVpcId = 'UniqVpcId' in params ? params.UniqVpcId : null;
|
|
24189
|
+
this.UniqSubnetId = 'UniqSubnetId' in params ? params.UniqSubnetId : null;
|
|
24190
|
+
this.Vip = 'Vip' in params ? params.Vip : null;
|
|
24191
|
+
this.VPort = 'VPort' in params ? params.VPort : null;
|
|
24192
|
+
this.WanDomain = 'WanDomain' in params ? params.WanDomain : null;
|
|
24193
|
+
this.WanPort = 'WanPort' in params ? params.WanPort : null;
|
|
24194
|
+
|
|
24195
|
+
}
|
|
24196
|
+
}
|
|
24197
|
+
|
|
23939
24198
|
/**
|
|
23940
24199
|
* ModifyAuditRuleTemplates response structure.
|
|
23941
24200
|
* @class
|
|
@@ -24146,6 +24405,7 @@ module.exports = {
|
|
|
24146
24405
|
LogToCLSConfig: LogToCLSConfig,
|
|
24147
24406
|
ResetRootAccountRequest: ResetRootAccountRequest,
|
|
24148
24407
|
DescribeDBInstanceConfigRequest: DescribeDBInstanceConfigRequest,
|
|
24408
|
+
ClusterNodeInfo: ClusterNodeInfo,
|
|
24149
24409
|
DescribeTableColumnsRequest: DescribeTableColumnsRequest,
|
|
24150
24410
|
DescribeProxyCustomConfResponse: DescribeProxyCustomConfResponse,
|
|
24151
24411
|
ModifyAuditConfigResponse: ModifyAuditConfigResponse,
|
|
@@ -24199,6 +24459,7 @@ module.exports = {
|
|
|
24199
24459
|
DisassociateSecurityGroupsRequest: DisassociateSecurityGroupsRequest,
|
|
24200
24460
|
Account: Account,
|
|
24201
24461
|
ModifyNameOrDescByDpIdResponse: ModifyNameOrDescByDpIdResponse,
|
|
24462
|
+
DescribeClusterInfoRequest: DescribeClusterInfoRequest,
|
|
24202
24463
|
DescribeDBPriceResponse: DescribeDBPriceResponse,
|
|
24203
24464
|
AuditLogFilter: AuditLogFilter,
|
|
24204
24465
|
OpenDBInstanceGTIDResponse: OpenDBInstanceGTIDResponse,
|
|
@@ -24356,6 +24617,7 @@ module.exports = {
|
|
|
24356
24617
|
AutoStrategy: AutoStrategy,
|
|
24357
24618
|
ModifyAccountMaxUserConnectionsResponse: ModifyAccountMaxUserConnectionsResponse,
|
|
24358
24619
|
Outbound: Outbound,
|
|
24620
|
+
DescribeClusterInfoResponse: DescribeClusterInfoResponse,
|
|
24359
24621
|
AuditInstanceFilters: AuditInstanceFilters,
|
|
24360
24622
|
ParamInfo: ParamInfo,
|
|
24361
24623
|
DescribeBackupDecryptionKeyResponse: DescribeBackupDecryptionKeyResponse,
|
|
@@ -24403,6 +24665,7 @@ module.exports = {
|
|
|
24403
24665
|
UpgradeDBInstanceResponse: UpgradeDBInstanceResponse,
|
|
24404
24666
|
UpgradeCDBProxyVersionRequest: UpgradeCDBProxyVersionRequest,
|
|
24405
24667
|
DeleteAuditRuleTemplatesResponse: DeleteAuditRuleTemplatesResponse,
|
|
24668
|
+
AddressInfo: AddressInfo,
|
|
24406
24669
|
ModifyAuditRuleTemplatesResponse: ModifyAuditRuleTemplatesResponse,
|
|
24407
24670
|
|
|
24408
24671
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1371";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -610,10 +610,10 @@ If you currently use a password to log in, you will no longer be able to do so a
|
|
|
610
610
|
/**
|
|
611
611
|
* This API is used to create one or more instances with a specified configuration.
|
|
612
612
|
|
|
613
|
-
* After an instance is created successfully, it will start up automatically, and the [instance status](https://www.tencentcloud.com/document/product/213/15753
|
|
613
|
+
* After an instance is created successfully, it will start up automatically, and the [instance status](https://www.tencentcloud.com/document/product/213/15753#InstanceStatus) will become "Running".
|
|
614
614
|
* If you create a pay-as-you-go instance billed on an hourly basis, an amount equivalent to the hourly rate will be frozen. Make sure your account balance is sufficient before calling this API.
|
|
615
|
-
* The number of instances you can purchase through this API is subject to the [Quota for CVM Instances](https://
|
|
616
|
-
* This API is an async API. An instance ID list is returned after the creation request is sent. However, it does not mean the creation has been completed. The status of the instance will be `Creating` during the creation. You can use [DescribeInstances](https://
|
|
615
|
+
* The number of instances you can purchase through this API is subject to the [Quota for CVM Instances](https://www.tencentcloud.com/document/product/213/2664). Instances created through this API and in the CVM console are counted toward the quota.
|
|
616
|
+
* This API is an async API. An instance ID list is returned after the creation request is sent. However, it does not mean the creation has been completed. The status of the instance will be `Creating` during the creation. You can use [DescribeInstances](https://www.tencentcloud.com/document/api/213/33258) to query the status of the instance. If the status changes from `Creating` to `Running`, it means that the instance has been created successfully.
|
|
617
617
|
* @param {RunInstancesRequest} req
|
|
618
618
|
* @param {function(string, RunInstancesResponse):void} cb
|
|
619
619
|
* @public
|
|
@@ -2588,13 +2588,13 @@ class ModifyImageSharePermissionRequest extends AbstractModel {
|
|
|
2588
2588
|
super();
|
|
2589
2589
|
|
|
2590
2590
|
/**
|
|
2591
|
-
* Image ID, such as `img-gvbnzy6f`. You can obtain the image ID in the following ways:<br><li>Call the [DescribeImages](https://
|
|
2591
|
+
* Image ID, such as `img-gvbnzy6f`. You can obtain the image ID in the following ways:<br><li>Call the [DescribeImages](https://www.tencentcloud.com/document/api/213/33272) API and find the value of `ImageId` in the response.</li><br><li>Obtain it in the [Image console](https://console.cloud.tencent.com/cvm/image).</li><br>The image ID should correspond to an image in the `NORMAL` state. For more information on image status, see [Image Data Table](https://www.tencentcloud.com/document/api/1103/42519#Image).
|
|
2592
2592
|
* @type {string || null}
|
|
2593
2593
|
*/
|
|
2594
2594
|
this.ImageId = null;
|
|
2595
2595
|
|
|
2596
2596
|
/**
|
|
2597
|
-
* ID list of root accounts receiving shared images.
|
|
2597
|
+
* ID list of root accounts receiving shared images. An account ID is different from a QQ number. For details on root account IDs, refer to the account ID section in [Account Information](https://console.cloud.tencent.com/developer).
|
|
2598
2598
|
* @type {Array.<string> || null}
|
|
2599
2599
|
*/
|
|
2600
2600
|
this.AccountIds = null;
|
|
@@ -2798,7 +2798,7 @@ class RunInstancesResponse extends AbstractModel {
|
|
|
2798
2798
|
super();
|
|
2799
2799
|
|
|
2800
2800
|
/**
|
|
2801
|
-
* If you use this API to create instance(s), this parameter will be returned, representing one or more instance IDs. Retuning the instance ID list does not necessarily mean that the instance(s) were created successfully. To check whether the instance(s) were created successfully, you can call [DescribeInstances](https://
|
|
2801
|
+
* If you use this API to create instance(s), this parameter will be returned, representing one or more instance IDs. Retuning the instance ID list does not necessarily mean that the instance(s) were created successfully. To check whether the instance(s) were created successfully, you can call [DescribeInstances](https://www.tencentcloud.com/document/api/213/33258) and check the status of the instances in `InstancesSet` in the response. If the status of an instance changes from "PENDING" to "RUNNING", it means that the instance has been created successfully.
|
|
2802
2802
|
* @type {Array.<string> || null}
|
|
2803
2803
|
*/
|
|
2804
2804
|
this.InstanceIdSet = null;
|
|
@@ -8463,7 +8463,7 @@ class RunInstancesRequest extends AbstractModel {
|
|
|
8463
8463
|
super();
|
|
8464
8464
|
|
|
8465
8465
|
/**
|
|
8466
|
-
* Instance [billing type](https://
|
|
8466
|
+
* Instance [billing type](https://www.tencentcloud.com/document/product/213/2180). <br><li>`PREPAID`: Monthly Subscription, used for at least one month <br><li>`POSTPAID_BY_HOUR`: Hourly-based pay-as-you-go <br><li>`CDHPAID`: [Dedicated CVM](https://www.tencentcloud.com/document/product/416/5068?lang=en&pg=) (associated with a dedicated host. Resource usage of the dedicated host is free of charge.) <br><li>`SPOTPAID`: [Spot instance](https://intl.cloud.tencent.com/document/product/213/17817)<br>Default value: `POSTPAID_BY_HOUR`.
|
|
8467
8467
|
* @type {string || null}
|
|
8468
8468
|
*/
|
|
8469
8469
|
this.InstanceChargeType = null;
|
|
@@ -8483,13 +8483,13 @@ class RunInstancesRequest extends AbstractModel {
|
|
|
8483
8483
|
|
|
8484
8484
|
/**
|
|
8485
8485
|
* The instance model.
|
|
8486
|
-
<br><li>To view specific values for `POSTPAID_BY_HOUR` instances, you can call DescribeInstanceTypeConfigs or refer to [Instance Types](https://
|
|
8486
|
+
<br><li>To view specific values for `POSTPAID_BY_HOUR` instances, you can call DescribeInstanceTypeConfigs or refer to [Instance Types](https://www.tencentcloud.com/document/product/213/11518). <br><li>For `CDHPAID` instances, the value of this parameter is in the format of `CDH_XCXG` based on the number of CPU cores and memory capacity. For example, if you want to create a CDH instance with a single-core CPU and 1 GB memory, specify this parameter as `CDH_1C1G`.
|
|
8487
8487
|
* @type {string || null}
|
|
8488
8488
|
*/
|
|
8489
8489
|
this.InstanceType = null;
|
|
8490
8490
|
|
|
8491
8491
|
/**
|
|
8492
|
-
* The [image](https://
|
|
8492
|
+
* The [image](https://www.tencentcloud.com/document/product/213/4940) ID in the format of `img-xxx`. There are three types of images:<br/><li>Public images</li><li>Custom images</li><li>Shared images</li><br/>To check the image ID:<br/><li>For public images, custom images, and shared images, go to the [CVM console](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE). </li><li>Call [DescribeImages](https://www.tencentcloud.com/document/api/213/33272), pass in `InstanceType` to retrieve the list of images supported by the current model, and then find the `ImageId` in the response.</li>
|
|
8493
8493
|
<b>Note: `ImageId` is required when `LaunchTemplate` is not specified. If both the parameters are passed in, `ImageId` prevails.</b>
|
|
8494
8494
|
* @type {string || null}
|
|
8495
8495
|
*/
|
|
@@ -8520,7 +8520,7 @@ class RunInstancesRequest extends AbstractModel {
|
|
|
8520
8520
|
this.InternetAccessible = null;
|
|
8521
8521
|
|
|
8522
8522
|
/**
|
|
8523
|
-
* The number of instances to be purchased. Value range for pay-as-you-go instances: [1, 100]. Default value: `1`. The specified number of instances to be purchased cannot exceed the remaining quota allowed for the user. For more information on the quota, see [Quota for CVM Instances](https://
|
|
8523
|
+
* The number of instances to be purchased. Value range for pay-as-you-go instances: [1, 100]. Default value: `1`. The specified number of instances to be purchased cannot exceed the remaining quota allowed for the user. For more information on the quota, see [Quota for CVM Instances](https://www.tencentcloud.com/document/product/213/2664).
|
|
8524
8524
|
* @type {number || null}
|
|
8525
8525
|
*/
|
|
8526
8526
|
this.InstanceCount = null;
|
|
@@ -8634,7 +8634,7 @@ If the dry run succeeds, the RequestId will be returned.
|
|
|
8634
8634
|
this.CpuTopology = null;
|
|
8635
8635
|
|
|
8636
8636
|
/**
|
|
8637
|
-
* CAM role name, which can be obtained from the `roleName` field in the response of the [`DescribeRoleList`](https://
|
|
8637
|
+
* CAM role name, which can be obtained from the `roleName` field in the response of the [`DescribeRoleList`](https://www.tencentcloud.com/document/product/598/33559) API.
|
|
8638
8638
|
* @type {string || null}
|
|
8639
8639
|
*/
|
|
8640
8640
|
this.CamRoleName = null;
|
|
@@ -456,62 +456,68 @@ class OCRResult extends AbstractModel {
|
|
|
456
456
|
super();
|
|
457
457
|
|
|
458
458
|
/**
|
|
459
|
-
*
|
|
459
|
+
* <p>Whether the identity authentication or OCR process is successful.</p>
|
|
460
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
460
461
|
* @type {boolean || null}
|
|
461
462
|
*/
|
|
462
463
|
this.IsPass = null;
|
|
463
464
|
|
|
464
465
|
/**
|
|
465
|
-
*
|
|
466
|
+
* <p>Base64 of the ID image</p>
|
|
466
467
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
467
468
|
* @type {string || null}
|
|
468
469
|
*/
|
|
469
470
|
this.CardImageBase64 = null;
|
|
470
471
|
|
|
471
472
|
/**
|
|
472
|
-
*
|
|
473
|
+
* <p>ID card recognition result</p>
|
|
474
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
473
475
|
* @type {CardInfo || null}
|
|
474
476
|
*/
|
|
475
477
|
this.CardInfo = null;
|
|
476
478
|
|
|
477
479
|
/**
|
|
478
|
-
*
|
|
480
|
+
* <p>Document recognition result (when CheckMode value is 4, return the OriginalCardInfo field; other scenarios return the current field)</p>
|
|
481
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
479
482
|
* @type {NormalCardInfo || null}
|
|
480
483
|
*/
|
|
481
484
|
this.NormalCardInfo = null;
|
|
482
485
|
|
|
483
486
|
/**
|
|
484
|
-
*
|
|
487
|
+
* <p>Request id</p>
|
|
488
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
485
489
|
* @type {string || null}
|
|
486
490
|
*/
|
|
487
491
|
this.RequestId = null;
|
|
488
492
|
|
|
489
493
|
/**
|
|
490
|
-
* Base64 of cropped
|
|
494
|
+
* <p>Base64 of the cropped ID image</p>
|
|
495
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
491
496
|
* @type {string || null}
|
|
492
497
|
*/
|
|
493
498
|
this.CardCutImageBase64 = null;
|
|
494
499
|
|
|
495
500
|
/**
|
|
496
|
-
* Base64 of the cropped image
|
|
501
|
+
* <p>Base64 of the cropped image of the back side of the ID</p>
|
|
502
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
497
503
|
* @type {string || null}
|
|
498
504
|
*/
|
|
499
505
|
this.CardBackCutImageBase64 = null;
|
|
500
506
|
|
|
501
507
|
/**
|
|
502
|
-
*
|
|
503
|
-
|
|
504
|
-
-9101 Alarm for covered certificate,
|
|
505
|
-
-9102 Alarm for photocopied certificate,
|
|
506
|
-
-9103 Alarm for photographed certificate,
|
|
507
|
-
-9104 Alarm for PS certificate,
|
|
508
|
-
-9107 Alarm for reflective certificate,
|
|
509
|
-
-9108 Alarm for blurry image,
|
|
510
|
-
-9109 This capability is not enabled.
|
|
508
|
+
* <p>Alarm code</p><p>Enumeration value:</p><ul><li>-9101: Alarm for incomplete document border</li><li>-9102: Alarm for document photocopy</li><li>-9103: Alarm for rephotographing</li><li>-9104: PS alarm</li><li>-9107: Reflective alarm</li><li>-9108: Blurry alarm</li><li>-9109: Alarm capability not enabled</li></ul>
|
|
509
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
511
510
|
* @type {Array.<number> || null}
|
|
512
511
|
*/
|
|
513
512
|
this.WarnCardInfos = null;
|
|
514
513
|
|
|
514
|
+
/**
|
|
515
|
+
* <p>Original document recognition information (the current field will be returned when CheckMode value is 4)</p>
|
|
516
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
517
|
+
* @type {string || null}
|
|
518
|
+
*/
|
|
519
|
+
this.OriginalCardInfo = null;
|
|
520
|
+
|
|
515
521
|
}
|
|
516
522
|
|
|
517
523
|
/**
|
|
@@ -539,6 +545,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
539
545
|
this.CardCutImageBase64 = 'CardCutImageBase64' in params ? params.CardCutImageBase64 : null;
|
|
540
546
|
this.CardBackCutImageBase64 = 'CardBackCutImageBase64' in params ? params.CardBackCutImageBase64 : null;
|
|
541
547
|
this.WarnCardInfos = 'WarnCardInfos' in params ? params.WarnCardInfos : null;
|
|
548
|
+
this.OriginalCardInfo = 'OriginalCardInfo' in params ? params.OriginalCardInfo : null;
|
|
542
549
|
|
|
543
550
|
}
|
|
544
551
|
}
|
|
@@ -6983,6 +6990,30 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6983
6990
|
*/
|
|
6984
6991
|
this.Seq = null;
|
|
6985
6992
|
|
|
6993
|
+
/**
|
|
6994
|
+
* Describe the detailed reason why the current request was rejected in the liveness phase. This parameter only applies to the PLUS edition eKYC service.
|
|
6995
|
+
-Details as follows:
|
|
6996
|
+
01-User eyes closed throughout
|
|
6997
|
+
02-User not completed specified action
|
|
6998
|
+
03-Suspected rephotography attack
|
|
6999
|
+
04-Suspected Synthesis Attack
|
|
7000
|
+
05-Suspected fraudulent template
|
|
7001
|
+
06-Suspected watermark
|
|
7002
|
+
07-Reflection validation failed
|
|
7003
|
+
08 - Suspected change of person midway
|
|
7004
|
+
09-Poor face quality
|
|
7005
|
+
10 - Distance validation failed
|
|
7006
|
+
11-Suspected adversarial sample attack
|
|
7007
|
+
12 - Suspected attack traces in the mouth area
|
|
7008
|
+
13 - Suspected attack traces exist in the eye area
|
|
7009
|
+
14 - Eye or mouth obstruction
|
|
7010
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7011
|
+
Example value: ["01"].
|
|
7012
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7013
|
+
* @type {Array.<string> || null}
|
|
7014
|
+
*/
|
|
7015
|
+
this.LivenessInfoTag = null;
|
|
7016
|
+
|
|
6986
7017
|
}
|
|
6987
7018
|
|
|
6988
7019
|
/**
|
|
@@ -7001,6 +7032,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
7001
7032
|
this.ReqTimestamp = 'ReqTimestamp' in params ? params.ReqTimestamp : null;
|
|
7002
7033
|
this.Similarity = 'Similarity' in params ? params.Similarity : null;
|
|
7003
7034
|
this.Seq = 'Seq' in params ? params.Seq : null;
|
|
7035
|
+
this.LivenessInfoTag = 'LivenessInfoTag' in params ? params.LivenessInfoTag : null;
|
|
7004
7036
|
|
|
7005
7037
|
}
|
|
7006
7038
|
}
|
|
@@ -7816,7 +7848,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
7816
7848
|
this.CurrentIssueDate = null;
|
|
7817
7849
|
|
|
7818
7850
|
/**
|
|
7819
|
-
* Hong
|
|
7851
|
+
* Hong Kong identity card version number, HKID-2003: 03 edition ID card, HKID-2018: 18 edition ID card
|
|
7820
7852
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7821
7853
|
* @type {string || null}
|
|
7822
7854
|
*/
|