tencentcloud-sdk-nodejs-emr 4.0.1051 → 4.1.5

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.
@@ -629,7 +629,6 @@ export interface ModifyPodNumResponse {
629
629
  export interface CreateInstanceResponse {
630
630
  /**
631
631
  * 实例ID
632
- 注意:此字段可能返回 null,表示取不到有效值。
633
632
  */
634
633
  InstanceId?: string;
635
634
  /**
@@ -944,7 +943,6 @@ export interface KeyValue {
944
943
  export interface DescribeServiceNodeInfosResponse {
945
944
  /**
946
945
  * 总数量
947
- 注意:此字段可能返回 null,表示取不到有效值。
948
946
  */
949
947
  TotalCnt?: number;
950
948
  /**
@@ -954,7 +952,6 @@ export interface DescribeServiceNodeInfosResponse {
954
952
  ServiceNodeList?: Array<ServiceNodeDetailInfo>;
955
953
  /**
956
954
  * 集群所有节点的别名序列化
957
- 注意:此字段可能返回 null,表示取不到有效值。
958
955
  */
959
956
  AliasInfo?: string;
960
957
  /**
@@ -1054,6 +1051,31 @@ export interface EmrProductConfigDetail {
1054
1051
  */
1055
1052
  PublicKeyId?: string;
1056
1053
  }
1054
+ /**
1055
+ * 节点子项续费询价明细
1056
+ */
1057
+ export interface RenewPriceDetail {
1058
+ /**
1059
+ * 计费项名称
1060
+ */
1061
+ BillingName?: string;
1062
+ /**
1063
+ * 折扣
1064
+ */
1065
+ Policy?: number;
1066
+ /**
1067
+ * 数量
1068
+ */
1069
+ Quantity?: number;
1070
+ /**
1071
+ * 原价
1072
+ */
1073
+ OriginalCost?: number;
1074
+ /**
1075
+ * 折扣价
1076
+ */
1077
+ DiscountCost?: number;
1078
+ }
1057
1079
  /**
1058
1080
  * ResetYarnConfig请求参数结构体
1059
1081
  */
@@ -2135,6 +2157,10 @@ export interface AttachDisksRequest {
2135
2157
  * 可选参数,不传该参数则仅执行挂载操作。传入True时,会在挂载成功后将云硬盘设置为随云主机销毁模式,仅对按量计费云硬盘有效。
2136
2158
  */
2137
2159
  DeleteWithInstance?: boolean;
2160
+ /**
2161
+ * 新挂磁盘时可支持配置的服务名称列表
2162
+ */
2163
+ SelectiveConfServices?: Array<string>;
2138
2164
  }
2139
2165
  /**
2140
2166
  * DescribeInstances返回参数结构体
@@ -2165,12 +2191,10 @@ export interface DescribeInstancesResponse {
2165
2191
  export interface ModifyYarnDeployResponse {
2166
2192
  /**
2167
2193
  * 为false不点亮部署生效、重置
2168
- 注意:此字段可能返回 null,表示取不到有效值。
2169
2194
  */
2170
2195
  IsDraft?: boolean;
2171
2196
  /**
2172
2197
  * 错误信息,预留
2173
- 注意:此字段可能返回 null,表示取不到有效值。
2174
2198
  */
2175
2199
  ErrorMsg?: string;
2176
2200
  /**
@@ -2405,7 +2429,6 @@ export interface EmrListInstance {
2405
2429
  ClusterId?: string;
2406
2430
  /**
2407
2431
  * 常见状态描述:集群生产中,集群运行中,集群创建中,集群已关闭,集群已删除
2408
- 注意:此字段可能返回 null,表示取不到有效值。
2409
2432
  */
2410
2433
  StatusDesc?: string;
2411
2434
  /**
@@ -2446,37 +2469,30 @@ export interface EmrListInstance {
2446
2469
  Id?: number;
2447
2470
  /**
2448
2471
  * 产品ID
2449
- 注意:此字段可能返回 null,表示取不到有效值。
2450
2472
  */
2451
2473
  ProductId?: number;
2452
2474
  /**
2453
2475
  * 项目ID
2454
- 注意:此字段可能返回 null,表示取不到有效值。
2455
2476
  */
2456
2477
  ProjectId?: number;
2457
2478
  /**
2458
2479
  * 区域
2459
- 注意:此字段可能返回 null,表示取不到有效值。
2460
2480
  */
2461
2481
  RegionId?: number;
2462
2482
  /**
2463
2483
  * 子网ID
2464
- 注意:此字段可能返回 null,表示取不到有效值。
2465
2484
  */
2466
2485
  SubnetId?: number;
2467
2486
  /**
2468
2487
  * 网络ID
2469
- 注意:此字段可能返回 null,表示取不到有效值。
2470
2488
  */
2471
2489
  VpcId?: number;
2472
2490
  /**
2473
2491
  * 地区
2474
- 注意:此字段可能返回 null,表示取不到有效值。
2475
2492
  */
2476
2493
  Zone?: string;
2477
2494
  /**
2478
2495
  * 状态码, 取值为-2(集群已删除), -1(集群已关闭), 0(集群生产中), 2(集群运行中), 3(集群创建中)
2479
- 注意:此字段可能返回 null,表示取不到有效值。
2480
2496
  */
2481
2497
  Status?: number;
2482
2498
  /**
@@ -2486,47 +2502,38 @@ export interface EmrListInstance {
2486
2502
  Tags?: Array<Tag>;
2487
2503
  /**
2488
2504
  * 告警信息
2489
- 注意:此字段可能返回 null,表示取不到有效值。
2490
2505
  */
2491
2506
  AlarmInfo?: string;
2492
2507
  /**
2493
2508
  * 是否是woodpecker集群
2494
- 注意:此字段可能返回 null,表示取不到有效值。
2495
2509
  */
2496
2510
  IsWoodpeckerCluster?: number;
2497
2511
  /**
2498
2512
  * Vpc中文
2499
- 注意:此字段可能返回 null,表示取不到有效值。
2500
2513
  */
2501
2514
  VpcName?: string;
2502
2515
  /**
2503
2516
  * 子网中文
2504
- 注意:此字段可能返回 null,表示取不到有效值。
2505
2517
  */
2506
2518
  SubnetName?: string;
2507
2519
  /**
2508
2520
  * 字符串VpcId
2509
- 注意:此字段可能返回 null,表示取不到有效值。
2510
2521
  */
2511
2522
  UniqVpcId?: string;
2512
2523
  /**
2513
2524
  * 字符串子网
2514
- 注意:此字段可能返回 null,表示取不到有效值。
2515
2525
  */
2516
2526
  UniqSubnetId?: string;
2517
2527
  /**
2518
2528
  * 集群类型
2519
- 注意:此字段可能返回 null,表示取不到有效值。
2520
2529
  */
2521
2530
  ClusterClass?: string;
2522
2531
  /**
2523
2532
  * 是否为跨AZ集群
2524
- 注意:此字段可能返回 null,表示取不到有效值。
2525
2533
  */
2526
2534
  IsMultiZoneCluster?: boolean;
2527
2535
  /**
2528
2536
  * 是否手戳集群
2529
- 注意:此字段可能返回 null,表示取不到有效值。
2530
2537
  */
2531
2538
  IsHandsCluster?: boolean;
2532
2539
  /**
@@ -2536,14 +2543,16 @@ export interface EmrListInstance {
2536
2543
  OutSideSoftInfo?: Array<SoftDependInfo>;
2537
2544
  /**
2538
2545
  * 当前集群的应用场景是否支持体外客户端
2539
- 注意:此字段可能返回 null,表示取不到有效值。
2540
2546
  */
2541
2547
  IsSupportOutsideCluster?: boolean;
2542
2548
  /**
2543
2549
  * 是否专有集群场景集群
2544
- 注意:此字段可能返回 null,表示取不到有效值。
2545
2550
  */
2546
2551
  IsDedicatedCluster?: boolean;
2552
+ /**
2553
+ * 集群支持克隆
2554
+ */
2555
+ IsSupportClone?: boolean;
2547
2556
  }
