tencentcloud-sdk-nodejs 4.0.1035 → 4.0.1037

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.
Files changed (45) hide show
  1. package/package.json +1 -1
  2. package/src/common/sdk_version.ts +1 -1
  3. package/src/services/apm/v20210622/apm_client.ts +12 -0
  4. package/src/services/apm/v20210622/apm_models.ts +66 -0
  5. package/src/services/asr/v20190614/asr_client.ts +1 -1
  6. package/src/services/batch/v20170312/batch_models.ts +0 -2
  7. package/src/services/ccc/v20200210/ccc_models.ts +5 -5
  8. package/src/services/cvm/v20170312/cvm_models.ts +0 -4
  9. package/src/services/dc/v20180410/dc_models.ts +4 -0
  10. package/src/services/emr/v20190103/emr_client.ts +33 -20
  11. package/src/services/emr/v20190103/emr_models.ts +338 -256
  12. package/src/services/ess/v20201111/ess_models.ts +2 -2
  13. package/src/services/essbasic/v20210526/essbasic_models.ts +2 -2
  14. package/src/services/live/v20180801/live_models.ts +4 -0
  15. package/src/services/mna/v20210119/mna_models.ts +7 -36
  16. package/src/services/ocr/v20181119/ocr_client.ts +5 -3
  17. package/src/services/rce/v20201103/rce_models.ts +15 -34
  18. package/src/services/scf/v20180416/scf_models.ts +1 -1
  19. package/src/services/trtc/v20190722/trtc_models.ts +4 -31
  20. package/src/services/waf/v20180125/waf_client.ts +1 -0
  21. package/src/services/waf/v20180125/waf_models.ts +102 -15
  22. package/tencentcloud/common/sdk_version.d.ts +1 -1
  23. package/tencentcloud/common/sdk_version.js +1 -1
  24. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
  25. package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
  26. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +64 -0
  27. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  28. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  29. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +0 -2
  30. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -5
  31. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +0 -4
  32. package/tencentcloud/services/dc/v20180410/dc_models.d.ts +4 -0
  33. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +7 -3
  34. package/tencentcloud/services/emr/v20190103/emr_client.js +9 -3
  35. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +335 -256
  36. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -2
  37. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
  38. package/tencentcloud/services/live/v20180801/live_models.d.ts +4 -0
  39. package/tencentcloud/services/mna/v20210119/mna_models.d.ts +6 -35
  40. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +3 -1
  41. package/tencentcloud/services/ocr/v20181119/ocr_client.js +3 -1
  42. package/tencentcloud/services/rce/v20201103/rce_models.d.ts +15 -34
  43. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
  44. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +4 -31
  45. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +101 -15
@@ -918,27 +918,34 @@ export interface EmrProductConfigDetail {
918
918
  PublicKeyId?: string;
919
919
  }
920
920
  /**
921
- * DescribeInstances返回参数结构体
921
+ * ResetYarnConfig请求参数结构体
922
922
  */
