tencentcloud-sdk-nodejs-intl-en 3.0.521 → 3.0.524
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/ams/v20201229/models.js +7 -0
- package/tencentcloud/antiddos/v20200309/antiddos_client.js +2 -2
- package/tencentcloud/antiddos/v20200309/models.js +126 -39
- package/tencentcloud/as/v20180419/models.js +13 -3
- package/tencentcloud/car/index.js +3 -0
- package/tencentcloud/car/v20220110/car_client.js +72 -0
- package/tencentcloud/car/v20220110/index.js +4 -0
- package/tencentcloud/car/v20220110/models.js +246 -0
- package/tencentcloud/ckafka/v20190819/models.js +7 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/faceid/v20180301/faceid_client.js +94 -12
- package/tencentcloud/faceid/v20180301/models.js +1169 -204
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/monitor/v20180724/models.js +69 -19
- package/tencentcloud/ocr/v20181119/models.js +1 -1
- package/tencentcloud/vod/v20180717/models.js +304 -2
- package/tencentcloud/vod/v20180717/vod_client.js +3 -0
- package/tencentcloud/vpc/v20170312/models.js +47 -0
package/package.json
CHANGED
|
@@ -1247,6 +1247,12 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1247
1247
|
*/
|
|
1248
1248
|
this.SubLabel = null;
|
|
1249
1249
|
|
|
1250
|
+
/**
|
|
1251
|
+
* This field returns the suggested action according to the check result. <br>Values: `Block`, `Review`, `Pass`.
|
|
1252
|
+
* @type {string || null}
|
|
1253
|
+
*/
|
|
1254
|
+
this.Suggestion = null;
|
|
1255
|
+
|
|
1250
1256
|
}
|
|
1251
1257
|
|
|
1252
1258
|
/**
|
|
@@ -1262,6 +1268,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1262
1268
|
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1263
1269
|
this.SubLabelCode = 'SubLabelCode' in params ? params.SubLabelCode : null;
|
|
1264
1270
|
this.SubLabel = 'SubLabel' in params ? params.SubLabel : null;
|
|
1271
|
+
this.Suggestion = 'Suggestion' in params ? params.Suggestion : null;
|
|
1265
1272
|
|
|
1266
1273
|
}
|
|
1267
1274
|
}
|
|
@@ -330,7 +330,7 @@ class AntiddosClient extends AbstractClient {
|
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
/**
|
|
333
|
-
* This API is used to obtain
|
|
333
|
+
* This API is used to obtain the list of CC precise protection policies.
|
|
334
334
|
* @param {DescribeCCPrecisionPlyListRequest} req
|
|
335
335
|
* @param {function(string, DescribeCCPrecisionPlyListResponse):void} cb
|
|
336
336
|
* @public
|
|
@@ -441,7 +441,7 @@ class AntiddosClient extends AbstractClient {
|
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
/**
|
|
444
|
-
* This API is used to obtain
|
|
444
|
+
* This API is used to obtain the layer-4 access control list.
|
|
445
445
|
* @param {DescribeCcBlackWhiteIpListRequest} req
|
|
446
446
|
* @param {function(string, DescribeCcBlackWhiteIpListResponse):void} cb
|
|
447
447
|
* @public
|
|
@@ -919,7 +919,7 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
|
|
|
919
919
|
this.Limit = null;
|
|
920
920
|
|
|
921
921
|
/**
|
|
922
|
-
* IP
|
|
922
|
+
* Filters by IP.
|
|
923
923
|
* @type {string || null}
|
|
924
924
|
*/
|
|
925
925
|
this.FilterIp = null;
|
|
@@ -931,13 +931,13 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
|
|
|
931
931
|
this.FilterInstanceId = null;
|
|
932
932
|
|
|
933
933
|
/**
|
|
934
|
-
*
|
|
934
|
+
* Filters by region. For example, `ap-guangzhou`.
|
|
935
935
|
* @type {string || null}
|
|
936
936
|
*/
|
|
937
937
|
this.FilterRegion = null;
|
|
938
938
|
|
|
939
939
|
/**
|
|
940
|
-
*
|
|
940
|
+
* Filters by name.
|
|
941
941
|
* @type {string || null}
|
|
942
942
|
*/
|
|
943
943
|
this.FilterName = null;
|
|
@@ -955,11 +955,29 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
|
|
|
955
955
|
this.FilterStatus = null;
|
|
956
956
|
|
|
957
957
|
/**
|
|
958
|
-
* Filters by binding status. `bounding`:
|
|
958
|
+
* Filters by binding status. `bounding`: The instance is bound; `failed`: The binding failed.
|
|
959
959
|
* @type {string || null}
|
|
960
960
|
*/
|
|
961
961
|
this.FilterBoundStatus = null;
|
|
962
962
|
|
|
963
|
+
/**
|
|
964
|
+
* Array of instance IDs
|
|
965
|
+
* @type {Array.<string> || null}
|
|
966
|
+
*/
|
|
967
|
+
this.FilterInstanceIdList = null;
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* Filters by Enterprise edition
|
|
971
|
+
* @type {number || null}
|
|
972
|
+
*/
|
|
973
|
+
this.FilterEnterpriseFlag = null;
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Filters by tag
|
|
977
|
+
* @type {TagFilter || null}
|
|
978
|
+
*/
|
|
979
|
+
this.FilterTag = null;
|
|
980
|
+
|
|
963
981
|
}
|
|
964
982
|
|
|
965
983
|
/**
|
|
@@ -978,6 +996,14 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
|
|
|
978
996
|
this.FilterLine = 'FilterLine' in params ? params.FilterLine : null;
|
|
979
997
|
this.FilterStatus = 'FilterStatus' in params ? params.FilterStatus : null;
|
|
980
998
|
this.FilterBoundStatus = 'FilterBoundStatus' in params ? params.FilterBoundStatus : null;
|
|
999
|
+
this.FilterInstanceIdList = 'FilterInstanceIdList' in params ? params.FilterInstanceIdList : null;
|
|
1000
|
+
this.FilterEnterpriseFlag = 'FilterEnterpriseFlag' in params ? params.FilterEnterpriseFlag : null;
|
|
1001
|
+
|
|
1002
|
+
if (params.FilterTag) {
|
|
1003
|
+
let obj = new TagFilter();
|
|
1004
|
+
obj.deserialize(params.FilterTag)
|
|
1005
|
+
this.FilterTag = obj;
|
|
1006
|
+
}
|
|
981
1007
|
|
|
982
1008
|
}
|
|
983
1009
|
}
|
|
@@ -1895,7 +1921,7 @@ class DescribeListBGPIPInstancesRequest extends AbstractModel {
|
|
|
1895
1921
|
this.FilterTag = null;
|
|
1896
1922
|
|
|
1897
1923
|
/**
|
|
1898
|
-
*
|
|
1924
|
+
* Filters by package type.
|
|
1899
1925
|
* @type {Array.<string> || null}
|
|
1900
1926
|
*/
|
|
1901
1927
|
this.FilterPackType = null;
|
|
@@ -2186,7 +2212,7 @@ class BoundIpInfo extends AbstractModel {
|
|
|
2186
2212
|
this.InstanceId = null;
|
|
2187
2213
|
|
|
2188
2214
|
/**
|
|
2189
|
-
* Sub-product category. Valid values: `cvm` (CVM), `lb` (Load balancer), `eni` (ENI), `vpngw` (VPN gateway), `natgw` (NAT gateway), `waf` (WAF), `fpc` (financial products), `gaap` (GAAP), `eip` (BM EIP) and `other` (
|
|
2215
|
+
* Sub-product category. Valid values: `cvm` (CVM), `lb` (Load balancer), `eni` (ENI), `vpngw` (VPN gateway), `natgw` (NAT gateway), `waf` (WAF), `fpc` (financial products), `gaap` (GAAP), `eip` (BM EIP) and `other` (managed IP). This field is required when you perform binding.
|
|
2190
2216
|
* @type {string || null}
|
|
2191
2217
|
*/
|
|
2192
2218
|
this.DeviceType = null;
|
|
@@ -3997,7 +4023,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
3997
4023
|
this.TagInfoList = null;
|
|
3998
4024
|
|
|
3999
4025
|
/**
|
|
4000
|
-
*
|
|
4026
|
+
* All-out package details of the instance
|
|
4027
|
+
When an all-out package is not used by the instance, this field is `null`.
|
|
4028
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
4001
4029
|
* @type {AnycastOutPackRelation || null}
|
|
4002
4030
|
*/
|
|
4003
4031
|
this.AnycastOutPackRelation = null;
|
|
@@ -5510,7 +5538,7 @@ Note: For custom protocol ranges, only protocol number is supported. Multiple ra
|
|
|
5510
5538
|
}
|
|
5511
5539
|
|
|
5512
5540
|
/**
|
|
5513
|
-
*
|
|
5541
|
+
* Details of the Anycast package
|
|
5514
5542
|
* @class
|
|
5515
5543
|
*/
|
|
5516
5544
|
class AnycastOutPackRelation extends AbstractModel {
|
|
@@ -5518,25 +5546,29 @@ class AnycastOutPackRelation extends AbstractModel {
|
|
|
5518
5546
|
super();
|
|
5519
5547
|
|
|
5520
5548
|
/**
|
|
5521
|
-
*
|
|
5549
|
+
* Application bandwidth (in Mbps).
|
|
5550
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5522
5551
|
* @type {number || null}
|
|
5523
5552
|
*/
|
|
5524
5553
|
this.NormalBandwidth = null;
|
|
5525
5554
|
|
|
5526
5555
|
/**
|
|
5527
|
-
*
|
|
5556
|
+
* Number of forwarding rules
|
|
5557
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5528
5558
|
* @type {number || null}
|
|
5529
5559
|
*/
|
|
5530
5560
|
this.ForwardRulesLimit = null;
|
|
5531
5561
|
|
|
5532
5562
|
/**
|
|
5533
|
-
*
|
|
5563
|
+
* Auto-renewal flag
|
|
5564
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5534
5565
|
* @type {number || null}
|
|
5535
5566
|
*/
|
|
5536
5567
|
this.AutoRenewFlag = null;
|
|
5537
5568
|
|
|
5538
5569
|
/**
|
|
5539
|
-
*
|
|
5570
|
+
* Expiration date
|
|
5571
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5540
5572
|
* @type {string || null}
|
|
5541
5573
|
*/
|
|
5542
5574
|
this.CurDeadline = null;
|
|
@@ -6552,15 +6584,15 @@ class BGPInstanceSpecification extends AbstractModel {
|
|
|
6552
6584
|
this.ProtectCountLimit = null;
|
|
6553
6585
|
|
|
6554
6586
|
/**
|
|
6555
|
-
* Number of
|
|
6587
|
+
* Number of protected IPs
|
|
6556
6588
|
* @type {number || null}
|
|
6557
6589
|
*/
|
|
6558
6590
|
this.ProtectIPNumberLimit = null;
|
|
6559
6591
|
|
|
6560
6592
|
/**
|
|
6561
|
-
* Auto-renewal status.
|
|
6562
|
-
`0`:
|
|
6563
|
-
`1`:
|
|
6593
|
+
* Auto-renewal status. Values:
|
|
6594
|
+
`0`: Disabled
|
|
6595
|
+
`1`: Enabled
|
|
6564
6596
|
]
|
|
6565
6597
|
* @type {number || null}
|
|
6566
6598
|
*/
|
|
@@ -6568,17 +6600,46 @@ class BGPInstanceSpecification extends AbstractModel {
|
|
|
6568
6600
|
|
|
6569
6601
|
/**
|
|
6570
6602
|
* Protection type of Anti-DDoS Pro. Valid values: `0` (general protection) and `1` (Lighthouse-based protection).
|
|
6571
|
-
Note: This field may return
|
|
6603
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6572
6604
|
* @type {number || null}
|
|
6573
6605
|
*/
|
|
6574
6606
|
this.UnionPackFlag = null;
|
|
6575
6607
|
|
|
6576
6608
|
/**
|
|
6577
|
-
*
|
|
6609
|
+
* Application bandwidth
|
|
6610
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6578
6611
|
* @type {number || null}
|
|
6579
6612
|
*/
|
|
6580
6613
|
this.ServiceBandWidth = null;
|
|
6581
6614
|
|
|
6615
|
+
/**
|
|
6616
|
+
* Whether it’s an Anti-DDoS Pro Premium edition. Values: `0` (General edition); `1` (Premium edition).
|
|
6617
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6618
|
+
* @type {number || null}
|
|
6619
|
+
*/
|
|
6620
|
+
this.BattleEditionFlag = null;
|
|
6621
|
+
|
|
6622
|
+
/**
|
|
6623
|
+
* Whether it’s an Anti-DDoS Pro Standard edition. Values: `0` (General edition); `1` (Standard edition).
|
|
6624
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6625
|
+
* @type {number || null}
|
|
6626
|
+
*/
|
|
6627
|
+
this.ChannelEditionFlag = null;
|
|
6628
|
+
|
|
6629
|
+
/**
|
|
6630
|
+
* Whether it’s an Anti-DDoS Pro Enterprise edition. Values: `0` (General edition); `1` (Enterprise edition).
|
|
6631
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6632
|
+
* @type {number || null}
|
|
6633
|
+
*/
|
|
6634
|
+
this.EnterpriseFlag = null;
|
|
6635
|
+
|
|
6636
|
+
/**
|
|
6637
|
+
* Elastic bandwidth threshold of the Anti-DDoS Pro Enterprise edition.
|
|
6638
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6639
|
+
* @type {number || null}
|
|
6640
|
+
*/
|
|
6641
|
+
this.ElasticLimit = null;
|
|
6642
|
+
|
|
6582
6643
|
}
|
|
6583
6644
|
|
|
6584
6645
|
/**
|
|
@@ -6594,6 +6655,10 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
6594
6655
|
this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
|
|
6595
6656
|
this.UnionPackFlag = 'UnionPackFlag' in params ? params.UnionPackFlag : null;
|
|
6596
6657
|
this.ServiceBandWidth = 'ServiceBandWidth' in params ? params.ServiceBandWidth : null;
|
|
6658
|
+
this.BattleEditionFlag = 'BattleEditionFlag' in params ? params.BattleEditionFlag : null;
|
|
6659
|
+
this.ChannelEditionFlag = 'ChannelEditionFlag' in params ? params.ChannelEditionFlag : null;
|
|
6660
|
+
this.EnterpriseFlag = 'EnterpriseFlag' in params ? params.EnterpriseFlag : null;
|
|
6661
|
+
this.ElasticLimit = 'ElasticLimit' in params ? params.ElasticLimit : null;
|
|
6597
6662
|
|
|
6598
6663
|
}
|
|
6599
6664
|
}
|
|
@@ -8090,7 +8155,7 @@ class DescribeListBGPInstancesResponse extends AbstractModel {
|
|
|
8090
8155
|
super();
|
|
8091
8156
|
|
|
8092
8157
|
/**
|
|
8093
|
-
* Total number of
|
|
8158
|
+
* Total number of Anti-DDoS Pro instances
|
|
8094
8159
|
* @type {number || null}
|
|
8095
8160
|
*/
|
|
8096
8161
|
this.Total = null;
|
|
@@ -8336,7 +8401,7 @@ class CreateCcBlackWhiteIpListRequest extends AbstractModel {
|
|
|
8336
8401
|
}
|
|
8337
8402
|
|
|
8338
8403
|
/**
|
|
8339
|
-
* Anti-DDoS Pro instance
|
|
8404
|
+
* Details of the Anti-DDoS Pro instance
|
|
8340
8405
|
* @class
|
|
8341
8406
|
*/
|
|
8342
8407
|
class BGPInstance extends AbstractModel {
|
|
@@ -8344,43 +8409,43 @@ class BGPInstance extends AbstractModel {
|
|
|
8344
8409
|
super();
|
|
8345
8410
|
|
|
8346
8411
|
/**
|
|
8347
|
-
* Anti-DDoS instance
|
|
8412
|
+
* Details of the Anti-DDoS Pro instance
|
|
8348
8413
|
* @type {InstanceRelation || null}
|
|
8349
8414
|
*/
|
|
8350
8415
|
this.InstanceDetail = null;
|
|
8351
8416
|
|
|
8352
8417
|
/**
|
|
8353
|
-
* Anti-DDoS instance
|
|
8418
|
+
* Specifications of the Anti-DDoS Pro instance
|
|
8354
8419
|
* @type {BGPInstanceSpecification || null}
|
|
8355
8420
|
*/
|
|
8356
8421
|
this.SpecificationLimit = null;
|
|
8357
8422
|
|
|
8358
8423
|
/**
|
|
8359
|
-
* Anti-DDoS instance
|
|
8424
|
+
* Usage statistics of the Anti-DDoS Pro instance
|
|
8360
8425
|
* @type {BGPInstanceUsages || null}
|
|
8361
8426
|
*/
|
|
8362
8427
|
this.Usage = null;
|
|
8363
8428
|
|
|
8364
8429
|
/**
|
|
8365
|
-
* Region of the Anti-DDoS instance
|
|
8430
|
+
* Region of the Anti-DDoS Pro instance
|
|
8366
8431
|
* @type {RegionInfo || null}
|
|
8367
8432
|
*/
|
|
8368
8433
|
this.Region = null;
|
|
8369
8434
|
|
|
8370
8435
|
/**
|
|
8371
|
-
* Status of the Anti-DDoS instance. Valid values:
|
|
8372
|
-
`idle`: running
|
|
8373
|
-
`attacking`: under
|
|
8374
|
-
`blocking`: blocked
|
|
8375
|
-
`creating`:
|
|
8376
|
-
`deblocking`:
|
|
8377
|
-
`isolate`: isolated
|
|
8436
|
+
* Status of the Anti-DDoS Pro instance. Valid values:
|
|
8437
|
+
`idle`: The instance is running normally.
|
|
8438
|
+
`attacking`: The instance is under attack.
|
|
8439
|
+
`blocking`: The instance is blocked.
|
|
8440
|
+
`creating`: The instance is being created.
|
|
8441
|
+
`deblocking`: Unblocking the instance
|
|
8442
|
+
`isolate`: The instance is being isolated.
|
|
8378
8443
|
* @type {string || null}
|
|
8379
8444
|
*/
|
|
8380
8445
|
this.Status = null;
|
|
8381
8446
|
|
|
8382
8447
|
/**
|
|
8383
|
-
* Purchase
|
|
8448
|
+
* Purchase time
|
|
8384
8449
|
* @type {string || null}
|
|
8385
8450
|
*/
|
|
8386
8451
|
this.CreatedTime = null;
|
|
@@ -8392,14 +8457,14 @@ class BGPInstance extends AbstractModel {
|
|
|
8392
8457
|
this.ExpiredTime = null;
|
|
8393
8458
|
|
|
8394
8459
|
/**
|
|
8395
|
-
* Name of the Anti-DDoS instance
|
|
8460
|
+
* Name of the Anti-DDoS Pro instance
|
|
8396
8461
|
* @type {string || null}
|
|
8397
8462
|
*/
|
|
8398
8463
|
this.Name = null;
|
|
8399
8464
|
|
|
8400
8465
|
/**
|
|
8401
|
-
*
|
|
8402
|
-
|
|
8466
|
+
* Details of the package to which the Anti-DDoS Pro instance belongs.
|
|
8467
|
+
When the package provided is not used by the instance, this field is `null`.
|
|
8403
8468
|
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
8404
8469
|
* @type {PackInfo || null}
|
|
8405
8470
|
*/
|
|
@@ -8413,9 +8478,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
8413
8478
|
|
|
8414
8479
|
/**
|
|
8415
8480
|
* Binding status of the Anti-DDoS Pro instance
|
|
8416
|
-
`idle`:
|
|
8417
|
-
`bounding`: the instance
|
|
8418
|
-
`failed`:
|
|
8481
|
+
`idle`: The instance is bound.
|
|
8482
|
+
`bounding`: Binding the instance.
|
|
8483
|
+
`failed`: Failed to bind
|
|
8419
8484
|
]
|
|
8420
8485
|
* @type {string || null}
|
|
8421
8486
|
*/
|
|
@@ -8428,11 +8493,23 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
8428
8493
|
this.DDoSLevel = null;
|
|
8429
8494
|
|
|
8430
8495
|
/**
|
|
8431
|
-
* CC protection
|
|
8496
|
+
* Status of CC protection
|
|
8432
8497
|
* @type {number || null}
|
|
8433
8498
|
*/
|
|
8434
8499
|
this.CCEnable = null;
|
|
8435
8500
|
|
|
8501
|
+
/**
|
|
8502
|
+
* Tags associated with the resource
|
|
8503
|
+
* @type {Array.<TagInfo> || null}
|
|
8504
|
+
*/
|
|
8505
|
+
this.TagInfoList = null;
|
|
8506
|
+
|
|
8507
|
+
/**
|
|
8508
|
+
* New edition of Anti-DDoS Pro
|
|
8509
|
+
* @type {number || null}
|
|
8510
|
+
*/
|
|
8511
|
+
this.IpCountNewFlag = null;
|
|
8512
|
+
|
|
8436
8513
|
}
|
|
8437
8514
|
|
|
8438
8515
|
/**
|
|
@@ -8489,6 +8566,16 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
8489
8566
|
this.DDoSLevel = 'DDoSLevel' in params ? params.DDoSLevel : null;
|
|
8490
8567
|
this.CCEnable = 'CCEnable' in params ? params.CCEnable : null;
|
|
8491
8568
|
|
|
8569
|
+
if (params.TagInfoList) {
|
|
8570
|
+
this.TagInfoList = new Array();
|
|
8571
|
+
for (let z in params.TagInfoList) {
|
|
8572
|
+
let obj = new TagInfo();
|
|
8573
|
+
obj.deserialize(params.TagInfoList[z]);
|
|
8574
|
+
this.TagInfoList.push(obj);
|
|
8575
|
+
}
|
|
8576
|
+
}
|
|
8577
|
+
this.IpCountNewFlag = 'IpCountNewFlag' in params ? params.IpCountNewFlag : null;
|
|
8578
|
+
|
|
8492
8579
|
}
|
|
8493
8580
|
}
|
|
8494
8581
|
|
|
@@ -59,7 +59,7 @@ class ModifyLaunchConfigurationAttributesRequest extends AbstractModel {
|
|
|
59
59
|
this.LaunchConfigurationId = null;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* [Image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) 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/>You can obtain the image IDs in the [CVM console](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE).</li><li>You can also use the [DescribeImages](https://intl.cloud.tencent.com/document/api/213/15715?from_cn_redirect=1) and look for `ImageId` in the response.</li>
|
|
63
63
|
* @type {string || null}
|
|
64
64
|
*/
|
|
65
65
|
this.ImageId = null;
|
|
@@ -184,6 +184,13 @@ This field requires passing in the `InstanceName` field. Other fields that are n
|
|
|
184
184
|
*/
|
|
185
185
|
this.CamRoleName = null;
|
|
186
186
|
|
|
187
|
+
/**
|
|
188
|
+
* HPC ID<br>
|
|
189
|
+
Note: This field is default to empty
|
|
190
|
+
* @type {string || null}
|
|
191
|
+
*/
|
|
192
|
+
this.HpcClusterId = null;
|
|
193
|
+
|
|
187
194
|
}
|
|
188
195
|
|
|
189
196
|
/**
|
|
@@ -254,6 +261,7 @@ This field requires passing in the `InstanceName` field. Other fields that are n
|
|
|
254
261
|
this.EnhancedService = obj;
|
|
255
262
|
}
|
|
256
263
|
this.CamRoleName = 'CamRoleName' in params ? params.CamRoleName : null;
|
|
264
|
+
this.HpcClusterId = 'HpcClusterId' in params ? params.HpcClusterId : null;
|
|
257
265
|
|
|
258
266
|
}
|
|
259
267
|
}
|
|
@@ -924,7 +932,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
924
932
|
this.DiskTypePolicy = null;
|
|
925
933
|
|
|
926
934
|
/**
|
|
927
|
-
*
|
|
935
|
+
* HPC ID<br>
|
|
936
|
+
Note: This field is default to empty
|
|
928
937
|
* @type {string || null}
|
|
929
938
|
*/
|
|
930
939
|
this.HpcClusterId = null;
|
|
@@ -2630,7 +2639,8 @@ If this field is configured in a launch configuration, the `InstanceName` of a C
|
|
|
2630
2639
|
this.DiskTypePolicy = null;
|
|
2631
2640
|
|
|
2632
2641
|
/**
|
|
2633
|
-
*
|
|
2642
|
+
* HPC ID<br>
|
|
2643
|
+
Note: This field is default to empty
|
|
2634
2644
|
* @type {string || null}
|
|
2635
2645
|
*/
|
|
2636
2646
|
this.HpcClusterId = null;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const models = require("./models");
|
|
18
|
+
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
+
const CreateSessionResponse = models.CreateSessionResponse;
|
|
20
|
+
const DestroySessionResponse = models.DestroySessionResponse;
|
|
21
|
+
const ApplyConcurrentResponse = models.ApplyConcurrentResponse;
|
|
22
|
+
const ApplyConcurrentRequest = models.ApplyConcurrentRequest;
|
|
23
|
+
const DestroySessionRequest = models.DestroySessionRequest;
|
|
24
|
+
const CreateSessionRequest = models.CreateSessionRequest;
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* car client
|
|
29
|
+
* @class
|
|
30
|
+
*/
|
|
31
|
+
class CarClient extends AbstractClient {
|
|
32
|
+
|
|
33
|
+
constructor(credential, region, profile) {
|
|
34
|
+
super("car.tencentcloudapi.com", "2022-01-10", credential, region, profile);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* This API is used to request concurrency quota.
|
|
39
|
+
* @param {ApplyConcurrentRequest} req
|
|
40
|
+
* @param {function(string, ApplyConcurrentResponse):void} cb
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
ApplyConcurrent(req, cb) {
|
|
44
|
+
let resp = new ApplyConcurrentResponse();
|
|
45
|
+
this.request("ApplyConcurrent", req, resp, cb);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* This API is used to terminate a session.
|
|
50
|
+
* @param {DestroySessionRequest} req
|
|
51
|
+
* @param {function(string, DestroySessionResponse):void} cb
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
DestroySession(req, cb) {
|
|
55
|
+
let resp = new DestroySessionResponse();
|
|
56
|
+
this.request("DestroySession", req, resp, cb);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* This API is used to create a session.
|
|
61
|
+
* @param {CreateSessionRequest} req
|
|
62
|
+
* @param {function(string, CreateSessionResponse):void} cb
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
CreateSession(req, cb) {
|
|
66
|
+
let resp = new CreateSessionResponse();
|
|
67
|
+
this.request("CreateSession", req, resp, cb);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
}
|
|
72
|
+
module.exports = CarClient;
|