2548
2557
  /**
2549
2558
  * 磁盘信息
@@ -3079,6 +3088,22 @@ export interface DescribeNodeDataDisksRequest {
3079
3088
  * 节点CVM实例Id列表
3080
3089
  */
3081
3090
  CvmInstanceIds: Array<string>;
3091
+ /**
3092
+ * 查询云盘的过滤条件
3093
+ */
3094
+ Filters?: Array<Filters>;
3095
+ /**
3096
+ * 模糊搜索
3097
+ */
3098
+ InnerSearch?: string;
3099
+ /**
3100
+ * 每页返回数量,默认值为100,最大值为100。
3101
+ */
3102
+ Limit?: number;
3103
+ /**
3104
+ * 数据偏移值
3105
+ */
3106
+ Offset?: number;
3082
3107
  }
3083
3108
  /**
3084
3109
  * ModifyGlobalConfig请求参数结构体
@@ -3212,6 +3237,10 @@ export interface InquiryPriceRenewInstanceResponse {
3212
3237
  注意:此字段可能返回 null,表示取不到有效值。
3213
3238
  */
3214
3239
  PriceDetail?: Array<PriceDetail>;
3240
+ /**
3241
+ * 节点续费询价明细列表
3242
+ */
3243
+ NodeRenewPriceDetails?: Array<NodeRenewPriceDetail>;
3215
3244
  /**
3216
3245
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3217
3246
  */
