tencentcloud-sdk-nodejs-emr 4.0.331 → 4.0.334

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.
@@ -140,6 +140,23 @@ export interface PodState {
140
140
  */
141
141
  Memory: number;
142
142
  }
143
+ /**
144
+ * ModifyResourceScheduler请求参数结构体
145
+ */
146
+ export interface ModifyResourceSchedulerRequest {
147
+ /**
148
+ * emr集群的英文id
149
+ */
150
+ InstanceId: string;
151
+ /**
152
+ * 老的调度器:fair
153
+ */
154
+ OldValue: string;
155
+ /**
156
+ * 新的调度器:capacity
157
+ */
158
+ NewValue: string;
159
+ }
143
160
  /**
144
161
  * 任务步骤结果描述
145
162
  */
@@ -622,13 +639,21 @@ export interface SyncPodStateResponse {
622
639
  RequestId?: string;
623
640
  }
624
641
  /**
625
- * TerminateInstance返回参数结构体
642
+ * ModifyResourceScheduleConfig请求参数结构体
626
643
  */
627
- export interface TerminateInstanceResponse {
644
+ export interface ModifyResourceScheduleConfigRequest {
628
645
  /**
629
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
646
+ * emr集群的英文id
630
647
  */
631
- RequestId?: string;
648
+ InstanceId: string;
649
+ /**
650
+ * 业务标识,fair表示编辑公平的配置项,fairPlan表示编辑执行计划,capacity表示编辑容量的配置项
651
+ */
652
+ Key: string;
653
+ /**
654
+ * 修改后的模块消息
655
+ */
656
+ Value: string;
632
657
  }
633
658
  /**
634
659
  * CreateInstance返回参数结构体
@@ -1315,6 +1340,15 @@ export interface Configuration {
1315
1340
  */
1316
1341
  Properties: string;
1317
1342
  }
1343
+ /**
1344
+ * DescribeResourceSchedule请求参数结构体
1345
+ */
1346
+ export interface DescribeResourceScheduleRequest {
1347
+ /**
1348
+ * emr集群的英文id
1349
+ */
1350
+ InstanceId: string;
1351
+ }
1318
1352
  /**
1319
1353
  * DescribeInstances返回参数结构体
1320
1354
  */
@@ -1390,6 +1424,56 @@ export interface InquiryPriceScaleOutInstanceRequest {
1390
1424
  */
1391
1425
  MasterCount?: number;
1392
1426
  }
1427
+ /**
1428
+ * 资源详情
1429
+ */
1430
+ export interface OutterResource {
1431
+ /**
1432
+ * 规格
1433
+ 注意:此字段可能返回 null,表示取不到有效值。
1434
+ */
1435
+ Spec: string;
1436
+ /**
1437
+ * 规格名
1438
+ 注意:此字段可能返回 null,表示取不到有效值。
1439
+ */
1440
+ SpecName: string;
1441
+ /**
1442
+ * 硬盘类型
1443
+ 注意:此字段可能返回 null,表示取不到有效值。
1444
+ */
1445
+ StorageType: number;
1446
+ /**
1447
+ * 硬盘类型
1448
+ 注意:此字段可能返回 null,表示取不到有效值。
1449
+ */
1450
+ DiskType: string;
1451
+ /**
1452
+ * 系统盘大小
1453
+ 注意:此字段可能返回 null,表示取不到有效值。
1454
+ */
1455
+ RootSize: number;
1456
+ /**
1457
+ * 内存大小
1458
+ 注意:此字段可能返回 null,表示取不到有效值。
1459
+ */
1460
+ MemSize: number;
1461
+ /**
1462
+ * CPU个数
1463
+ 注意:此字段可能返回 null,表示取不到有效值。
1464
+ */
1465
+ Cpu: number;
1466
+ /**
1467
+ * 硬盘大小
1468
+ 注意:此字段可能返回 null,表示取不到有效值。
1469
+ */
1470
+ DiskSize: number;
1471
+ /**
1472
+ * 规格
1473
+ 注意:此字段可能返回 null,表示取不到有效值。
1474
+ */
1475
+ InstanceType: string;
1476
+ }
1393
1477
  /**
1394
1478
  * 标签
1395
1479
  */
@@ -1416,6 +1500,31 @@ export interface Placement {
1416
1500
  */
1417
1501
  Zone: string;
1418
1502
  }
1503
+ /**
1504
+ * 获取CVM配额
1505
+ */
1506
+ export interface QuotaEntity {
1507
+ /**
1508
+ * 已使用配额
1509
+ 注意:此字段可能返回 null,表示取不到有效值。
1510
+ */
1511
+ UsedQuota: number;
1512
+ /**
1513
+ * 剩余配额
1514
+ 注意:此字段可能返回 null,表示取不到有效值。
1515
+ */
1516
+ RemainingQuota: number;
1517
+ /**
1518
+ * 总配额
1519
+ 注意:此字段可能返回 null,表示取不到有效值。
1520
+ */
1521
+ TotalQuota: number;
1522
+ /**
1523
+ * 可用区
1524
+ 注意:此字段可能返回 null,表示取不到有效值。
1525
+ */
1526
+ Zone: string;
1527
+ }
1419
1528
  /**
1420
1529
  * 搜索字段
1421
1530
  */
@@ -1732,6 +1841,15 @@ export interface DescribeInstanceRenewNodesResponse {
1732
1841
  */
1733
1842
  RequestId?: string;
1734
1843
  }
1844
+ /**
1845
+ * TerminateInstance返回参数结构体
1846
+ */
1847
+ export interface TerminateInstanceResponse {
1848
+ /**
1849
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1850
+ */
1851
+ RequestId?: string;
1852
+ }
1735
1853
  /**
1736
1854
  * COS 相关配置
1737
1855
  */
