tencentcloud-sdk-nodejs-intl-en 3.0.1187 → 3.0.1189
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/lke/v20231130/lke_client.js +1 -1
- package/tencentcloud/mdl/v20200326/models.js +1 -1
- package/tencentcloud/privatedns/v20201028/models.js +195 -12
- package/tencentcloud/privatedns/v20201028/privatedns_client.js +15 -1
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1189";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -238,7 +238,7 @@ class LkeClient extends AbstractClient {
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
|
-
* This API is used to save a knowledge base document Q&As.
|
|
241
|
+
* This API is used to save a knowledge base document Q&As.
|
|
242
242
|
Three steps to store a file in the knowledge library of the application:
|
|
243
243
|
1. Obtain a temporary key. For more information, see [API Documentation](https://cloud.tencent.com/document/product/1759/105050). Different parameter combinations of the temporary key have different permissions. For more information, see [Tencent Cloud Agent Development Platform/TCADP COS Guide](https://cloud.tencent.com/document/product/1759/116238).
|
|
244
244
|
2. Call the COS storage API provided by Tencent Cloud to store the file in the COS of TCADP. For details, see [COS SDK Overview](https://cloud.tencent.com/document/product/436/6474). Note that the temporary key method is used to operate COS.
|
|
@@ -5339,7 +5339,7 @@ class GetAbWatermarkPlayUrlRequest extends AbstractModel {
|
|
|
5339
5339
|
super();
|
|
5340
5340
|
|
|
5341
5341
|
/**
|
|
5342
|
-
* Client UUID, 32-bit unsigned integer.
|
|
5342
|
+
* Client UUID, 32-bit unsigned integer, [0, 4294967295].
|
|
5343
5343
|
* @type {number || null}
|
|
5344
5344
|
*/
|
|
5345
5345
|
this.Uuid = null;
|
|
@@ -2311,30 +2311,59 @@ class DescribePrivateZoneListRequest extends AbstractModel {
|
|
|
2311
2311
|
}
|
|
2312
2312
|
|
|
2313
2313
|
/**
|
|
2314
|
-
*
|
|
2314
|
+
* DescribeRecord request structure.
|
|
2315
2315
|
* @class
|
|
2316
2316
|
*/
|
|
2317
|
-
class
|
|
2317
|
+
class DescribeRecordRequest extends AbstractModel {
|
|
2318
2318
|
constructor(){
|
|
2319
2319
|
super();
|
|
2320
2320
|
|
|
2321
2321
|
/**
|
|
2322
|
-
*
|
|
2322
|
+
* Private domain ID.
|
|
2323
2323
|
* @type {string || null}
|
|
2324
2324
|
*/
|
|
2325
|
-
this.
|
|
2325
|
+
this.ZoneId = null;
|
|
2326
2326
|
|
|
2327
2327
|
/**
|
|
2328
|
-
*
|
|
2328
|
+
* Record ID
|
|
2329
2329
|
* @type {string || null}
|
|
2330
2330
|
*/
|
|
2331
|
-
this.
|
|
2331
|
+
this.RecordId = null;
|
|
2332
|
+
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
/**
|
|
2336
|
+
* @private
|
|
2337
|
+
*/
|
|
2338
|
+
deserialize(params) {
|
|
2339
|
+
if (!params) {
|
|
2340
|
+
return;
|
|
2341
|
+
}
|
|
2342
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
2343
|
+
this.RecordId = 'RecordId' in params ? params.RecordId : null;
|
|
2344
|
+
|
|
2345
|
+
}
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
/**
|
|
2349
|
+
* DescribeRecord response structure.
|
|
2350
|
+
* @class
|
|
2351
|
+
*/
|
|
2352
|
+
class DescribeRecordResponse extends AbstractModel {
|
|
2353
|
+
constructor(){
|
|
2354
|
+
super();
|
|
2332
2355
|
|
|
2333
2356
|
/**
|
|
2334
|
-
*
|
|
2357
|
+
* Record information.
|
|
2358
|
+
* @type {RecordInfo || null}
|
|
2359
|
+
*/
|
|
2360
|
+
this.RecordInfo = null;
|
|
2361
|
+
|
|
2362
|
+
/**
|
|
2363
|
+
* 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.
|
|
2335
2364
|
* @type {string || null}
|
|
2336
2365
|
*/
|
|
2337
|
-
this.
|
|
2366
|
+
this.RequestId = null;
|
|
2338
2367
|
|
|
2339
2368
|
}
|
|
2340
2369
|
|
|
@@ -2345,9 +2374,13 @@ class ModifyForwardRuleRequest extends AbstractModel {
|
|
|
2345
2374
|
if (!params) {
|
|
2346
2375
|
return;
|
|
2347
2376
|
}
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2377
|
+
|
|
2378
|
+
if (params.RecordInfo) {
|
|
2379
|
+
let obj = new RecordInfo();
|
|
2380
|
+
obj.deserialize(params.RecordInfo)
|
|
2381
|
+
this.RecordInfo = obj;
|
|
2382
|
+
}
|
|
2383
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2351
2384
|
|
|
2352
2385
|
}
|
|
2353
2386
|
}
|
|
@@ -2636,6 +2669,111 @@ class CreatePrivateZoneRecordResponse extends AbstractModel {
|
|
|
2636
2669
|
}
|
|
2637
2670
|
}
|
|
2638
2671
|
|
|
2672
|
+
/**
|
|
2673
|
+
* Private domain information.
|
|
2674
|
+
* @class
|
|
2675
|
+
*/
|
|
2676
|
+
class RecordInfo extends AbstractModel {
|
|
2677
|
+
constructor(){
|
|
2678
|
+
super();
|
|
2679
|
+
|
|
2680
|
+
/**
|
|
2681
|
+
* Record ID.
|
|
2682
|
+
* @type {string || null}
|
|
2683
|
+
*/
|
|
2684
|
+
this.RecordId = null;
|
|
2685
|
+
|
|
2686
|
+
/**
|
|
2687
|
+
* Private domain ID, which is in zone-xxxxxxxx format.
|
|
2688
|
+
* @type {string || null}
|
|
2689
|
+
*/
|
|
2690
|
+
this.ZoneId = null;
|
|
2691
|
+
|
|
2692
|
+
/**
|
|
2693
|
+
* Subdomain name.
|
|
2694
|
+
* @type {string || null}
|
|
2695
|
+
*/
|
|
2696
|
+
this.SubDomain = null;
|
|
2697
|
+
|
|
2698
|
+
/**
|
|
2699
|
+
* Record type. Valid values: A, AAAA, CNAME, MX, TXT, and PTR.
|
|
2700
|
+
* @type {string || null}
|
|
2701
|
+
*/
|
|
2702
|
+
this.RecordType = null;
|
|
2703
|
+
|
|
2704
|
+
/**
|
|
2705
|
+
* Record value.
|
|
2706
|
+
* @type {string || null}
|
|
2707
|
+
*/
|
|
2708
|
+
this.RecordValue = null;
|
|
2709
|
+
|
|
2710
|
+
/**
|
|
2711
|
+
* Record cache time. The smaller the value, the faster the record will take effect. Value range: 1-86,400s. Default value: 600.
|
|
2712
|
+
* @type {number || null}
|
|
2713
|
+
*/
|
|
2714
|
+
this.TTL = null;
|
|
2715
|
+
|
|
2716
|
+
/**
|
|
2717
|
+
* MX priority, which is required when the record type is mx. valid values: 5, 10, 15, 20, 30, 40, and 50.
|
|
2718
|
+
* @type {number || null}
|
|
2719
|
+
*/
|
|
2720
|
+
this.MX = null;
|
|
2721
|
+
|
|
2722
|
+
/**
|
|
2723
|
+
* Record weight. valid values: 1–100.
|
|
2724
|
+
* @type {number || null}
|
|
2725
|
+
*/
|
|
2726
|
+
this.Weight = null;
|
|
2727
|
+
|
|
2728
|
+
/**
|
|
2729
|
+
* Record creation time.
|
|
2730
|
+
* @type {string || null}
|
|
2731
|
+
*/
|
|
2732
|
+
this.CreatedOn = null;
|
|
2733
|
+
|
|
2734
|
+
/**
|
|
2735
|
+
* Record update time.
|
|
2736
|
+
* @type {string || null}
|
|
2737
|
+
*/
|
|
2738
|
+
this.UpdatedOn = null;
|
|
2739
|
+
|
|
2740
|
+
/**
|
|
2741
|
+
* 0 suspend 1 enable.
|
|
2742
|
+
* @type {number || null}
|
|
2743
|
+
*/
|
|
2744
|
+
this.Enabled = null;
|
|
2745
|
+
|
|
2746
|
+
/**
|
|
2747
|
+
* Remarks
|
|
2748
|
+
* @type {string || null}
|
|
2749
|
+
*/
|
|
2750
|
+
this.Remark = null;
|
|
2751
|
+
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
/**
|
|
2755
|
+
* @private
|
|
2756
|
+
*/
|
|
2757
|
+
deserialize(params) {
|
|
2758
|
+
if (!params) {
|
|
2759
|
+
return;
|
|
2760
|
+
}
|
|
2761
|
+
this.RecordId = 'RecordId' in params ? params.RecordId : null;
|
|
2762
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
2763
|
+
this.SubDomain = 'SubDomain' in params ? params.SubDomain : null;
|
|
2764
|
+
this.RecordType = 'RecordType' in params ? params.RecordType : null;
|
|
2765
|
+
this.RecordValue = 'RecordValue' in params ? params.RecordValue : null;
|
|
2766
|
+
this.TTL = 'TTL' in params ? params.TTL : null;
|
|
2767
|
+
this.MX = 'MX' in params ? params.MX : null;
|
|
2768
|
+
this.Weight = 'Weight' in params ? params.Weight : null;
|
|
2769
|
+
this.CreatedOn = 'CreatedOn' in params ? params.CreatedOn : null;
|
|
2770
|
+
this.UpdatedOn = 'UpdatedOn' in params ? params.UpdatedOn : null;
|
|
2771
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
2772
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
2773
|
+
|
|
2774
|
+
}
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2639
2777
|
/**
|
|
2640
2778
|
* DescribePrivateZoneService response structure.
|
|
2641
2779
|
* @class
|
|
@@ -2863,6 +3001,48 @@ class DescribeAuditLogRequest extends AbstractModel {
|
|
|
2863
3001
|
}
|
|
2864
3002
|
}
|
|
2865
3003
|
|
|
3004
|
+
/**
|
|
3005
|
+
* ModifyForwardRule request structure.
|
|
3006
|
+
* @class
|
|
3007
|
+
*/
|
|
3008
|
+
class ModifyForwardRuleRequest extends AbstractModel {
|
|
3009
|
+
constructor(){
|
|
3010
|
+
super();
|
|
3011
|
+
|
|
3012
|
+
/**
|
|
3013
|
+
* Forwarding rule ID.
|
|
3014
|
+
* @type {string || null}
|
|
3015
|
+
*/
|
|
3016
|
+
this.RuleId = null;
|
|
3017
|
+
|
|
3018
|
+
/**
|
|
3019
|
+
* Forwarding rule name.
|
|
3020
|
+
* @type {string || null}
|
|
3021
|
+
*/
|
|
3022
|
+
this.RuleName = null;
|
|
3023
|
+
|
|
3024
|
+
/**
|
|
3025
|
+
* Endpoint ID.
|
|
3026
|
+
* @type {string || null}
|
|
3027
|
+
*/
|
|
3028
|
+
this.EndPointId = null;
|
|
3029
|
+
|
|
3030
|
+
}
|
|
3031
|
+
|
|
3032
|
+
/**
|
|
3033
|
+
* @private
|
|
3034
|
+
*/
|
|
3035
|
+
deserialize(params) {
|
|
3036
|
+
if (!params) {
|
|
3037
|
+
return;
|
|
3038
|
+
}
|
|
3039
|
+
this.RuleId = 'RuleId' in params ? params.RuleId : null;
|
|
3040
|
+
this.RuleName = 'RuleName' in params ? params.RuleName : null;
|
|
3041
|
+
this.EndPointId = 'EndPointId' in params ? params.EndPointId : null;
|
|
3042
|
+
|
|
3043
|
+
}
|
|
3044
|
+
}
|
|
3045
|
+
|
|
2866
3046
|
/**
|
|
2867
3047
|
* DescribeDashboard request structure.
|
|
2868
3048
|
* @class
|
|
@@ -4195,18 +4375,21 @@ module.exports = {
|
|
|
4195
4375
|
ModifyPrivateZoneVpcResponse: ModifyPrivateZoneVpcResponse,
|
|
4196
4376
|
ForwardRule: ForwardRule,
|
|
4197
4377
|
DescribePrivateZoneListRequest: DescribePrivateZoneListRequest,
|
|
4198
|
-
|
|
4378
|
+
DescribeRecordRequest: DescribeRecordRequest,
|
|
4379
|
+
DescribeRecordResponse: DescribeRecordResponse,
|
|
4199
4380
|
SubscribePrivateZoneServiceRequest: SubscribePrivateZoneServiceRequest,
|
|
4200
4381
|
ModifyPrivateZoneRequest: ModifyPrivateZoneRequest,
|
|
4201
4382
|
CreatePrivateZoneResponse: CreatePrivateZoneResponse,
|
|
4202
4383
|
EndPointInfo: EndPointInfo,
|
|
4203
4384
|
DescribeDashboardResponse: DescribeDashboardResponse,
|
|
4204
4385
|
CreatePrivateZoneRecordResponse: CreatePrivateZoneRecordResponse,
|
|
4386
|
+
RecordInfo: RecordInfo,
|
|
4205
4387
|
DescribePrivateZoneServiceResponse: DescribePrivateZoneServiceResponse,
|
|
4206
4388
|
DescribeForwardRuleListResponse: DescribeForwardRuleListResponse,
|
|
4207
4389
|
DescribeExtendEndpointListResponse: DescribeExtendEndpointListResponse,
|
|
4208
4390
|
CreatePrivateDNSAccountResponse: CreatePrivateDNSAccountResponse,
|
|
4209
4391
|
DescribeAuditLogRequest: DescribeAuditLogRequest,
|
|
4392
|
+
ModifyForwardRuleRequest: ModifyForwardRuleRequest,
|
|
4210
4393
|
DescribeDashboardRequest: DescribeDashboardRequest,
|
|
4211
4394
|
ModifyForwardRuleResponse: ModifyForwardRuleResponse,
|
|
4212
4395
|
CreateEndPointResponse: CreateEndPointResponse,
|
|
@@ -61,18 +61,21 @@ const DescribeForwardRuleResponse = models.DescribeForwardRuleResponse;
|
|
|
61
61
|
const ModifyPrivateZoneVpcResponse = models.ModifyPrivateZoneVpcResponse;
|
|
62
62
|
const ForwardRule = models.ForwardRule;
|
|
63
63
|
const DescribePrivateZoneListRequest = models.DescribePrivateZoneListRequest;
|
|
64
|
-
const
|
|
64
|
+
const DescribeRecordRequest = models.DescribeRecordRequest;
|
|
65
|
+
const DescribeRecordResponse = models.DescribeRecordResponse;
|
|
65
66
|
const SubscribePrivateZoneServiceRequest = models.SubscribePrivateZoneServiceRequest;
|
|
66
67
|
const ModifyPrivateZoneRequest = models.ModifyPrivateZoneRequest;
|
|
67
68
|
const CreatePrivateZoneResponse = models.CreatePrivateZoneResponse;
|
|
68
69
|
const EndPointInfo = models.EndPointInfo;
|
|
69
70
|
const DescribeDashboardResponse = models.DescribeDashboardResponse;
|
|
70
71
|
const CreatePrivateZoneRecordResponse = models.CreatePrivateZoneRecordResponse;
|
|
72
|
+
const RecordInfo = models.RecordInfo;
|
|
71
73
|
const DescribePrivateZoneServiceResponse = models.DescribePrivateZoneServiceResponse;
|
|
72
74
|
const DescribeForwardRuleListResponse = models.DescribeForwardRuleListResponse;
|
|
73
75
|
const DescribeExtendEndpointListResponse = models.DescribeExtendEndpointListResponse;
|
|
74
76
|
const CreatePrivateDNSAccountResponse = models.CreatePrivateDNSAccountResponse;
|
|
75
77
|
const DescribeAuditLogRequest = models.DescribeAuditLogRequest;
|
|
78
|
+
const ModifyForwardRuleRequest = models.ModifyForwardRuleRequest;
|
|
76
79
|
const DescribeDashboardRequest = models.DescribeDashboardRequest;
|
|
77
80
|
const ModifyForwardRuleResponse = models.ModifyForwardRuleResponse;
|
|
78
81
|
const CreateEndPointResponse = models.CreateEndPointResponse;
|
|
@@ -318,6 +321,17 @@ class PrivatednsClient extends AbstractClient {
|
|
|
318
321
|
this.request("DescribeAccountVpcList", req, resp, cb);
|
|
319
322
|
}
|
|
320
323
|
|
|
324
|
+
/**
|
|
325
|
+
* This API is used to obtain the private domain records.
|
|
326
|
+
* @param {DescribeRecordRequest} req
|
|
327
|
+
* @param {function(string, DescribeRecordResponse):void} cb
|
|
328
|
+
* @public
|
|
329
|
+
*/
|
|
330
|
+
DescribeRecord(req, cb) {
|
|
331
|
+
let resp = new DescribeRecordResponse();
|
|
332
|
+
this.request("DescribeRecord", req, resp, cb);
|
|
333
|
+
}
|
|
334
|
+
|
|
321
335
|
/**
|
|
322
336
|
* This API is used to create an endpoint and an endpoint service simultaneously.
|
|
323
337
|
* @param {CreateEndPointAndEndPointServiceRequest} req
|