tencentcloud-sdk-nodejs-intl-en 3.0.782 → 3.0.784
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,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.784";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -4414,26 +4414,24 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4414
4414
|
}
|
|
4415
4415
|
|
|
4416
4416
|
/**
|
|
4417
|
-
* List of
|
|
4417
|
+
* List of filter parameters
|
|
4418
4418
|
* @class
|
|
4419
4419
|
*/
|
|
4420
|
-
class
|
|
4420
|
+
class Filter extends AbstractModel {
|
|
4421
4421
|
constructor(){
|
|
4422
4422
|
super();
|
|
4423
4423
|
|
|
4424
4424
|
/**
|
|
4425
|
-
* The
|
|
4426
|
-
|
|
4427
|
-
* @type {Array.<TCBHostInstance> || null}
|
|
4425
|
+
* The key of the filter parameter.
|
|
4426
|
+
* @type {string || null}
|
|
4428
4427
|
*/
|
|
4429
|
-
this.
|
|
4428
|
+
this.FilterKey = null;
|
|
4430
4429
|
|
|
4431
4430
|
/**
|
|
4432
|
-
*
|
|
4433
|
-
|
|
4434
|
-
* @type {number || null}
|
|
4431
|
+
* u200cThe value of the filter parameter.
|
|
4432
|
+
* @type {string || null}
|
|
4435
4433
|
*/
|
|
4436
|
-
this.
|
|
4434
|
+
this.FilterValue = null;
|
|
4437
4435
|
|
|
4438
4436
|
}
|
|
4439
4437
|
|
|
@@ -4444,16 +4442,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4444
4442
|
if (!params) {
|
|
4445
4443
|
return;
|
|
4446
4444
|
}
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
this.InstanceList = new Array();
|
|
4450
|
-
for (let z in params.InstanceList) {
|
|
4451
|
-
let obj = new TCBHostInstance();
|
|
4452
|
-
obj.deserialize(params.InstanceList[z]);
|
|
4453
|
-
this.InstanceList.push(obj);
|
|
4454
|
-
}
|
|
4455
|
-
}
|
|
4456
|
-
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
4445
|
+
this.FilterKey = 'FilterKey' in params ? params.FilterKey : null;
|
|
4446
|
+
this.FilterValue = 'FilterValue' in params ? params.FilterValue : null;
|
|
4457
4447
|
|
|
4458
4448
|
}
|
|
4459
4449
|
}
|
|
@@ -5118,6 +5108,57 @@ class ModifyCertificateProjectRequest extends AbstractModel {
|
|
|
5118
5108
|
}
|
|
5119
5109
|
}
|
|
5120
5110
|
|
|
5111
|
+
/**
|
|
5112
|
+
* DescribeHostTeoInstanceList response structure.
|
|
5113
|
+
* @class
|
|
5114
|
+
*/
|
|
5115
|
+
class DescribeHostTeoInstanceListResponse extends AbstractModel {
|
|
5116
|
+
constructor(){
|
|
5117
|
+
super();
|
|
5118
|
+
|
|
5119
|
+
/**
|
|
5120
|
+
* The list of EDGEONE instances.
|
|
5121
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5122
|
+
* @type {Array.<TeoInstanceDetail> || null}
|
|
5123
|
+
*/
|
|
5124
|
+
this.InstanceList = null;
|
|
5125
|
+
|
|
5126
|
+
/**
|
|
5127
|
+
* The total count.
|
|
5128
|
+
* @type {number || null}
|
|
5129
|
+
*/
|
|
5130
|
+
this.TotalCount = null;
|
|
5131
|
+
|
|
5132
|
+
/**
|
|
5133
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
5134
|
+
* @type {string || null}
|
|
5135
|
+
*/
|
|
5136
|
+
this.RequestId = null;
|
|
5137
|
+
|
|
5138
|
+
}
|
|
5139
|
+
|
|
5140
|
+
/**
|
|
5141
|
+
* @private
|
|
5142
|
+
*/
|
|
5143
|
+
deserialize(params) {
|
|
5144
|
+
if (!params) {
|
|
5145
|
+
return;
|
|
5146
|
+
}
|
|
5147
|
+
|
|
5148
|
+
if (params.InstanceList) {
|
|
5149
|
+
this.InstanceList = new Array();
|
|
5150
|
+
for (let z in params.InstanceList) {
|
|
5151
|
+
let obj = new TeoInstanceDetail();
|
|
5152
|
+
obj.deserialize(params.InstanceList[z]);
|
|
5153
|
+
this.InstanceList.push(obj);
|
|
5154
|
+
}
|
|
5155
|
+
}
|
|
5156
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
5157
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5158
|
+
|
|
5159
|
+
}
|
|
5160
|
+
}
|
|
5161
|
+
|
|
5121
5162
|
/**
|
|
5122
5163
|
* CancelAuditCertificate request structure.
|
|
5123
5164
|
* @class
|
|
@@ -5960,6 +6001,91 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5960
6001
|
}
|
|
5961
6002
|
}
|
|
5962
6003
|
|
|
6004
|
+
/**
|
|
6005
|
+
* DescribeHostTeoInstanceList request structure.
|
|
6006
|
+
* @class
|
|
6007
|
+
*/
|
|
6008
|
+
class DescribeHostTeoInstanceListRequest extends AbstractModel {
|
|
6009
|
+
constructor(){
|
|
6010
|
+
super();
|
|
6011
|
+
|
|
6012
|
+
/**
|
|
6013
|
+
* The ID of the certificate to be deployed.
|
|
6014
|
+
* @type {string || null}
|
|
6015
|
+
*/
|
|
6016
|
+
this.CertificateId = null;
|
|
6017
|
+
|
|
6018
|
+
/**
|
|
6019
|
+
* The type of resource for certificate deployment.
|
|
6020
|
+
* @type {string || null}
|
|
6021
|
+
*/
|
|
6022
|
+
this.ResourceType = null;
|
|
6023
|
+
|
|
6024
|
+
/**
|
|
6025
|
+
* Whether to query the cached results. Valid values: `1` (yes) and `0` (no). By default, the cached results within 30 minutes are queried.
|
|
6026
|
+
* @type {number || null}
|
|
6027
|
+
*/
|
|
6028
|
+
this.IsCache = null;
|
|
6029
|
+
|
|
6030
|
+
/**
|
|
6031
|
+
* The list of filter parameters. FilterKey: domainMatch (query the list of instances with matching or non-matching domains). FilterValue: `1` (default; query the list of instances with matching domains) or `0` (query the list of instances with non-matching domains).
|
|
6032
|
+
* @type {Array.<Filter> || null}
|
|
6033
|
+
*/
|
|
6034
|
+
this.Filters = null;
|
|
6035
|
+
|
|
6036
|
+
/**
|
|
6037
|
+
* The ID of the deployed certificate.
|
|
6038
|
+
* @type {string || null}
|
|
6039
|
+
*/
|
|
6040
|
+
this.OldCertificateId = null;
|
|
6041
|
+
|
|
6042
|
+
/**
|
|
6043
|
+
* The pagination offset, starting from 0.
|
|
6044
|
+
* @type {number || null}
|
|
6045
|
+
*/
|
|
6046
|
+
this.Offset = null;
|
|
6047
|
+
|
|
6048
|
+
/**
|
|
6049
|
+
* The number of instances on each page. Default value: 10.
|
|
6050
|
+
* @type {number || null}
|
|
6051
|
+
*/
|
|
6052
|
+
this.Limit = null;
|
|
6053
|
+
|
|
6054
|
+
/**
|
|
6055
|
+
* Whether the query is asynchronous.
|
|
6056
|
+
* @type {number || null}
|
|
6057
|
+
*/
|
|
6058
|
+
this.AsyncCache = null;
|
|
6059
|
+
|
|
6060
|
+
}
|
|
6061
|
+
|
|
6062
|
+
/**
|
|
6063
|
+
* @private
|
|
6064
|
+
*/
|
|
6065
|
+
deserialize(params) {
|
|
6066
|
+
if (!params) {
|
|
6067
|
+
return;
|
|
6068
|
+
}
|
|
6069
|
+
this.CertificateId = 'CertificateId' in params ? params.CertificateId : null;
|
|
6070
|
+
this.ResourceType = 'ResourceType' in params ? params.ResourceType : null;
|
|
6071
|
+
this.IsCache = 'IsCache' in params ? params.IsCache : null;
|
|
6072
|
+
|
|
6073
|
+
if (params.Filters) {
|
|
6074
|
+
this.Filters = new Array();
|
|
6075
|
+
for (let z in params.Filters) {
|
|
6076
|
+
let obj = new Filter();
|
|
6077
|
+
obj.deserialize(params.Filters[z]);
|
|
6078
|
+
this.Filters.push(obj);
|
|
6079
|
+
}
|
|
6080
|
+
}
|
|
6081
|
+
this.OldCertificateId = 'OldCertificateId' in params ? params.OldCertificateId : null;
|
|
6082
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
6083
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
6084
|
+
this.AsyncCache = 'AsyncCache' in params ? params.AsyncCache : null;
|
|
6085
|
+
|
|
6086
|
+
}
|
|
6087
|
+
}
|
|
6088
|
+
|
|
5963
6089
|
/**
|
|
5964
6090
|
* Region of associated cloud resources
|
|
5965
6091
|
* @class
|
|
@@ -6331,6 +6457,51 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6331
6457
|
}
|
|
6332
6458
|
}
|
|
6333
6459
|
|
|
6460
|
+
/**
|
|
6461
|
+
* List of TCB services subject to static hosting
|
|
6462
|
+
* @class
|
|
6463
|
+
*/
|
|
6464
|
+
class TCBHostService extends AbstractModel {
|
|
6465
|
+
constructor(){
|
|
6466
|
+
super();
|
|
6467
|
+
|
|
6468
|
+
/**
|
|
6469
|
+
* The list of instances.
|
|
6470
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6471
|
+
* @type {Array.<TCBHostInstance> || null}
|
|
6472
|
+
*/
|
|
6473
|
+
this.InstanceList = null;
|
|
6474
|
+
|
|
6475
|
+
/**
|
|
6476
|
+
* The instance count.
|
|
6477
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6478
|
+
* @type {number || null}
|
|
6479
|
+
*/
|
|
6480
|
+
this.TotalCount = null;
|
|
6481
|
+
|
|
6482
|
+
}
|
|
6483
|
+
|
|
6484
|
+
/**
|
|
6485
|
+
* @private
|
|
6486
|
+
*/
|
|
6487
|
+
deserialize(params) {
|
|
6488
|
+
if (!params) {
|
|
6489
|
+
return;
|
|
6490
|
+
}
|
|
6491
|
+
|
|
6492
|
+
if (params.InstanceList) {
|
|
6493
|
+
this.InstanceList = new Array();
|
|
6494
|
+
for (let z in params.InstanceList) {
|
|
6495
|
+
let obj = new TCBHostInstance();
|
|
6496
|
+
obj.deserialize(params.InstanceList[z]);
|
|
6497
|
+
this.InstanceList.push(obj);
|
|
6498
|
+
}
|
|
6499
|
+
}
|
|
6500
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
6501
|
+
|
|
6502
|
+
}
|
|
6503
|
+
}
|
|
6504
|
+
|
|
6334
6505
|
/**
|
|
6335
6506
|
* Details of a TKE Ingress instance
|
|
6336
6507
|
* @class
|
|
@@ -6522,7 +6693,7 @@ module.exports = {
|
|
|
6522
6693
|
TCBInstanceList: TCBInstanceList,
|
|
6523
6694
|
DescribeCertificateRequest: DescribeCertificateRequest,
|
|
6524
6695
|
WafInstanceList: WafInstanceList,
|
|
6525
|
-
|
|
6696
|
+
Filter: Filter,
|
|
6526
6697
|
TkeInstanceList: TkeInstanceList,
|
|
6527
6698
|
Error: Error,
|
|
6528
6699
|
CertTaskId: CertTaskId,
|
|
@@ -6534,6 +6705,7 @@ module.exports = {
|
|
|
6534
6705
|
DeleteCertificateRequest: DeleteCertificateRequest,
|
|
6535
6706
|
DescribeCertificateOperateLogsResponse: DescribeCertificateOperateLogsResponse,
|
|
6536
6707
|
ModifyCertificateProjectRequest: ModifyCertificateProjectRequest,
|
|
6708
|
+
DescribeHostTeoInstanceListResponse: DescribeHostTeoInstanceListResponse,
|
|
6537
6709
|
CancelAuditCertificateRequest: CancelAuditCertificateRequest,
|
|
6538
6710
|
ModifyCertificateResubmitResponse: ModifyCertificateResubmitResponse,
|
|
6539
6711
|
UploadCertificateRequest: UploadCertificateRequest,
|
|
@@ -6543,12 +6715,14 @@ module.exports = {
|
|
|
6543
6715
|
DescribeCertificateDetailResponse: DescribeCertificateDetailResponse,
|
|
6544
6716
|
DescribeCertificateBindResourceTaskResultResponse: DescribeCertificateBindResourceTaskResultResponse,
|
|
6545
6717
|
ClbListenerRule: ClbListenerRule,
|
|
6718
|
+
DescribeHostTeoInstanceListRequest: DescribeHostTeoInstanceListRequest,
|
|
6546
6719
|
BindResourceRegionResult: BindResourceRegionResult,
|
|
6547
6720
|
TkeInstanceDetail: TkeInstanceDetail,
|
|
6548
6721
|
UploadConfirmLetterRequest: UploadConfirmLetterRequest,
|
|
6549
6722
|
SubmitCertificateInformationResponse: SubmitCertificateInformationResponse,
|
|
6550
6723
|
DescribeCSRResponse: DescribeCSRResponse,
|
|
6551
6724
|
ClbInstanceList: ClbInstanceList,
|
|
6725
|
+
TCBHostService: TCBHostService,
|
|
6552
6726
|
TkeIngressDetail: TkeIngressDetail,
|
|
6553
6727
|
CancelAuditCertificateResponse: CancelAuditCertificateResponse,
|
|
6554
6728
|
VODInstanceList: VODInstanceList,
|
|
@@ -85,7 +85,7 @@ const CreateCSRRequest = models.CreateCSRRequest;
|
|
|
85
85
|
const TCBInstanceList = models.TCBInstanceList;
|
|
86
86
|
const DescribeCertificateRequest = models.DescribeCertificateRequest;
|
|
87
87
|
const WafInstanceList = models.WafInstanceList;
|
|
88
|
-
const
|
|
88
|
+
const Filter = models.Filter;
|
|
89
89
|
const TkeInstanceList = models.TkeInstanceList;
|
|
90
90
|
const Error = models.Error;
|
|
91
91
|
const CertTaskId = models.CertTaskId;
|
|
@@ -97,6 +97,7 @@ const LiveInstanceList = models.LiveInstanceList;
|
|
|
97
97
|
const DeleteCertificateRequest = models.DeleteCertificateRequest;
|
|
98
98
|
const DescribeCertificateOperateLogsResponse = models.DescribeCertificateOperateLogsResponse;
|
|
99
99
|
const ModifyCertificateProjectRequest = models.ModifyCertificateProjectRequest;
|
|
100
|
+
const DescribeHostTeoInstanceListResponse = models.DescribeHostTeoInstanceListResponse;
|
|
100
101
|
const CancelAuditCertificateRequest = models.CancelAuditCertificateRequest;
|
|
101
102
|
const ModifyCertificateResubmitResponse = models.ModifyCertificateResubmitResponse;
|
|
102
103
|
const UploadCertificateRequest = models.UploadCertificateRequest;
|
|
@@ -106,12 +107,14 @@ const CreateCertificateResponse = models.CreateCertificateResponse;
|
|
|
106
107
|
const DescribeCertificateDetailResponse = models.DescribeCertificateDetailResponse;
|
|
107
108
|
const DescribeCertificateBindResourceTaskResultResponse = models.DescribeCertificateBindResourceTaskResultResponse;
|
|
108
109
|
const ClbListenerRule = models.ClbListenerRule;
|
|
110
|
+
const DescribeHostTeoInstanceListRequest = models.DescribeHostTeoInstanceListRequest;
|
|
109
111
|
const BindResourceRegionResult = models.BindResourceRegionResult;
|
|
110
112
|
const TkeInstanceDetail = models.TkeInstanceDetail;
|
|
111
113
|
const UploadConfirmLetterRequest = models.UploadConfirmLetterRequest;
|
|
112
114
|
const SubmitCertificateInformationResponse = models.SubmitCertificateInformationResponse;
|
|
113
115
|
const DescribeCSRResponse = models.DescribeCSRResponse;
|
|
114
116
|
const ClbInstanceList = models.ClbInstanceList;
|
|
117
|
+
const TCBHostService = models.TCBHostService;
|
|
115
118
|
const TkeIngressDetail = models.TkeIngressDetail;
|
|
116
119
|
const CancelAuditCertificateResponse = models.CancelAuditCertificateResponse;
|
|
117
120
|
const VODInstanceList = models.VODInstanceList;
|
|
@@ -183,14 +186,14 @@ class SslClient extends AbstractClient {
|
|
|
183
186
|
}
|
|
184
187
|
|
|
185
188
|
/**
|
|
186
|
-
* This API is used to
|
|
187
|
-
* @param {
|
|
188
|
-
* @param {function(string,
|
|
189
|
+
* This API is used to query the list of EDGEONE instances to which a certificate can be deployed.
|
|
190
|
+
* @param {DescribeHostTeoInstanceListRequest} req
|
|
191
|
+
* @param {function(string, DescribeHostTeoInstanceListResponse):void} cb
|
|
189
192
|
* @public
|
|
190
193
|
*/
|
|
191
|
-
|
|
192
|
-
let resp = new
|
|
193
|
-
this.request("
|
|
194
|
+
DescribeHostTeoInstanceList(req, cb) {
|
|
195
|
+
let resp = new DescribeHostTeoInstanceListResponse();
|
|
196
|
+
this.request("DescribeHostTeoInstanceList", req, resp, cb);
|
|
194
197
|
}
|
|
195
198
|
|
|
196
199
|
/**
|
|
@@ -270,6 +273,17 @@ class SslClient extends AbstractClient {
|
|
|
270
273
|
this.request("DescribeCertificateDetail", req, resp, cb);
|
|
271
274
|
}
|
|
272
275
|
|
|
276
|
+
/**
|
|
277
|
+
* This API is used to reissue a certificate. Note that if you have applied for a free certificate, only an RSA-2048 certificate will be reissued, and the certificate can be reissued only once.
|
|
278
|
+
* @param {ReplaceCertificateRequest} req
|
|
279
|
+
* @param {function(string, ReplaceCertificateResponse):void} cb
|
|
280
|
+
* @public
|
|
281
|
+
*/
|
|
282
|
+
ReplaceCertificate(req, cb) {
|
|
283
|
+
let resp = new ReplaceCertificateResponse();
|
|
284
|
+
this.request("ReplaceCertificate", req, resp, cb);
|
|
285
|
+
}
|
|
286
|
+
|
|
273
287
|
/**
|
|
274
288
|
* This API is used to query the result of an async task created with `CreateCertificateBindResourceSyncTask` to query cloud resources associated with a certificate. The following types of cloud resources are supported: CLB, CDN, WAF, LIVE, VOD, DDOS, TKE, APIGATEWAY, TCB, and TEO (EDGEONE).
|
|
275
289
|
* @param {DescribeCertificateBindResourceTaskResultRequest} req
|
|
@@ -370,14 +384,14 @@ class SslClient extends AbstractClient {
|
|
|
370
384
|
}
|
|
371
385
|
|
|
372
386
|
/**
|
|
373
|
-
* This API is used to
|
|
374
|
-
* @param {
|
|
375
|
-
* @param {function(string,
|
|
387
|
+
* This API is used to create a CSR.
|
|
388
|
+
* @param {CreateCSRRequest} req
|
|
389
|
+
* @param {function(string, CreateCSRResponse):void} cb
|
|
376
390
|
* @public
|
|
377
391
|
*/
|
|
378
|
-
|
|
379
|
-
let resp = new
|
|
380
|
-
this.request("
|
|
392
|
+
CreateCSR(req, cb) {
|
|
393
|
+
let resp = new CreateCSRResponse();
|
|
394
|
+
this.request("CreateCSR", req, resp, cb);
|
|
381
395
|
}
|
|
382
396
|
|
|
383
397
|
/**
|