tencentcloud-sdk-nodejs-emr 4.0.575 → 4.0.577

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.
@@ -1510,6 +1510,28 @@ export interface InquiryPriceCreateInstanceResponse {
1510
1510
  */
1511
1511
  RequestId?: string;
1512
1512
  }
1513
+ /**
1514
+ * StartStopServiceOrMonitor请求参数结构体
1515
+ */
1516
+ export interface StartStopServiceOrMonitorRequest {
1517
+ /**
1518
+ * 集群ID
1519
+ */
1520
+ InstanceId: string;
1521
+ /**
1522
+ * 操作类型,当前支持
1523
+ <li>StartService:启动服务</li>
1524
+ <li>StopService:停止服务</li>
1525
+ <li>StartMonitor:退出维护</li>
1526
+ <li>StopMonitor:进入维护</li>
1527
+
1528
+ */
1529
+ OpType: string;
1530
+ /**
1531
+ * 操作范围
1532
+ */
1533
+ OpScope: OpScope;
1534
+ }
1513
1535
  /**
1514
1536
  * TerminateInstance请求参数结构体
1515
1537
  */
@@ -1870,6 +1892,15 @@ export interface RunJobFlowResponse {
1870
1892
  */
1871
1893
  RequestId?: string;
1872
1894
  }
1895
+ /**
1896
+ * StartStopServiceOrMonitor返回参数结构体
1897
+ */
1898
+ export interface StartStopServiceOrMonitorResponse {
1899
+ /**
1900
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1901
+ */
1902
+ RequestId?: string;
1903
+ }
1873
1904
  /**
1874
1905
  * 多云盘参数
1875
1906
  */
@@ -2207,6 +2238,19 @@ export interface DescribeResourceScheduleResponse {
2207
2238
  */
2208
2239
  RequestId?: string;
2209
2240
  }
2241
+ /**
2242
+ * TerminateClusterNodes返回参数结构体
2243
+ */
2244
+ export interface TerminateClusterNodesResponse {
2245
+ /**
2246
+ * 缩容流程ID。
2247
+ */
2248
+ FlowId?: number;
2249
+ /**
2250
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2251
+ */
2252
+ RequestId?: string;
2253
+ }
2210
2254
  /**
2211
2255
  * ModifyResourceScheduler请求参数结构体
2212
2256
  */
@@ -2625,13 +2669,19 @@ export interface DescribeClusterNodesRequest {
2625
2669
  Asc?: number;
2626
2670
  }
2627
2671
  /**
2628
- * SyncPodState请求参数结构体
2672
+ * 操作的进程范围
2629
2673
  */
2630
- export interface SyncPodStateRequest {
2674
+ export interface ComponentBasicRestartInfo {
2631
2675
  /**
2632
- * EmrService中pod状态信息
2633
- */
2634
- Message: PodState;
2676
+ * 进程名,必填,如NameNode
2677
+ 注意:此字段可能返回 null,表示取不到有效值。
2678
+ */
2679
+ ComponentName?: string;
2680
+ /**
2681
+ * 操作的IP列表
2682
+ 注意:此字段可能返回 null,表示取不到有效值。
2683
+ */
2684
+ IpList?: Array<string>;
2635
2685
  }
2636
2686
  /**
2637
2687
  * CreateInstance请求参数结构体
@@ -2947,6 +2997,37 @@ export interface InquiryPriceUpdateInstanceRequest {
2947
2997
  */
2948
2998
  ResourceIdList?: Array<string>;
2949
2999
  }
3000
+ /**
3001
+ * TerminateClusterNodes请求参数结构体
3002
+ */
3003
+ export interface TerminateClusterNodesRequest {
3004
+ /**
3005
+ * 实例ID
3006
+ */
3007
+ InstanceId: string;
3008
+ /**
3009
+ * 销毁资源列表
3010
+ */
3011
+ CvmInstanceIds: Array<string>;
3012
+ /**
3013
+ * 销毁节点类型取值范围:
3014
+ <li>MASTER</li>
3015
+ <li>TASK</li>
3016
+ <li>CORE</li>
3017
+ <li>ROUTER</li>
3018
+ */
3019
+ NodeFlag: string;
3020
+ /**
3021
+ * 优雅缩容开关
3022
+ <li>true:开启</li>
3023
+ <li>false:不开启</li>
3024
+ */
3025
+ GraceDownFlag?: boolean;
3026
+ /**
3027
+ * 优雅缩容等待时间,时间范围60到1800 单位秒
3028
+ */
3029
+ GraceDownTime?: number;
3030
+ }
2950
3031
  /**
2951
3032
  * DescribeInstancesList请求参数结构体
2952
3033
  */
@@ -3026,6 +3107,16 @@ export interface OutterResource {
3026
3107
  */
3027
3108
  InstanceType: string;
3028
3109
  }
3110
+ /**
3111
+ * 操作范围
3112
+ */
3113
+ export interface OpScope {
3114
+ /**
3115
+ * 操作范围,要操作的服务信息
3116
+ 注意:此字段可能返回 null,表示取不到有效值。
3117
+ */
3118
+ ServiceInfoList?: Array<ServiceBasicRestartInfo>;
3119
+ }
3029
3120
  /**
3030
3121
  * DeleteUserManagerUserList返回参数结构体
3031
3122
  */
@@ -3330,6 +3421,15 @@ export interface ZoneResourceConfiguration {
3330
3421
  */
3331
3422
  ZoneTag?: string;
3332
3423
  }
3424
+ /**
3425
+ * SyncPodState请求参数结构体
3426
+ */
3427
+ export interface SyncPodStateRequest {
3428
+ /**
3429
+ * EmrService中pod状态信息
3430
+ */
3431
+ Message: PodState;
3432
+ }
3333
3433
  /**
3334
3434
  * 用户自建Hive-MetaDB信息
3335
3435
  */
@@ -4382,6 +4482,19 @@ export interface NodeHardwareInfo {
4382
4482
  */
4383
4483
  TradeVersion?: number;
4384
4484
  }
4485
+ /**
4486
+ * 操作的服务范围
4487
+ */
4488
+ export interface ServiceBasicRestartInfo {
4489
+ /**
4490
+ * 服务名,必填,如HDFS
4491
+ */
4492
+ ServiceName?: string;
4493
+ /**
4494
+ * 如果没传,则表示所有进程
4495
+ */
4496
+ ComponentInfoList?: Array<ComponentBasicRestartInfo>;
4497
+ }
4385
4498
  /**
4386
4499
  * ScaleOutCluster返回参数结构体
4387
4500
  */