tencentcloud-sdk-nodejs 4.0.943 → 4.0.944
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 +175 -0
- package/SERVICE_CHANGELOG.md +283 -25
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +30 -18
- package/src/services/apigateway/v20180808/apigateway_models.ts +56 -41
- package/src/services/cvm/v20170312/cvm_models.ts +11 -11
- package/src/services/emr/v20190103/emr_client.ts +43 -16
- package/src/services/emr/v20190103/emr_models.ts +195 -38
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/ess/v20201111/ess_models.ts +8 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +9 -0
- package/src/services/faceid/v20180301/faceid_models.ts +8 -0
- package/src/services/postgres/v20170312/postgres_client.ts +26 -1
- package/src/services/postgres/v20170312/postgres_models.ts +138 -19
- package/src/services/sms/v20190711/sms_models.ts +3 -3
- package/src/services/sms/v20210111/sms_models.ts +9 -8
- package/src/services/teo/v20220901/teo_models.ts +11 -7
- package/src/services/vod/v20180717/vod_client.ts +10 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +11 -7
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +14 -8
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +54 -41
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +11 -11
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +13 -5
- package/tencentcloud/services/emr/v20190103/emr_client.js +18 -6
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +188 -38
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +8 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +9 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +8 -0
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +9 -1
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +12 -0
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +133 -19
- package/tencentcloud/services/sms/v20190711/sms_models.d.ts +3 -3
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +9 -8
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +11 -7
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +9 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +9 -1
- package/test/apigateway.v20180808.test.js +14 -4
- package/test/emr.v20190103.test.js +24 -4
- package/test/postgres.v20170312.test.js +20 -0
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
CreatePluginRequest,
|
|
145
145
|
MicroServiceReq,
|
|
146
146
|
ModifySubDomainResponse,
|
|
147
|
-
|
|
147
|
+
DescribeExclusiveInstanceRegionsResponse,
|
|
148
148
|
BindSecretIdsRequest,
|
|
149
149
|
ParameterInfo,
|
|
150
150
|
ModifyUpstreamResultInfo,
|
|
@@ -197,7 +197,7 @@ import {
|
|
|
197
197
|
UsagePlanBindEnvironment,
|
|
198
198
|
InstanceInfo,
|
|
199
199
|
DeleteApiRequest,
|
|
200
|
-
|
|
200
|
+
DescribeExclusiveInstanceRegionsRequest,
|
|
201
201
|
DescribeApiAppResponse,
|
|
202
202
|
DescribeServiceSubDomainMappingsResponse,
|
|
203
203
|
OauthConfig,
|
|
@@ -222,7 +222,8 @@ import {
|
|
|
222
222
|
ApiUsagePlan,
|
|
223
223
|
IPStrategyApi,
|
|
224
224
|
DescribeAPIDocsResponse,
|
|
225
|
-
|
|
225
|
+
DescribeServiceSubDomainMappingsRequest,
|
|
226
|
+
DescribePluginsRequest,
|
|
226
227
|
DeletePluginResponse,
|
|
227
228
|
DescribeUpstreamBindApis,
|
|
228
229
|
ModifyServiceEnvironmentStrategyRequest,
|
|
@@ -287,6 +288,7 @@ import {
|
|
|
287
288
|
UsagePlanStatusInfo,
|
|
288
289
|
DescribeLogSearchRequest,
|
|
289
290
|
BuildAPIDocRequest,
|
|
291
|
+
DetachPluginResponse,
|
|
290
292
|
ApiKeysStatus,
|
|
291
293
|
APIDoc,
|
|
292
294
|
DescribeServiceUsagePlanResponse,
|
|
@@ -454,14 +456,14 @@ API 网关使用的最大单元为服务,每个服务中可创建多个 API
|
|
|
454
456
|
}
|
|
455
457
|
|
|
456
458
|
/**
|
|
457
|
-
* 本接口(
|
|
458
|
-
API
|
|
459
|
+
* 本接口(CreateUsagePlan)用于创建使用计划。
|
|
460
|
+
用户在使用 API 网关时,需要创建使用计划并将其绑定到服务的环境中使用。
|
|
459
461
|
*/
|
|
460
|
-
async
|
|
461
|
-
req:
|
|
462
|
-
cb?: (error: string, rep:
|
|
463
|
-
): Promise<
|
|
464
|
-
return this.request("
|
|
462
|
+
async CreateUsagePlan(
|
|
463
|
+
req: CreateUsagePlanRequest,
|
|
464
|
+
cb?: (error: string, rep: CreateUsagePlanResponse) => void
|
|
465
|
+
): Promise<CreateUsagePlanResponse> {
|
|
466
|
+
return this.request("CreateUsagePlan", req, cb)
|
|
465
467
|
}
|
|
466
468
|
|
|
467
469
|
/**
|
|
@@ -851,6 +853,17 @@ API 网关的服务创建后,需要发布到某个环境方生效后,使用
|
|
|
851
853
|
return this.request("CreateApi", req, cb)
|
|
852
854
|
}
|
|
853
855
|
|
|
856
|
+
/**
|
|
857
|
+
* 本接口(DescribeServiceSubDomainMappings)用于查询自定义域名的路径映射。
|
|
858
|
+
API 网关可绑定自定义域名到服务,并且可以对自定义域名的路径进行映射,可自定义不同的路径映射到服务中的三个环境,本接口用于查询绑定服务的自定义域名的路径映射列表。
|
|
859
|
+
*/
|
|
860
|
+
async DescribeServiceSubDomainMappings(
|
|
861
|
+
req: DescribeServiceSubDomainMappingsRequest,
|
|
862
|
+
cb?: (error: string, rep: DescribeServiceSubDomainMappingsResponse) => void
|
|
863
|
+
): Promise<DescribeServiceSubDomainMappingsResponse> {
|
|
864
|
+
return this.request("DescribeServiceSubDomainMappings", req, cb)
|
|
865
|
+
}
|
|
866
|
+
|
|
854
867
|
/**
|
|
855
868
|
* 本接口(DescribeExclusiveInstanceDetail)用于查询独享实例详情信息。
|
|
856
869
|
*/
|
|
@@ -1182,14 +1195,13 @@ API 网关可绑定自定义域名到服务,用于服务调用。此接口用
|
|
|
1182
1195
|
}
|
|
1183
1196
|
|
|
1184
1197
|
/**
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
return this.request("CreateUsagePlan", req, cb)
|
|
1198
|
+
* Get the list of supported regions for dedicated instances
|
|
1199
|
+
*/
|
|
1200
|
+
async DescribeExclusiveInstanceRegions(
|
|
1201
|
+
req?: DescribeExclusiveInstanceRegionsRequest,
|
|
1202
|
+
cb?: (error: string, rep: DescribeExclusiveInstanceRegionsResponse) => void
|
|
1203
|
+
): Promise<DescribeExclusiveInstanceRegionsResponse> {
|
|
1204
|
+
return this.request("DescribeExclusiveInstanceRegions", req, cb)
|
|
1193
1205
|
}
|
|
1194
1206
|
|
|
1195
1207
|
/**
|
|
@@ -3034,33 +3034,13 @@ export interface ModifySubDomainResponse {
|
|
|
3034
3034
|
}
|
|
3035
3035
|
|
|
3036
3036
|
/**
|
|
3037
|
-
*
|
|
3037
|
+
* DescribeExclusiveInstanceRegions返回参数结构体
|
|
3038
3038
|
*/
|
|
3039
|
-
export interface
|
|
3040
|
-
/**
|
|
3041
|
-
* 要查询的插件列表。
|
|
3042
|
-
*/
|
|
3043
|
-
PluginIds?: Array<string>
|
|
3044
|
-
/**
|
|
3045
|
-
* 要查询的插件名称。
|
|
3046
|
-
*/
|
|
3047
|
-
PluginName?: string
|
|
3048
|
-
/**
|
|
3049
|
-
* 要查询的插件类型。
|
|
3050
|
-
*/
|
|
3051
|
-
PluginType?: string
|
|
3052
|
-
/**
|
|
3053
|
-
* 返回数量,默认为 20,最大值为 100。
|
|
3054
|
-
*/
|
|
3055
|
-
Limit?: number
|
|
3039
|
+
export interface DescribeExclusiveInstanceRegionsResponse {
|
|
3056
3040
|
/**
|
|
3057
|
-
*
|
|
3058
|
-
*/
|
|
3059
|
-
Offset?: number
|
|
3060
|
-
/**
|
|
3061
|
-
* 过滤条件。预留字段,目前不支持过滤。
|
|
3041
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3062
3042
|
*/
|
|
3063
|
-
|
|
3043
|
+
RequestId?: string
|
|
3064
3044
|
}
|
|
3065
3045
|
|
|
3066
3046
|
/**
|
|
@@ -4719,18 +4699,9 @@ export interface DeleteApiRequest {
|
|
|
4719
4699
|
}
|
|
4720
4700
|
|
|
4721
4701
|
/**
|
|
4722
|
-
*
|
|
4702
|
+
* DescribeExclusiveInstanceRegions请求参数结构体
|
|
4723
4703
|
*/
|
|
4724
|
-
export
|
|
4725
|
-
/**
|
|
4726
|
-
* 服务唯一 ID。
|
|
4727
|
-
*/
|
|
4728
|
-
ServiceId: string
|
|
4729
|
-
/**
|
|
4730
|
-
* 服务绑定的自定义域名。
|
|
4731
|
-
*/
|
|
4732
|
-
SubDomain: string
|
|
4733
|
-
}
|
|
4704
|
+
export type DescribeExclusiveInstanceRegionsRequest = null
|
|
4734
4705
|
|
|
4735
4706
|
/**
|
|
4736
4707
|
* DescribeApiApp返回参数结构体
|
|
@@ -5240,17 +5211,47 @@ export interface DescribeAPIDocsResponse {
|
|
|
5240
5211
|
}
|
|
5241
5212
|
|
|
5242
5213
|
/**
|
|
5243
|
-
*
|
|
5214
|
+
* DescribeServiceSubDomainMappings请求参数结构体
|
|
5244
5215
|
*/
|
|
5245
|
-
export interface
|
|
5216
|
+
export interface DescribeServiceSubDomainMappingsRequest {
|
|
5246
5217
|
/**
|
|
5247
|
-
*
|
|
5218
|
+
* 服务唯一 ID。
|
|
5248
5219
|
*/
|
|
5249
|
-
|
|
5220
|
+
ServiceId: string
|
|
5250
5221
|
/**
|
|
5251
|
-
*
|
|
5222
|
+
* 服务绑定的自定义域名。
|
|
5252
5223
|
*/
|
|
5253
|
-
|
|
5224
|
+
SubDomain: string
|
|
5225
|
+
}
|
|
5226
|
+
|
|
5227
|
+
/**
|
|
5228
|
+
* DescribePlugins请求参数结构体
|
|
5229
|
+
*/
|
|
5230
|
+
export interface DescribePluginsRequest {
|
|
5231
|
+
/**
|
|
5232
|
+
* 要查询的插件列表。
|
|
5233
|
+
*/
|
|
5234
|
+
PluginIds?: Array<string>
|
|
5235
|
+
/**
|
|
5236
|
+
* 要查询的插件名称。
|
|
5237
|
+
*/
|
|
5238
|
+
PluginName?: string
|
|
5239
|
+
/**
|
|
5240
|
+
* 要查询的插件类型。
|
|
5241
|
+
*/
|
|
5242
|
+
PluginType?: string
|
|
5243
|
+
/**
|
|
5244
|
+
* 返回数量,默认为 20,最大值为 100。
|
|
5245
|
+
*/
|
|
5246
|
+
Limit?: number
|
|
5247
|
+
/**
|
|
5248
|
+
* 偏移量,默认为 0。
|
|
5249
|
+
*/
|
|
5250
|
+
Offset?: number
|
|
5251
|
+
/**
|
|
5252
|
+
* 过滤条件。预留字段,目前不支持过滤。
|
|
5253
|
+
*/
|
|
5254
|
+
Filters?: Array<Filter>
|
|
5254
5255
|
}
|
|
5255
5256
|
|
|
5256
5257
|
/**
|
|
@@ -6815,6 +6816,20 @@ export interface BuildAPIDocRequest {
|
|
|
6815
6816
|
ApiDocId: string
|
|
6816
6817
|
}
|
|
6817
6818
|
|
|
6819
|
+
/**
|
|
6820
|
+
* DetachPlugin返回参数结构体
|
|
6821
|
+
*/
|
|
6822
|
+
export interface DetachPluginResponse {
|
|
6823
|
+
/**
|
|
6824
|
+
* 解绑操作是否成功。
|
|
6825
|
+
*/
|
|
6826
|
+
Result: boolean
|
|
6827
|
+
/**
|
|
6828
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6829
|
+
*/
|
|
6830
|
+
RequestId?: string
|
|
6831
|
+
}
|
|
6832
|
+
|
|
6818
6833
|
/**
|
|
6819
6834
|
* 密钥列表
|
|
6820
6835
|
*/
|
|
@@ -510,16 +510,16 @@ export interface RepairTaskInfo {
|
|
|
510
510
|
/**
|
|
511
511
|
* 维修任务ID
|
|
512
512
|
*/
|
|
513
|
-
TaskId
|
|
513
|
+
TaskId?: string
|
|
514
514
|
/**
|
|
515
515
|
* 实例ID
|
|
516
516
|
*/
|
|
517
|
-
InstanceId
|
|
517
|
+
InstanceId?: string
|
|
518
518
|
/**
|
|
519
519
|
* 实例名称
|
|
520
520
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
521
521
|
*/
|
|
522
|
-
Alias
|
|
522
|
+
Alias?: string
|
|
523
523
|
/**
|
|
524
524
|
* 任务类型ID,与任务类型中文名的对应关系如下:
|
|
525
525
|
|
|
@@ -533,7 +533,7 @@ export interface RepairTaskInfo {
|
|
|
533
533
|
|
|
534
534
|
各任务类型的具体含义,可参考 [维修任务分类](https://cloud.tencent.com/document/product/213/67789#.E7.BB.B4.E4.BF.AE.E4.BB.BB.E5.8A.A1.E5.88.86.E7.B1.BB)。
|
|
535
535
|
*/
|
|
536
|
-
TaskTypeId
|
|
536
|
+
TaskTypeId?: number
|
|
537
537
|
/**
|
|
538
538
|
* 任务类型中文名
|
|
539
539
|
*/
|
|
@@ -550,7 +550,7 @@ export interface RepairTaskInfo {
|
|
|
550
550
|
|
|
551
551
|
各任务状态的具体含义,可参考 [任务状态](https://cloud.tencent.com/document/product/213/67789#.E4.BB.BB.E5.8A.A1.E7.8A.B6.E6.80.81)。
|
|
552
552
|
*/
|
|
553
|
-
TaskStatus
|
|
553
|
+
TaskStatus?: number
|
|
554
554
|
/**
|
|
555
555
|
* 设备状态ID,与设备状态中文名的对应关系如下:
|
|
556
556
|
|
|
@@ -576,32 +576,32 @@ export interface RepairTaskInfo {
|
|
|
576
576
|
/**
|
|
577
577
|
* 任务创建时间
|
|
578
578
|
*/
|
|
579
|
-
CreateTime
|
|
579
|
+
CreateTime?: string
|
|
580
580
|
/**
|
|
581
581
|
* 任务授权时间
|
|
582
582
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
583
583
|
*/
|
|
584
|
-
AuthTime
|
|
584
|
+
AuthTime?: string
|
|
585
585
|
/**
|
|
586
586
|
* 任务结束时间
|
|
587
587
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
588
588
|
*/
|
|
589
|
-
EndTime
|
|
589
|
+
EndTime?: string
|
|
590
590
|
/**
|
|
591
591
|
* 任务详情
|
|
592
592
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
593
593
|
*/
|
|
594
|
-
TaskDetail
|
|
594
|
+
TaskDetail?: string
|
|
595
595
|
/**
|
|
596
596
|
* 可用区
|
|
597
597
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
598
598
|
*/
|
|
599
|
-
Zone
|
|
599
|
+
Zone?: string
|
|
600
600
|
/**
|
|
601
601
|
* 地域
|
|
602
602
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
603
603
|
*/
|
|
604
|
-
Region
|
|
604
|
+
Region?: string
|
|
605
605
|
/**
|
|
606
606
|
* 所在私有网络ID
|
|
607
607
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -39,6 +39,7 @@ import {
|
|
|
39
39
|
DescribeServiceNodeInfosRequest,
|
|
40
40
|
DiskSpecInfo,
|
|
41
41
|
HiveQuery,
|
|
42
|
+
FairGlobalConfig,
|
|
42
43
|
Step,
|
|
43
44
|
PreExecuteFileSettings,
|
|
44
45
|
KeyValue,
|
|
@@ -55,7 +56,7 @@ import {
|
|
|
55
56
|
DiskSpec,
|
|
56
57
|
LoadAutoScaleStrategy,
|
|
57
58
|
SLInstanceInfo,
|
|
58
|
-
|
|
59
|
+
DefaultSetting,
|
|
59
60
|
COSSettings,
|
|
60
61
|
ClusterInstancesInfo,
|
|
61
62
|
CreateSLInstanceRequest,
|
|
@@ -94,6 +95,7 @@ import {
|
|
|
94
95
|
Resource,
|
|
95
96
|
FlowParam,
|
|
96
97
|
DescribeAutoScaleStrategiesResponse,
|
|
98
|
+
ModifyGlobalConfigRequest,
|
|
97
99
|
StopParams,
|
|
98
100
|
DependService,
|
|
99
101
|
PodSpec,
|
|
@@ -109,7 +111,7 @@ import {
|
|
|
109
111
|
ZoneSetting,
|
|
110
112
|
AllNodeResourceSpec,
|
|
111
113
|
Placement,
|
|
112
|
-
|
|
114
|
+
DescribeGlobalConfigResponse,
|
|
113
115
|
ModifyYarnDeployRequest,
|
|
114
116
|
PodParameter,
|
|
115
117
|
DescribeClusterFlowStatusDetailRequest,
|
|
@@ -122,7 +124,7 @@ import {
|
|
|
122
124
|
DescribeHiveQueriesResponse,
|
|
123
125
|
RunJobFlowResponse,
|
|
124
126
|
DescribeYarnQueueRequest,
|
|
125
|
-
|
|
127
|
+
DescribeInstanceRenewNodesResponse,
|
|
126
128
|
ModifyResourcesTagsResponse,
|
|
127
129
|
ModifyAutoRenewFlagResponse,
|
|
128
130
|
ScaleOutServiceConfGroupsInfo,
|
|
@@ -151,6 +153,7 @@ import {
|
|
|
151
153
|
RunJobFlowRequest,
|
|
152
154
|
GroupGlobalConfs,
|
|
153
155
|
PriceResource,
|
|
156
|
+
ModifyGlobalConfigResponse,
|
|
154
157
|
TimeAutoScaleStrategy,
|
|
155
158
|
ModifySLInstanceRequest,
|
|
156
159
|
DescribeInsightListResponse,
|
|
@@ -179,6 +182,7 @@ import {
|
|
|
179
182
|
UpdateInstanceSettings,
|
|
180
183
|
DescribeSLInstanceResponse,
|
|
181
184
|
ScriptBootstrapActionConfig,
|
|
185
|
+
CapacityGlobalConfig,
|
|
182
186
|
DescribeInstancesRequest,
|
|
183
187
|
NotRepeatStrategy,
|
|
184
188
|
TerminateSLInstanceResponse,
|
|
@@ -190,6 +194,7 @@ import {
|
|
|
190
194
|
DescribeInstancesListRequest,
|
|
191
195
|
ItemSeq,
|
|
192
196
|
RepeatStrategy,
|
|
197
|
+
QuotaEntity,
|
|
193
198
|
RenewInstancesInfo,
|
|
194
199
|
OutterResource,
|
|
195
200
|
OpScope,
|
|
@@ -241,11 +246,12 @@ import {
|
|
|
241
246
|
InquirePriceRenewEmrRequest,
|
|
242
247
|
ModifyResourceTags,
|
|
243
248
|
LoadMetricsCondition,
|
|
244
|
-
|
|
249
|
+
DescribeImpalaQueriesResponse,
|
|
245
250
|
CustomMetaDBInfo,
|
|
246
251
|
Item,
|
|
247
252
|
TableSchemaItem,
|
|
248
253
|
ConfigModifyInfoV2,
|
|
254
|
+
ModifyUserManagerPwdRequest,
|
|
249
255
|
InquiryPriceScaleOutInstanceResponse,
|
|
250
256
|
AutoScaleResourceConf,
|
|
251
257
|
ModifyResourceSchedulerResponse,
|
|
@@ -263,6 +269,7 @@ import {
|
|
|
263
269
|
ModifyResourcePoolsRequest,
|
|
264
270
|
DescribeJobFlowResponse,
|
|
265
271
|
InstanceChargePrepaid,
|
|
272
|
+
DescribeGlobalConfigRequest,
|
|
266
273
|
TerminateInstanceResponse,
|
|
267
274
|
} from "./emr_models"
|
|
268
275
|
|
|
@@ -405,6 +412,16 @@ export class Client extends AbstractClient {
|
|
|
405
412
|
return this.request("DescribeCvmQuota", req, cb)
|
|
406
413
|
}
|
|
407
414
|
|
|
415
|
+
/**
|
|
416
|
+
* 修改YARN资源调度的全局配置
|
|
417
|
+
*/
|
|
418
|
+
async ModifyGlobalConfig(
|
|
419
|
+
req: ModifyGlobalConfigRequest,
|
|
420
|
+
cb?: (error: string, rep: ModifyGlobalConfigResponse) => void
|
|
421
|
+
): Promise<ModifyGlobalConfigResponse> {
|
|
422
|
+
return this.request("ModifyGlobalConfig", req, cb)
|
|
423
|
+
}
|
|
424
|
+
|
|
408
425
|
/**
|
|
409
426
|
* 扩容节点
|
|
410
427
|
*/
|
|
@@ -415,6 +432,16 @@ export class Client extends AbstractClient {
|
|
|
415
432
|
return this.request("ScaleOutInstance", req, cb)
|
|
416
433
|
}
|
|
417
434
|
|
|
435
|
+
/**
|
|
436
|
+
* 查询YARN资源调度数据信息。已废弃,请使用`DescribeYarnQueue`去查询队列信息。
|
|
437
|
+
*/
|
|
438
|
+
async DescribeResourceSchedule(
|
|
439
|
+
req: DescribeResourceScheduleRequest,
|
|
440
|
+
cb?: (error: string, rep: DescribeResourceScheduleResponse) => void
|
|
441
|
+
): Promise<DescribeResourceScheduleResponse> {
|
|
442
|
+
return this.request("DescribeResourceSchedule", req, cb)
|
|
443
|
+
}
|
|
444
|
+
|
|
418
445
|
/**
|
|
419
446
|
* 修改用户密码(用户管理)
|
|
420
447
|
*/
|
|
@@ -683,13 +710,13 @@ export class Client extends AbstractClient {
|
|
|
683
710
|
}
|
|
684
711
|
|
|
685
712
|
/**
|
|
686
|
-
*
|
|
713
|
+
* 查询YARN资源调度的全局配置
|
|
687
714
|
*/
|
|
688
|
-
async
|
|
689
|
-
req:
|
|
690
|
-
cb?: (error: string, rep:
|
|
691
|
-
): Promise<
|
|
692
|
-
return this.request("
|
|
715
|
+
async DescribeGlobalConfig(
|
|
716
|
+
req: DescribeGlobalConfigRequest,
|
|
717
|
+
cb?: (error: string, rep: DescribeGlobalConfigResponse) => void
|
|
718
|
+
): Promise<DescribeGlobalConfigResponse> {
|
|
719
|
+
return this.request("DescribeGlobalConfig", req, cb)
|
|
693
720
|
}
|
|
694
721
|
|
|
695
722
|
/**
|
|
@@ -783,13 +810,13 @@ export class Client extends AbstractClient {
|
|
|
783
810
|
}
|
|
784
811
|
|
|
785
812
|
/**
|
|
786
|
-
*
|
|
813
|
+
* 添加扩缩容规则,按负载和时间
|
|
787
814
|
*/
|
|
788
|
-
async
|
|
789
|
-
req:
|
|
790
|
-
cb?: (error: string, rep:
|
|
791
|
-
): Promise<
|
|
792
|
-
return this.request("
|
|
815
|
+
async AddMetricScaleStrategy(
|
|
816
|
+
req: AddMetricScaleStrategyRequest,
|
|
817
|
+
cb?: (error: string, rep: AddMetricScaleStrategyResponse) => void
|
|
818
|
+
): Promise<AddMetricScaleStrategyResponse> {
|
|
819
|
+
return this.request("AddMetricScaleStrategy", req, cb)
|
|
793
820
|
}
|
|
794
821
|
|
|
795
822
|
/**
|