@@ -2022,6 +2140,19 @@ export interface PodSpec {
2022
2140
  */
2023
2141
  SubnetId?: string;
2024
2142
  }
2143
+ /**
2144
+ * ModifyResourcePools请求参数结构体
2145
+ */
2146
+ export interface ModifyResourcePoolsRequest {
2147
+ /**
2148
+ * emr集群id
2149
+ */
2150
+ InstanceId: string;
2151
+ /**
2152
+ * 标识是fair还是capacity
2153
+ */
2154
+ Key: string;
2155
+ }
2025
2156
  /**
2026
2157
  * 多云盘参数
2027
2158
  */
@@ -2129,54 +2260,13 @@ export interface InquiryPriceScaleOutInstanceResponse {
2129
2260
  RequestId?: string;
2130
2261
  }
2131
2262
  /**
2132
- * 资源详情
2263
+ * ModifyResourceScheduler返回参数结构体
2133
2264
  */
2134
- export interface OutterResource {
2135
- /**
2136
- * 规格
2137
- 注意:此字段可能返回 null,表示取不到有效值。
2138
- */
2139
- Spec: string;
2140
- /**
2141
- * 规格名
2142
- 注意:此字段可能返回 null,表示取不到有效值。
2143
- */
2144
- SpecName: string;
2145
- /**
2146
- * 硬盘类型
2147
- 注意:此字段可能返回 null,表示取不到有效值。
2148
- */
2149
- StorageType: number;
2150
- /**
2151
- * 硬盘类型
2152
- 注意:此字段可能返回 null,表示取不到有效值。
2153
- */
2154
- DiskType: string;
2155
- /**
2156
- * 系统盘大小
2157
- 注意:此字段可能返回 null,表示取不到有效值。
2158
- */
2159
- RootSize: number;
2160
- /**
2161
- * 内存大小
2162
- 注意:此字段可能返回 null,表示取不到有效值。
2163
- */
2164
- MemSize: number;
2165
- /**
2166
- * CPU个数
2167
- 注意:此字段可能返回 null,表示取不到有效值。
2168
- */
2169
- Cpu: number;
2170
- /**
2171
- * 硬盘大小
2172
- 注意:此字段可能返回 null,表示取不到有效值。
2173
- */
2174
- DiskSize: number;
2265
+ export interface ModifyResourceSchedulerResponse {
2175
2266
  /**
2176
- * 规格
2177
- 注意:此字段可能返回 null,表示取不到有效值。
2178
- */
2179
- InstanceType: string;
2267
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2268
+ */
2269
+ RequestId?: string;
2180
2270
  }
2181
2271
  /**
2182
2272
  * 变配资源规格
@@ -2225,29 +2315,40 @@ export interface TerminateTasksResponse {
2225
2315
  RequestId?: string;
2226
2316
  }
2227
2317
  /**
2228
- * 获取CVM配额
2318
+ * ModifyResourcePools返回参数结构体
2229
2319
  */
2230
- export interface QuotaEntity {
2320
+ export interface ModifyResourcePoolsResponse {
2231
2321
  /**
2232
- * 已使用配额
2233
- 注意:此字段可能返回 null,表示取不到有效值。
2234
- */
2235
- UsedQuota: number;
2322
+ * false表示不是草稿,提交刷新请求成功
2323
+ */
2324
+ IsDraft: boolean;
2236
2325
  /**
2237
- * 剩余配额
2326
+ * 扩展字段,暂时没用
2238
2327
  注意:此字段可能返回 null,表示取不到有效值。
2239
2328
  */
2240
- RemainingQuota: number;
2329
+ ErrorMsg: string;
2241
2330
  /**
2242
- * 总配额
2243
- 注意:此字段可能返回 null,表示取不到有效值。
2244
- */
2245
- TotalQuota: number;
2331
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2332
+ */
2333
+ RequestId?: string;
2334
+ }
2335
+ /**
2336
+ * ModifyResourceScheduleConfig返回参数结构体
2337
+ */
2338
+ export interface ModifyResourceScheduleConfigResponse {
2246
2339
  /**
2247
- * 可用区
2340
+ * true为草稿,表示还没有刷新资源池
2341
+ */
2342
+ IsDraft: boolean;
2343
+ /**
2344
+ * 校验错误信息,如果不为空,则说明校验失败,配置没有成功
2248
2345
  注意:此字段可能返回 null,表示取不到有效值。
2249
2346
  */
2250
- Zone: string;
2347
+ ErrorMsg: string;
2348
+ /**
2349
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2350
+ */
2351
+ RequestId?: string;
2251
2352
  }
2252
2353
  /**
2253
2354
  * Pod资源售卖规格
@@ -2665,6 +2766,31 @@ export interface InquiryPriceRenewInstanceRequest {
2665
2766
  */
2666
2767
  ModifyPayMode?: number;
2667
2768
  }
2769
+ /**
2770
+ * DescribeResourceSchedule返回参数结构体
2771
+ */
2772
+ export interface DescribeResourceScheduleResponse {
2773
+ /**
2774
+ * 资源调度功能是否开启
2775
+ */
2776
+ OpenSwitch: boolean;
2777
+ /**
2778
+ * 正在使用的资源调度器
2779
+ */
2780
+ Scheduler: string;
2781
+ /**
2782
+ * 公平调度器的信息
2783
+ */
2784
+ FSInfo: string;
2785
+ /**
2786
+ * 容量调度器的信息
2787
+ */
2788
+ CSInfo: string;
2789
+ /**
2790
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2791
+ */
2792
+ RequestId?: string;
2793
+ }
2668
2794
  /**
2669
2795
  * 出参
2670
2796
  */