@@ -3824,33 +3853,25 @@ export interface SyncPodStateResponse {
3824
3853
  RequestId?: string;
3825
3854
  }
3826
3855
  /**
3827
- * 用户管理中用户的简要信息
3856
+ * TerminateInstance请求参数结构体
3828
3857
  */
3829
- export interface UserManagerUserBriefInfo {
3830
- /**
3831
- * 用户名
3832
- */
3833
- UserName?: string;
3834
- /**
3835
- * 用户所属的组
3836
- */
3837
- UserGroup?: string;
3858
+ export interface TerminateInstanceRequest {
3838
3859
  /**
3839
- * Manager表示管理员、NormalUser表示普通用户
3860
+ * 实例ID。
3840
3861
  */
3841
- UserType?: string;
3862
+ InstanceId: string;
3842
3863
  /**
3843
- * 用户创建时间
3864
+ * 销毁节点ID。该参数为预留参数,用户无需配置。
3844
3865
  */
3845
- CreateTime?: string;
3866
+ ResourceIds?: Array<string>;
3846
3867
  /**
3847
- * 是否可以下载用户对应的keytab文件,对开启kerberos的集群才有意义
3868
+ * 类型为ComputeResource和EMR以及默认,默认为EMR,类型为EMR时,InstanceId生效,类型为ComputeResource时,使用ComputeResourceId标识
3848
3869
  */
3849
- SupportDownLoadKeyTab?: boolean;
3870
+ ResourceBaseType?: string;
3850
3871
  /**
3851
- * keytab文件的下载地址
3872
+ * 计算资源ID
3852
3873
  */
3853
- DownLoadKeyTabUrl?: string;
3874
+ ComputeResourceId?: string;
3854
3875
  }
3855
3876
  /**
3856
3877
  * 资源描述
@@ -4435,7 +4456,6 @@ export interface DescribeYarnScheduleHistoryResponse {
4435
4456
  Tasks?: Array<SchedulerTaskInfo>;
4436
4457
  /**
4437
4458
  * 任务详情总数
4438
- 注意:此字段可能返回 null,表示取不到有效值。
4439
4459
  */
4440
4460
  Total?: number;
4441
4461
  /**
@@ -4852,25 +4872,41 @@ export interface MultiDisk {
4852
4872
  Count?: number;
4853
4873
  }
4854
4874
  /**
4855
- * TerminateInstance请求参数结构体
4875
+ * 节点续费询价明细
4856
4876
  */
4857
- export interface TerminateInstanceRequest {
4877
+ export interface NodeRenewPriceDetail {
4858
4878
  /**
4859
- * 实例ID。
4879
+ * 计费类型,包月为1、包销为3
4860
4880
  */
4861
- InstanceId: string;
4881
+ ChargeType?: number;
4862
4882
  /**
4863
- * 销毁节点ID。该参数为预留参数,用户无需配置。
4883
+ * emr资源id
4864
4884
  */
4865
- ResourceIds?: Array<string>;
4885
+ EmrResourceId?: string;
4866
4886
  /**
4867
- * 类型为ComputeResource和EMR以及默认,默认为EMR,类型为EMR时,InstanceId生效,类型为ComputeResource时,使用ComputeResourceId标识
4887
+ * 节点类型
4868
4888
  */
4869
- ResourceBaseType?: string;
4889
+ NodeType?: string;
4870
4890
  /**
4871
- * 计算资源ID
4891
+ * 节点内网ip
4872
4892
  */
4873
- ComputeResourceId?: string;
4893
+ Ip?: string;
4894
+ /**
4895
+ * 当前到期时间
4896
+ */
4897
+ ExpireTime?: string;
4898
+ /**
4899
+ * 原价
4900
+ */
4901
+ OriginalCost?: number;
4902
+ /**
4903
+ * 折扣价
4904
+ */
4905
+ DiscountCost?: number;
4906
+ /**
4907
+ * 节点子项续费询价明细列表
4908
+ */
4909
+ RenewPriceDetails?: Array<RenewPriceDetail>;
4874
4910
  }
4875
4911
  /**
4876
4912
  * DescribeNodeResourceConfigFast请求参数结构体
@@ -5277,6 +5313,35 @@ export interface CustomServiceDefine {
5277
5313
  */
5278
5314
  Value?: string;
5279
5315
  }
5316
+ /**
5317
+ * 用户管理中用户的简要信息
5318
+ */
5319
+ export interface UserManagerUserBriefInfo {
5320
+ /**
5321
+ * 用户名
5322
+ */
5323
+ UserName?: string;
5324
+ /**
5325
+ * 用户所属的组
5326
+ */
5327
+ UserGroup?: string;
5328
+ /**
5329
+ * Manager表示管理员、NormalUser表示普通用户
5330
+ */
5331
+ UserType?: string;
5332
+ /**
5333
+ * 用户创建时间
5334
+ */
5335
+ CreateTime?: string;
5336
+ /**
5337
+ * 是否可以下载用户对应的keytab文件,对开启kerberos的集群才有意义
5338
+ */
5339
+ SupportDownLoadKeyTab?: boolean;
5340
+ /**
5341
+ * keytab文件的下载地址
5342
+ */
5343
+ DownLoadKeyTabUrl?: string;
5344
+ }
5280
5345
  /**
5281
5346
  * 任务步骤详情
5282
5347
  */
@@ -6149,7 +6214,6 @@ export interface DescribeEmrOverviewMetricsResponse {
6149
6214
  export interface ClusterRelationMeta {
6150
6215
  /**
6151
6216
  * 集群类型
6152
- 注意:此字段可能返回 null,表示取不到有效值。
6153
6217
  */
6154
6218
  ClusterType?: string;
6155
6219
  /**
@@ -6398,12 +6462,16 @@ export interface DescribeNodeDataDisksResponse {
6398
6462
  /**
6399
6463
  * 总数量
6400
6464
  */
6401
- TotalCount: number;
6465
+ TotalCount?: number;
6402
6466
  /**
6403
6467
  * 云盘列表
6404
6468
  注意:此字段可能返回 null,表示取不到有效值。
6405
6469
  */
6406
- CBSList: Array<CBSInstance>;
6470
+ CBSList?: Array<CBSInstance>;
6471
+ /**
6472
+ * 云盘最大容量
6473
+ */
6474
+ MaxSize?: number;
6407
6475
  /**
6408
6476
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6409
6477
  */
@@ -6479,7 +6547,6 @@ export interface RepeatStrategy {
6479
6547
  NotRepeat?: NotRepeatStrategy;
6480
6548
  /**
6481
6549
  * 规则过期时间,超过该时间后,规则将自动置为暂停状态,形式为"2020-07-23 00:00:00"。必须填写
6482
- 注意:此字段可能返回 null,表示取不到有效值。
6483
6550
  */
6484
6551
  Expire?: string;
6485
6552
  /**
@@ -6644,10 +6711,6 @@ export interface ResizeDataDisksRequest {
6644
6711
  * EMR集群实例ID
6645
6712
  */
6646
6713
  InstanceId: string;
6647
- /**
6648
- * 需要扩容的云盘ID
6649
- */
6650
- DiskIds: Array<string>;
6651
6714
  /**
6652
6715
  * 需要扩充的容量值,容量值需要大于原容量,并且为10的整数倍
6653
6716
  */
@@ -6656,6 +6719,14 @@ export interface ResizeDataDisksRequest {
6656
6719
  * 需要扩容的节点ID列表
6657
6720
  */
6658
6721
  CvmInstanceIds: Array<string>;
6722
+ /**
6723
+ * 需要扩容的云盘ID
6724
+ */
6725
+ DiskIds?: Array<string>;
6726
+ /**
6727
+ * 是否扩容全部云硬盘
6728
+ */
6729
+ ResizeAll?: boolean;
6659
6730
  }
6660
6731
  /**
6661
6732
  * DeleteAutoScaleStrategy请求参数结构体
@@ -7253,6 +7324,10 @@ export interface InquirePriceRenewEmrResponse {
7253
7324
  * 实例续费的时长。
7254
7325
  */
7255
7326
  TimeSpan?: number;
7327
+ /**
7328
+ * 节点续费询价明细列表
7329
+ */
7330
+ NodeRenewPriceDetails?: Array<NodeRenewPriceDetail>;
7256
7331
  /**
7257
7332
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7258
7333
  */
@@ -7804,6 +7879,10 @@ export interface CBSInstance {
7804
7879
  * 云盘是否为共享型云盘。
7805
7880
  */
7806
7881
  Shareable?: boolean;
7882
+ /**
7883
+ * emr节点ID
7884
+ */
7885
+ EmrResourceId?: string;
7807
7886
  }
7808
7887
  /**
7809
7888
  * ModifyResourceScheduleConfig请求参数结构体
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.v20190103 = void 0;
4
- const Models = require("./emr_models");
4
+ const tslib_1 = require("tslib");
5
+ const Models = tslib_1.__importStar(require("./emr_models"));
5
6
  const emr_client_1 = require("./emr_client");
6
7
  exports.v20190103 = {
7
8
  Client: emr_client_1.Client,
package/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import * as tencentcloud from './tencentcloud';
2
- export default tencentcloud;
package/index.js DELETED
@@ -1,6 +0,0 @@
1
- 'use strict'
2
- Object.defineProperty(exports, '__esModule', { value: true })
3
- const tslib_1 = require('tslib')
4
- const tencentcloud = tslib_1.__importStar(require('./tencentcloud'))
5
- exports.default = tencentcloud
6
- //# sourceMappingURL=index.js.map
@@ -1,38 +0,0 @@
1
- // prettier.config.js
2
- module.exports = {
3
- // 一行最多 100 字符
4
- printWidth: 100,
5
- // 使用 4 个空格缩进
6
- tabWidth: 2,
7
- // 不使用缩进符,而使用空格
8
- useTabs: false,
9
- // 行尾需要有分号
10
- semi: false,
11
- // 使用单引号
12
- singleQuote: false,
13
- // 对象的 key 仅在必要时用引号
14
- quoteProps: "as-needed",
15
- // jsx 不使用单引号,而使用双引号
16
- jsxSingleQuote: false,
17
- // 末尾不需要逗号
18
- trailingComma: "es5",
19
- // 大括号内的首尾需要空格
20
- bracketSpacing: true,
21
- // jsx 标签的反尖括号需要换行
22
- jsxBracketSameLine: false,
23
- // 箭头函数,只有一个参数的时候,也需要括号
24
- arrowParens: "always",
25
- // 每个文件格式化的范围是文件的全部内容
26
- rangeStart: 0,
27
- rangeEnd: Infinity,
28
- // 不需要写文件开头的 @prettier
29
- requirePragma: false,
30
- // 不需要自动在文件开头插入 @prettier
31
- insertPragma: false,
32
- // 使用默认的折行标准
33
- proseWrap: "preserve",
34
- // 根据显示样式决定 html 要不要折行
35
- htmlWhitespaceSensitivity: "css",
36
- // 换行符使用 lf
37
- endOfLine: "lf",
38
- }
package/src/index.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./services"
@@ -1,5 +0,0 @@
1
- import { v20190103 } from "./v20190103"
2
-
3
- export const emr = {
4
- v20190103: v20190103,
5
- }