923
- export interface DescribeInstancesResponse {
923
+ export interface ResetYarnConfigRequest {
924
924
  /**
925
- * 符合条件的实例总数。
925
+ * emr集群的英文id
926
926
  */
927
- TotalCnt?: number;
927
+ InstanceId: string;
928
928
  /**
929
- * EMR实例详细信息列表。
930
- 注意:此字段可能返回 null,表示取不到有效值。
929
+ * 要重置的配置别名,可选值:
930
+
931
+ - capacityLabel:重置标签管理的配置
932
+ - fair:重置公平调度的配置
933
+ - capacity:重置容量调度的配置
931
934
  */
932
- ClusterList?: Array<ClusterInstancesInfo>;
935
+ Key?: string;
936
+ }
937
+ /**
938
+ * 弹性扩缩容按天重复任务描述
939
+ */
940
+ export interface DayRepeatStrategy {
933
941
  /**
934
- * 实例关联的标签键列表。
935
- 注意:此字段可能返回 null,表示取不到有效值。
942
+ * 重复任务执行的具体时刻,例如"01:02:00"
936
943
  */
937
- TagKeys?: Array<string>;
944
+ ExecuteAtTimeOfDay: string;
938
945
  /**
939
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
946
+ * 每隔Step天执行一次
940
947
  */
941
- RequestId?: string;
948
+ Step: number;
942
949
  }
943
950
  /**
944
951
  * DescribeTrinoQueryInfo返回参数结构体
@@ -1146,13 +1153,33 @@ export interface Dps {
1146
1153
  Value?: string;
1147
1154
  }
1148
1155
  /**
1149
- * TerminateTasks返回参数结构体
1156
+ * DescribeSparkQueries请求参数结构体
1150
1157
  */
1151
- export interface TerminateTasksResponse {
1158
+ export interface DescribeSparkQueriesRequest {
1152
1159
  /**
1153
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1160
+ * 集群ID
1154
1161
  */
1155
- RequestId?: string;
1162
+ InstanceId: string;
1163
+ /**
1164
+ * 开始时间
1165
+ */
1166
+ StartTime: number;
1167
+ /**
1168
+ * 结束时间
1169
+ */
1170
+ EndTime: number;
1171
+ /**
1172
+ * 分页起始偏移,从0开始
1173
+ */
1174
+ Offset: number;
1175
+ /**
1176
+ * 分页大小,合法范围[1,100]
1177
+ */
1178
+ Limit: number;
1179
+ /**
1180
+ * 执行状态:RUNNING,COMPLETED,FAILED
1181
+ */
1182
+ Status?: Array<string>;
1156
1183
  }
1157
1184
  /**
1158
1185
  * DeleteAutoScaleStrategy返回参数结构体
@@ -1280,11 +1307,38 @@ export interface LoadAutoScaleStrategy {
1280
1307
  "MEMORYGB"表示按照机器内存数计算。
1281
1308
  */
1282
1309
  MeasureMethod?: string;
1310
+ /**
1311
+ * 节点部署服务列表,例如["HDFS-3.1.2","YARN-3.1.2"]。
1312
+ 注意:此字段可能返回 null,表示取不到有效值。
1313
+ */
1314
+ SoftDeployDesc?: Array<string>;
1315
+ /**
1316
+ * 启动进程列表,例如["NodeManager"]。
1317
+ */
1318
+ ServiceNodeDesc?: string;
1319
+ /**
1320
+ * 启动进程列表。
1321
+ 注意:此字段可能返回 null,表示取不到有效值。
1322
+ */
1323
+ ServiceNodeInfo?: Array<number | bigint>;
1324
+ /**
1325
+ * 节点部署服务列表。部署服务仅填写HDFS、YARN。[组件名对应的映射关系表](https://cloud.tencent.com/document/product/589/98760)
1326
+ 注意:此字段可能返回 null,表示取不到有效值。
1327
+ */
1328
+ SoftDeployInfo?: Array<number | bigint>;
1283
1329
  /**
1284
1330
  * 多指标触发条件
1285
1331
  注意:此字段可能返回 null,表示取不到有效值。
1286
1332
  */
1287
1333
  LoadMetricsConditions?: LoadMetricsConditions;
1334
+ /**
1335
+ * 伸缩组Id
1336
+ */
1337
+ GroupId?: number;
1338
+ /**
1339
+ * soft例如yarn
1340
+ */
1341
+ Soft?: string;
1288
1342
  }
1289
1343
  /**
1290
1344
  * ModifyPodNum请求参数结构体
@@ -1828,21 +1882,27 @@ export interface ScaleOutInstanceRequest {
1828
1882
  ComputeResourceId?: string;
1829
1883
  }
1830
1884
  /**
1831
- * ResetYarnConfig请求参数结构体
1885
+ * DescribeInstanceRenewNodes返回参数结构体
1832
1886
  */
1833
- export interface ResetYarnConfigRequest {
1887
+ export interface DescribeInstanceRenewNodesResponse {
1834
1888
  /**
1835
- * emr集群的英文id
1889
+ * 查询到的节点总数
1836
1890
  */
1837
- InstanceId: string;
1891
+ TotalCnt?: number;
1838
1892
  /**
1839
- * 要重置的配置别名,可选值:
1840
-
1841
- - capacityLabel:重置标签管理的配置
1842
- - fair:重置公平调度的配置
1843
- - capacity:重置容量调度的配置
1893
+ * 节点详细信息列表
1894
+ 注意:此字段可能返回 null,表示取不到有效值。
1844
1895
  */
1845
- Key?: string;
1896
+ NodeList?: Array<RenewInstancesInfo>;
1897
+ /**
1898
+ * 用户所有的标签键列表
1899
+ 注意:此字段可能返回 null,表示取不到有效值。
1900
+ */
1901
+ MetaInfo?: Array<string>;
1902
+ /**
1903
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1904
+ */
1905
+ RequestId?: string;
1846
1906
  }
1847
1907
  /**
1848
1908
  * Kyuubi查询信息
@@ -2001,33 +2061,27 @@ export interface AttachDisksRequest {
2001
2061
  DeleteWithInstance?: boolean;
2002
2062
  }
2003
2063
  /**
2004
- * DescribeSparkQueries请求参数结构体
2064
+ * DescribeInstances返回参数结构体
2005
2065
  */
2006
- export interface DescribeSparkQueriesRequest {
2007
- /**
2008
- * 集群ID
2009
- */
2010
- InstanceId: string;
2011
- /**
2012
- * 开始时间
2013
- */
2014
- StartTime: number;
2066
+ export interface DescribeInstancesResponse {
2015
2067
  /**
2016
- * 结束时间
2068
+ * 符合条件的实例总数。
2017
2069
  */
2018
- EndTime: number;
2070
+ TotalCnt?: number;
2019
2071
  /**
2020
- * 分页起始偏移,从0开始
2072
+ * EMR实例详细信息列表。
2073
+ 注意:此字段可能返回 null,表示取不到有效值。
2021
2074
  */
2022
- Offset: number;
2075
+ ClusterList?: Array<ClusterInstancesInfo>;
2023
2076
  /**
2024
- * 分页大小,合法范围[1,100]
2077
+ * 实例关联的标签键列表。
2078
+ 注意:此字段可能返回 null,表示取不到有效值。
2025
2079
  */
2026
- Limit: number;
2080
+ TagKeys?: Array<string>;
2027
2081
  /**
2028
- * 执行状态:RUNNING,COMPLETED,FAILED
2082
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2029
2083
  */
2030
- Status?: Array<string>;
2084
+ RequestId?: string;
2031
2085
  }
2032
2086
  /**
2033
2087
  * ModifyYarnDeploy返回参数结构体
@@ -3848,51 +3902,22 @@ export interface TerminateClusterNodesResponse {
3848
3902
  RequestId?: string;
3849
3903
  }
3850
3904
  /**
3851
- * 资源调度-配置集信息
3905
+ * DescribeDAGInfo返回参数结构体
3852
3906
  */
3853
- export interface ConfigSetInfo {
3907
+ export interface DescribeDAGInfoResponse {
3854
3908
  /**
3855
- * 配置集名称
3909
+ * 总数,分页查询时使用
3856
3910
  */
3857
- ConfigSet: string;
3911
+ TotalCount?: number;
3858
3912
  /**
3859
- * 容量调度器会使用,里面设置了标签相关的配置。key的取值与**DescribeYarnQueue**返回的字段一致。
3860
- key的取值信息如下:
3861
- - labelName,标签名称,标签管理里的标签。
3862
- - capacity,容量,取值为**数字字符串**
3863
- - maximum-capacity,最大容量,取值为**数字字符串**
3913
+ * Starrocks 查询信息列表
3864
3914
  注意:此字段可能返回 null,表示取不到有效值。
3865
3915
  */
3866
- LabelParams?: Array<ItemSeq>;
3916
+ DAGInfoList?: Array<DAGInfo>;
3867
3917
  /**
3868
- * 设置配置集相关的参数。key的取值与**DescribeYarnQueue**返回的字段一致。
3869
- ###### 公平调度器
3870
- key的取值信息如下:
3871
- - minResources,最大资源量,取值为**YarnResource类型的json串**或**null**
3872
- - maxResources,最大资源量,取值为**YarnResource类型的json串**或**null**
3873
- - maxChildResources,能够分配给为未声明子队列的最大资源量,取值为**数字字符串**或**null**
3874
- - maxRunningApps,最高可同时处于运行的App数量,取值为**数字字符串**或**null**
3875
- - weight,权重,取值为**数字字符串**或**null**
3876
- - maxAMShare,App Master最大份额,取值为**数字字符串**或**null**,其中数字的范围是[0,1]或-1
3877
-
3878
- ```
3879
- type YarnResource struct {
3880
- Vcores *int `json:"vcores"`
3881
- Memory *int `json:"memory"`
3882
- Type *string `json:"type"` // 取值为`percent`或`null`当值为`percent`时,表示使用的百分比,否则就是使用的绝对数值。只有maxResources、maxChildResources才可以取值为`percent`
3883
- }
3884
- ```
3885
-
3886
- ###### 容量调度器
3887
- key的取值信息如下:
3888
- - minimum-user-limit-percent,用户最小容量,取值为**YarnResource类型的json串**或**null**,其中数字的范围是[0,100]
3889
- - user-limit-factor,用户资源因子,取值为**YarnResource类型的json串**或**null**
3890
- - maximum-applications,最大应用数Max-Applications,取值为**数字字符串**或**null**,其中数字为正整数
3891
- - maximum-am-resource-percent,最大AM比例,取值为**数字字符串**或**null**,其中数字的范围是[0,1]或-1
3892
- - default-application-priority,资源池优先级,取值为**数字字符串**或**null**,其中数字为正整数
3893
- 注意:此字段可能返回 null,表示取不到有效值。
3918
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3894
3919
  */
3895
- BasicParams?: Array<Item>;
3920
+ RequestId?: string;
3896
3921
  }
3897
3922
  /**
3898
3923
  * 动态生成的变更详情
@@ -3947,37 +3972,33 @@ export interface DescribeInsightListRequest {
3947
3972
  Type?: string;
3948
3973
  }
3949
3974
  /**
3950
- * DescribeYarnScheduleHistory请求参数结构体
3975
+ * DescribeSLInstanceList请求参数结构体
3951
3976
  */
3952
- export interface DescribeYarnScheduleHistoryRequest {
3953
- /**
3954
- * 集群id
3955
- */
3956
- InstanceId: string;
3977
+ export interface DescribeSLInstanceListRequest {
3957
3978
  /**
3958
- * 开始时间
3979
+ * 实例筛选策略。取值范围:<li>clusterList:表示查询除了已销毁实例之外的实例列表。</li><li>monitorManage:表示查询除了已销毁、创建中以及创建失败的实例之外的实例列表。</li>
3959
3980
  */
3960
- StartTime?: number;
3981
+ DisplayStrategy: string;
3961
3982
  /**
3962
- * 结束时间
3983
+ * 页编号,默认值为0,表示第一页。
3963
3984
  */
3964
- EndTime?: number;
3985
+ Offset?: number;
3965
3986
  /**
3966
- * 页码
3987
+ * 每页返回数量,默认值为10,最大值为100。
3967
3988
  */
3968
3989
  Limit?: number;
3969
3990
  /**
3970
- * 页大小
3991
+ * 排序字段。取值范围:<li>clusterId:表示按照实例ID排序。</li><li>addTime:表示按照实例创建时间排序。</li><li>status:表示按照实例的状态码排序。</li>
3971
3992
  */
3972
- Offset?: number;
3993
+ OrderField?: string;
3973
3994
  /**
3974
- * 调度器类型 可选值为“ALL”,"Capacity Scheduler", "Fair Scheduler"
3995
+ * 按照OrderField升序或者降序进行排序。取值范围:<li>0:表示升序。</li><li>1:表示降序。</li>默认值为0。
3975
3996
  */
3976
- SchedulerType?: string;
3997
+ Asc?: number;
3977
3998
  /**
3978
- * 任务类型0:等待执行,1:执行中,2:完成,-1:失败 ,-99:全部
3999
+ * 自定义查询过滤器。示例:<li>根据ClusterId过滤实例:[{"Name":"ClusterId","Values":["emr-xxxxxxxx"]}]</li><li>根据clusterName过滤实例:[{"Name": "ClusterName","Values": ["cluster_name"]}]</li><li>根据ClusterStatus过滤实例:[{"Name": "ClusterStatus","Values": ["2"]}]</li>
3979
4000
  */
3980
- TaskState?: number;
4001
+ Filters?: Array<Filters>;
3981
4002
  }
3982
4003
  /**
3983
4004
  * StartStopServiceOrMonitor返回参数结构体
@@ -4035,27 +4056,51 @@ export interface DescribeYarnQueueRequest {
4035
4056
  Scheduler: string;
4036
4057
  }
4037
4058
  /**
4038
- * DescribeInstanceRenewNodes返回参数结构体
4059
+ * 资源调度-配置集信息
4039
4060
  */
4040
- export interface DescribeInstanceRenewNodesResponse {
4061
+ export interface ConfigSetInfo {
4041
4062
  /**
4042
- * 查询到的节点总数
4063
+ * 配置集名称
4043
4064
  */
4044
- TotalCnt?: number;
4065
+ ConfigSet: string;
4045
4066
  /**
4046
- * 节点详细信息列表
4067
+ * 容量调度器会使用,里面设置了标签相关的配置。key的取值与**DescribeYarnQueue**返回的字段一致。
4068
+ key的取值信息如下:
4069
+ - labelName,标签名称,标签管理里的标签。
4070
+ - capacity,容量,取值为**数字字符串**
4071
+ - maximum-capacity,最大容量,取值为**数字字符串**
4047
4072
  注意:此字段可能返回 null,表示取不到有效值。
4048
4073
  */
4049
- NodeList?: Array<RenewInstancesInfo>;
4074
+ LabelParams?: Array<ItemSeq>;
4050
4075
  /**
4051
- * 用户所有的标签键列表
4076
+ * 设置配置集相关的参数。key的取值与**DescribeYarnQueue**返回的字段一致。
4077
+ ###### 公平调度器
4078
+ key的取值信息如下:
4079
+ - minResources,最大资源量,取值为**YarnResource类型的json串**或**null**
4080
+ - maxResources,最大资源量,取值为**YarnResource类型的json串**或**null**
4081
+ - maxChildResources,能够分配给为未声明子队列的最大资源量,取值为**数字字符串**或**null**
4082
+ - maxRunningApps,最高可同时处于运行的App数量,取值为**数字字符串**或**null**
4083
+ - weight,权重,取值为**数字字符串**或**null**
4084
+ - maxAMShare,App Master最大份额,取值为**数字字符串**或**null**,其中数字的范围是[0,1]或-1
4085
+
4086
+ ```
4087
+ type YarnResource struct {
4088
+ Vcores *int `json:"vcores"`
4089
+ Memory *int `json:"memory"`
4090
+ Type *string `json:"type"` // 取值为`percent`或`null`当值为`percent`时,表示使用的百分比,否则就是使用的绝对数值。只有maxResources、maxChildResources才可以取值为`percent`
4091
+ }
4092
+ ```
4093
+
4094
+ ###### 容量调度器
4095
+ key的取值信息如下:
4096
+ - minimum-user-limit-percent,用户最小容量,取值为**YarnResource类型的json串**或**null**,其中数字的范围是[0,100]
4097
+ - user-limit-factor,用户资源因子,取值为**YarnResource类型的json串**或**null**
4098
+ - maximum-applications,最大应用数Max-Applications,取值为**数字字符串**或**null**,其中数字为正整数
4099
+ - maximum-am-resource-percent,最大AM比例,取值为**数字字符串**或**null**,其中数字的范围是[0,1]或-1
4100
+ - default-application-priority,资源池优先级,取值为**数字字符串**或**null**,其中数字为正整数
4052
4101
  注意:此字段可能返回 null,表示取不到有效值。
4053
4102
  */
4054
- MetaInfo?: Array<string>;
4055
- /**
4056
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4057
- */
4058
- RequestId?: string;
4103
+ BasicParams?: Array<Item>;
4059
4104
  }
4060
4105
  /**
4061
4106
  * ModifyResource请求参数结构体
@@ -4289,6 +4334,23 @@ export interface DescribeYarnScheduleHistoryResponse {
4289
4334
  */
4290
4335
  RequestId?: string;
4291
4336
  }
4337
+ /**
4338
+ * DescribeDAGInfo请求参数结构体
4339
+ */
4340
+ export interface DescribeDAGInfoRequest {
4341
+ /**
4342
+ * 集群ID
4343
+ */
4344
+ InstanceID: string;
4345
+ /**
4346
+ * DAG类型,目前只支持STARROCKS
4347
+ */
4348
+ Type: string;
4349
+ /**
4350
+ * 查询ID列表,最大长度为1
4351
+ */
4352
+ IDList: Array<string>;
4353
+ }
4292
4354
  /**
4293
4355
  * DescribeAutoScaleGroupGlobalConf返回参数结构体
4294
4356
  */
@@ -4340,86 +4402,46 @@ export interface Resource {
4340
4402
  /**
4341
4403
  * CPU核数
4342
4404
  */
4343
- Cpu: number;
4344
- /**
4345
- * 数据盘容量
4346
- */
4347
- DiskSize: number;
4348
- /**
4349
- * 系统盘容量
4350
- */
4351
- RootSize?: number;
4352
- /**
4353
- * 云盘列表,当数据盘为一块云盘时,直接使用DiskType和DiskSize参数,超出部分使用MultiDisks
4354
- 注意:此字段可能返回 null,表示取不到有效值。
4355
- */
4356
- MultiDisks?: Array<MultiDisk>;
4357
- /**
4358
- * 需要绑定的标签列表
4359
- 注意:此字段可能返回 null,表示取不到有效值。
4360
- */
4361
- Tags?: Array<Tag>;
4362
- /**
4363
- * 规格类型,如S2.MEDIUM8
4364
- */
4365
- InstanceType?: string;
4366
- /**
4367
- * 本地盘数量,该字段已废弃
4368
- */
4369
- LocalDiskNum?: number;
4370
- /**
4371
- * 本地盘数量,如2
4372
- */
4373
- DiskNum?: number;
4374
- }
4375
- /**
4376
- * DescribeEmrApplicationStatics请求参数结构体
4377
- */
4378
- export interface DescribeEmrApplicationStaticsRequest {
4379
- /**
4380
- * 集群id
4381
- */
4382
- InstanceId: string;
4383
- /**
4384
- * 起始时间,时间戳(秒)
4385
- */
4386
- StartTime?: number;
4387
- /**
4388
- * 结束时间,时间戳(秒)
4389
- */
4390
- EndTime?: number;
4405
+ Cpu: number;
4391
4406
  /**
4392
- * 过滤的队列名
4407
+ * 数据盘容量
4393
4408
  */
4394
- Queues?: Array<string>;
4409
+ DiskSize: number;
4395
4410
  /**
4396
- * 过滤的用户名
4411
+ * 系统盘容量
4397
4412
  */
4398
- Users?: Array<string>;
4413
+ RootSize?: number;
4399
4414
  /**
4400
- * 过滤的作业类型
4415
+ * 云盘列表,当数据盘为一块云盘时,直接使用DiskType和DiskSize参数,超出部分使用MultiDisks
4416
+ 注意:此字段可能返回 null,表示取不到有效值。
4401
4417
  */
4402
- ApplicationTypes?: Array<string>;
4418
+ MultiDisks?: Array<MultiDisk>;
4403
4419
  /**
4404
- * 分组字段,可选:queue, user, applicationType
4420
+ * 需要绑定的标签列表
4421
+ 注意:此字段可能返回 null,表示取不到有效值。
4405
4422
  */
4406
- GroupBy?: Array<string>;
4423
+ Tags?: Array<Tag>;
4407
4424
  /**
4408
- * 排序字段,可选:sumMemorySeconds, sumVCoreSeconds, sumHDFSBytesWritten, sumHDFSBytesRead
4425
+ * 规格类型,如S2.MEDIUM8
4409
4426
  */
4410
- OrderBy?: string;
4427
+ InstanceType?: string;
4411
4428
  /**
4412
- * 是否顺序排序,0-逆序,1-正序
4429
+ * 本地盘数量,该字段已废弃
4413
4430
  */
4414
- IsAsc?: number;
4431
+ LocalDiskNum?: number;
4415
4432
  /**
4416
- * 页号
4433
+ * 本地盘数量,如2
4417
4434
  */
4418
- Offset?: number;
4435
+ DiskNum?: number;
4436
+ }
4437
+ /**
4438
+ * ResetYarnConfig返回参数结构体
4439
+ */
4440
+ export interface ResetYarnConfigResponse {
4419
4441
  /**
4420
- * 页容量,范围为[10,100]
4442
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4421
4443
  */
4422
- Limit?: number;
4444
+ RequestId?: string;
4423
4445
  }
4424
4446
  /**
4425
4447
  * DescribeClusterNodes返回参数结构体
@@ -4475,41 +4497,37 @@ export interface DescribeYarnApplicationsRequest {
4475
4497
  Limit: number;
4476
4498
  }
4477
4499
  /**
4478
- * InquiryPriceUpdateInstance返回参数结构体
4500
+ * DescribeYarnScheduleHistory请求参数结构体
4479
4501
  */
4480
- export interface InquiryPriceUpdateInstanceResponse {
4502
+ export interface DescribeYarnScheduleHistoryRequest {
4481
4503
  /**
4482
- * 原价,单位为元。
4504
+ * 集群id
4483
4505
  */
4484
- OriginalCost?: number;
4506
+ InstanceId: string;
4485
4507
  /**
4486
- * 折扣价,单位为元。
4508
+ * 开始时间
4487
4509
  */
4488
- DiscountCost?: number;
4510
+ StartTime?: number;
4489
4511
  /**
4490
- * 变配的时间单位。取值范围:
4491
- <li>s:表示秒。</li>
4492
- <li>m:表示月份。</li>
4512
+ * 结束时间
4493
4513
  */
4494
- TimeUnit?: string;
4514
+ EndTime?: number;
4495
4515
  /**
4496
- * 变配的时长。
4516
+ * 页码
4497
4517
  */
4498
- TimeSpan?: number;
4518
+ Limit?: number;
4499
4519
  /**
4500
- * 价格详情
4501
- 注意:此字段可能返回 null,表示取不到有效值。
4520
+ * 页大小
4502
4521
  */
4503
- PriceDetail?: Array<PriceDetail>;
4522
+ Offset?: number;
4504
4523
  /**
4505
- * 新配置价格
4506
- 注意:此字段可能返回 null,表示取不到有效值。
4524
+ * 调度器类型 可选值为“ALL”,"Capacity Scheduler", "Fair Scheduler"
4507
4525
  */
4508
- NewConfigPrice?: PriceResult;
4526
+ SchedulerType?: string;
4509
4527
  /**
4510
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4528
+ * 任务类型0:等待执行,1:执行中,2:完成,-1:失败 ,-99:全部
4511
4529
  */
4512
- RequestId?: string;
4530
+ TaskState?: number;
4513
4531
  }
4514
4532
  /**
4515
4533
  * 资源描述
@@ -4803,6 +4821,36 @@ export interface ModifyResourceSchedulerRequest {
4803
4821
  */
4804
4822
  NewValue: string;
4805
4823
  }
4824
+ /**
4825
+ * 表格schema信息
4826
+ */
4827
+ export interface TableSchemaItem {
4828
+ /**
4829
+ * 列标识
4830
+ */
4831
+ Name?: string;
4832
+ /**
4833
+ * 是否可按该列排序
4834
+ */
4835
+ Sortable?: boolean;
4836
+ /**
4837
+ * 是否可筛选
4838
+ */
4839
+ WithFilter?: boolean;
4840
+ /**
4841
+ * 筛选的候选集
4842
+ 注意:此字段可能返回 null,表示取不到有效值。
4843
+ */
4844
+ Candidates?: Array<string>;
4845
+ /**
4846
+ * 是否可点击
4847
+ */
4848
+ Clickable?: boolean;
4849
+ /**
4850
+ * 展示的名字
4851
+ */
4852
+ Title?: string;
4853
+ }
4806
4854
  /**
4807
4855
  * 登录设置
4808
4856
  */
@@ -5252,33 +5300,21 @@ export interface DescribeCvmQuotaResponse {
5252
5300
  RequestId?: string;
5253
5301
  }
5254
5302
  /**
5255
- * DescribeSLInstanceList请求参数结构体
5303
+ * DAG信息
5256
5304
  */
5257
- export interface DescribeSLInstanceListRequest {
5258
- /**
5259
- * 实例筛选策略。取值范围:<li>clusterList:表示查询除了已销毁实例之外的实例列表。</li><li>monitorManage:表示查询除了已销毁、创建中以及创建失败的实例之外的实例列表。</li>
5260
- */
5261
- DisplayStrategy: string;
5305
+ export interface DAGInfo {
5262
5306
  /**
5263
- * 页编号,默认值为0,表示第一页。
5264
- */
5265
- Offset?: number;
5266
- /**
5267
- * 每页返回数量,默认值为10,最大值为100。
5268
- */
5269
- Limit?: number;
5270
- /**
5271
- * 排序字段。取值范围:<li>clusterId:表示按照实例ID排序。</li><li>addTime:表示按照实例创建时间排序。</li><li>status:表示按照实例的状态码排序。</li>
5307
+ * 查询ID
5272
5308
  */
5273
- OrderField?: string;
5309
+ ID?: string;
5274
5310
  /**
5275
- * 按照OrderField升序或者降序进行排序。取值范围:<li>0:表示升序。</li><li>1:表示降序。</li>默认值为0。
5311
+ * DAG类型,目前只支持starrocks
5276
5312
  */
5277
- Asc?: number;
5313
+ Type?: string;
5278
5314
  /**
5279
- * 自定义查询过滤器。示例:<li>根据ClusterId过滤实例:[{"Name":"ClusterId","Values":["emr-xxxxxxxx"]}]</li><li>根据clusterName过滤实例:[{"Name": "ClusterName","Values": ["cluster_name"]}]</li><li>根据ClusterStatus过滤实例:[{"Name": "ClusterStatus","Values": ["2"]}]</li>
5315
+ * 返回的DAG的JSON字符串
5280
5316
  */
5281
- Filters?: Array<Filters>;
5317
+ Content?: string;
5282
5318
  }
5283
5319
  /**
5284
5320
  * CreateCluster请求参数结构体
@@ -6644,17 +6680,53 @@ export interface Period {
6644
6680
  TimeUnit?: string;
6645
6681
  }
6646
6682
  /**
6647
- * 弹性扩缩容按天重复任务描述
6683
+ * DescribeEmrApplicationStatics请求参数结构体
6648
6684
  */
6649
- export interface DayRepeatStrategy {
6685
+ export interface DescribeEmrApplicationStaticsRequest {
6650
6686
  /**
6651
- * 重复任务执行的具体时刻,例如"01:02:00"
6687
+ * 集群id
6652
6688
  */
6653
- ExecuteAtTimeOfDay: string;
6689
+ InstanceId: string;
6654
6690
  /**
6655
- * 每隔Step天执行一次
6691
+ * 起始时间,时间戳(秒)
6656
6692
  */
6657
- Step: number;
6693
+ StartTime?: number;
6694
+ /**
6695
+ * 结束时间,时间戳(秒)
6696
+ */
6697
+ EndTime?: number;
6698
+ /**
6699
+ * 过滤的队列名
6700
+ */
6701
+ Queues?: Array<string>;
6702
+ /**
6703
+ * 过滤的用户名
6704
+ */
6705
+ Users?: Array<string>;
6706
+ /**
6707
+ * 过滤的作业类型
6708
+ */
6709
+ ApplicationTypes?: Array<string>;
6710
+ /**
6711
+ * 分组字段,可选:queue, user, applicationType
6712
+ */
6713
+ GroupBy?: Array<string>;
6714
+ /**
6715
+ * 排序字段,可选:sumMemorySeconds, sumVCoreSeconds, sumHDFSBytesWritten, sumHDFSBytesRead
6716
+ */
6717
+ OrderBy?: string;
6718
+ /**
6719
+ * 是否顺序排序,0-逆序,1-正序
6720
+ */
6721
+ IsAsc?: number;
6722
+ /**
6723
+ * 页号
6724
+ */
6725
+ Offset?: number;
6726
+ /**
6727
+ * 页容量,范围为[10,100]
6728
+ */
6729
+ Limit?: number;
6658
6730
  }
6659
6731
  /**
6660
6732
  * ModifyInstanceBasic请求参数结构体
@@ -8042,9 +8114,37 @@ export interface RestartPolicy {
8042
8114
  IsDefault?: string;
8043
8115
  }
8044
8116
  /**
8045
- * ModifyYarnQueueV2返回参数结构体
8117
+ * InquiryPriceUpdateInstance返回参数结构体
8046
8118
  */
8047
- export interface ModifyYarnQueueV2Response {
8119
+ export interface InquiryPriceUpdateInstanceResponse {
8120
+ /**
8121
+ * 原价,单位为元。
8122
+ */
8123
+ OriginalCost?: number;
8124
+ /**
8125
+ * 折扣价,单位为元。
8126
+ */
8127
+ DiscountCost?: number;
8128
+ /**
8129
+ * 变配的时间单位。取值范围:
8130
+ <li>s:表示秒。</li>
8131
+ <li>m:表示月份。</li>
8132
+ */
8133
+ TimeUnit?: string;
8134
+ /**
8135
+ * 变配的时长。
8136
+ */
8137
+ TimeSpan?: number;
8138
+ /**
8139
+ * 价格详情
8140
+ 注意:此字段可能返回 null,表示取不到有效值。
8141
+ */
8142
+ PriceDetail?: Array<PriceDetail>;
8143
+ /**
8144
+ * 新配置价格
8145
+ 注意:此字段可能返回 null,表示取不到有效值。
8146
+ */
8147
+ NewConfigPrice?: PriceResult;
8048
8148
  /**
8049
8149
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8050
8150
  */
@@ -8403,15 +8503,6 @@ export interface Item {
8403
8503
  */
8404
8504
  Value: string;
8405
8505
  }
8406
- /**
8407
- * ResetYarnConfig返回参数结构体
8408
- */
8409
- export interface ResetYarnConfigResponse {
8410
- /**
8411
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8412
- */
8413
- RequestId?: string;
8414
- }
8415
8506
  /**
8416
8507
  * SetNodeResourceConfigDefault返回参数结构体
8417
8508
  */
@@ -8440,34 +8531,13 @@ export interface DescribeStarRocksQueryInfoResponse {
8440
8531
  RequestId?: string;
8441
8532
  }
8442
8533
  /**
8443
- * 表格schema信息
8534
+ * ModifyYarnQueueV2返回参数结构体
8444
8535
  */
8445
- export interface TableSchemaItem {
8446
- /**
8447
- * 列标识
8448
- */
8449
- Name?: string;
8450
- /**
8451
- * 是否可按该列排序
8452
- */
8453
- Sortable?: boolean;
8454
- /**
8455
- * 是否可筛选
8456
- */
8457
- WithFilter?: boolean;
8458
- /**
8459
- * 筛选的候选集
8460
- 注意:此字段可能返回 null,表示取不到有效值。
8461
- */
8462
- Candidates?: Array<string>;
8463
- /**
8464
- * 是否可点击
8465
- */
8466
- Clickable?: boolean;
8536
+ export interface ModifyYarnQueueV2Response {
8467
8537
  /**
8468
- * 展示的名字
8538
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8469
8539
  */
8470
- Title?: string;
8540
+ RequestId?: string;
8471
8541
  }
8472
8542
  /**
8473
8543
  * 资源调度 - 队列修改信息
@@ -8780,6 +8850,15 @@ export interface EmrPrice {
8780
8850
  */
8781
8851
  SupportSpotPaid?: boolean;
8782
8852
  }
8853
+ /**
8854
+ * TerminateTasks返回参数结构体
8855
+ */
8856
+ export interface TerminateTasksResponse {
8857
+ /**
8858
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8859
+ */
8860
+ RequestId?: string;
8861
+ }
8783
8862
  /**
8784
8863
  * 节点硬件信息
8785
8864
  */