tencentcloud-sdk-nodejs-intl-en 3.0.349 → 3.0.353
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/antiddos/v20200309/models.js +2 -1
- package/tencentcloud/apigateway/v20180808/models.js +30 -2
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/gaap/v20180529/models.js +7 -0
- package/tencentcloud/lighthouse/v20200324/models.js +11 -5
- package/tencentcloud/postgres/v20170312/models.js +51 -14
- package/tencentcloud/privatedns/v20201028/models.js +344 -59
- package/tencentcloud/privatedns/v20201028/privatedns_client.js +43 -3
package/package.json
CHANGED
|
@@ -1809,7 +1809,8 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
1809
1809
|
this.DamDDoSStatus = null;
|
|
1810
1810
|
|
|
1811
1811
|
/**
|
|
1812
|
-
*
|
|
1812
|
+
* Whether it’s an IPv6 address. `1`: Yes; `0`: No.
|
|
1813
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1813
1814
|
* @type {number || null}
|
|
1814
1815
|
*/
|
|
1815
1816
|
this.V6Flag = null;
|
|
@@ -5642,7 +5642,7 @@ class CreatePluginRequest extends AbstractModel {
|
|
|
5642
5642
|
this.PluginName = null;
|
|
5643
5643
|
|
|
5644
5644
|
/**
|
|
5645
|
-
* Plugin type. Valid values: `IPControl`, `TrafficControl`, `Cors`, `CustomReq`, `CustomAuth`
|
|
5645
|
+
* Plugin type. Valid values: `IPControl`, `TrafficControl`, `Cors`, `CustomReq`, `CustomAuth`, `Routing`, `TrafficControlByParameter`.
|
|
5646
5646
|
* @type {string || null}
|
|
5647
5647
|
*/
|
|
5648
5648
|
this.PluginType = null;
|
|
@@ -7378,6 +7378,30 @@ class CreateApiRequest extends AbstractModel {
|
|
|
7378
7378
|
*/
|
|
7379
7379
|
this.ServiceScfFunctionType = null;
|
|
7380
7380
|
|
|
7381
|
+
/**
|
|
7382
|
+
* EIAM application type.
|
|
7383
|
+
* @type {string || null}
|
|
7384
|
+
*/
|
|
7385
|
+
this.EIAMAppType = null;
|
|
7386
|
+
|
|
7387
|
+
/**
|
|
7388
|
+
* EIAM application authentication type. Valid values: `AuthenticationOnly`, `Authentication`, `Authorization`.
|
|
7389
|
+
* @type {string || null}
|
|
7390
|
+
*/
|
|
7391
|
+
this.EIAMAuthType = null;
|
|
7392
|
+
|
|
7393
|
+
/**
|
|
7394
|
+
* Validity of the EIAM application token. Unit: second. Default value: `7200`.
|
|
7395
|
+
* @type {number || null}
|
|
7396
|
+
*/
|
|
7397
|
+
this.TokenTimeout = null;
|
|
7398
|
+
|
|
7399
|
+
/**
|
|
7400
|
+
* EIAM application ID.
|
|
7401
|
+
* @type {string || null}
|
|
7402
|
+
*/
|
|
7403
|
+
this.EIAMAppId = null;
|
|
7404
|
+
|
|
7381
7405
|
}
|
|
7382
7406
|
|
|
7383
7407
|
/**
|
|
@@ -7512,6 +7536,10 @@ class CreateApiRequest extends AbstractModel {
|
|
|
7512
7536
|
this.UserType = 'UserType' in params ? params.UserType : null;
|
|
7513
7537
|
this.IsBase64Encoded = 'IsBase64Encoded' in params ? params.IsBase64Encoded : null;
|
|
7514
7538
|
this.ServiceScfFunctionType = 'ServiceScfFunctionType' in params ? params.ServiceScfFunctionType : null;
|
|
7539
|
+
this.EIAMAppType = 'EIAMAppType' in params ? params.EIAMAppType : null;
|
|
7540
|
+
this.EIAMAuthType = 'EIAMAuthType' in params ? params.EIAMAuthType : null;
|
|
7541
|
+
this.TokenTimeout = 'TokenTimeout' in params ? params.TokenTimeout : null;
|
|
7542
|
+
this.EIAMAppId = 'EIAMAppId' in params ? params.EIAMAppId : null;
|
|
7515
7543
|
|
|
7516
7544
|
}
|
|
7517
7545
|
}
|
|
@@ -13036,7 +13064,7 @@ class DescribeServicesStatusRequest extends AbstractModel {
|
|
|
13036
13064
|
this.Offset = null;
|
|
13037
13065
|
|
|
13038
13066
|
/**
|
|
13039
|
-
* Filter. Valid values: ServiceId
|
|
13067
|
+
* Filter. Valid values: `ServiceId`, `ServiceName`, `NotUsagePlanId`, `Environment`, `IpVersion`, `InstanceId`, `NetType`, `EIAMAppId`.
|
|
13040
13068
|
* @type {Array.<Filter> || null}
|
|
13041
13069
|
*/
|
|
13042
13070
|
this.Filters = null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.353";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -9030,6 +9030,12 @@ Time range: <= 30 days, supported minimum granularity: 86,400 seconds;
|
|
|
9030
9030
|
*/
|
|
9031
9031
|
this.Granularity = null;
|
|
9032
9032
|
|
|
9033
|
+
/**
|
|
9034
|
+
* Specifies the ISP. Valid values: `CMCC`, `CUCC`, and `CTCC`. If it is not specified, all ISP data will be returned. Note that this field is valid only when a non-BGP connection is used.
|
|
9035
|
+
* @type {string || null}
|
|
9036
|
+
*/
|
|
9037
|
+
this.Isp = null;
|
|
9038
|
+
|
|
9033
9039
|
}
|
|
9034
9040
|
|
|
9035
9041
|
/**
|
|
@@ -9044,6 +9050,7 @@ Time range: <= 30 days, supported minimum granularity: 86,400 seconds;
|
|
|
9044
9050
|
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
9045
9051
|
this.MetricNames = 'MetricNames' in params ? params.MetricNames : null;
|
|
9046
9052
|
this.Granularity = 'Granularity' in params ? params.Granularity : null;
|
|
9053
|
+
this.Isp = 'Isp' in params ? params.Isp : null;
|
|
9047
9054
|
|
|
9048
9055
|
}
|
|
9049
9056
|
}
|
|
@@ -3811,17 +3811,23 @@ class DescribeInstancesRequest extends AbstractModel {
|
|
|
3811
3811
|
this.InstanceIds = null;
|
|
3812
3812
|
|
|
3813
3813
|
/**
|
|
3814
|
-
* Filter list
|
|
3815
|
-
<li>instance-name</li>Filter by
|
|
3814
|
+
* Filter list
|
|
3815
|
+
<li>instance-name</li>Filter by the instance name
|
|
3816
|
+
Type: String
|
|
3817
|
+
Required: no
|
|
3818
|
+
<li>private-ip-address</li>Filter by the private IP of instance primary ENI
|
|
3819
|
+
Type: String
|
|
3820
|
+
Required: no
|
|
3821
|
+
<li>public-ip-address</li>Filter by the public IP of instance primary ENI
|
|
3816
3822
|
Type: String
|
|
3817
3823
|
Required: no
|
|
3818
|
-
<li>
|
|
3824
|
+
<li>zone</li>Filter by the availability zone
|
|
3819
3825
|
Type: String
|
|
3820
3826
|
Required: no
|
|
3821
|
-
<li>
|
|
3827
|
+
<li>instance-state</li>Filter by **instance status**.
|
|
3822
3828
|
Type: String
|
|
3823
3829
|
Required: no
|
|
3824
|
-
Each request can contain up to 10
|
|
3830
|
+
Each request can contain up to 10 filters, each of which can have 5 values. You cannot specify both `InstanceIds` and `Filters` at the same time.
|
|
3825
3831
|
* @type {Array.<Filter> || null}
|
|
3826
3832
|
*/
|
|
3827
3833
|
this.Filters = null;
|
|
@@ -396,12 +396,6 @@ class CreateInstancesRequest extends AbstractModel {
|
|
|
396
396
|
*/
|
|
397
397
|
this.SpecCode = null;
|
|
398
398
|
|
|
399
|
-
/**
|
|
400
|
-
* PostgreSQL kernel version. Valid values: `9.3.5`, `9.5.4`, `10.4`, `11.8`, `12.4`.
|
|
401
|
-
* @type {string || null}
|
|
402
|
-
*/
|
|
403
|
-
this.DBVersion = null;
|
|
404
|
-
|
|
405
399
|
/**
|
|
406
400
|
* Instance storage capacity in GB
|
|
407
401
|
* @type {number || null}
|
|
@@ -450,6 +444,12 @@ class CreateInstancesRequest extends AbstractModel {
|
|
|
450
444
|
*/
|
|
451
445
|
this.ProjectId = null;
|
|
452
446
|
|
|
447
|
+
/**
|
|
448
|
+
* PostgreSQL major version. Valid values: `9.3`, `9.5`, `10`, `11`, `12`, `13`, `9.3.5`, `9.5.4`, `10.4`, `11.8`, `12.4`.
|
|
449
|
+
* @type {string || null}
|
|
450
|
+
*/
|
|
451
|
+
this.DBVersion = null;
|
|
452
|
+
|
|
453
453
|
/**
|
|
454
454
|
* Instance billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID_BY_HOUR` (pay-as-you-go).
|
|
455
455
|
* @type {string || null}
|
|
@@ -516,6 +516,18 @@ class CreateInstancesRequest extends AbstractModel {
|
|
|
516
516
|
*/
|
|
517
517
|
this.SecurityGroupIds = null;
|
|
518
518
|
|
|
519
|
+
/**
|
|
520
|
+
*
|
|
521
|
+
* @type {string || null}
|
|
522
|
+
*/
|
|
523
|
+
this.DBMajorVersion = null;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
*
|
|
527
|
+
* @type {string || null}
|
|
528
|
+
*/
|
|
529
|
+
this.DBKernelVersion = null;
|
|
530
|
+
|
|
519
531
|
}
|
|
520
532
|
|
|
521
533
|
/**
|
|
@@ -526,7 +538,6 @@ class CreateInstancesRequest extends AbstractModel {
|
|
|
526
538
|
return;
|
|
527
539
|
}
|
|
528
540
|
this.SpecCode = 'SpecCode' in params ? params.SpecCode : null;
|
|
529
|
-
this.DBVersion = 'DBVersion' in params ? params.DBVersion : null;
|
|
530
541
|
this.Storage = 'Storage' in params ? params.Storage : null;
|
|
531
542
|
this.InstanceCount = 'InstanceCount' in params ? params.InstanceCount : null;
|
|
532
543
|
this.Period = 'Period' in params ? params.Period : null;
|
|
@@ -535,6 +546,7 @@ class CreateInstancesRequest extends AbstractModel {
|
|
|
535
546
|
this.AdminName = 'AdminName' in params ? params.AdminName : null;
|
|
536
547
|
this.AdminPassword = 'AdminPassword' in params ? params.AdminPassword : null;
|
|
537
548
|
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
|
|
549
|
+
this.DBVersion = 'DBVersion' in params ? params.DBVersion : null;
|
|
538
550
|
this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
|
|
539
551
|
this.AutoVoucher = 'AutoVoucher' in params ? params.AutoVoucher : null;
|
|
540
552
|
this.VoucherIds = 'VoucherIds' in params ? params.VoucherIds : null;
|
|
@@ -554,6 +566,8 @@ class CreateInstancesRequest extends AbstractModel {
|
|
|
554
566
|
}
|
|
555
567
|
}
|
|
556
568
|
this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
|
|
569
|
+
this.DBMajorVersion = 'DBMajorVersion' in params ? params.DBMajorVersion : null;
|
|
570
|
+
this.DBKernelVersion = 'DBKernelVersion' in params ? params.DBKernelVersion : null;
|
|
557
571
|
|
|
558
572
|
}
|
|
559
573
|
}
|
|
@@ -1117,11 +1131,25 @@ class DBInstanceNetInfo extends AbstractModel {
|
|
|
1117
1131
|
this.NetType = null;
|
|
1118
1132
|
|
|
1119
1133
|
/**
|
|
1120
|
-
* Network connection status
|
|
1134
|
+
* Network connection status. Valid values: `initing` (never enabled before), `opened` (enabled), `closed` (disabled), `opening` (enabling), `closing` (disabling)
|
|
1121
1135
|
* @type {string || null}
|
|
1122
1136
|
*/
|
|
1123
1137
|
this.Status = null;
|
|
1124
1138
|
|
|
1139
|
+
/**
|
|
1140
|
+
* VPC ID
|
|
1141
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1142
|
+
* @type {string || null}
|
|
1143
|
+
*/
|
|
1144
|
+
this.VpcId = null;
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* Subnet ID
|
|
1148
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1149
|
+
* @type {string || null}
|
|
1150
|
+
*/
|
|
1151
|
+
this.SubnetId = null;
|
|
1152
|
+
|
|
1125
1153
|
}
|
|
1126
1154
|
|
|
1127
1155
|
/**
|
|
@@ -1136,6 +1164,8 @@ class DBInstanceNetInfo extends AbstractModel {
|
|
|
1136
1164
|
this.Port = 'Port' in params ? params.Port : null;
|
|
1137
1165
|
this.NetType = 'NetType' in params ? params.NetType : null;
|
|
1138
1166
|
this.Status = 'Status' in params ? params.Status : null;
|
|
1167
|
+
this.VpcId = 'VpcId' in params ? params.VpcId : null;
|
|
1168
|
+
this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
|
|
1139
1169
|
|
|
1140
1170
|
}
|
|
1141
1171
|
}
|
|
@@ -2376,7 +2406,7 @@ class SetAutoRenewFlagResponse extends AbstractModel {
|
|
|
2376
2406
|
}
|
|
2377
2407
|
|
|
2378
2408
|
/**
|
|
2379
|
-
* Network information.
|
|
2409
|
+
* Network information. (This parameter structure has been deprecated. Please use `DBInstanceNetInfo` to query network information.)
|
|
2380
2410
|
* @class
|
|
2381
2411
|
*/
|
|
2382
2412
|
class NetworkAccess extends AbstractModel {
|
|
@@ -2384,14 +2414,14 @@ class NetworkAccess extends AbstractModel {
|
|
|
2384
2414
|
super();
|
|
2385
2415
|
|
|
2386
2416
|
/**
|
|
2387
|
-
* Network resource ID, instance ID or RO group ID
|
|
2417
|
+
* Network resource ID, instance ID, or RO group ID
|
|
2388
2418
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
2389
2419
|
* @type {string || null}
|
|
2390
2420
|
*/
|
|
2391
2421
|
this.ResourceId = null;
|
|
2392
2422
|
|
|
2393
2423
|
/**
|
|
2394
|
-
* Resource type. Valid values: `1` (instance), `2` (RO group)
|
|
2424
|
+
* Resource type. Valid values: `1` (instance), `2` (RO group)
|
|
2395
2425
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
2396
2426
|
* @type {number || null}
|
|
2397
2427
|
*/
|
|
@@ -2640,7 +2670,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
2640
2670
|
this.DBInstanceNetInfo = null;
|
|
2641
2671
|
|
|
2642
2672
|
/**
|
|
2643
|
-
* Network access list of the RO group
|
|
2673
|
+
* Network access list of the RO group (this field has been deprecated)
|
|
2644
2674
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
2645
2675
|
* @type {Array.<NetworkAccess> || null}
|
|
2646
2676
|
*/
|
|
@@ -4592,7 +4622,7 @@ class DBInstance extends AbstractModel {
|
|
|
4592
4622
|
this.DBInstanceName = null;
|
|
4593
4623
|
|
|
4594
4624
|
/**
|
|
4595
|
-
* Instance status. Valid values: `applying`, `init` (to be initialized), `initing` (initializing), `running`, `limited run`, `isolated`, `recycling`, `recycled`, `job running`, `offline`, `migrating`, `expanding`, `waitSwitch` (waiting for switch), `switching`, `readonly`, `restarting`
|
|
4625
|
+
* Instance status. Valid values: `applying`, `init` (to be initialized), `initing` (initializing), `running`, `limited run`, `isolated`, `recycling`, `recycled`, `job running`, `offline`, `migrating`, `expanding`, `waitSwitch` (waiting for switch), `switching`, `readonly`, `restarting`, `network changing`
|
|
4596
4626
|
* @type {string || null}
|
|
4597
4627
|
*/
|
|
4598
4628
|
this.DBInstanceStatus = null;
|
|
@@ -4754,12 +4784,18 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
4754
4784
|
this.DBKernelVersion = null;
|
|
4755
4785
|
|
|
4756
4786
|
/**
|
|
4757
|
-
* Network access list of the instance
|
|
4787
|
+
* Network access list of the instance (this field has been deprecated)
|
|
4758
4788
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
4759
4789
|
* @type {Array.<NetworkAccess> || null}
|
|
4760
4790
|
*/
|
|
4761
4791
|
this.NetworkAccessList = null;
|
|
4762
4792
|
|
|
4793
|
+
/**
|
|
4794
|
+
*
|
|
4795
|
+
* @type {string || null}
|
|
4796
|
+
*/
|
|
4797
|
+
this.DBMajorVersion = null;
|
|
4798
|
+
|
|
4763
4799
|
}
|
|
4764
4800
|
|
|
4765
4801
|
/**
|
|
@@ -4827,6 +4863,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
4827
4863
|
this.NetworkAccessList.push(obj);
|
|
4828
4864
|
}
|
|
4829
4865
|
}
|
|
4866
|
+
this.DBMajorVersion = 'DBMajorVersion' in params ? params.DBMajorVersion : null;
|
|
4830
4867
|
|
|
4831
4868
|
}
|
|
4832
4869
|
}
|
|
@@ -266,6 +266,106 @@ class PrivateDNSAccount extends AbstractModel {
|
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
+
/**
|
|
270
|
+
* DescribePrivateZoneRecordList response structure.
|
|
271
|
+
* @class
|
|
272
|
+
*/
|
|
273
|
+
class DescribePrivateZoneRecordListResponse extends AbstractModel {
|
|
274
|
+
constructor(){
|
|
275
|
+
super();
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Number of DNS records
|
|
279
|
+
* @type {number || null}
|
|
280
|
+
*/
|
|
281
|
+
this.TotalCount = null;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* List of DNS records
|
|
285
|
+
* @type {Array.<PrivateZoneRecord> || null}
|
|
286
|
+
*/
|
|
287
|
+
this.RecordSet = null;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
291
|
+
* @type {string || null}
|
|
292
|
+
*/
|
|
293
|
+
this.RequestId = null;
|
|
294
|
+
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @private
|
|
299
|
+
*/
|
|
300
|
+
deserialize(params) {
|
|
301
|
+
if (!params) {
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
305
|
+
|
|
306
|
+
if (params.RecordSet) {
|
|
307
|
+
this.RecordSet = new Array();
|
|
308
|
+
for (let z in params.RecordSet) {
|
|
309
|
+
let obj = new PrivateZoneRecord();
|
|
310
|
+
obj.deserialize(params.RecordSet[z]);
|
|
311
|
+
this.RecordSet.push(obj);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
315
|
+
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* DescribePrivateZoneList response structure.
|
|
321
|
+
* @class
|
|
322
|
+
*/
|
|
323
|
+
class DescribePrivateZoneListResponse extends AbstractModel {
|
|
324
|
+
constructor(){
|
|
325
|
+
super();
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Number of private domains
|
|
329
|
+
* @type {number || null}
|
|
330
|
+
*/
|
|
331
|
+
this.TotalCount = null;
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* List of private domains
|
|
335
|
+
* @type {Array.<PrivateZone> || null}
|
|
336
|
+
*/
|
|
337
|
+
this.PrivateZoneSet = null;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
341
|
+
* @type {string || null}
|
|
342
|
+
*/
|
|
343
|
+
this.RequestId = null;
|
|
344
|
+
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* @private
|
|
349
|
+
*/
|
|
350
|
+
deserialize(params) {
|
|
351
|
+
if (!params) {
|
|
352
|
+
return;
|
|
353
|
+
}
|
|
354
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
355
|
+
|
|
356
|
+
if (params.PrivateZoneSet) {
|
|
357
|
+
this.PrivateZoneSet = new Array();
|
|
358
|
+
for (let z in params.PrivateZoneSet) {
|
|
359
|
+
let obj = new PrivateZone();
|
|
360
|
+
obj.deserialize(params.PrivateZoneSet[z]);
|
|
361
|
+
this.PrivateZoneSet.push(obj);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
365
|
+
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
269
369
|
/**
|
|
270
370
|
* Output parameters of the associated VPC
|
|
271
371
|
* @class
|
|
@@ -371,6 +471,56 @@ class DatePoint extends AbstractModel {
|
|
|
371
471
|
}
|
|
372
472
|
}
|
|
373
473
|
|
|
474
|
+
/**
|
|
475
|
+
* DescribeAccountVpcList response structure.
|
|
476
|
+
* @class
|
|
477
|
+
*/
|
|
478
|
+
class DescribeAccountVpcListResponse extends AbstractModel {
|
|
479
|
+
constructor(){
|
|
480
|
+
super();
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Number of VPCs
|
|
484
|
+
* @type {number || null}
|
|
485
|
+
*/
|
|
486
|
+
this.TotalCount = null;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* VPC list
|
|
490
|
+
* @type {Array.<AccountVpcInfoOut> || null}
|
|
491
|
+
*/
|
|
492
|
+
this.VpcSet = null;
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
496
|
+
* @type {string || null}
|
|
497
|
+
*/
|
|
498
|
+
this.RequestId = null;
|
|
499
|
+
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* @private
|
|
504
|
+
*/
|
|
505
|
+
deserialize(params) {
|
|
506
|
+
if (!params) {
|
|
507
|
+
return;
|
|
508
|
+
}
|
|
509
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
510
|
+
|
|
511
|
+
if (params.VpcSet) {
|
|
512
|
+
this.VpcSet = new Array();
|
|
513
|
+
for (let z in params.VpcSet) {
|
|
514
|
+
let obj = new AccountVpcInfoOut();
|
|
515
|
+
obj.deserialize(params.VpcSet[z]);
|
|
516
|
+
this.VpcSet.push(obj);
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
520
|
+
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
|
|
374
524
|
/**
|
|
375
525
|
* DescribePrivateZoneService request structure.
|
|
376
526
|
* @class
|
|
@@ -621,30 +771,36 @@ class ModifyPrivateZoneRecordResponse extends AbstractModel {
|
|
|
621
771
|
}
|
|
622
772
|
|
|
623
773
|
/**
|
|
624
|
-
*
|
|
774
|
+
* DescribeAccountVpcList request structure.
|
|
625
775
|
* @class
|
|
626
776
|
*/
|
|
627
|
-
class
|
|
777
|
+
class DescribeAccountVpcListRequest extends AbstractModel {
|
|
628
778
|
constructor(){
|
|
629
779
|
super();
|
|
630
780
|
|
|
631
781
|
/**
|
|
632
|
-
*
|
|
782
|
+
* UIN of account
|
|
783
|
+
* @type {string || null}
|
|
784
|
+
*/
|
|
785
|
+
this.AccountUin = null;
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* Pagination offset, starting from 0
|
|
633
789
|
* @type {number || null}
|
|
634
790
|
*/
|
|
635
|
-
this.
|
|
791
|
+
this.Offset = null;
|
|
636
792
|
|
|
637
793
|
/**
|
|
638
|
-
*
|
|
639
|
-
* @type {
|
|
794
|
+
* Number of entries per page. Maximum value: `100`. Default value: `20`
|
|
795
|
+
* @type {number || null}
|
|
640
796
|
*/
|
|
641
|
-
this.
|
|
797
|
+
this.Limit = null;
|
|
642
798
|
|
|
643
799
|
/**
|
|
644
|
-
*
|
|
645
|
-
* @type {
|
|
800
|
+
* Filter parameters
|
|
801
|
+
* @type {Array.<Filter> || null}
|
|
646
802
|
*/
|
|
647
|
-
this.
|
|
803
|
+
this.Filters = null;
|
|
648
804
|
|
|
649
805
|
}
|
|
650
806
|
|
|
@@ -655,17 +811,18 @@ class DescribePrivateZoneRecordListResponse extends AbstractModel {
|
|
|
655
811
|
if (!params) {
|
|
656
812
|
return;
|
|
657
813
|
}
|
|
658
|
-
this.
|
|
814
|
+
this.AccountUin = 'AccountUin' in params ? params.AccountUin : null;
|
|
815
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
816
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
659
817
|
|
|
660
|
-
if (params.
|
|
661
|
-
this.
|
|
662
|
-
for (let z in params.
|
|
663
|
-
let obj = new
|
|
664
|
-
obj.deserialize(params.
|
|
665
|
-
this.
|
|
818
|
+
if (params.Filters) {
|
|
819
|
+
this.Filters = new Array();
|
|
820
|
+
for (let z in params.Filters) {
|
|
821
|
+
let obj = new Filter();
|
|
822
|
+
obj.deserialize(params.Filters[z]);
|
|
823
|
+
this.Filters.push(obj);
|
|
666
824
|
}
|
|
667
825
|
}
|
|
668
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
669
826
|
|
|
670
827
|
}
|
|
671
828
|
}
|
|
@@ -899,6 +1056,90 @@ class CreatePrivateZoneRequest extends AbstractModel {
|
|
|
899
1056
|
}
|
|
900
1057
|
}
|
|
901
1058
|
|
|
1059
|
+
/**
|
|
1060
|
+
* VPC information
|
|
1061
|
+
* @class
|
|
1062
|
+
*/
|
|
1063
|
+
class VpcInfo extends AbstractModel {
|
|
1064
|
+
constructor(){
|
|
1065
|
+
super();
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* VpcId: vpc-xadsafsdasd
|
|
1069
|
+
* @type {string || null}
|
|
1070
|
+
*/
|
|
1071
|
+
this.UniqVpcId = null;
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* VPC region: ap-guangzhou, ap-shanghai
|
|
1075
|
+
* @type {string || null}
|
|
1076
|
+
*/
|
|
1077
|
+
this.Region = null;
|
|
1078
|
+
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* @private
|
|
1083
|
+
*/
|
|
1084
|
+
deserialize(params) {
|
|
1085
|
+
if (!params) {
|
|
1086
|
+
return;
|
|
1087
|
+
}
|
|
1088
|
+
this.UniqVpcId = 'UniqVpcId' in params ? params.UniqVpcId : null;
|
|
1089
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
1090
|
+
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* Output parameters of the associated VPC
|
|
1096
|
+
* @class
|
|
1097
|
+
*/
|
|
1098
|
+
class AccountVpcInfoOut extends AbstractModel {
|
|
1099
|
+
constructor(){
|
|
1100
|
+
super();
|
|
1101
|
+
|
|
1102
|
+
/**
|
|
1103
|
+
* VpcId: vpc-xadsafsdasd
|
|
1104
|
+
* @type {string || null}
|
|
1105
|
+
*/
|
|
1106
|
+
this.VpcId = null;
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* Region: ap-guangzhou, ap-shanghai
|
|
1110
|
+
* @type {string || null}
|
|
1111
|
+
*/
|
|
1112
|
+
this.Region = null;
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* VPC ID: 123456789
|
|
1116
|
+
* @type {string || null}
|
|
1117
|
+
*/
|
|
1118
|
+
this.Uin = null;
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* VPC name: testname
|
|
1122
|
+
* @type {string || null}
|
|
1123
|
+
*/
|
|
1124
|
+
this.VpcName = null;
|
|
1125
|
+
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* @private
|
|
1130
|
+
*/
|
|
1131
|
+
deserialize(params) {
|
|
1132
|
+
if (!params) {
|
|
1133
|
+
return;
|
|
1134
|
+
}
|
|
1135
|
+
this.VpcId = 'VpcId' in params ? params.VpcId : null;
|
|
1136
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
1137
|
+
this.Uin = 'Uin' in params ? params.Uin : null;
|
|
1138
|
+
this.VpcName = 'VpcName' in params ? params.VpcName : null;
|
|
1139
|
+
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
|
|
902
1143
|
/**
|
|
903
1144
|
* VPC information of a Private DNS account
|
|
904
1145
|
* @class
|
|
@@ -1267,24 +1508,18 @@ class DescribePrivateZoneServiceResponse extends AbstractModel {
|
|
|
1267
1508
|
}
|
|
1268
1509
|
|
|
1269
1510
|
/**
|
|
1270
|
-
*
|
|
1511
|
+
* CreatePrivateDNSAccount response structure.
|
|
1271
1512
|
* @class
|
|
1272
1513
|
*/
|
|
1273
|
-
class
|
|
1514
|
+
class CreatePrivateDNSAccountResponse extends AbstractModel {
|
|
1274
1515
|
constructor(){
|
|
1275
1516
|
super();
|
|
1276
1517
|
|
|
1277
1518
|
/**
|
|
1278
|
-
*
|
|
1279
|
-
* @type {string || null}
|
|
1280
|
-
*/
|
|
1281
|
-
this.UniqVpcId = null;
|
|
1282
|
-
|
|
1283
|
-
/**
|
|
1284
|
-
* VPC region: ap-guangzhou, ap-shanghai
|
|
1519
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1285
1520
|
* @type {string || null}
|
|
1286
1521
|
*/
|
|
1287
|
-
this.
|
|
1522
|
+
this.RequestId = null;
|
|
1288
1523
|
|
|
1289
1524
|
}
|
|
1290
1525
|
|
|
@@ -1295,8 +1530,7 @@ class VpcInfo extends AbstractModel {
|
|
|
1295
1530
|
if (!params) {
|
|
1296
1531
|
return;
|
|
1297
1532
|
}
|
|
1298
|
-
this.
|
|
1299
|
-
this.Region = 'Region' in params ? params.Region : null;
|
|
1533
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1300
1534
|
|
|
1301
1535
|
}
|
|
1302
1536
|
}
|
|
@@ -1513,6 +1747,39 @@ class SubscribePrivateZoneServiceResponse extends AbstractModel {
|
|
|
1513
1747
|
}
|
|
1514
1748
|
}
|
|
1515
1749
|
|
|
1750
|
+
/**
|
|
1751
|
+
* DeletePrivateDNSAccount request structure.
|
|
1752
|
+
* @class
|
|
1753
|
+
*/
|
|
1754
|
+
class DeletePrivateDNSAccountRequest extends AbstractModel {
|
|
1755
|
+
constructor(){
|
|
1756
|
+
super();
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* Private DNS account
|
|
1760
|
+
* @type {PrivateDNSAccount || null}
|
|
1761
|
+
*/
|
|
1762
|
+
this.Account = null;
|
|
1763
|
+
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
/**
|
|
1767
|
+
* @private
|
|
1768
|
+
*/
|
|
1769
|
+
deserialize(params) {
|
|
1770
|
+
if (!params) {
|
|
1771
|
+
return;
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
if (params.Account) {
|
|
1775
|
+
let obj = new PrivateDNSAccount();
|
|
1776
|
+
obj.deserialize(params.Account)
|
|
1777
|
+
this.Account = obj;
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1516
1783
|
/**
|
|
1517
1784
|
* DeletePrivateZoneRecord request structure.
|
|
1518
1785
|
* @class
|
|
@@ -1619,30 +1886,18 @@ class DeletePrivateZoneResponse extends AbstractModel {
|
|
|
1619
1886
|
}
|
|
1620
1887
|
|
|
1621
1888
|
/**
|
|
1622
|
-
*
|
|
1889
|
+
* CreatePrivateDNSAccount request structure.
|
|
1623
1890
|
* @class
|
|
1624
1891
|
*/
|
|
1625
|
-
class
|
|
1892
|
+
class CreatePrivateDNSAccountRequest extends AbstractModel {
|
|
1626
1893
|
constructor(){
|
|
1627
1894
|
super();
|
|
1628
1895
|
|
|
1629
1896
|
/**
|
|
1630
|
-
*
|
|
1631
|
-
* @type {
|
|
1632
|
-
*/
|
|
1633
|
-
this.TotalCount = null;
|
|
1634
|
-
|
|
1635
|
-
/**
|
|
1636
|
-
* List of private domains
|
|
1637
|
-
* @type {Array.<PrivateZone> || null}
|
|
1638
|
-
*/
|
|
1639
|
-
this.PrivateZoneSet = null;
|
|
1640
|
-
|
|
1641
|
-
/**
|
|
1642
|
-
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1643
|
-
* @type {string || null}
|
|
1897
|
+
* Private DNS account
|
|
1898
|
+
* @type {PrivateDNSAccount || null}
|
|
1644
1899
|
*/
|
|
1645
|
-
this.
|
|
1900
|
+
this.Account = null;
|
|
1646
1901
|
|
|
1647
1902
|
}
|
|
1648
1903
|
|
|
@@ -1653,17 +1908,12 @@ class DescribePrivateZoneListResponse extends AbstractModel {
|
|
|
1653
1908
|
if (!params) {
|
|
1654
1909
|
return;
|
|
1655
1910
|
}
|
|
1656
|
-
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1657
1911
|
|
|
1658
|
-
if (params.
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
obj.deserialize(params.PrivateZoneSet[z]);
|
|
1663
|
-
this.PrivateZoneSet.push(obj);
|
|
1664
|
-
}
|
|
1912
|
+
if (params.Account) {
|
|
1913
|
+
let obj = new PrivateDNSAccount();
|
|
1914
|
+
obj.deserialize(params.Account)
|
|
1915
|
+
this.Account = obj;
|
|
1665
1916
|
}
|
|
1666
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1667
1917
|
|
|
1668
1918
|
}
|
|
1669
1919
|
}
|
|
@@ -2046,6 +2296,34 @@ class ModifyPrivateZoneRecordRequest extends AbstractModel {
|
|
|
2046
2296
|
}
|
|
2047
2297
|
}
|
|
2048
2298
|
|
|
2299
|
+
/**
|
|
2300
|
+
* DeletePrivateDNSAccount response structure.
|
|
2301
|
+
* @class
|
|
2302
|
+
*/
|
|
2303
|
+
class DeletePrivateDNSAccountResponse extends AbstractModel {
|
|
2304
|
+
constructor(){
|
|
2305
|
+
super();
|
|
2306
|
+
|
|
2307
|
+
/**
|
|
2308
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2309
|
+
* @type {string || null}
|
|
2310
|
+
*/
|
|
2311
|
+
this.RequestId = null;
|
|
2312
|
+
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
/**
|
|
2316
|
+
* @private
|
|
2317
|
+
*/
|
|
2318
|
+
deserialize(params) {
|
|
2319
|
+
if (!params) {
|
|
2320
|
+
return;
|
|
2321
|
+
}
|
|
2322
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2323
|
+
|
|
2324
|
+
}
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2049
2327
|
/**
|
|
2050
2328
|
* Traffic package usage
|
|
2051
2329
|
* @class
|
|
@@ -2187,19 +2465,24 @@ module.exports = {
|
|
|
2187
2465
|
DescribePrivateDNSAccountListResponse: DescribePrivateDNSAccountListResponse,
|
|
2188
2466
|
DescribePrivateZoneRecordListRequest: DescribePrivateZoneRecordListRequest,
|
|
2189
2467
|
PrivateDNSAccount: PrivateDNSAccount,
|
|
2468
|
+
DescribePrivateZoneRecordListResponse: DescribePrivateZoneRecordListResponse,
|
|
2469
|
+
DescribePrivateZoneListResponse: DescribePrivateZoneListResponse,
|
|
2190
2470
|
AccountVpcInfoOutput: AccountVpcInfoOutput,
|
|
2191
2471
|
DescribePrivateZoneRequest: DescribePrivateZoneRequest,
|
|
2192
2472
|
DatePoint: DatePoint,
|
|
2473
|
+
DescribeAccountVpcListResponse: DescribeAccountVpcListResponse,
|
|
2193
2474
|
DescribePrivateZoneServiceRequest: DescribePrivateZoneServiceRequest,
|
|
2194
2475
|
PrivateZoneRecord: PrivateZoneRecord,
|
|
2195
2476
|
AuditLogInfo: AuditLogInfo,
|
|
2196
2477
|
DescribeRequestDataRequest: DescribeRequestDataRequest,
|
|
2197
2478
|
ModifyPrivateZoneRecordResponse: ModifyPrivateZoneRecordResponse,
|
|
2198
|
-
|
|
2479
|
+
DescribeAccountVpcListRequest: DescribeAccountVpcListRequest,
|
|
2199
2480
|
DescribeRequestDataResponse: DescribeRequestDataResponse,
|
|
2200
2481
|
ModifyPrivateZoneRequest: ModifyPrivateZoneRequest,
|
|
2201
2482
|
TagInfo: TagInfo,
|
|
2202
2483
|
CreatePrivateZoneRequest: CreatePrivateZoneRequest,
|
|
2484
|
+
VpcInfo: VpcInfo,
|
|
2485
|
+
AccountVpcInfoOut: AccountVpcInfoOut,
|
|
2203
2486
|
AccountVpcInfo: AccountVpcInfo,
|
|
2204
2487
|
ModifyPrivateZoneResponse: ModifyPrivateZoneResponse,
|
|
2205
2488
|
DescribePrivateZoneListRequest: DescribePrivateZoneListRequest,
|
|
@@ -2209,21 +2492,23 @@ module.exports = {
|
|
|
2209
2492
|
DescribeDashboardResponse: DescribeDashboardResponse,
|
|
2210
2493
|
CreatePrivateZoneRecordResponse: CreatePrivateZoneRecordResponse,
|
|
2211
2494
|
DescribePrivateZoneServiceResponse: DescribePrivateZoneServiceResponse,
|
|
2212
|
-
|
|
2495
|
+
CreatePrivateDNSAccountResponse: CreatePrivateDNSAccountResponse,
|
|
2213
2496
|
DescribeAuditLogRequest: DescribeAuditLogRequest,
|
|
2214
2497
|
DescribeDashboardRequest: DescribeDashboardRequest,
|
|
2215
2498
|
DeletePrivateZoneRequest: DeletePrivateZoneRequest,
|
|
2216
2499
|
AuditLog: AuditLog,
|
|
2217
2500
|
SubscribePrivateZoneServiceResponse: SubscribePrivateZoneServiceResponse,
|
|
2501
|
+
DeletePrivateDNSAccountRequest: DeletePrivateDNSAccountRequest,
|
|
2218
2502
|
DeletePrivateZoneRecordRequest: DeletePrivateZoneRecordRequest,
|
|
2219
2503
|
Filter: Filter,
|
|
2220
2504
|
DeletePrivateZoneResponse: DeletePrivateZoneResponse,
|
|
2221
|
-
|
|
2505
|
+
CreatePrivateDNSAccountRequest: CreatePrivateDNSAccountRequest,
|
|
2222
2506
|
MetricData: MetricData,
|
|
2223
2507
|
DescribePrivateDNSAccountListRequest: DescribePrivateDNSAccountListRequest,
|
|
2224
2508
|
PrivateZone: PrivateZone,
|
|
2225
2509
|
CreatePrivateZoneRecordRequest: CreatePrivateZoneRecordRequest,
|
|
2226
2510
|
ModifyPrivateZoneRecordRequest: ModifyPrivateZoneRecordRequest,
|
|
2511
|
+
DeletePrivateDNSAccountResponse: DeletePrivateDNSAccountResponse,
|
|
2227
2512
|
FlowUsage: FlowUsage,
|
|
2228
2513
|
DeletePrivateZoneRecordResponse: DeletePrivateZoneRecordResponse,
|
|
2229
2514
|
ModifyPrivateZoneVpcResponse: ModifyPrivateZoneVpcResponse,
|
|
@@ -21,19 +21,24 @@ const DescribeAuditLogResponse = models.DescribeAuditLogResponse;
|
|
|
21
21
|
const DescribePrivateDNSAccountListResponse = models.DescribePrivateDNSAccountListResponse;
|
|
22
22
|
const DescribePrivateZoneRecordListRequest = models.DescribePrivateZoneRecordListRequest;
|
|
23
23
|
const PrivateDNSAccount = models.PrivateDNSAccount;
|
|
24
|
+
const DescribePrivateZoneRecordListResponse = models.DescribePrivateZoneRecordListResponse;
|
|
25
|
+
const DescribePrivateZoneListResponse = models.DescribePrivateZoneListResponse;
|
|
24
26
|
const AccountVpcInfoOutput = models.AccountVpcInfoOutput;
|
|
25
27
|
const DescribePrivateZoneRequest = models.DescribePrivateZoneRequest;
|
|
26
28
|
const DatePoint = models.DatePoint;
|
|
29
|
+
const DescribeAccountVpcListResponse = models.DescribeAccountVpcListResponse;
|
|
27
30
|
const DescribePrivateZoneServiceRequest = models.DescribePrivateZoneServiceRequest;
|
|
28
31
|
const PrivateZoneRecord = models.PrivateZoneRecord;
|
|
29
32
|
const AuditLogInfo = models.AuditLogInfo;
|
|
30
33
|
const DescribeRequestDataRequest = models.DescribeRequestDataRequest;
|
|
31
34
|
const ModifyPrivateZoneRecordResponse = models.ModifyPrivateZoneRecordResponse;
|
|
32
|
-
const
|
|
35
|
+
const DescribeAccountVpcListRequest = models.DescribeAccountVpcListRequest;
|
|
33
36
|
const DescribeRequestDataResponse = models.DescribeRequestDataResponse;
|
|
34
37
|
const ModifyPrivateZoneRequest = models.ModifyPrivateZoneRequest;
|
|
35
38
|
const TagInfo = models.TagInfo;
|
|
36
39
|
const CreatePrivateZoneRequest = models.CreatePrivateZoneRequest;
|
|
40
|
+
const VpcInfo = models.VpcInfo;
|
|
41
|
+
const AccountVpcInfoOut = models.AccountVpcInfoOut;
|
|
37
42
|
const AccountVpcInfo = models.AccountVpcInfo;
|
|
38
43
|
const ModifyPrivateZoneResponse = models.ModifyPrivateZoneResponse;
|
|
39
44
|
const DescribePrivateZoneListRequest = models.DescribePrivateZoneListRequest;
|
|
@@ -43,21 +48,23 @@ const CreatePrivateZoneResponse = models.CreatePrivateZoneResponse;
|
|
|
43
48
|
const DescribeDashboardResponse = models.DescribeDashboardResponse;
|
|
44
49
|
const CreatePrivateZoneRecordResponse = models.CreatePrivateZoneRecordResponse;
|
|
45
50
|
const DescribePrivateZoneServiceResponse = models.DescribePrivateZoneServiceResponse;
|
|
46
|
-
const
|
|
51
|
+
const CreatePrivateDNSAccountResponse = models.CreatePrivateDNSAccountResponse;
|
|
47
52
|
const DescribeAuditLogRequest = models.DescribeAuditLogRequest;
|
|
48
53
|
const DescribeDashboardRequest = models.DescribeDashboardRequest;
|
|
49
54
|
const DeletePrivateZoneRequest = models.DeletePrivateZoneRequest;
|
|
50
55
|
const AuditLog = models.AuditLog;
|
|
51
56
|
const SubscribePrivateZoneServiceResponse = models.SubscribePrivateZoneServiceResponse;
|
|
57
|
+
const DeletePrivateDNSAccountRequest = models.DeletePrivateDNSAccountRequest;
|
|
52
58
|
const DeletePrivateZoneRecordRequest = models.DeletePrivateZoneRecordRequest;
|
|
53
59
|
const Filter = models.Filter;
|
|
54
60
|
const DeletePrivateZoneResponse = models.DeletePrivateZoneResponse;
|
|
55
|
-
const
|
|
61
|
+
const CreatePrivateDNSAccountRequest = models.CreatePrivateDNSAccountRequest;
|
|
56
62
|
const MetricData = models.MetricData;
|
|
57
63
|
const DescribePrivateDNSAccountListRequest = models.DescribePrivateDNSAccountListRequest;
|
|
58
64
|
const PrivateZone = models.PrivateZone;
|
|
59
65
|
const CreatePrivateZoneRecordRequest = models.CreatePrivateZoneRecordRequest;
|
|
60
66
|
const ModifyPrivateZoneRecordRequest = models.ModifyPrivateZoneRecordRequest;
|
|
67
|
+
const DeletePrivateDNSAccountResponse = models.DeletePrivateDNSAccountResponse;
|
|
61
68
|
const FlowUsage = models.FlowUsage;
|
|
62
69
|
const DeletePrivateZoneRecordResponse = models.DeletePrivateZoneRecordResponse;
|
|
63
70
|
const ModifyPrivateZoneVpcResponse = models.ModifyPrivateZoneVpcResponse;
|
|
@@ -73,6 +80,17 @@ class PrivatednsClient extends AbstractClient {
|
|
|
73
80
|
super("privatedns.tencentcloudapi.com", "2020-10-28", credential, region, profile);
|
|
74
81
|
}
|
|
75
82
|
|
|
83
|
+
/**
|
|
84
|
+
* This API is used to create a Private DNS account.
|
|
85
|
+
* @param {CreatePrivateDNSAccountRequest} req
|
|
86
|
+
* @param {function(string, CreatePrivateDNSAccountResponse):void} cb
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
CreatePrivateDNSAccount(req, cb) {
|
|
90
|
+
let resp = new CreatePrivateDNSAccountResponse();
|
|
91
|
+
this.request("CreatePrivateDNSAccount", req, resp, cb);
|
|
92
|
+
}
|
|
93
|
+
|
|
76
94
|
/**
|
|
77
95
|
* This API is used to get the private domain information.
|
|
78
96
|
* @param {DescribePrivateZoneRequest} req
|
|
@@ -95,6 +113,17 @@ class PrivatednsClient extends AbstractClient {
|
|
|
95
113
|
this.request("ModifyPrivateZoneRecord", req, resp, cb);
|
|
96
114
|
}
|
|
97
115
|
|
|
116
|
+
/**
|
|
117
|
+
* This API is used to get the VPC list of a Private DNS account.
|
|
118
|
+
* @param {DescribeAccountVpcListRequest} req
|
|
119
|
+
* @param {function(string, DescribeAccountVpcListResponse):void} cb
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
DescribeAccountVpcList(req, cb) {
|
|
123
|
+
let resp = new DescribeAccountVpcListResponse();
|
|
124
|
+
this.request("DescribeAccountVpcList", req, resp, cb);
|
|
125
|
+
}
|
|
126
|
+
|
|
98
127
|
/**
|
|
99
128
|
* This API is used to get the list of records for a private domain.
|
|
100
129
|
* @param {DescribePrivateZoneRecordListRequest} req
|
|
@@ -117,6 +146,17 @@ class PrivatednsClient extends AbstractClient {
|
|
|
117
146
|
this.request("DescribePrivateZoneService", req, resp, cb);
|
|
118
147
|
}
|
|
119
148
|
|
|
149
|
+
/**
|
|
150
|
+
* This API is used to delete a Private DNS account.
|
|
151
|
+
* @param {DeletePrivateDNSAccountRequest} req
|
|
152
|
+
* @param {function(string, DeletePrivateDNSAccountResponse):void} cb
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
DeletePrivateDNSAccount(req, cb) {
|
|
156
|
+
let resp = new DeletePrivateDNSAccountResponse();
|
|
157
|
+
this.request("DeletePrivateDNSAccount", req, resp, cb);
|
|
158
|
+
}
|
|
159
|
+
|
|
120
160
|
/**
|
|
121
161
|
* This API is used to get the list of operation logs.
|
|
122
162
|
* @param {DescribeAuditLogRequest} req
|