tencentcloud-sdk-nodejs 4.0.932 → 4.0.934
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/CHANGELOG.md +266 -0
- package/SERVICE_CHANGELOG.md +373 -15
- package/package.json +1 -1
- package/products.md +26 -26
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cfw/v20190904/cfw_client.ts +5 -19
- package/src/services/cfw/v20190904/cfw_models.ts +59 -74
- package/src/services/cvm/v20170312/cvm_client.ts +13 -0
- package/src/services/cvm/v20170312/cvm_models.ts +56 -0
- package/src/services/cwp/v20180228/cwp_models.ts +1 -1
- package/src/services/dc/v20180410/dc_client.ts +5 -6
- package/src/services/dc/v20180410/dc_models.ts +6 -7
- package/src/services/dcdb/v20180411/dcdb_models.ts +10 -2
- package/src/services/dlc/v20210125/dlc_client.ts +26 -2
- package/src/services/dlc/v20210125/dlc_models.ts +71 -23
- package/src/services/emr/v20190103/emr_client.ts +104 -37
- package/src/services/emr/v20190103/emr_models.ts +899 -395
- package/src/services/es/v20180416/es_client.ts +3 -1
- package/src/services/es/v20180416/es_models.ts +53 -4
- package/src/services/ess/v20201111/ess_client.ts +31 -6
- package/src/services/ess/v20201111/ess_models.ts +167 -90
- package/src/services/gme/v20180711/gme_models.ts +7 -7
- package/src/services/mariadb/v20170312/mariadb_models.ts +11 -3
- package/src/services/rce/v20201103/rce_client.ts +2 -2
- package/src/services/sms/v20190711/sms_models.ts +2 -2
- package/src/services/sms/v20210111/sms_models.ts +2 -2
- package/src/services/teo/v20220901/teo_models.ts +6 -4
- package/src/services/trocket/v20230308/trocket_models.ts +4 -0
- package/src/services/trtc/v20190722/trtc_models.ts +5 -0
- package/src/services/tse/v20201207/tse_models.ts +8 -8
- package/src/services/vclm/v20240523/vclm_client.ts +54 -2
- package/src/services/vclm/v20240523/vclm_models.ts +18 -5
- package/src/services/vpc/v20170312/vpc_client.ts +2 -2
- package/src/services/vtc/v20240223/vtc_client.ts +54 -2
- package/src/services/vtc/v20240223/vtc_models.ts +19 -5
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -7
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +0 -8
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +59 -72
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +5 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +6 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +53 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1 -1
- package/tencentcloud/services/dc/v20180410/dc_client.d.ts +4 -5
- package/tencentcloud/services/dc/v20180410/dc_client.js +4 -5
- package/tencentcloud/services/dc/v20180410/dc_models.d.ts +6 -7
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +10 -2
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +9 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +12 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +67 -23
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +32 -12
- package/tencentcloud/services/emr/v20190103/emr_client.js +44 -14
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +876 -389
- package/tencentcloud/services/es/v20180416/es_client.d.ts +1 -1
- package/tencentcloud/services/es/v20180416/es_models.d.ts +51 -4
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +20 -4
- package/tencentcloud/services/ess/v20201111/ess_client.js +21 -3
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +164 -90
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +7 -7
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +11 -3
- package/tencentcloud/services/rce/v20201103/rce_client.d.ts +2 -2
- package/tencentcloud/services/rce/v20201103/rce_client.js +2 -2
- package/tencentcloud/services/sms/v20190711/sms_models.d.ts +2 -2
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +2 -2
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +6 -4
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +4 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +5 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +8 -8
- package/tencentcloud/services/vclm/v20240523/vclm_client.d.ts +53 -1
- package/tencentcloud/services/vclm/v20240523/vclm_client.js +53 -1
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +18 -5
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +2 -2
- package/tencentcloud/services/vtc/v20240223/vtc_client.d.ts +53 -1
- package/tencentcloud/services/vtc/v20240223/vtc_client.js +53 -1
- package/tencentcloud/services/vtc/v20240223/vtc_models.d.ts +19 -5
- package/test/cfw.v20190904.test.js +0 -10
- package/test/cvm.v20170312.test.js +10 -0
- package/test/dlc.v20210125.test.js +20 -0
- package/test/emr.v20190103.test.js +56 -6
- package/test/ess.v20201111.test.js +10 -0
|
@@ -95,6 +95,21 @@ POSTPAID_BY_HOUR 按量计费,默认方式。
|
|
|
95
95
|
RemoteTcpDefaultPort?: boolean
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
+
/**
|
|
99
|
+
* 用于创建集群价格清单 不同可用区下价格详情
|
|
100
|
+
*/
|
|
101
|
+
export interface ZoneDetailPriceResult {
|
|
102
|
+
/**
|
|
103
|
+
* 可用区Id
|
|
104
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
105
|
+
*/
|
|
106
|
+
ZoneId: string
|
|
107
|
+
/**
|
|
108
|
+
* 不同节点的价格详情
|
|
109
|
+
*/
|
|
110
|
+
NodeDetailPrice: Array<NodeDetailPriceResult>
|
|
111
|
+
}
|
|
112
|
+
|
|
98
113
|
/**
|
|
99
114
|
* Pod相关信息
|
|
100
115
|
*/
|
|
@@ -282,6 +297,28 @@ export interface SchedulerTaskInfo {
|
|
|
282
297
|
Details: Array<SchedulerTaskDetail>
|
|
283
298
|
}
|
|
284
299
|
|
|
300
|
+
/**
|
|
301
|
+
* POD浮动规格
|
|
302
|
+
*/
|
|
303
|
+
export interface DynamicPodSpec {
|
|
304
|
+
/**
|
|
305
|
+
* 需求最小cpu核数
|
|
306
|
+
*/
|
|
307
|
+
RequestCpu?: number
|
|
308
|
+
/**
|
|
309
|
+
* 需求最大cpu核数
|
|
310
|
+
*/
|
|
311
|
+
LimitCpu?: number
|
|
312
|
+
/**
|
|
313
|
+
* 需求最小memory,单位MB
|
|
314
|
+
*/
|
|
315
|
+
RequestMemory?: number
|
|
316
|
+
/**
|
|
317
|
+
* 需求最大memory,单位MB
|
|
318
|
+
*/
|
|
319
|
+
LimitMemory?: number
|
|
320
|
+
}
|
|
321
|
+
|
|
285
322
|
/**
|
|
286
323
|
* ModifyUserManagerPwd返回参数结构体
|
|
287
324
|
*/
|
|
@@ -434,24 +471,41 @@ export interface ImpalaQuery {
|
|
|
434
471
|
}
|
|
435
472
|
|
|
436
473
|
/**
|
|
437
|
-
*
|
|
474
|
+
* DescribeHiveQueries请求参数结构体
|
|
438
475
|
*/
|
|
439
|
-
export interface
|
|
476
|
+
export interface DescribeHiveQueriesRequest {
|
|
440
477
|
/**
|
|
441
|
-
*
|
|
442
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
478
|
+
* 集群ID
|
|
443
479
|
*/
|
|
444
|
-
|
|
480
|
+
InstanceId: string
|
|
445
481
|
/**
|
|
446
|
-
*
|
|
447
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
482
|
+
* 起始时间秒
|
|
448
483
|
*/
|
|
449
|
-
|
|
484
|
+
StartTime: number
|
|
450
485
|
/**
|
|
451
|
-
*
|
|
452
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
486
|
+
* 结束时间秒,EndTime-StartTime不得超过1天秒数86400
|
|
453
487
|
*/
|
|
454
|
-
|
|
488
|
+
EndTime: number
|
|
489
|
+
/**
|
|
490
|
+
* 分页起始偏移,从0开始
|
|
491
|
+
*/
|
|
492
|
+
Offset: number
|
|
493
|
+
/**
|
|
494
|
+
* 分页大小,合法范围[1,100]
|
|
495
|
+
*/
|
|
496
|
+
Limit: number
|
|
497
|
+
/**
|
|
498
|
+
* 执行状态,ERROR等
|
|
499
|
+
*/
|
|
500
|
+
State?: Array<string>
|
|
501
|
+
/**
|
|
502
|
+
* 结束时间大于的时间点
|
|
503
|
+
*/
|
|
504
|
+
EndTimeGte?: number
|
|
505
|
+
/**
|
|
506
|
+
* 结束时间小于时间点
|
|
507
|
+
*/
|
|
508
|
+
EndTimeLte?: number
|
|
455
509
|
}
|
|
456
510
|
|
|
457
511
|
/**
|
|
@@ -711,6 +765,64 @@ export interface Step {
|
|
|
711
765
|
User?: string
|
|
712
766
|
}
|
|
713
767
|
|
|
768
|
+
/**
|
|
769
|
+
* 预执行脚本配置
|
|
770
|
+
*/
|
|
771
|
+
export interface PreExecuteFileSettings {
|
|
772
|
+
/**
|
|
773
|
+
* 脚本在COS上路径,已废弃
|
|
774
|
+
*/
|
|
775
|
+
Path?: string
|
|
776
|
+
/**
|
|
777
|
+
* 执行脚本参数
|
|
778
|
+
*/
|
|
779
|
+
Args?: Array<string>
|
|
780
|
+
/**
|
|
781
|
+
* COS的Bucket名称,已废弃
|
|
782
|
+
*/
|
|
783
|
+
Bucket?: string
|
|
784
|
+
/**
|
|
785
|
+
* COS的Region名称,已废弃
|
|
786
|
+
*/
|
|
787
|
+
Region?: string
|
|
788
|
+
/**
|
|
789
|
+
* COS的Domain数据,已废弃
|
|
790
|
+
*/
|
|
791
|
+
Domain?: string
|
|
792
|
+
/**
|
|
793
|
+
* 执行顺序
|
|
794
|
+
*/
|
|
795
|
+
RunOrder?: number
|
|
796
|
+
/**
|
|
797
|
+
* resourceAfter 或 clusterAfter
|
|
798
|
+
*/
|
|
799
|
+
WhenRun?: string
|
|
800
|
+
/**
|
|
801
|
+
* 脚本文件名,已废弃
|
|
802
|
+
*/
|
|
803
|
+
CosFileName?: string
|
|
804
|
+
/**
|
|
805
|
+
* 脚本的cos地址
|
|
806
|
+
*/
|
|
807
|
+
CosFileURI?: string
|
|
808
|
+
/**
|
|
809
|
+
* cos的SecretId
|
|
810
|
+
*/
|
|
811
|
+
CosSecretId?: string
|
|
812
|
+
/**
|
|
813
|
+
* Cos的SecretKey
|
|
814
|
+
*/
|
|
815
|
+
CosSecretKey?: string
|
|
816
|
+
/**
|
|
817
|
+
* cos的appid,已废弃
|
|
818
|
+
*/
|
|
819
|
+
AppId?: string
|
|
820
|
+
/**
|
|
821
|
+
* 备注
|
|
822
|
+
*/
|
|
823
|
+
Remark?: string
|
|
824
|
+
}
|
|
825
|
+
|
|
714
826
|
/**
|
|
715
827
|
* 键值对,主要用来做Filter
|
|
716
828
|
*/
|
|
@@ -1018,25 +1130,13 @@ export interface UserManagerFilter {
|
|
|
1018
1130
|
}
|
|
1019
1131
|
|
|
1020
1132
|
/**
|
|
1021
|
-
*
|
|
1133
|
+
* DeleteAutoScaleStrategy返回参数结构体
|
|
1022
1134
|
*/
|
|
1023
|
-
export interface
|
|
1024
|
-
/**
|
|
1025
|
-
* 需求最小cpu核数
|
|
1026
|
-
*/
|
|
1027
|
-
RequestCpu?: number
|
|
1028
|
-
/**
|
|
1029
|
-
* 需求最大cpu核数
|
|
1030
|
-
*/
|
|
1031
|
-
LimitCpu?: number
|
|
1032
|
-
/**
|
|
1033
|
-
* 需求最小memory,单位MB
|
|
1034
|
-
*/
|
|
1035
|
-
RequestMemory?: number
|
|
1135
|
+
export interface DeleteAutoScaleStrategyResponse {
|
|
1036
1136
|
/**
|
|
1037
|
-
*
|
|
1137
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1038
1138
|
*/
|
|
1039
|
-
|
|
1139
|
+
RequestId?: string
|
|
1040
1140
|
}
|
|
1041
1141
|
|
|
1042
1142
|
/**
|
|
@@ -1613,18 +1713,21 @@ export interface ScaleOutInstanceRequest {
|
|
|
1613
1713
|
}
|
|
1614
1714
|
|
|
1615
1715
|
/**
|
|
1616
|
-
*
|
|
1716
|
+
* ResetYarnConfig请求参数结构体
|
|
1617
1717
|
*/
|
|
1618
|
-
export interface
|
|
1718
|
+
export interface ResetYarnConfigRequest {
|
|
1619
1719
|
/**
|
|
1620
|
-
*
|
|
1621
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1720
|
+
* emr集群的英文id
|
|
1622
1721
|
*/
|
|
1623
|
-
|
|
1722
|
+
InstanceId: string
|
|
1624
1723
|
/**
|
|
1625
|
-
*
|
|
1724
|
+
* 要重置的配置别名,可选值:
|
|
1725
|
+
|
|
1726
|
+
- capacityLabel:重置标签管理的配置
|
|
1727
|
+
- fair:重置公平调度的配置
|
|
1728
|
+
- capacity:重置容量调度的配置
|
|
1626
1729
|
*/
|
|
1627
|
-
|
|
1730
|
+
Key?: string
|
|
1628
1731
|
}
|
|
1629
1732
|
|
|
1630
1733
|
/**
|
|
@@ -1747,17 +1850,17 @@ export interface ModifyResourceScheduleConfigResponse {
|
|
|
1747
1850
|
/**
|
|
1748
1851
|
* true为草稿,表示还没有刷新资源池
|
|
1749
1852
|
*/
|
|
1750
|
-
IsDraft
|
|
1853
|
+
IsDraft?: boolean
|
|
1751
1854
|
/**
|
|
1752
1855
|
* 校验错误信息,如果不为空,则说明校验失败,配置没有成功
|
|
1753
1856
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1754
1857
|
*/
|
|
1755
|
-
ErrorMsg
|
|
1858
|
+
ErrorMsg?: string
|
|
1756
1859
|
/**
|
|
1757
1860
|
* 返回数据
|
|
1758
1861
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1759
1862
|
*/
|
|
1760
|
-
Data
|
|
1863
|
+
Data?: string
|
|
1761
1864
|
/**
|
|
1762
1865
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1763
1866
|
*/
|
|
@@ -1922,19 +2025,27 @@ export interface Arg {
|
|
|
1922
2025
|
}
|
|
1923
2026
|
|
|
1924
2027
|
/**
|
|
1925
|
-
*
|
|
2028
|
+
* 动态生成的变更详情
|
|
1926
2029
|
*/
|
|
1927
|
-
export interface
|
|
2030
|
+
export interface DiffDetail {
|
|
1928
2031
|
/**
|
|
1929
|
-
*
|
|
2032
|
+
* tab页的头
|
|
2033
|
+
*/
|
|
2034
|
+
Name?: string
|
|
2035
|
+
/**
|
|
2036
|
+
* 变化项的个数
|
|
2037
|
+
*/
|
|
2038
|
+
Count?: number
|
|
2039
|
+
/**
|
|
2040
|
+
* 要渲染的明细数据
|
|
1930
2041
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1931
2042
|
*/
|
|
1932
|
-
|
|
2043
|
+
Rows?: Array<DiffDetailItem>
|
|
1933
2044
|
/**
|
|
1934
|
-
*
|
|
2045
|
+
* 要渲染的头部信息
|
|
1935
2046
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1936
2047
|
*/
|
|
1937
|
-
|
|
2048
|
+
Header?: Array<DiffHeader>
|
|
1938
2049
|
}
|
|
1939
2050
|
|
|
1940
2051
|
/**
|
|
@@ -2207,6 +2318,131 @@ export interface AddUsersForUserManagerResponse {
|
|
|
2207
2318
|
RequestId?: string
|
|
2208
2319
|
}
|
|
2209
2320
|
|
|
2321
|
+
/**
|
|
2322
|
+
* DescribeResourceScheduleDiffDetail返回参数结构体
|
|
2323
|
+
*/
|
|
2324
|
+
export interface DescribeResourceScheduleDiffDetailResponse {
|
|
2325
|
+
/**
|
|
2326
|
+
* 变化项的明细
|
|
2327
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2328
|
+
*/
|
|
2329
|
+
Details?: Array<DiffDetail>
|
|
2330
|
+
/**
|
|
2331
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2332
|
+
*/
|
|
2333
|
+
RequestId?: string
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
/**
|
|
2337
|
+
* DescribeYarnQueue返回参数结构体
|
|
2338
|
+
*/
|
|
2339
|
+
export interface DescribeYarnQueueResponse {
|
|
2340
|
+
/**
|
|
2341
|
+
* 队列信息。是一个对象转成的json字符串,对应的golang结构体如下所示,比如`QueueWithConfigSetForFairScheduler`的第一个字段`Name`:
|
|
2342
|
+
|
|
2343
|
+
```
|
|
2344
|
+
Name string `json:"name"` //队列名称
|
|
2345
|
+
```
|
|
2346
|
+
- `Name`:字段名
|
|
2347
|
+
- `string`:字段类型
|
|
2348
|
+
- `json:"name"`:表示在序列化和反序列化`json`时,对应的`json key`,下面以`json key`来指代
|
|
2349
|
+
- `//`:后面的注释内容对应页面上看到的名称
|
|
2350
|
+
|
|
2351
|
+
字段类型以`*`开头的表示取值可能为json规范下的null,不同的语言需要使用能表达null的类型来接收,比如java的包装类型;字段类型以`[]`开头的表示是数组类型;`json key`在调用`ModifyYarnQueueV2 `接口也会使用。
|
|
2352
|
+
|
|
2353
|
+
- 公平调度器
|
|
2354
|
+
|
|
2355
|
+
```
|
|
2356
|
+
type QueueWithConfigSetForFairScheduler struct {
|
|
2357
|
+
Name string `json:"name"` //队列名称
|
|
2358
|
+
MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用
|
|
2359
|
+
ParentId string `json:"parentId"` // 父队列Id
|
|
2360
|
+
Type *string `json:"type"` // 队列归属。parent或空,当确定某个队列是父队列,且没有子队列时,才可以设置,通常用来支持放置策略nestedUserQueue
|
|
2361
|
+
AclSubmitApps *AclForYarnQueue `json:"aclSubmitApps"` // 提交访问控制
|
|
2362
|
+
AclAdministerApps *AclForYarnQueue `json:"aclAdministerApps"` // 管理访问控制
|
|
2363
|
+
MinSharePreemptionTimeout *int `json:"minSharePreemptionTimeout"` // 最小共享优先权超时时间
|
|
2364
|
+
FairSharePreemptionTimeout *int `json:"fairSharePreemptionTimeout"` // 公平份额抢占超时时间
|
|
2365
|
+
FairSharePreemptionThreshold *float32 `json:"fairSharePreemptionThreshold"` // 公平份额抢占阈值。取值 (0,1]
|
|
2366
|
+
AllowPreemptionFrom *bool `json:"allowPreemptionFrom"` // 抢占模式
|
|
2367
|
+
SchedulingPolicy *string `json:"schedulingPolicy"` // 调度策略,取值有drf、fair、fifo
|
|
2368
|
+
IsDefault *bool `json:"isDefault"` // 是否是root.default队列
|
|
2369
|
+
IsRoot *bool `json:"isRoot"` // 是否是root队列
|
|
2370
|
+
ConfigSets []ConfigSetForFairScheduler `json:"configSets"` // 配置集设置
|
|
2371
|
+
Children []QueueWithConfigSetForFairScheduler `json:"queues"` // 子队列信息。递归
|
|
2372
|
+
}
|
|
2373
|
+
|
|
2374
|
+
type AclForYarnQueue struct {
|
|
2375
|
+
User *string `json:"user"` //用户名
|
|
2376
|
+
Group *string `json:"group"`//组名
|
|
2377
|
+
}
|
|
2378
|
+
|
|
2379
|
+
type ConfigSetForFairScheduler struct {
|
|
2380
|
+
Name string `json:"name"` // 配置集名称
|
|
2381
|
+
MinResources *YarnResource `json:"minResources"` // 最小资源量
|
|
2382
|
+
MaxResources *YarnResource `json:"maxResources"` // 最大资源量
|
|
2383
|
+
MaxChildResources *YarnResource `json:"maxChildResources"` // 能够分配给为未声明子队列的最大资源量
|
|
2384
|
+
MaxRunningApps *int `json:"maxRunningApps"` // 最高可同时处于运行的App数量
|
|
2385
|
+
Weight *float32 `json:"weight"` // 权重
|
|
2386
|
+
MaxAMShare *float32 `json:"maxAMShare"` // App Master最大份额
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
type YarnResource struct {
|
|
2390
|
+
Vcores *int `json:"vcores"`
|
|
2391
|
+
Memory *int `json:"memory"`
|
|
2392
|
+
Type *string `json:"type"` // 当值为`percent`时,表示使用的百分比,否则就是使用的绝对数值
|
|
2393
|
+
}
|
|
2394
|
+
```
|
|
2395
|
+
|
|
2396
|
+
- 容量调度器
|
|
2397
|
+
|
|
2398
|
+
```
|
|
2399
|
+
type QueueForCapacitySchedulerV3 struct {
|
|
2400
|
+
Name string `json:"name"` // 队列名称
|
|
2401
|
+
MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用
|
|
2402
|
+
ParentId string `json:"parentId"` // 父队列Id
|
|
2403
|
+
Configs []ConfigForCapacityV3 `json:"configs"` //配置集设置
|
|
2404
|
+
State *string `json:"state"` // 资源池状态
|
|
2405
|
+
DefaultNodeLabelExpression *string `json:"default-node-label-expression"` // 默认标签表达式
|
|
2406
|
+
AclSubmitApps *AclForYarnQueue `json:"acl_submit_applications"` // 提交访问控制
|
|
2407
|
+
AclAdminQueue *AclForYarnQueue `json:"acl_administer_queue"` //管理访问控制
|
|
2408
|
+
MaxAllocationMB *int32 `json:"maximum-allocation-mb"` // 分配Container最大内存数量
|
|
2409
|
+
MaxAllocationVcores *int32 `json:"maximum-allocation-vcores"` // Container最大vCore数量
|
|
2410
|
+
IsDefault *bool `json:"isDefault"`// 是否是root.default队列
|
|
2411
|
+
IsRoot *bool `json:"isRoot"` // 是否是root队列
|
|
2412
|
+
Queues []*QueueForCapacitySchedulerV3 `json:"queues"`//子队列信息。递归
|
|
2413
|
+
}
|
|
2414
|
+
type ConfigForCapacityV3 struct {
|
|
2415
|
+
Name string `json:"configName"` // 配置集名称
|
|
2416
|
+
Labels []CapacityLabel `json:"labels"` // 标签信息
|
|
2417
|
+
MinUserLimitPercent *int32 `json:"minimum-user-limit-percent"` // 用户最小容量
|
|
2418
|
+
UserLimitFactor *float32 `json:"user-limit-factor" valid:"rangeExcludeLeft(0|)"` // 用户资源因子
|
|
2419
|
+
MaxApps *int32 `json:"maximum-applications" valid:"rangeExcludeLeft(0|)"` // 最大应用数Max-Applications
|
|
2420
|
+
MaxAmPercent *float32 `json:"maximum-am-resource-percent"` // 最大AM比例
|
|
2421
|
+
DefaultApplicationPriority *int32 `json:"default-application-priority"` // 资源池优先级
|
|
2422
|
+
}
|
|
2423
|
+
type CapacityLabel struct {
|
|
2424
|
+
Name string `json:"labelName"`
|
|
2425
|
+
Capacity *float32 `json:"capacity"` // 容量
|
|
2426
|
+
MaxCapacity *float32 `json:"maximum-capacity"` //最大容量
|
|
2427
|
+
}
|
|
2428
|
+
|
|
2429
|
+
type AclForYarnQueue struct {
|
|
2430
|
+
User *string `json:"user"` //用户名
|
|
2431
|
+
Group *string `json:"group"`//组名
|
|
2432
|
+
}
|
|
2433
|
+
```
|
|
2434
|
+
*/
|
|
2435
|
+
Queue?: string
|
|
2436
|
+
/**
|
|
2437
|
+
* 版本
|
|
2438
|
+
*/
|
|
2439
|
+
Version?: string
|
|
2440
|
+
/**
|
|
2441
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2442
|
+
*/
|
|
2443
|
+
RequestId?: string
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2210
2446
|
/**
|
|
2211
2447
|
* 集群节点拓扑信息
|
|
2212
2448
|
*/
|
|
@@ -2428,41 +2664,35 @@ export interface VPCSettings {
|
|
|
2428
2664
|
}
|
|
2429
2665
|
|
|
2430
2666
|
/**
|
|
2431
|
-
*
|
|
2667
|
+
* 动态生成的变更详情
|
|
2432
2668
|
*/
|
|
2433
|
-
export interface
|
|
2434
|
-
/**
|
|
2435
|
-
* 集群ID
|
|
2436
|
-
*/
|
|
2437
|
-
InstanceId: string
|
|
2438
|
-
/**
|
|
2439
|
-
* 起始时间秒
|
|
2440
|
-
*/
|
|
2441
|
-
StartTime: number
|
|
2442
|
-
/**
|
|
2443
|
-
* 结束时间秒,EndTime-StartTime不得超过1天秒数86400
|
|
2444
|
-
*/
|
|
2445
|
-
EndTime: number
|
|
2669
|
+
export interface DiffHeader {
|
|
2446
2670
|
/**
|
|
2447
|
-
*
|
|
2671
|
+
* 名称
|
|
2448
2672
|
*/
|
|
2449
|
-
|
|
2673
|
+
Name?: string
|
|
2450
2674
|
/**
|
|
2451
|
-
*
|
|
2675
|
+
* ID,前端会使用
|
|
2452
2676
|
*/
|
|
2453
|
-
|
|
2677
|
+
Id?: string
|
|
2678
|
+
}
|
|
2679
|
+
|
|
2680
|
+
/**
|
|
2681
|
+
* DescribeInstancesList返回参数结构体
|
|
2682
|
+
*/
|
|
2683
|
+
export interface DescribeInstancesListResponse {
|
|
2454
2684
|
/**
|
|
2455
|
-
*
|
|
2685
|
+
* 符合条件的实例总数。
|
|
2456
2686
|
*/
|
|
2457
|
-
|
|
2687
|
+
TotalCnt?: number
|
|
2458
2688
|
/**
|
|
2459
|
-
*
|
|
2689
|
+
* 集群实例列表
|
|
2460
2690
|
*/
|
|
2461
|
-
|
|
2691
|
+
InstancesList?: Array<EmrListInstance>
|
|
2462
2692
|
/**
|
|
2463
|
-
*
|
|
2693
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2464
2694
|
*/
|
|
2465
|
-
|
|
2695
|
+
RequestId?: string
|
|
2466
2696
|
}
|
|
2467
2697
|
|
|
2468
2698
|
/**
|
|
@@ -3522,46 +3752,68 @@ export interface DescribeUsersForUserManagerRequest {
|
|
|
3522
3752
|
}
|
|
3523
3753
|
|
|
3524
3754
|
/**
|
|
3525
|
-
*
|
|
3755
|
+
* 资源调度-配置集信息
|
|
3526
3756
|
*/
|
|
3527
|
-
export interface
|
|
3757
|
+
export interface ConfigSetInfo {
|
|
3528
3758
|
/**
|
|
3529
|
-
*
|
|
3759
|
+
* 配置集名称
|
|
3760
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3530
3761
|
*/
|
|
3531
|
-
|
|
3762
|
+
ConfigSet: string
|
|
3532
3763
|
/**
|
|
3533
|
-
*
|
|
3534
|
-
|
|
3764
|
+
* 容量调度器会使用,里面设置了标签相关的配置。key的取值与**DescribeYarnQueue**返回的字段一致。
|
|
3765
|
+
key的取值信息如下:
|
|
3766
|
+
- labelName,标签名称,标签管理里的标签。
|
|
3767
|
+
- capacity,容量,取值为**数字字符串**
|
|
3768
|
+
- maximum-capacity,最大容量,取值为**数字字符串**
|
|
3769
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3535
3770
|
*/
|
|
3536
|
-
|
|
3771
|
+
LabelParams?: Array<ItemSeq>
|
|
3537
3772
|
/**
|
|
3538
|
-
*
|
|
3773
|
+
* 设置配置集相关的参数。key的取值与**DescribeYarnQueue**返回的字段一致。
|
|
3774
|
+
###### 公平调度器
|
|
3775
|
+
key的取值信息如下:
|
|
3776
|
+
- minResources,最大资源量,取值为**YarnResource类型的json串**或**null**
|
|
3777
|
+
- maxResources,最大资源量,取值为**YarnResource类型的json串**或**null**
|
|
3778
|
+
- maxChildResources,能够分配给为未声明子队列的最大资源量,取值为**数字字符串**或**null**
|
|
3779
|
+
- maxRunningApps,最高可同时处于运行的App数量,取值为**数字字符串**或**null**
|
|
3780
|
+
- weight,权重,取值为**数字字符串**或**null**
|
|
3781
|
+
- maxAMShare,App Master最大份额,取值为**数字字符串**或**null**,其中数字的范围是[0,1]或-1
|
|
3782
|
+
|
|
3783
|
+
```
|
|
3784
|
+
type YarnResource struct {
|
|
3785
|
+
Vcores *int `json:"vcores"`
|
|
3786
|
+
Memory *int `json:"memory"`
|
|
3787
|
+
Type *string `json:"type"` // 取值为`percent`或`null`当值为`percent`时,表示使用的百分比,否则就是使用的绝对数值。只有maxResources、maxChildResources才可以取值为`percent`
|
|
3788
|
+
}
|
|
3789
|
+
```
|
|
3790
|
+
|
|
3791
|
+
###### 容量调度器
|
|
3792
|
+
key的取值信息如下:
|
|
3793
|
+
- minimum-user-limit-percent,用户最小容量,取值为**YarnResource类型的json串**或**null**,其中数字的范围是[0,100]
|
|
3794
|
+
- user-limit-factor,用户资源因子,取值为**YarnResource类型的json串**或**null**
|
|
3795
|
+
- maximum-applications,最大应用数Max-Applications,取值为**数字字符串**或**null**,其中数字为正整数
|
|
3796
|
+
- maximum-am-resource-percent,最大AM比例,取值为**数字字符串**或**null**,其中数字的范围是[0,1]或-1
|
|
3797
|
+
- default-application-priority,资源池优先级,取值为**数字字符串**或**null**,其中数字为正整数
|
|
3798
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3539
3799
|
*/
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
*/
|
|
3548
|
-
CpuNum?: number
|
|
3549
|
-
/**
|
|
3550
|
-
* 硬盘大小
|
|
3551
|
-
*/
|
|
3552
|
-
DiskSize?: string
|
|
3553
|
-
/**
|
|
3554
|
-
* 过期时间
|
|
3555
|
-
*/
|
|
3556
|
-
ExpireTime?: string
|
|
3800
|
+
BasicParams?: Array<Item>
|
|
3801
|
+
}
|
|
3802
|
+
|
|
3803
|
+
/**
|
|
3804
|
+
* 集群id与流程id的mapping
|
|
3805
|
+
*/
|
|
3806
|
+
export interface ClusterIDToFlowID {
|
|
3557
3807
|
/**
|
|
3558
|
-
*
|
|
3808
|
+
* 集群id
|
|
3809
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3559
3810
|
*/
|
|
3560
|
-
|
|
3811
|
+
ClusterId?: string
|
|
3561
3812
|
/**
|
|
3562
|
-
*
|
|
3813
|
+
* 流程id
|
|
3814
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3563
3815
|
*/
|
|
3564
|
-
|
|
3816
|
+
FlowId?: number
|
|
3565
3817
|
}
|
|
3566
3818
|
|
|
3567
3819
|
/**
|
|
@@ -3667,149 +3919,34 @@ export interface RunJobFlowResponse {
|
|
|
3667
3919
|
}
|
|
3668
3920
|
|
|
3669
3921
|
/**
|
|
3670
|
-
*
|
|
3922
|
+
* DescribeYarnQueue请求参数结构体
|
|
3671
3923
|
*/
|
|
3672
|
-
export interface
|
|
3924
|
+
export interface DescribeYarnQueueRequest {
|
|
3673
3925
|
/**
|
|
3674
|
-
*
|
|
3926
|
+
* 集群Id
|
|
3675
3927
|
*/
|
|
3676
3928
|
InstanceId: string
|
|
3677
3929
|
/**
|
|
3678
|
-
*
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
"clusters": [
|
|
3683
|
-
{
|
|
3684
|
-
"cluster": {
|
|
3685
|
-
"certificate-authority-data": "xxxxxx==",
|
|
3686
|
-
"server": "https://xxxxx.com"
|
|
3687
|
-
},
|
|
3688
|
-
"name": "cls-xxxxx"
|
|
3689
|
-
}
|
|
3690
|
-
],
|
|
3691
|
-
"contexts": [
|
|
3692
|
-
{
|
|
3693
|
-
"context": {
|
|
3694
|
-
"cluster": "cls-xxxxx",
|
|
3695
|
-
"user": "100014xxxxx"
|
|
3696
|
-
},
|
|
3697
|
-
"name": "cls-a44yhcxxxxxxxxxx"
|
|
3698
|
-
}
|
|
3699
|
-
],
|
|
3700
|
-
"current-context": "cls-a4xxxx-context-default",
|
|
3701
|
-
"kind": "Config",
|
|
3702
|
-
"preferences": {},
|
|
3703
|
-
"users": [
|
|
3704
|
-
{
|
|
3705
|
-
"name": "100014xxxxx",
|
|
3706
|
-
"user": {
|
|
3707
|
-
"client-certificate-data": "xxxxxx",
|
|
3708
|
-
"client-key-data": "xxxxxx"
|
|
3709
|
-
}
|
|
3710
|
-
}
|
|
3711
|
-
]
|
|
3712
|
-
}
|
|
3713
|
-
*/
|
|
3714
|
-
Config: string
|
|
3715
|
-
/**
|
|
3716
|
-
* 自定义参数
|
|
3717
|
-
如:
|
|
3718
|
-
{
|
|
3719
|
-
"apiVersion": "apps/v1",
|
|
3720
|
-
"kind": "Deployment",
|
|
3721
|
-
"metadata": {
|
|
3722
|
-
"name": "test-deployment",
|
|
3723
|
-
"labels": {
|
|
3724
|
-
"app": "test"
|
|
3725
|
-
}
|
|
3726
|
-
},
|
|
3727
|
-
"spec": {
|
|
3728
|
-
"replicas": 3,
|
|
3729
|
-
"selector": {
|
|
3730
|
-
"matchLabels": {
|
|
3731
|
-
"app": "test-app"
|
|
3732
|
-
}
|
|
3733
|
-
},
|
|
3734
|
-
"template": {
|
|
3735
|
-
"metadata": {
|
|
3736
|
-
"annotations": {
|
|
3737
|
-
"your-organization.com/department-v1": "test-example-v1",
|
|
3738
|
-
"your-organization.com/department-v2": "test-example-v2"
|
|
3739
|
-
},
|
|
3740
|
-
"labels": {
|
|
3741
|
-
"app": "test-app",
|
|
3742
|
-
"environment": "production"
|
|
3743
|
-
}
|
|
3744
|
-
},
|
|
3745
|
-
"spec": {
|
|
3746
|
-
"nodeSelector": {
|
|
3747
|
-
"your-organization/node-test": "test-node"
|
|
3748
|
-
},
|
|
3749
|
-
"containers": [
|
|
3750
|
-
{
|
|
3751
|
-
"name": "nginx",
|
|
3752
|
-
"image": "nginx:1.14.2",
|
|
3753
|
-
"ports": [
|
|
3754
|
-
{
|
|
3755
|
-
"containerPort": 80
|
|
3756
|
-
}
|
|
3757
|
-
]
|
|
3758
|
-
}
|
|
3759
|
-
],
|
|
3760
|
-
"affinity": {
|
|
3761
|
-
"nodeAffinity": {
|
|
3762
|
-
"requiredDuringSchedulingIgnoredDuringExecution": {
|
|
3763
|
-
"nodeSelectorTerms": [
|
|
3764
|
-
{
|
|
3765
|
-
"matchExpressions": [
|
|
3766
|
-
{
|
|
3767
|
-
"key": "disk-type",
|
|
3768
|
-
"operator": "In",
|
|
3769
|
-
"values": [
|
|
3770
|
-
"ssd",
|
|
3771
|
-
"sas"
|
|
3772
|
-
]
|
|
3773
|
-
},
|
|
3774
|
-
{
|
|
3775
|
-
"key": "cpu-num",
|
|
3776
|
-
"operator": "Gt",
|
|
3777
|
-
"values": [
|
|
3778
|
-
"6"
|
|
3779
|
-
]
|
|
3780
|
-
}
|
|
3781
|
-
]
|
|
3782
|
-
}
|
|
3783
|
-
]
|
|
3784
|
-
}
|
|
3785
|
-
}
|
|
3786
|
-
}
|
|
3787
|
-
}
|
|
3788
|
-
}
|
|
3789
|
-
}
|
|
3790
|
-
}
|
|
3930
|
+
* 调度器,可选值:
|
|
3931
|
+
|
|
3932
|
+
1. capacity
|
|
3933
|
+
2. fair
|
|
3791
3934
|
*/
|
|
3792
|
-
|
|
3935
|
+
Scheduler: string
|
|
3793
3936
|
}
|
|
3794
3937
|
|
|
3795
3938
|
/**
|
|
3796
|
-
*
|
|
3939
|
+
* DescribeImpalaQueries返回参数结构体
|
|
3797
3940
|
*/
|
|
3798
|
-
export interface
|
|
3799
|
-
/**
|
|
3800
|
-
* 查询到的节点总数
|
|
3801
|
-
*/
|
|
3802
|
-
TotalCnt: number
|
|
3941
|
+
export interface DescribeImpalaQueriesResponse {
|
|
3803
3942
|
/**
|
|
3804
|
-
*
|
|
3805
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3943
|
+
* 总数
|
|
3806
3944
|
*/
|
|
3807
|
-
|
|
3945
|
+
Total?: number
|
|
3808
3946
|
/**
|
|
3809
|
-
*
|
|
3810
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3947
|
+
* 结果列表
|
|
3811
3948
|
*/
|
|
3812
|
-
|
|
3949
|
+
Results?: Array<ImpalaQuery>
|
|
3813
3950
|
/**
|
|
3814
3951
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3815
3952
|
*/
|
|
@@ -3871,6 +4008,38 @@ export interface ScaleOutServiceConfGroupsInfo {
|
|
|
3871
4008
|
ConfGroupName?: string
|
|
3872
4009
|
}
|
|
3873
4010
|
|
|
4011
|
+
/**
|
|
4012
|
+
* 用户管理中用户的简要信息
|
|
4013
|
+
*/
|
|
4014
|
+
export interface UserManagerUserBriefInfo {
|
|
4015
|
+
/**
|
|
4016
|
+
* 用户名
|
|
4017
|
+
*/
|
|
4018
|
+
UserName: string
|
|
4019
|
+
/**
|
|
4020
|
+
* 用户所属的组
|
|
4021
|
+
*/
|
|
4022
|
+
UserGroup: string
|
|
4023
|
+
/**
|
|
4024
|
+
* Manager表示管理员、NormalUser表示普通用户
|
|
4025
|
+
*/
|
|
4026
|
+
UserType: string
|
|
4027
|
+
/**
|
|
4028
|
+
* 用户创建时间
|
|
4029
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4030
|
+
*/
|
|
4031
|
+
CreateTime: string
|
|
4032
|
+
/**
|
|
4033
|
+
* 是否可以下载用户对应的keytab文件,对开启kerberos的集群才有意义
|
|
4034
|
+
*/
|
|
4035
|
+
SupportDownLoadKeyTab: boolean
|
|
4036
|
+
/**
|
|
4037
|
+
* keytab文件的下载地址
|
|
4038
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4039
|
+
*/
|
|
4040
|
+
DownLoadKeyTabUrl: string
|
|
4041
|
+
}
|
|
4042
|
+
|
|
3874
4043
|
/**
|
|
3875
4044
|
* DescribeYarnScheduleHistory返回参数结构体
|
|
3876
4045
|
*/
|
|
@@ -4164,6 +4333,27 @@ export interface DeleteUserManagerUserListRequest {
|
|
|
4164
4333
|
UserGroupList?: Array<UserAndGroup>
|
|
4165
4334
|
}
|
|
4166
4335
|
|
|
4336
|
+
/**
|
|
4337
|
+
* Pod的存储设备描述信息。
|
|
4338
|
+
*/
|
|
4339
|
+
export interface PodVolume {
|
|
4340
|
+
/**
|
|
4341
|
+
* 存储类型,可为"pvc","hostpath"。
|
|
4342
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4343
|
+
*/
|
|
4344
|
+
VolumeType: string
|
|
4345
|
+
/**
|
|
4346
|
+
* 当VolumeType为"pvc"时,该字段生效。
|
|
4347
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4348
|
+
*/
|
|
4349
|
+
PVCVolume?: PersistentVolumeContext
|
|
4350
|
+
/**
|
|
4351
|
+
* 当VolumeType为"hostpath"时,该字段生效。
|
|
4352
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4353
|
+
*/
|
|
4354
|
+
HostVolume?: HostVolumeContext
|
|
4355
|
+
}
|
|
4356
|
+
|
|
4167
4357
|
/**
|
|
4168
4358
|
* 价格详情
|
|
4169
4359
|
*/
|
|
@@ -4193,19 +4383,19 @@ export interface DescribeResourceScheduleResponse {
|
|
|
4193
4383
|
/**
|
|
4194
4384
|
* 资源调度功能是否开启
|
|
4195
4385
|
*/
|
|
4196
|
-
OpenSwitch
|
|
4386
|
+
OpenSwitch?: boolean
|
|
4197
4387
|
/**
|
|
4198
4388
|
* 正在使用的资源调度器
|
|
4199
4389
|
*/
|
|
4200
|
-
Scheduler
|
|
4390
|
+
Scheduler?: string
|
|
4201
4391
|
/**
|
|
4202
4392
|
* 公平调度器的信息
|
|
4203
4393
|
*/
|
|
4204
|
-
FSInfo
|
|
4394
|
+
FSInfo?: string
|
|
4205
4395
|
/**
|
|
4206
4396
|
* 容量调度器的信息
|
|
4207
4397
|
*/
|
|
4208
|
-
CSInfo
|
|
4398
|
+
CSInfo?: string
|
|
4209
4399
|
/**
|
|
4210
4400
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4211
4401
|
*/
|
|
@@ -4644,40 +4834,107 @@ export interface CustomServiceDefine {
|
|
|
4644
4834
|
}
|
|
4645
4835
|
|
|
4646
4836
|
/**
|
|
4647
|
-
*
|
|
4837
|
+
* 任务步骤详情
|
|
4648
4838
|
*/
|
|
4649
|
-
export interface
|
|
4839
|
+
export interface StageInfoDetail {
|
|
4650
4840
|
/**
|
|
4651
|
-
*
|
|
4841
|
+
* 步骤id
|
|
4652
4842
|
*/
|
|
4653
|
-
|
|
4654
|
-
}
|
|
4655
|
-
|
|
4656
|
-
/**
|
|
4657
|
-
* CreateCluster返回参数结构体
|
|
4658
|
-
*/
|
|
4659
|
-
export interface CreateClusterResponse {
|
|
4843
|
+
Stage?: string
|
|
4660
4844
|
/**
|
|
4661
|
-
*
|
|
4845
|
+
* 步骤名
|
|
4662
4846
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4663
4847
|
*/
|
|
4664
|
-
|
|
4848
|
+
Name?: string
|
|
4665
4849
|
/**
|
|
4666
|
-
*
|
|
4850
|
+
* 是否展示
|
|
4667
4851
|
*/
|
|
4668
|
-
|
|
4669
|
-
}
|
|
4670
|
-
|
|
4671
|
-
/**
|
|
4672
|
-
* DescribeAutoScaleRecords返回参数结构体
|
|
4673
|
-
*/
|
|
4674
|
-
export interface DescribeAutoScaleRecordsResponse {
|
|
4852
|
+
IsShow?: boolean
|
|
4675
4853
|
/**
|
|
4676
|
-
*
|
|
4854
|
+
* 是否子流程
|
|
4677
4855
|
*/
|
|
4678
|
-
|
|
4856
|
+
IsSubFlow?: boolean
|
|
4679
4857
|
/**
|
|
4680
|
-
*
|
|
4858
|
+
* 子流程标签
|
|
4859
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4860
|
+
*/
|
|
4861
|
+
SubFlowFlag?: string
|
|
4862
|
+
/**
|
|
4863
|
+
* 步骤运行状态:0:未开始 1:进行中 2:已完成 3:部分完成 -1:失败
|
|
4864
|
+
*/
|
|
4865
|
+
Status?: number
|
|
4866
|
+
/**
|
|
4867
|
+
* 步骤运行状态描述
|
|
4868
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4869
|
+
*/
|
|
4870
|
+
Desc?: string
|
|
4871
|
+
/**
|
|
4872
|
+
* 运行进度
|
|
4873
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4874
|
+
*/
|
|
4875
|
+
Progress?: number
|
|
4876
|
+
/**
|
|
4877
|
+
* 开始时间
|
|
4878
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4879
|
+
*/
|
|
4880
|
+
Starttime?: string
|
|
4881
|
+
/**
|
|
4882
|
+
* 结束时间
|
|
4883
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4884
|
+
*/
|
|
4885
|
+
Endtime?: string
|
|
4886
|
+
/**
|
|
4887
|
+
* 是否有详情信息
|
|
4888
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4889
|
+
*/
|
|
4890
|
+
HadWoodDetail?: boolean
|
|
4891
|
+
/**
|
|
4892
|
+
* Wood子流程Id
|
|
4893
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4894
|
+
*/
|
|
4895
|
+
WoodJobId?: number
|
|
4896
|
+
/**
|
|
4897
|
+
* 多语言版本Key
|
|
4898
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4899
|
+
*/
|
|
4900
|
+
LanguageKey?: string
|
|
4901
|
+
/**
|
|
4902
|
+
* 如果stage失败,失败原因
|
|
4903
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4904
|
+
*/
|
|
4905
|
+
FailedReason?: string
|
|
4906
|
+
/**
|
|
4907
|
+
* 步骤耗时
|
|
4908
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4909
|
+
*/
|
|
4910
|
+
TimeConsuming?: string
|
|
4911
|
+
}
|
|
4912
|
+
|
|
4913
|
+
/**
|
|
4914
|
+
* CreateCluster返回参数结构体
|
|
4915
|
+
*/
|
|
4916
|
+
export interface CreateClusterResponse {
|
|
4917
|
+
/**
|
|
4918
|
+
* 实例ID
|
|
4919
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4920
|
+
*/
|
|
4921
|
+
InstanceId?: string
|
|
4922
|
+
/**
|
|
4923
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4924
|
+
*/
|
|
4925
|
+
RequestId?: string
|
|
4926
|
+
}
|
|
4927
|
+
|
|
4928
|
+
/**
|
|
4929
|
+
* DescribeAutoScaleRecords返回参数结构体
|
|
4930
|
+
*/
|
|
4931
|
+
export interface DescribeAutoScaleRecordsResponse {
|
|
4932
|
+
/**
|
|
4933
|
+
* 总扩缩容记录数。
|
|
4934
|
+
*/
|
|
4935
|
+
TotalCount?: number
|
|
4936
|
+
/**
|
|
4937
|
+
* 记录列表。
|
|
4681
4938
|
*/
|
|
4682
4939
|
RecordList?: Array<AutoScaleRecord>
|
|
4683
4940
|
/**
|
|
@@ -5028,6 +5285,27 @@ export interface DescribeClusterNodesRequest {
|
|
|
5028
5285
|
Asc?: number
|
|
5029
5286
|
}
|
|
5030
5287
|
|
|
5288
|
+
/**
|
|
5289
|
+
* ModifyYarnQueueV2请求参数结构体
|
|
5290
|
+
*/
|
|
5291
|
+
export interface ModifyYarnQueueV2Request {
|
|
5292
|
+
/**
|
|
5293
|
+
* 集群Id
|
|
5294
|
+
*/
|
|
5295
|
+
InstanceId: string
|
|
5296
|
+
/**
|
|
5297
|
+
* 调度器类型。可选值:
|
|
5298
|
+
|
|
5299
|
+
1. capacity
|
|
5300
|
+
2. fair
|
|
5301
|
+
*/
|
|
5302
|
+
Scheduler: string
|
|
5303
|
+
/**
|
|
5304
|
+
* 资源池数据
|
|
5305
|
+
*/
|
|
5306
|
+
ConfigModifyInfoList: Array<ConfigModifyInfoV2>
|
|
5307
|
+
}
|
|
5308
|
+
|
|
5031
5309
|
/**
|
|
5032
5310
|
* DescribeCvmQuota请求参数结构体
|
|
5033
5311
|
*/
|
|
@@ -5273,6 +5551,77 @@ Hadoop-Hbase
|
|
|
5273
5551
|
CosBucket?: string
|
|
5274
5552
|
}
|
|
5275
5553
|
|
|
5554
|
+
/**
|
|
5555
|
+
* 动态生成的变更详情条目
|
|
5556
|
+
*/
|
|
5557
|
+
export interface DiffDetailItem {
|
|
5558
|
+
/**
|
|
5559
|
+
* 属性
|
|
5560
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5561
|
+
*/
|
|
5562
|
+
Attribute?: string
|
|
5563
|
+
/**
|
|
5564
|
+
* 当前生效
|
|
5565
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5566
|
+
*/
|
|
5567
|
+
InEffect?: string
|
|
5568
|
+
/**
|
|
5569
|
+
* 待生效
|
|
5570
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5571
|
+
*/
|
|
5572
|
+
PendingEffectiveness?: string
|
|
5573
|
+
/**
|
|
5574
|
+
* 操作
|
|
5575
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5576
|
+
*/
|
|
5577
|
+
Operation?: string
|
|
5578
|
+
/**
|
|
5579
|
+
* 队列
|
|
5580
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5581
|
+
*/
|
|
5582
|
+
Queue?: string
|
|
5583
|
+
/**
|
|
5584
|
+
* 配置集
|
|
5585
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5586
|
+
*/
|
|
5587
|
+
ConfigSet?: string
|
|
5588
|
+
/**
|
|
5589
|
+
* 标签
|
|
5590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5591
|
+
*/
|
|
5592
|
+
LabelName?: string
|
|
5593
|
+
/**
|
|
5594
|
+
* 当前所在位置
|
|
5595
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5596
|
+
*/
|
|
5597
|
+
InEffectIndex?: string
|
|
5598
|
+
/**
|
|
5599
|
+
* 待生效的位置
|
|
5600
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5601
|
+
*/
|
|
5602
|
+
PendingEffectIndex?: string
|
|
5603
|
+
/**
|
|
5604
|
+
* 计划模式名称
|
|
5605
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5606
|
+
*/
|
|
5607
|
+
PlanName?: string
|
|
5608
|
+
/**
|
|
5609
|
+
* 标签
|
|
5610
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5611
|
+
*/
|
|
5612
|
+
Label?: string
|
|
5613
|
+
/**
|
|
5614
|
+
* 放置规则
|
|
5615
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5616
|
+
*/
|
|
5617
|
+
RuleName?: string
|
|
5618
|
+
/**
|
|
5619
|
+
* 用户名
|
|
5620
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5621
|
+
*/
|
|
5622
|
+
UserName?: string
|
|
5623
|
+
}
|
|
5624
|
+
|
|
5276
5625
|
/**
|
|
5277
5626
|
* 元数据库信息
|
|
5278
5627
|
*/
|
|
@@ -5543,6 +5892,16 @@ export interface DescribeAutoScaleStrategiesRequest {
|
|
|
5543
5892
|
GroupId?: number
|
|
5544
5893
|
}
|
|
5545
5894
|
|
|
5895
|
+
/**
|
|
5896
|
+
* DeployYarnConf请求参数结构体
|
|
5897
|
+
*/
|
|
5898
|
+
export interface DeployYarnConfRequest {
|
|
5899
|
+
/**
|
|
5900
|
+
* emr集群的英文id
|
|
5901
|
+
*/
|
|
5902
|
+
InstanceId: string
|
|
5903
|
+
}
|
|
5904
|
+
|
|
5546
5905
|
/**
|
|
5547
5906
|
* TerminateClusterNodes请求参数结构体
|
|
5548
5907
|
*/
|
|
@@ -5606,6 +5965,17 @@ export interface DescribeInstancesListRequest {
|
|
|
5606
5965
|
Filters?: Array<Filters>
|
|
5607
5966
|
}
|
|
5608
5967
|
|
|
5968
|
+
/**
|
|
5969
|
+
* 键值对组成的列表
|
|
5970
|
+
*/
|
|
5971
|
+
export interface ItemSeq {
|
|
5972
|
+
/**
|
|
5973
|
+
* 标签名称
|
|
5974
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5975
|
+
*/
|
|
5976
|
+
Items: Array<Item>
|
|
5977
|
+
}
|
|
5978
|
+
|
|
5609
5979
|
/**
|
|
5610
5980
|
* 定时伸缩任务策略
|
|
5611
5981
|
*/
|
|
@@ -5641,6 +6011,49 @@ export interface RepeatStrategy {
|
|
|
5641
6011
|
Expire?: string
|
|
5642
6012
|
}
|
|
5643
6013
|
|
|
6014
|
+
/**
|
|
6015
|
+
* 集群续费实例信息
|
|
6016
|
+
*/
|
|
6017
|
+
export interface RenewInstancesInfo {
|
|
6018
|
+
/**
|
|
6019
|
+
* 节点资源ID
|
|
6020
|
+
*/
|
|
6021
|
+
EmrResourceId?: string
|
|
6022
|
+
/**
|
|
6023
|
+
* 节点类型。0:common节点;1:master节点
|
|
6024
|
+
;2:core节点;3:task节点
|
|
6025
|
+
*/
|
|
6026
|
+
Flag?: number
|
|
6027
|
+
/**
|
|
6028
|
+
* 内网IP
|
|
6029
|
+
*/
|
|
6030
|
+
Ip?: string
|
|
6031
|
+
/**
|
|
6032
|
+
* 节点内存描述
|
|
6033
|
+
*/
|
|
6034
|
+
MemDesc?: string
|
|
6035
|
+
/**
|
|
6036
|
+
* 节点核数
|
|
6037
|
+
*/
|
|
6038
|
+
CpuNum?: number
|
|
6039
|
+
/**
|
|
6040
|
+
* 硬盘大小
|
|
6041
|
+
*/
|
|
6042
|
+
DiskSize?: string
|
|
6043
|
+
/**
|
|
6044
|
+
* 过期时间
|
|
6045
|
+
*/
|
|
6046
|
+
ExpireTime?: string
|
|
6047
|
+
/**
|
|
6048
|
+
* 节点规格
|
|
6049
|
+
*/
|
|
6050
|
+
Spec?: string
|
|
6051
|
+
/**
|
|
6052
|
+
* 磁盘类型
|
|
6053
|
+
*/
|
|
6054
|
+
StorageType?: number
|
|
6055
|
+
}
|
|
6056
|
+
|
|
5644
6057
|
/**
|
|
5645
6058
|
* 资源详情
|
|
5646
6059
|
*/
|
|
@@ -5726,17 +6139,13 @@ export interface DeleteAutoScaleStrategyRequest {
|
|
|
5726
6139
|
}
|
|
5727
6140
|
|
|
5728
6141
|
/**
|
|
5729
|
-
*
|
|
6142
|
+
* DeployYarnConf返回参数结构体
|
|
5730
6143
|
*/
|
|
5731
|
-
export interface
|
|
5732
|
-
/**
|
|
5733
|
-
* 符合条件的实例总数。
|
|
5734
|
-
*/
|
|
5735
|
-
TotalCnt?: number
|
|
6144
|
+
export interface DeployYarnConfResponse {
|
|
5736
6145
|
/**
|
|
5737
|
-
*
|
|
6146
|
+
* 启动流程后的流程ID,可以使用[DescribeClusterFlowStatusDetail](https://cloud.tencent.com/document/product/589/107224)接口来获取流程状态
|
|
5738
6147
|
*/
|
|
5739
|
-
|
|
6148
|
+
FlowId?: number
|
|
5740
6149
|
/**
|
|
5741
6150
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5742
6151
|
*/
|
|
@@ -5760,12 +6169,12 @@ export interface ModifyResourcePoolsResponse {
|
|
|
5760
6169
|
/**
|
|
5761
6170
|
* false表示不是草稿,提交刷新请求成功
|
|
5762
6171
|
*/
|
|
5763
|
-
IsDraft
|
|
6172
|
+
IsDraft?: boolean
|
|
5764
6173
|
/**
|
|
5765
6174
|
* 扩展字段,暂时没用
|
|
5766
6175
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5767
6176
|
*/
|
|
5768
|
-
ErrorMsg
|
|
6177
|
+
ErrorMsg?: string
|
|
5769
6178
|
/**
|
|
5770
6179
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5771
6180
|
*/
|
|
@@ -5843,6 +6252,20 @@ export interface DescribeUsersForUserManagerResponse {
|
|
|
5843
6252
|
RequestId?: string
|
|
5844
6253
|
}
|
|
5845
6254
|
|
|
6255
|
+
/**
|
|
6256
|
+
* DescribeResourceScheduleDiffDetail请求参数结构体
|
|
6257
|
+
*/
|
|
6258
|
+
export interface DescribeResourceScheduleDiffDetailRequest {
|
|
6259
|
+
/**
|
|
6260
|
+
* emr集群的英文id
|
|
6261
|
+
*/
|
|
6262
|
+
InstanceId: string
|
|
6263
|
+
/**
|
|
6264
|
+
* 查询的变更明细对应的调度器,可选值为fair、capacity。如果不传或者传空会使用最新的调度器
|
|
6265
|
+
*/
|
|
6266
|
+
Scheduler?: string
|
|
6267
|
+
}
|
|
6268
|
+
|
|
5846
6269
|
/**
|
|
5847
6270
|
* 流程额外信息
|
|
5848
6271
|
*/
|
|
@@ -6322,6 +6745,132 @@ export interface UserInfoForUserManager {
|
|
|
6322
6745
|
ReMark?: string
|
|
6323
6746
|
}
|
|
6324
6747
|
|
|
6748
|
+
/**
|
|
6749
|
+
* POD自定义权限和自定义参数
|
|
6750
|
+
*/
|
|
6751
|
+
export interface PodNewParameter {
|
|
6752
|
+
/**
|
|
6753
|
+
* TKE或EKS集群ID
|
|
6754
|
+
*/
|
|
6755
|
+
InstanceId: string
|
|
6756
|
+
/**
|
|
6757
|
+
* 自定义权限
|
|
6758
|
+
如:
|
|
6759
|
+
{
|
|
6760
|
+
"apiVersion": "v1",
|
|
6761
|
+
"clusters": [
|
|
6762
|
+
{
|
|
6763
|
+
"cluster": {
|
|
6764
|
+
"certificate-authority-data": "xxxxxx==",
|
|
6765
|
+
"server": "https://xxxxx.com"
|
|
6766
|
+
},
|
|
6767
|
+
"name": "cls-xxxxx"
|
|
6768
|
+
}
|
|
6769
|
+
],
|
|
6770
|
+
"contexts": [
|
|
6771
|
+
{
|
|
6772
|
+
"context": {
|
|
6773
|
+
"cluster": "cls-xxxxx",
|
|
6774
|
+
"user": "100014xxxxx"
|
|
6775
|
+
},
|
|
6776
|
+
"name": "cls-a44yhcxxxxxxxxxx"
|
|
6777
|
+
}
|
|
6778
|
+
],
|
|
6779
|
+
"current-context": "cls-a4xxxx-context-default",
|
|
6780
|
+
"kind": "Config",
|
|
6781
|
+
"preferences": {},
|
|
6782
|
+
"users": [
|
|
6783
|
+
{
|
|
6784
|
+
"name": "100014xxxxx",
|
|
6785
|
+
"user": {
|
|
6786
|
+
"client-certificate-data": "xxxxxx",
|
|
6787
|
+
"client-key-data": "xxxxxx"
|
|
6788
|
+
}
|
|
6789
|
+
}
|
|
6790
|
+
]
|
|
6791
|
+
}
|
|
6792
|
+
*/
|
|
6793
|
+
Config: string
|
|
6794
|
+
/**
|
|
6795
|
+
* 自定义参数
|
|
6796
|
+
如:
|
|
6797
|
+
{
|
|
6798
|
+
"apiVersion": "apps/v1",
|
|
6799
|
+
"kind": "Deployment",
|
|
6800
|
+
"metadata": {
|
|
6801
|
+
"name": "test-deployment",
|
|
6802
|
+
"labels": {
|
|
6803
|
+
"app": "test"
|
|
6804
|
+
}
|
|
6805
|
+
},
|
|
6806
|
+
"spec": {
|
|
6807
|
+
"replicas": 3,
|
|
6808
|
+
"selector": {
|
|
6809
|
+
"matchLabels": {
|
|
6810
|
+
"app": "test-app"
|
|
6811
|
+
}
|
|
6812
|
+
},
|
|
6813
|
+
"template": {
|
|
6814
|
+
"metadata": {
|
|
6815
|
+
"annotations": {
|
|
6816
|
+
"your-organization.com/department-v1": "test-example-v1",
|
|
6817
|
+
"your-organization.com/department-v2": "test-example-v2"
|
|
6818
|
+
},
|
|
6819
|
+
"labels": {
|
|
6820
|
+
"app": "test-app",
|
|
6821
|
+
"environment": "production"
|
|
6822
|
+
}
|
|
6823
|
+
},
|
|
6824
|
+
"spec": {
|
|
6825
|
+
"nodeSelector": {
|
|
6826
|
+
"your-organization/node-test": "test-node"
|
|
6827
|
+
},
|
|
6828
|
+
"containers": [
|
|
6829
|
+
{
|
|
6830
|
+
"name": "nginx",
|
|
6831
|
+
"image": "nginx:1.14.2",
|
|
6832
|
+
"ports": [
|
|
6833
|
+
{
|
|
6834
|
+
"containerPort": 80
|
|
6835
|
+
}
|
|
6836
|
+
]
|
|
6837
|
+
}
|
|
6838
|
+
],
|
|
6839
|
+
"affinity": {
|
|
6840
|
+
"nodeAffinity": {
|
|
6841
|
+
"requiredDuringSchedulingIgnoredDuringExecution": {
|
|
6842
|
+
"nodeSelectorTerms": [
|
|
6843
|
+
{
|
|
6844
|
+
"matchExpressions": [
|
|
6845
|
+
{
|
|
6846
|
+
"key": "disk-type",
|
|
6847
|
+
"operator": "In",
|
|
6848
|
+
"values": [
|
|
6849
|
+
"ssd",
|
|
6850
|
+
"sas"
|
|
6851
|
+
]
|
|
6852
|
+
},
|
|
6853
|
+
{
|
|
6854
|
+
"key": "cpu-num",
|
|
6855
|
+
"operator": "Gt",
|
|
6856
|
+
"values": [
|
|
6857
|
+
"6"
|
|
6858
|
+
]
|
|
6859
|
+
}
|
|
6860
|
+
]
|
|
6861
|
+
}
|
|
6862
|
+
]
|
|
6863
|
+
}
|
|
6864
|
+
}
|
|
6865
|
+
}
|
|
6866
|
+
}
|
|
6867
|
+
}
|
|
6868
|
+
}
|
|
6869
|
+
}
|
|
6870
|
+
*/
|
|
6871
|
+
Parameter: string
|
|
6872
|
+
}
|
|
6873
|
+
|
|
6325
6874
|
/**
|
|
6326
6875
|
* DescribeEmrOverviewMetrics请求参数结构体
|
|
6327
6876
|
*/
|
|
@@ -6544,61 +7093,13 @@ export interface RestartPolicy {
|
|
|
6544
7093
|
}
|
|
6545
7094
|
|
|
6546
7095
|
/**
|
|
6547
|
-
*
|
|
7096
|
+
* ModifyYarnQueueV2返回参数结构体
|
|
6548
7097
|
*/
|
|
6549
|
-
export interface
|
|
6550
|
-
/**
|
|
6551
|
-
* 脚本在COS上路径,已废弃
|
|
6552
|
-
*/
|
|
6553
|
-
Path?: string
|
|
6554
|
-
/**
|
|
6555
|
-
* 执行脚本参数
|
|
6556
|
-
*/
|
|
6557
|
-
Args?: Array<string>
|
|
6558
|
-
/**
|
|
6559
|
-
* COS的Bucket名称,已废弃
|
|
6560
|
-
*/
|
|
6561
|
-
Bucket?: string
|
|
6562
|
-
/**
|
|
6563
|
-
* COS的Region名称,已废弃
|
|
6564
|
-
*/
|
|
6565
|
-
Region?: string
|
|
6566
|
-
/**
|
|
6567
|
-
* COS的Domain数据,已废弃
|
|
6568
|
-
*/
|
|
6569
|
-
Domain?: string
|
|
6570
|
-
/**
|
|
6571
|
-
* 执行顺序
|
|
6572
|
-
*/
|
|
6573
|
-
RunOrder?: number
|
|
6574
|
-
/**
|
|
6575
|
-
* resourceAfter 或 clusterAfter
|
|
6576
|
-
*/
|
|
6577
|
-
WhenRun?: string
|
|
6578
|
-
/**
|
|
6579
|
-
* 脚本文件名,已废弃
|
|
6580
|
-
*/
|
|
6581
|
-
CosFileName?: string
|
|
6582
|
-
/**
|
|
6583
|
-
* 脚本的cos地址
|
|
6584
|
-
*/
|
|
6585
|
-
CosFileURI?: string
|
|
6586
|
-
/**
|
|
6587
|
-
* cos的SecretId
|
|
6588
|
-
*/
|
|
6589
|
-
CosSecretId?: string
|
|
6590
|
-
/**
|
|
6591
|
-
* Cos的SecretKey
|
|
6592
|
-
*/
|
|
6593
|
-
CosSecretKey?: string
|
|
6594
|
-
/**
|
|
6595
|
-
* cos的appid,已废弃
|
|
6596
|
-
*/
|
|
6597
|
-
AppId?: string
|
|
7098
|
+
export interface ModifyYarnQueueV2Response {
|
|
6598
7099
|
/**
|
|
6599
|
-
*
|
|
7100
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6600
7101
|
*/
|
|
6601
|
-
|
|
7102
|
+
RequestId?: string
|
|
6602
7103
|
}
|
|
6603
7104
|
|
|
6604
7105
|
/**
|
|
@@ -6716,6 +7217,16 @@ export interface InquiryPriceScaleOutInstanceRequest {
|
|
|
6716
7217
|
HardwareResourceType?: string
|
|
6717
7218
|
}
|
|
6718
7219
|
|
|
7220
|
+
/**
|
|
7221
|
+
* ResetYarnConfig返回参数结构体
|
|
7222
|
+
*/
|
|
7223
|
+
export interface ResetYarnConfigResponse {
|
|
7224
|
+
/**
|
|
7225
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7226
|
+
*/
|
|
7227
|
+
RequestId?: string
|
|
7228
|
+
}
|
|
7229
|
+
|
|
6719
7230
|
/**
|
|
6720
7231
|
* 负载指标
|
|
6721
7232
|
*/
|
|
@@ -6881,17 +7392,23 @@ export interface LoadMetricsCondition {
|
|
|
6881
7392
|
}
|
|
6882
7393
|
|
|
6883
7394
|
/**
|
|
6884
|
-
*
|
|
7395
|
+
* DescribeInstanceRenewNodes返回参数结构体
|
|
6885
7396
|
*/
|
|
6886
|
-
export interface
|
|
7397
|
+
export interface DescribeInstanceRenewNodesResponse {
|
|
6887
7398
|
/**
|
|
6888
|
-
*
|
|
7399
|
+
* 查询到的节点总数
|
|
6889
7400
|
*/
|
|
6890
|
-
|
|
7401
|
+
TotalCnt: number
|
|
6891
7402
|
/**
|
|
6892
|
-
*
|
|
7403
|
+
* 节点详细信息列表
|
|
7404
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6893
7405
|
*/
|
|
6894
|
-
|
|
7406
|
+
NodeList: Array<RenewInstancesInfo>
|
|
7407
|
+
/**
|
|
7408
|
+
* 用户所有的标签键列表
|
|
7409
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7410
|
+
*/
|
|
7411
|
+
MetaInfo: Array<string>
|
|
6895
7412
|
/**
|
|
6896
7413
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6897
7414
|
*/
|
|
@@ -6928,35 +7445,19 @@ export interface CustomMetaDBInfo {
|
|
|
6928
7445
|
}
|
|
6929
7446
|
|
|
6930
7447
|
/**
|
|
6931
|
-
*
|
|
7448
|
+
* 代表一个kv结构
|
|
6932
7449
|
*/
|
|
6933
|
-
export interface
|
|
6934
|
-
/**
|
|
6935
|
-
* 用户名
|
|
6936
|
-
*/
|
|
6937
|
-
UserName: string
|
|
6938
|
-
/**
|
|
6939
|
-
* 用户所属的组
|
|
6940
|
-
*/
|
|
6941
|
-
UserGroup: string
|
|
6942
|
-
/**
|
|
6943
|
-
* Manager表示管理员、NormalUser表示普通用户
|
|
6944
|
-
*/
|
|
6945
|
-
UserType: string
|
|
7450
|
+
export interface Item {
|
|
6946
7451
|
/**
|
|
6947
|
-
*
|
|
7452
|
+
* 健值
|
|
6948
7453
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6949
7454
|
*/
|
|
6950
|
-
|
|
6951
|
-
/**
|
|
6952
|
-
* 是否可以下载用户对应的keytab文件,对开启kerberos的集群才有意义
|
|
6953
|
-
*/
|
|
6954
|
-
SupportDownLoadKeyTab: boolean
|
|
7455
|
+
Key: string
|
|
6955
7456
|
/**
|
|
6956
|
-
*
|
|
7457
|
+
* 值
|
|
6957
7458
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6958
7459
|
*/
|
|
6959
|
-
|
|
7460
|
+
Value: string
|
|
6960
7461
|
}
|
|
6961
7462
|
|
|
6962
7463
|
/**
|
|
@@ -6993,80 +7494,83 @@ export interface TableSchemaItem {
|
|
|
6993
7494
|
}
|
|
6994
7495
|
|
|
6995
7496
|
/**
|
|
6996
|
-
*
|
|
7497
|
+
* 资源调度 - 队列修改信息
|
|
6997
7498
|
*/
|
|
6998
|
-
export interface
|
|
6999
|
-
/**
|
|
7000
|
-
* 步骤id
|
|
7001
|
-
*/
|
|
7002
|
-
Stage?: string
|
|
7003
|
-
/**
|
|
7004
|
-
* 步骤名
|
|
7005
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7006
|
-
*/
|
|
7007
|
-
Name?: string
|
|
7008
|
-
/**
|
|
7009
|
-
* 是否展示
|
|
7010
|
-
*/
|
|
7011
|
-
IsShow?: boolean
|
|
7012
|
-
/**
|
|
7013
|
-
* 是否子流程
|
|
7014
|
-
*/
|
|
7015
|
-
IsSubFlow?: boolean
|
|
7016
|
-
/**
|
|
7017
|
-
* 子流程标签
|
|
7018
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7019
|
-
*/
|
|
7020
|
-
SubFlowFlag?: string
|
|
7021
|
-
/**
|
|
7022
|
-
* 步骤运行状态:0:未开始 1:进行中 2:已完成 3:部分完成 -1:失败
|
|
7023
|
-
*/
|
|
7024
|
-
Status?: number
|
|
7499
|
+
export interface ConfigModifyInfoV2 {
|
|
7025
7500
|
/**
|
|
7026
|
-
*
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
Progress?: number
|
|
7035
|
-
/**
|
|
7036
|
-
* 开始时间
|
|
7501
|
+
* 操作类型,可选值:
|
|
7502
|
+
|
|
7503
|
+
- 0:新建队列
|
|
7504
|
+
- 1:编辑-全量覆盖
|
|
7505
|
+
- 2:新建子队列
|
|
7506
|
+
- 3:删除
|
|
7507
|
+
- 4:克隆,与新建子队列的行为一样,特别的对于`fair`,可以复制子队列到新建队列
|
|
7508
|
+
- 6:编辑-增量更新
|
|
7037
7509
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7038
7510
|
*/
|
|
7039
|
-
|
|
7511
|
+
OpType: number
|
|
7040
7512
|
/**
|
|
7041
|
-
*
|
|
7042
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7513
|
+
* 队列名称,不支持修改。
|
|
7043
7514
|
*/
|
|
7044
|
-
|
|
7515
|
+
Name?: string
|
|
7045
7516
|
/**
|
|
7046
|
-
*
|
|
7517
|
+
* 新建队列 传root的MyId;新建子队列 传 选中队列的 myId;克隆 要传 选中队列 parentId
|
|
7047
7518
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7048
7519
|
*/
|
|
7049
|
-
|
|
7520
|
+
ParentId?: string
|
|
7050
7521
|
/**
|
|
7051
|
-
*
|
|
7522
|
+
* 编辑、删除 传选中队列的 myId。克隆只有在调度器是`fair`时才需要传,用来复制子队列到新队列。
|
|
7052
7523
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7053
7524
|
*/
|
|
7054
|
-
|
|
7525
|
+
MyId?: string
|
|
7055
7526
|
/**
|
|
7056
|
-
*
|
|
7527
|
+
* 基础配置信息。key的取值与**DescribeYarnQueue**返回的字段一致。
|
|
7528
|
+
###### 公平调度器
|
|
7529
|
+
key的取值信息如下:
|
|
7530
|
+
|
|
7531
|
+
- type,父队列,取值为 **parent** 或 **null**
|
|
7532
|
+
- aclSubmitApps,提交访问控制,取值为**AclForYarnQueue类型的json串**或**null**
|
|
7533
|
+
- aclAdministerApps,管理访问控制,取值为**AclForYarnQueue类型的json串**或**null**
|
|
7534
|
+
- minSharePreemptionTimeout,最小共享优先权超时时间,取值为**数字字符串**或**null**
|
|
7535
|
+
- fairSharePreemptionTimeout,公平份额抢占超时时间,取值为**数字字符串**或**null**
|
|
7536
|
+
- fairSharePreemptionThreshold,公平份额抢占阈值,取值为**数字字符串**或**null**,其中数字的范围是(0,1]
|
|
7537
|
+
- allowPreemptionFrom,抢占模式,取值为**布尔字符串**或**null**
|
|
7538
|
+
- schedulingPolicy,调度策略,取值为**drf**、**fair**、**fifo**或**null**
|
|
7539
|
+
|
|
7540
|
+
```
|
|
7541
|
+
type AclForYarnQueue struct {
|
|
7542
|
+
User *string `json:"user"` //用户名
|
|
7543
|
+
Group *string `json:"group"`//组名
|
|
7544
|
+
}
|
|
7545
|
+
```
|
|
7546
|
+
###### 容量调度器
|
|
7547
|
+
key的取值信息如下:
|
|
7548
|
+
|
|
7549
|
+
- state,队列状态,取值为**STOPPED**或**RUNNING**
|
|
7550
|
+
- default-node-label-expression,默认标签表达式,取值为**标签**或**null**
|
|
7551
|
+
- acl_submit_applications,提交访问控制,取值为**AclForYarnQueue类型的json串**或**null**
|
|
7552
|
+
- acl_administer_queue,管理访问控制,取值为**AclForYarnQueue类型的json串**或**null**
|
|
7553
|
+
- maximum-allocation-mb,分配Container最大内存数量,取值为**数字字符串**或**null**
|
|
7554
|
+
- maximum-allocation-vcores,Container最大vCore数量,取值为**数字字符串**或**null**
|
|
7555
|
+
```
|
|
7556
|
+
type AclForYarnQueue struct {
|
|
7557
|
+
User *string `json:"user"` //用户名
|
|
7558
|
+
Group *string `json:"group"`//组名
|
|
7559
|
+
}
|
|
7560
|
+
```
|
|
7057
7561
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7058
7562
|
*/
|
|
7059
|
-
|
|
7563
|
+
BasicParams?: ItemSeq
|
|
7060
7564
|
/**
|
|
7061
|
-
*
|
|
7565
|
+
* 配置集信息,取值见该复杂类型的参数说明。配置集是计划模式在队列中表现,表示的是不同时间段不同的配置值,所有队列的配置集名称都一样,对于单个队列,每个配置集中的标签与参数都一样,只是参数值不同。
|
|
7062
7566
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7063
7567
|
*/
|
|
7064
|
-
|
|
7568
|
+
ConfigSetParams?: Array<ConfigSetInfo>
|
|
7065
7569
|
/**
|
|
7066
|
-
*
|
|
7570
|
+
* 容量调度专用,`OpType`为`6`时才生效,表示要删除这个队列中的哪些标签。优先级高于ConfigSetParams中的LabelParams。
|
|
7067
7571
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7068
7572
|
*/
|
|
7069
|
-
|
|
7573
|
+
DeleteLables?: Array<string>
|
|
7070
7574
|
}
|
|
7071
7575
|
|
|
7072
7576
|
/**
|