tencentcloud-sdk-nodejs-intl-en 3.0.607 → 3.0.608
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/ckafka/v20190819/models.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +156 -45
- package/tencentcloud/cynosdb/v20190107/models.js +1650 -224
- package/tencentcloud/emr/v20190103/emr_client.js +6 -1
- package/tencentcloud/emr/v20190103/models.js +385 -76
|
@@ -31,17 +31,20 @@ const DynamicPodSpec = models.DynamicPodSpec;
|
|
|
31
31
|
const COSSettings = models.COSSettings;
|
|
32
32
|
const ClusterInstancesInfo = models.ClusterInstancesInfo;
|
|
33
33
|
const ScaleOutInstanceRequest = models.ScaleOutInstanceRequest;
|
|
34
|
+
const ZoneDetailPriceResult = models.ZoneDetailPriceResult;
|
|
34
35
|
const PodNewSpec = models.PodNewSpec;
|
|
35
36
|
const DescribeInstancesResponse = models.DescribeInstancesResponse;
|
|
36
37
|
const NodeResourceSpec = models.NodeResourceSpec;
|
|
37
38
|
const ModifyResourceScheduleConfigResponse = models.ModifyResourceScheduleConfigResponse;
|
|
38
39
|
const TopologyInfo = models.TopologyInfo;
|
|
40
|
+
const NodeDetailPriceResult = models.NodeDetailPriceResult;
|
|
39
41
|
const Tag = models.Tag;
|
|
40
42
|
const EmrListInstance = models.EmrListInstance;
|
|
41
43
|
const AddUsersForUserManagerResponse = models.AddUsersForUserManagerResponse;
|
|
42
44
|
const EmrProductConfigOutter = models.EmrProductConfigOutter;
|
|
43
45
|
const DescribeInstancesListResponse = models.DescribeInstancesListResponse;
|
|
44
46
|
const TerminateTasksResponse = models.TerminateTasksResponse;
|
|
47
|
+
const PartDetailPriceItem = models.PartDetailPriceItem;
|
|
45
48
|
const DependService = models.DependService;
|
|
46
49
|
const PodSpec = models.PodSpec;
|
|
47
50
|
const InquiryPriceRenewInstanceResponse = models.InquiryPriceRenewInstanceResponse;
|
|
@@ -57,7 +60,7 @@ const SearchItem = models.SearchItem;
|
|
|
57
60
|
const MultiZoneSetting = models.MultiZoneSetting;
|
|
58
61
|
const TerminateInstanceResponse = models.TerminateInstanceResponse;
|
|
59
62
|
const InquiryPriceUpdateInstanceResponse = models.InquiryPriceUpdateInstanceResponse;
|
|
60
|
-
const
|
|
63
|
+
const SoftDependInfo = models.SoftDependInfo;
|
|
61
64
|
const PersistentVolumeContext = models.PersistentVolumeContext;
|
|
62
65
|
const ScaleOutNodeConfig = models.ScaleOutNodeConfig;
|
|
63
66
|
const DescribeResourceScheduleResponse = models.DescribeResourceScheduleResponse;
|
|
@@ -93,6 +96,7 @@ const UserInfoForUserManager = models.UserInfoForUserManager;
|
|
|
93
96
|
const ExternalService = models.ExternalService;
|
|
94
97
|
const PreExecuteFileSettings = models.PreExecuteFileSettings;
|
|
95
98
|
const ClusterExternalServiceInfo = models.ClusterExternalServiceInfo;
|
|
99
|
+
const NewResourceSpec = models.NewResourceSpec;
|
|
96
100
|
const InquiryPriceScaleOutInstanceRequest = models.InquiryPriceScaleOutInstanceRequest;
|
|
97
101
|
const Resource = models.Resource;
|
|
98
102
|
const DescribeEmrApplicationStaticsResponse = models.DescribeEmrApplicationStaticsResponse;
|
|
@@ -103,6 +107,7 @@ const ModifyResourceSchedulerResponse = models.ModifyResourceSchedulerResponse;
|
|
|
103
107
|
const VirtualPrivateCloud = models.VirtualPrivateCloud;
|
|
104
108
|
const SceneSoftwareConfig = models.SceneSoftwareConfig;
|
|
105
109
|
const ShortNodeInfo = models.ShortNodeInfo;
|
|
110
|
+
const EmrPrice = models.EmrPrice;
|
|
106
111
|
const NodeHardwareInfo = models.NodeHardwareInfo;
|
|
107
112
|
const ScaleOutClusterResponse = models.ScaleOutClusterResponse;
|
|
108
113
|
const Filters = models.Filters;
|
|
@@ -360,7 +360,6 @@ class ScaleOutClusterRequest extends AbstractModel {
|
|
|
360
360
|
|
|
361
361
|
/**
|
|
362
362
|
* The node billing mode. Valid values:
|
|
363
|
-
<li>`PREPAID`:The prepaid mode, namely monthly subscription.</li>
|
|
364
363
|
<li>`POSTPAID_BY_HOUR`: The postpaid mode by hour.</li>
|
|
365
364
|
<li>`SPOTPAID`: The spot instance mode (for task nodes only).</li>
|
|
366
365
|
* @type {string || null}
|
|
@@ -1405,6 +1404,50 @@ When `HardwareResourceType` is `pod`, this parameter does not take effect.
|
|
|
1405
1404
|
}
|
|
1406
1405
|
}
|
|
1407
1406
|
|
|
1407
|
+
/**
|
|
1408
|
+
* Price details by AZ, used for creating the cluster price list
|
|
1409
|
+
* @class
|
|
1410
|
+
*/
|
|
1411
|
+
class ZoneDetailPriceResult extends AbstractModel {
|
|
1412
|
+
constructor(){
|
|
1413
|
+
super();
|
|
1414
|
+
|
|
1415
|
+
/**
|
|
1416
|
+
* AZ ID
|
|
1417
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1418
|
+
* @type {string || null}
|
|
1419
|
+
*/
|
|
1420
|
+
this.ZoneId = null;
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* Price details by node
|
|
1424
|
+
* @type {Array.<NodeDetailPriceResult> || null}
|
|
1425
|
+
*/
|
|
1426
|
+
this.NodeDetailPrice = null;
|
|
1427
|
+
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* @private
|
|
1432
|
+
*/
|
|
1433
|
+
deserialize(params) {
|
|
1434
|
+
if (!params) {
|
|
1435
|
+
return;
|
|
1436
|
+
}
|
|
1437
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
1438
|
+
|
|
1439
|
+
if (params.NodeDetailPrice) {
|
|
1440
|
+
this.NodeDetailPrice = new Array();
|
|
1441
|
+
for (let z in params.NodeDetailPrice) {
|
|
1442
|
+
let obj = new NodeDetailPriceResult();
|
|
1443
|
+
obj.deserialize(params.NodeDetailPrice[z]);
|
|
1444
|
+
this.NodeDetailPrice.push(obj);
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1408
1451
|
/**
|
|
1409
1452
|
* Resource descriptions for container resource scale-out
|
|
1410
1453
|
* @class
|
|
@@ -1801,6 +1844,50 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
1801
1844
|
}
|
|
1802
1845
|
}
|
|
1803
1846
|
|
|
1847
|
+
/**
|
|
1848
|
+
* Price details by node, used for creating the cluster price list
|
|
1849
|
+
* @class
|
|
1850
|
+
*/
|
|
1851
|
+
class NodeDetailPriceResult extends AbstractModel {
|
|
1852
|
+
constructor(){
|
|
1853
|
+
super();
|
|
1854
|
+
|
|
1855
|
+
/**
|
|
1856
|
+
* The node type. Valid values: `master`, `core`, `task`, `common`, `router`, `mysql`
|
|
1857
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1858
|
+
* @type {string || null}
|
|
1859
|
+
*/
|
|
1860
|
+
this.NodeType = null;
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* Price details by node part
|
|
1864
|
+
* @type {Array.<PartDetailPriceItem> || null}
|
|
1865
|
+
*/
|
|
1866
|
+
this.PartDetailPrice = null;
|
|
1867
|
+
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* @private
|
|
1872
|
+
*/
|
|
1873
|
+
deserialize(params) {
|
|
1874
|
+
if (!params) {
|
|
1875
|
+
return;
|
|
1876
|
+
}
|
|
1877
|
+
this.NodeType = 'NodeType' in params ? params.NodeType : null;
|
|
1878
|
+
|
|
1879
|
+
if (params.PartDetailPrice) {
|
|
1880
|
+
this.PartDetailPrice = new Array();
|
|
1881
|
+
for (let z in params.PartDetailPrice) {
|
|
1882
|
+
let obj = new PartDetailPriceItem();
|
|
1883
|
+
obj.deserialize(params.PartDetailPrice[z]);
|
|
1884
|
+
this.PartDetailPrice.push(obj);
|
|
1885
|
+
}
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1804
1891
|
/**
|
|
1805
1892
|
* Tag
|
|
1806
1893
|
* @class
|
|
@@ -2030,6 +2117,13 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
2030
2117
|
*/
|
|
2031
2118
|
this.IsHandsCluster = null;
|
|
2032
2119
|
|
|
2120
|
+
/**
|
|
2121
|
+
* Client component information.
|
|
2122
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2123
|
+
* @type {Array.<SoftDependInfo> || null}
|
|
2124
|
+
*/
|
|
2125
|
+
this.OutSideSoftInfo = null;
|
|
2126
|
+
|
|
2033
2127
|
}
|
|
2034
2128
|
|
|
2035
2129
|
/**
|
|
@@ -2076,6 +2170,15 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
2076
2170
|
this.IsMultiZoneCluster = 'IsMultiZoneCluster' in params ? params.IsMultiZoneCluster : null;
|
|
2077
2171
|
this.IsHandsCluster = 'IsHandsCluster' in params ? params.IsHandsCluster : null;
|
|
2078
2172
|
|
|
2173
|
+
if (params.OutSideSoftInfo) {
|
|
2174
|
+
this.OutSideSoftInfo = new Array();
|
|
2175
|
+
for (let z in params.OutSideSoftInfo) {
|
|
2176
|
+
let obj = new SoftDependInfo();
|
|
2177
|
+
obj.deserialize(params.OutSideSoftInfo[z]);
|
|
2178
|
+
this.OutSideSoftInfo.push(obj);
|
|
2179
|
+
}
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2079
2182
|
}
|
|
2080
2183
|
}
|
|
2081
2184
|
|
|
@@ -2394,6 +2497,75 @@ class TerminateTasksResponse extends AbstractModel {
|
|
|
2394
2497
|
}
|
|
2395
2498
|
}
|
|
2396
2499
|
|
|
2500
|
+
/**
|
|
2501
|
+
* Price details by node part, used for creating the cluster price list
|
|
2502
|
+
* @class
|
|
2503
|
+
*/
|
|
2504
|
+
class PartDetailPriceItem extends AbstractModel {
|
|
2505
|
+
constructor(){
|
|
2506
|
+
super();
|
|
2507
|
+
|
|
2508
|
+
/**
|
|
2509
|
+
* The type. Valid values: `node` (node); `rootDisk` (system disk); `dataDisk` and `metaDB` (cloud data disk)
|
|
2510
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2511
|
+
* @type {string || null}
|
|
2512
|
+
*/
|
|
2513
|
+
this.InstanceType = null;
|
|
2514
|
+
|
|
2515
|
+
/**
|
|
2516
|
+
* Rate (original)
|
|
2517
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2518
|
+
* @type {number || null}
|
|
2519
|
+
*/
|
|
2520
|
+
this.Price = null;
|
|
2521
|
+
|
|
2522
|
+
/**
|
|
2523
|
+
* Rate (discounted)
|
|
2524
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2525
|
+
* @type {number || null}
|
|
2526
|
+
*/
|
|
2527
|
+
this.RealCost = null;
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* Total price (discounted)
|
|
2531
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2532
|
+
* @type {number || null}
|
|
2533
|
+
*/
|
|
2534
|
+
this.RealTotalCost = null;
|
|
2535
|
+
|
|
2536
|
+
/**
|
|
2537
|
+
* Discount
|
|
2538
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2539
|
+
* @type {number || null}
|
|
2540
|
+
*/
|
|
2541
|
+
this.Policy = null;
|
|
2542
|
+
|
|
2543
|
+
/**
|
|
2544
|
+
* Quantity
|
|
2545
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2546
|
+
* @type {number || null}
|
|
2547
|
+
*/
|
|
2548
|
+
this.GoodsNum = null;
|
|
2549
|
+
|
|
2550
|
+
}
|
|
2551
|
+
|
|
2552
|
+
/**
|
|
2553
|
+
* @private
|
|
2554
|
+
*/
|
|
2555
|
+
deserialize(params) {
|
|
2556
|
+
if (!params) {
|
|
2557
|
+
return;
|
|
2558
|
+
}
|
|
2559
|
+
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
2560
|
+
this.Price = 'Price' in params ? params.Price : null;
|
|
2561
|
+
this.RealCost = 'RealCost' in params ? params.RealCost : null;
|
|
2562
|
+
this.RealTotalCost = 'RealTotalCost' in params ? params.RealTotalCost : null;
|
|
2563
|
+
this.Policy = 'Policy' in params ? params.Policy : null;
|
|
2564
|
+
this.GoodsNum = 'GoodsNum' in params ? params.GoodsNum : null;
|
|
2565
|
+
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2397
2569
|
/**
|
|
2398
2570
|
* Shared component information
|
|
2399
2571
|
* @class
|
|
@@ -2655,6 +2827,13 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2655
2827
|
*/
|
|
2656
2828
|
this.TimeSpan = null;
|
|
2657
2829
|
|
|
2830
|
+
/**
|
|
2831
|
+
* The price list.
|
|
2832
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2833
|
+
* @type {Array.<ZoneDetailPriceResult> || null}
|
|
2834
|
+
*/
|
|
2835
|
+
this.PriceList = null;
|
|
2836
|
+
|
|
2658
2837
|
/**
|
|
2659
2838
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2660
2839
|
* @type {string || null}
|
|
@@ -2674,6 +2853,15 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2674
2853
|
this.DiscountCost = 'DiscountCost' in params ? params.DiscountCost : null;
|
|
2675
2854
|
this.TimeUnit = 'TimeUnit' in params ? params.TimeUnit : null;
|
|
2676
2855
|
this.TimeSpan = 'TimeSpan' in params ? params.TimeSpan : null;
|
|
2856
|
+
|
|
2857
|
+
if (params.PriceList) {
|
|
2858
|
+
this.PriceList = new Array();
|
|
2859
|
+
for (let z in params.PriceList) {
|
|
2860
|
+
let obj = new ZoneDetailPriceResult();
|
|
2861
|
+
obj.deserialize(params.PriceList[z]);
|
|
2862
|
+
this.PriceList.push(obj);
|
|
2863
|
+
}
|
|
2864
|
+
}
|
|
2677
2865
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2678
2866
|
|
|
2679
2867
|
}
|
|
@@ -2722,7 +2910,7 @@ class Placement extends AbstractModel {
|
|
|
2722
2910
|
this.Zone = null;
|
|
2723
2911
|
|
|
2724
2912
|
/**
|
|
2725
|
-
*
|
|
2913
|
+
* Project ID of the instance. If no ID is passed in, the default project ID is used.
|
|
2726
2914
|
* @type {number || null}
|
|
2727
2915
|
*/
|
|
2728
2916
|
this.ProjectId = null;
|
|
@@ -3459,60 +3647,24 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3459
3647
|
}
|
|
3460
3648
|
|
|
3461
3649
|
/**
|
|
3462
|
-
*
|
|
3650
|
+
* Client component dependencies
|
|
3463
3651
|
* @class
|
|
3464
3652
|
*/
|
|
3465
|
-
class
|
|
3653
|
+
class SoftDependInfo extends AbstractModel {
|
|
3466
3654
|
constructor(){
|
|
3467
3655
|
super();
|
|
3468
3656
|
|
|
3469
3657
|
/**
|
|
3470
|
-
*
|
|
3471
|
-
* @type {
|
|
3472
|
-
*/
|
|
3473
|
-
this.MasterResourceSpec = null;
|
|
3474
|
-
|
|
3475
|
-
/**
|
|
3476
|
-
* Describes core node resource
|
|
3477
|
-
* @type {Resource || null}
|
|
3478
|
-
*/
|
|
3479
|
-
this.CoreResourceSpec = null;
|
|
3480
|
-
|
|
3481
|
-
/**
|
|
3482
|
-
* Describes task node resource
|
|
3483
|
-
* @type {Resource || null}
|
|
3484
|
-
*/
|
|
3485
|
-
this.TaskResourceSpec = null;
|
|
3486
|
-
|
|
3487
|
-
/**
|
|
3488
|
-
* Number of master nodes
|
|
3489
|
-
* @type {number || null}
|
|
3490
|
-
*/
|
|
3491
|
-
this.MasterCount = null;
|
|
3492
|
-
|
|
3493
|
-
/**
|
|
3494
|
-
* Number of core nodes
|
|
3495
|
-
* @type {number || null}
|
|
3496
|
-
*/
|
|
3497
|
-
this.CoreCount = null;
|
|
3498
|
-
|
|
3499
|
-
/**
|
|
3500
|
-
* Number of task nodes
|
|
3501
|
-
* @type {number || null}
|
|
3502
|
-
*/
|
|
3503
|
-
this.TaskCount = null;
|
|
3504
|
-
|
|
3505
|
-
/**
|
|
3506
|
-
* Describes common node resource
|
|
3507
|
-
* @type {Resource || null}
|
|
3658
|
+
* The component name.
|
|
3659
|
+
* @type {string || null}
|
|
3508
3660
|
*/
|
|
3509
|
-
this.
|
|
3661
|
+
this.SoftName = null;
|
|
3510
3662
|
|
|
3511
3663
|
/**
|
|
3512
|
-
*
|
|
3513
|
-
* @type {
|
|
3664
|
+
* Whether the component is required.
|
|
3665
|
+
* @type {boolean || null}
|
|
3514
3666
|
*/
|
|
3515
|
-
this.
|
|
3667
|
+
this.Required = null;
|
|
3516
3668
|
|
|
3517
3669
|
}
|
|
3518
3670
|
|
|
@@ -3523,34 +3675,8 @@ class NewResourceSpec extends AbstractModel {
|
|
|
3523
3675
|
if (!params) {
|
|
3524
3676
|
return;
|
|
3525
3677
|
}
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
let obj = new Resource();
|
|
3529
|
-
obj.deserialize(params.MasterResourceSpec)
|
|
3530
|
-
this.MasterResourceSpec = obj;
|
|
3531
|
-
}
|
|
3532
|
-
|
|
3533
|
-
if (params.CoreResourceSpec) {
|
|
3534
|
-
let obj = new Resource();
|
|
3535
|
-
obj.deserialize(params.CoreResourceSpec)
|
|
3536
|
-
this.CoreResourceSpec = obj;
|
|
3537
|
-
}
|
|
3538
|
-
|
|
3539
|
-
if (params.TaskResourceSpec) {
|
|
3540
|
-
let obj = new Resource();
|
|
3541
|
-
obj.deserialize(params.TaskResourceSpec)
|
|
3542
|
-
this.TaskResourceSpec = obj;
|
|
3543
|
-
}
|
|
3544
|
-
this.MasterCount = 'MasterCount' in params ? params.MasterCount : null;
|
|
3545
|
-
this.CoreCount = 'CoreCount' in params ? params.CoreCount : null;
|
|
3546
|
-
this.TaskCount = 'TaskCount' in params ? params.TaskCount : null;
|
|
3547
|
-
|
|
3548
|
-
if (params.CommonResourceSpec) {
|
|
3549
|
-
let obj = new Resource();
|
|
3550
|
-
obj.deserialize(params.CommonResourceSpec)
|
|
3551
|
-
this.CommonResourceSpec = obj;
|
|
3552
|
-
}
|
|
3553
|
-
this.CommonCount = 'CommonCount' in params ? params.CommonCount : null;
|
|
3678
|
+
this.SoftName = 'SoftName' in params ? params.SoftName : null;
|
|
3679
|
+
this.Required = 'Required' in params ? params.Required : null;
|
|
3554
3680
|
|
|
3555
3681
|
}
|
|
3556
3682
|
}
|
|
@@ -4016,7 +4142,6 @@ class CreateClusterRequest extends AbstractModel {
|
|
|
4016
4142
|
|
|
4017
4143
|
/**
|
|
4018
4144
|
* The instance billing mode. Valid values:
|
|
4019
|
-
<li>`PREPAID`: The prepaid mode, namely monthly subscription.</li>
|
|
4020
4145
|
<li>`POSTPAID_BY_HOUR`: The postpaid mode by hour.</li>
|
|
4021
4146
|
* @type {string || null}
|
|
4022
4147
|
*/
|
|
@@ -6343,6 +6468,103 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
6343
6468
|
}
|
|
6344
6469
|
}
|
|
6345
6470
|
|
|
6471
|
+
/**
|
|
6472
|
+
* Resource description
|
|
6473
|
+
* @class
|
|
6474
|
+
*/
|
|
6475
|
+
class NewResourceSpec extends AbstractModel {
|
|
6476
|
+
constructor(){
|
|
6477
|
+
super();
|
|
6478
|
+
|
|
6479
|
+
/**
|
|
6480
|
+
* Describes master node resource
|
|
6481
|
+
* @type {Resource || null}
|
|
6482
|
+
*/
|
|
6483
|
+
this.MasterResourceSpec = null;
|
|
6484
|
+
|
|
6485
|
+
/**
|
|
6486
|
+
* Describes core node resource
|
|
6487
|
+
* @type {Resource || null}
|
|
6488
|
+
*/
|
|
6489
|
+
this.CoreResourceSpec = null;
|
|
6490
|
+
|
|
6491
|
+
/**
|
|
6492
|
+
* Describes task node resource
|
|
6493
|
+
* @type {Resource || null}
|
|
6494
|
+
*/
|
|
6495
|
+
this.TaskResourceSpec = null;
|
|
6496
|
+
|
|
6497
|
+
/**
|
|
6498
|
+
* Number of master nodes
|
|
6499
|
+
* @type {number || null}
|
|
6500
|
+
*/
|
|
6501
|
+
this.MasterCount = null;
|
|
6502
|
+
|
|
6503
|
+
/**
|
|
6504
|
+
* Number of core nodes
|
|
6505
|
+
* @type {number || null}
|
|
6506
|
+
*/
|
|
6507
|
+
this.CoreCount = null;
|
|
6508
|
+
|
|
6509
|
+
/**
|
|
6510
|
+
* Number of task nodes
|
|
6511
|
+
* @type {number || null}
|
|
6512
|
+
*/
|
|
6513
|
+
this.TaskCount = null;
|
|
6514
|
+
|
|
6515
|
+
/**
|
|
6516
|
+
* Describes common node resource
|
|
6517
|
+
* @type {Resource || null}
|
|
6518
|
+
*/
|
|
6519
|
+
this.CommonResourceSpec = null;
|
|
6520
|
+
|
|
6521
|
+
/**
|
|
6522
|
+
* Number of common nodes
|
|
6523
|
+
* @type {number || null}
|
|
6524
|
+
*/
|
|
6525
|
+
this.CommonCount = null;
|
|
6526
|
+
|
|
6527
|
+
}
|
|
6528
|
+
|
|
6529
|
+
/**
|
|
6530
|
+
* @private
|
|
6531
|
+
*/
|
|
6532
|
+
deserialize(params) {
|
|
6533
|
+
if (!params) {
|
|
6534
|
+
return;
|
|
6535
|
+
}
|
|
6536
|
+
|
|
6537
|
+
if (params.MasterResourceSpec) {
|
|
6538
|
+
let obj = new Resource();
|
|
6539
|
+
obj.deserialize(params.MasterResourceSpec)
|
|
6540
|
+
this.MasterResourceSpec = obj;
|
|
6541
|
+
}
|
|
6542
|
+
|
|
6543
|
+
if (params.CoreResourceSpec) {
|
|
6544
|
+
let obj = new Resource();
|
|
6545
|
+
obj.deserialize(params.CoreResourceSpec)
|
|
6546
|
+
this.CoreResourceSpec = obj;
|
|
6547
|
+
}
|
|
6548
|
+
|
|
6549
|
+
if (params.TaskResourceSpec) {
|
|
6550
|
+
let obj = new Resource();
|
|
6551
|
+
obj.deserialize(params.TaskResourceSpec)
|
|
6552
|
+
this.TaskResourceSpec = obj;
|
|
6553
|
+
}
|
|
6554
|
+
this.MasterCount = 'MasterCount' in params ? params.MasterCount : null;
|
|
6555
|
+
this.CoreCount = 'CoreCount' in params ? params.CoreCount : null;
|
|
6556
|
+
this.TaskCount = 'TaskCount' in params ? params.TaskCount : null;
|
|
6557
|
+
|
|
6558
|
+
if (params.CommonResourceSpec) {
|
|
6559
|
+
let obj = new Resource();
|
|
6560
|
+
obj.deserialize(params.CommonResourceSpec)
|
|
6561
|
+
this.CommonResourceSpec = obj;
|
|
6562
|
+
}
|
|
6563
|
+
this.CommonCount = 'CommonCount' in params ? params.CommonCount : null;
|
|
6564
|
+
|
|
6565
|
+
}
|
|
6566
|
+
}
|
|
6567
|
+
|
|
6346
6568
|
/**
|
|
6347
6569
|
* InquiryPriceScaleOutInstance request structure.
|
|
6348
6570
|
* @class
|
|
@@ -6812,6 +7034,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6812
7034
|
*/
|
|
6813
7035
|
this.PriceSpec = null;
|
|
6814
7036
|
|
|
7037
|
+
/**
|
|
7038
|
+
* The inquiry results corresponding to the specs specified by the input parameter `MultipleResources`, with the result of the first spec returned by other output parameters.
|
|
7039
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7040
|
+
* @type {Array.<EmrPrice> || null}
|
|
7041
|
+
*/
|
|
7042
|
+
this.MultipleEmrPrice = null;
|
|
7043
|
+
|
|
6815
7044
|
/**
|
|
6816
7045
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
6817
7046
|
* @type {string || null}
|
|
@@ -6836,6 +7065,15 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6836
7065
|
obj.deserialize(params.PriceSpec)
|
|
6837
7066
|
this.PriceSpec = obj;
|
|
6838
7067
|
}
|
|
7068
|
+
|
|
7069
|
+
if (params.MultipleEmrPrice) {
|
|
7070
|
+
this.MultipleEmrPrice = new Array();
|
|
7071
|
+
for (let z in params.MultipleEmrPrice) {
|
|
7072
|
+
let obj = new EmrPrice();
|
|
7073
|
+
obj.deserialize(params.MultipleEmrPrice[z]);
|
|
7074
|
+
this.MultipleEmrPrice.push(obj);
|
|
7075
|
+
}
|
|
7076
|
+
}
|
|
6839
7077
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6840
7078
|
|
|
6841
7079
|
}
|
|
@@ -6982,6 +7220,72 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
6982
7220
|
}
|
|
6983
7221
|
}
|
|
6984
7222
|
|
|
7223
|
+
/**
|
|
7224
|
+
* EMR inquiry description
|
|
7225
|
+
* @class
|
|
7226
|
+
*/
|
|
7227
|
+
class EmrPrice extends AbstractModel {
|
|
7228
|
+
constructor(){
|
|
7229
|
+
super();
|
|
7230
|
+
|
|
7231
|
+
/**
|
|
7232
|
+
* The published price.
|
|
7233
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7234
|
+
* @type {string || null}
|
|
7235
|
+
*/
|
|
7236
|
+
this.OriginalCost = null;
|
|
7237
|
+
|
|
7238
|
+
/**
|
|
7239
|
+
* The discounted price.
|
|
7240
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7241
|
+
* @type {string || null}
|
|
7242
|
+
*/
|
|
7243
|
+
this.DiscountCost = null;
|
|
7244
|
+
|
|
7245
|
+
/**
|
|
7246
|
+
* The unit of the billable item.
|
|
7247
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7248
|
+
* @type {string || null}
|
|
7249
|
+
*/
|
|
7250
|
+
this.Unit = null;
|
|
7251
|
+
|
|
7252
|
+
/**
|
|
7253
|
+
* The queried spec.
|
|
7254
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7255
|
+
* @type {PriceResource || null}
|
|
7256
|
+
*/
|
|
7257
|
+
this.PriceSpec = null;
|
|
7258
|
+
|
|
7259
|
+
/**
|
|
7260
|
+
* Whether spot instances are supported.
|
|
7261
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7262
|
+
* @type {boolean || null}
|
|
7263
|
+
*/
|
|
7264
|
+
this.SupportSpotPaid = null;
|
|
7265
|
+
|
|
7266
|
+
}
|
|
7267
|
+
|
|
7268
|
+
/**
|
|
7269
|
+
* @private
|
|
7270
|
+
*/
|
|
7271
|
+
deserialize(params) {
|
|
7272
|
+
if (!params) {
|
|
7273
|
+
return;
|
|
7274
|
+
}
|
|
7275
|
+
this.OriginalCost = 'OriginalCost' in params ? params.OriginalCost : null;
|
|
7276
|
+
this.DiscountCost = 'DiscountCost' in params ? params.DiscountCost : null;
|
|
7277
|
+
this.Unit = 'Unit' in params ? params.Unit : null;
|
|
7278
|
+
|
|
7279
|
+
if (params.PriceSpec) {
|
|
7280
|
+
let obj = new PriceResource();
|
|
7281
|
+
obj.deserialize(params.PriceSpec)
|
|
7282
|
+
this.PriceSpec = obj;
|
|
7283
|
+
}
|
|
7284
|
+
this.SupportSpotPaid = 'SupportSpotPaid' in params ? params.SupportSpotPaid : null;
|
|
7285
|
+
|
|
7286
|
+
}
|
|
7287
|
+
}
|
|
7288
|
+
|
|
6985
7289
|
/**
|
|
6986
7290
|
* Node hardware information
|
|
6987
7291
|
* @class
|
|
@@ -7570,17 +7874,20 @@ module.exports = {
|
|
|
7570
7874
|
COSSettings: COSSettings,
|
|
7571
7875
|
ClusterInstancesInfo: ClusterInstancesInfo,
|
|
7572
7876
|
ScaleOutInstanceRequest: ScaleOutInstanceRequest,
|
|
7877
|
+
ZoneDetailPriceResult: ZoneDetailPriceResult,
|
|
7573
7878
|
PodNewSpec: PodNewSpec,
|
|
7574
7879
|
DescribeInstancesResponse: DescribeInstancesResponse,
|
|
7575
7880
|
NodeResourceSpec: NodeResourceSpec,
|
|
7576
7881
|
ModifyResourceScheduleConfigResponse: ModifyResourceScheduleConfigResponse,
|
|
7577
7882
|
TopologyInfo: TopologyInfo,
|
|
7883
|
+
NodeDetailPriceResult: NodeDetailPriceResult,
|
|
7578
7884
|
Tag: Tag,
|
|
7579
7885
|
EmrListInstance: EmrListInstance,
|
|
7580
7886
|
AddUsersForUserManagerResponse: AddUsersForUserManagerResponse,
|
|
7581
7887
|
EmrProductConfigOutter: EmrProductConfigOutter,
|
|
7582
7888
|
DescribeInstancesListResponse: DescribeInstancesListResponse,
|
|
7583
7889
|
TerminateTasksResponse: TerminateTasksResponse,
|
|
7890
|
+
PartDetailPriceItem: PartDetailPriceItem,
|
|
7584
7891
|
DependService: DependService,
|
|
7585
7892
|
PodSpec: PodSpec,
|
|
7586
7893
|
InquiryPriceRenewInstanceResponse: InquiryPriceRenewInstanceResponse,
|
|
@@ -7596,7 +7903,7 @@ module.exports = {
|
|
|
7596
7903
|
MultiZoneSetting: MultiZoneSetting,
|
|
7597
7904
|
TerminateInstanceResponse: TerminateInstanceResponse,
|
|
7598
7905
|
InquiryPriceUpdateInstanceResponse: InquiryPriceUpdateInstanceResponse,
|
|
7599
|
-
|
|
7906
|
+
SoftDependInfo: SoftDependInfo,
|
|
7600
7907
|
PersistentVolumeContext: PersistentVolumeContext,
|
|
7601
7908
|
ScaleOutNodeConfig: ScaleOutNodeConfig,
|
|
7602
7909
|
DescribeResourceScheduleResponse: DescribeResourceScheduleResponse,
|
|
@@ -7632,6 +7939,7 @@ module.exports = {
|
|
|
7632
7939
|
ExternalService: ExternalService,
|
|
7633
7940
|
PreExecuteFileSettings: PreExecuteFileSettings,
|
|
7634
7941
|
ClusterExternalServiceInfo: ClusterExternalServiceInfo,
|
|
7942
|
+
NewResourceSpec: NewResourceSpec,
|
|
7635
7943
|
InquiryPriceScaleOutInstanceRequest: InquiryPriceScaleOutInstanceRequest,
|
|
7636
7944
|
Resource: Resource,
|
|
7637
7945
|
DescribeEmrApplicationStaticsResponse: DescribeEmrApplicationStaticsResponse,
|
|
@@ -7642,6 +7950,7 @@ module.exports = {
|
|
|
7642
7950
|
VirtualPrivateCloud: VirtualPrivateCloud,
|
|
7643
7951
|
SceneSoftwareConfig: SceneSoftwareConfig,
|
|
7644
7952
|
ShortNodeInfo: ShortNodeInfo,
|
|
7953
|
+
EmrPrice: EmrPrice,
|
|
7645
7954
|
NodeHardwareInfo: NodeHardwareInfo,
|
|
7646
7955
|
ScaleOutClusterResponse: ScaleOutClusterResponse,
|
|
7647
7956
|
Filters: Filters,
|