tencentcloud-sdk-emr 1.0.327 → 1.0.328

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 927082337129d3e048ddba49070b126d5af434cd
4
- data.tar.gz: 64eb2b22e8354708256ce8e5df80917db47be013
3
+ metadata.gz: bc4174d744f9522f0872854d537b5c638275b142
4
+ data.tar.gz: 7ffe90b98e89a9b4fd4452f97dc34e993c65e93f
5
5
  SHA512:
6
- metadata.gz: c71ede4f25914875364456b0a9b2cd28604da3f1d1000e70b572fccbd27597fb62f64a9f000a50e6e2db13b424266c48194c7a2f388d97a22e70021d7be1c333
7
- data.tar.gz: 655c0a4d217f12792b346cd5a72e61bf8341859a8b5a4483e5f2a922200373604ed6d6a8c2db8c51f0c5a04b1b8fc5f02d3345ad7d2910697b7844a6cf278f5e
6
+ metadata.gz: 9f9e5cdb0040f37f86815d658cf717888340717ab9167c1d7baf84b7ae8e8b06ba99a698f54f51ea3ac3cd25ddb6d4dab830a438b98791041be1881fdb8f5a16
7
+ data.tar.gz: f5c054ea7369af2dec203da6c4d70500361bdfae4680a71487e9f5cb6cf8cd427c27b39e3350f665ef06367a553f5527fd661d5c766a65f875cc5712bf56c111
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.327
1
+ 1.0.328
@@ -245,7 +245,7 @@ module TencentCloud
245
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
246
  end
247
247
 
248
- # 批量导出用户
248
+ # 批量导出用户。对于kerberos集群,如果需要kertab文件下载地址,可以将NeedKeytabInfo设置为true;注意SupportDownLoadKeyTab为true,但是DownLoadKeyTabUrl为空字符串,表示keytab文件在后台没有准备好(正在生成)
249
249
 
250
250
  # @param request: Request instance for DescribeUsersForUserManager.
251
251
  # @type request: :class:`Tencentcloud::emr::V20190103::DescribeUsersForUserManagerRequest`
@@ -19,16 +19,20 @@ module TencentCloud
19
19
  module V20190103
20
20
  # AddUsersForUserManager请求参数结构体
21
21
  class AddUsersForUserManagerRequest < TencentCloud::Common::AbstractModel
22
+ # @param InstanceId: 集群字符串ID
23
+ # @type InstanceId: String
22
24
  # @param UserManagerUserList: 用户信息列表
23
25
  # @type UserManagerUserList: Array
24
26
 
25
- attr_accessor :UserManagerUserList
27
+ attr_accessor :InstanceId, :UserManagerUserList
26
28
 
27
- def initialize(usermanageruserlist=nil)
29
+ def initialize(instanceid=nil, usermanageruserlist=nil)
30
+ @InstanceId = instanceid
28
31
  @UserManagerUserList = usermanageruserlist
29
32
  end
30
33
 
31
34
  def deserialize(params)
35
+ @InstanceId = params['InstanceId']
32
36
  unless params['UserManagerUserList'].nil?
33
37
  @UserManagerUserList = []
34
38
  params['UserManagerUserList'].each do |i|
@@ -42,16 +46,26 @@ module TencentCloud
42
46
 
43
47
  # AddUsersForUserManager返回参数结构体
44
48
  class AddUsersForUserManagerResponse < TencentCloud::Common::AbstractModel
49
+ # @param SuccessUserList: 添加成功的用户列表
50
+ # 注意:此字段可能返回 null,表示取不到有效值。
51
+ # @type SuccessUserList: Array
52
+ # @param FailedUserList: 添加失败的用户列表
53
+ # 注意:此字段可能返回 null,表示取不到有效值。
54
+ # @type FailedUserList: Array
45
55
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
46
56
  # @type RequestId: String
47
57
 
48
- attr_accessor :RequestId
58
+ attr_accessor :SuccessUserList, :FailedUserList, :RequestId
49
59
 
50
- def initialize(requestid=nil)
60
+ def initialize(successuserlist=nil, faileduserlist=nil, requestid=nil)
61
+ @SuccessUserList = successuserlist
62
+ @FailedUserList = faileduserlist
51
63
  @RequestId = requestid
52
64
  end
53
65
 
54
66
  def deserialize(params)
67
+ @SuccessUserList = params['SuccessUserList']
68
+ @FailedUserList = params['FailedUserList']
55
69
  @RequestId = params['RequestId']
56
70
  end
57
71
  end
@@ -1383,32 +1397,67 @@ module TencentCloud
1383
1397
 
1384
1398
  # DescribeUsersForUserManager请求参数结构体
1385
1399
  class DescribeUsersForUserManagerRequest < TencentCloud::Common::AbstractModel
1400
+ # @param InstanceId: 集群实例ID
1401
+ # @type InstanceId: String
1402
+ # @param PageNo: 页码
1403
+ # @type PageNo: Integer
1404
+ # @param PageSize: 分页的大小
1405
+ # @type PageSize: Integer
1406
+ # @param UserManagerFilter: 查询用户列表过滤器
1407
+ # @type UserManagerFilter: :class:`Tencentcloud::Emr.v20190103.models.UserManagerFilter`
1386
1408
  # @param NeedKeytabInfo: 是否需要keytab文件的信息,仅对开启kerberos的集群有效,默认为false
1387
1409
  # @type NeedKeytabInfo: Boolean
1388
1410
 
1389
- attr_accessor :NeedKeytabInfo
1411
+ attr_accessor :InstanceId, :PageNo, :PageSize, :UserManagerFilter, :NeedKeytabInfo
1390
1412
 
1391
- def initialize(needkeytabinfo=nil)
1413
+ def initialize(instanceid=nil, pageno=nil, pagesize=nil, usermanagerfilter=nil, needkeytabinfo=nil)
1414
+ @InstanceId = instanceid
1415
+ @PageNo = pageno
1416
+ @PageSize = pagesize
1417
+ @UserManagerFilter = usermanagerfilter
1392
1418
  @NeedKeytabInfo = needkeytabinfo
1393
1419
  end
1394
1420
 
1395
1421
  def deserialize(params)
1422
+ @InstanceId = params['InstanceId']
1423
+ @PageNo = params['PageNo']
1424
+ @PageSize = params['PageSize']
1425
+ unless params['UserManagerFilter'].nil?
1426
+ @UserManagerFilter = UserManagerFilter.new
1427
+ @UserManagerFilter.deserialize(params['UserManagerFilter'])
1428
+ end
1396
1429
  @NeedKeytabInfo = params['NeedKeytabInfo']
1397
1430
  end
1398
1431
  end
1399
1432
 
1400
1433
  # DescribeUsersForUserManager返回参数结构体
1401
1434
  class DescribeUsersForUserManagerResponse < TencentCloud::Common::AbstractModel
1435
+ # @param TotalCnt: 总数
1436
+ # @type TotalCnt: Integer
1437
+ # @param UserManagerUserList: 用户信息列表
1438
+ # 注意:此字段可能返回 null,表示取不到有效值。
1439
+ # @type UserManagerUserList: Array
1402
1440
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1403
1441
  # @type RequestId: String
1404
1442
 
1405
- attr_accessor :RequestId
1443
+ attr_accessor :TotalCnt, :UserManagerUserList, :RequestId
1406
1444
 
1407
- def initialize(requestid=nil)
1445
+ def initialize(totalcnt=nil, usermanageruserlist=nil, requestid=nil)
1446
+ @TotalCnt = totalcnt
1447
+ @UserManagerUserList = usermanageruserlist
1408
1448
  @RequestId = requestid
1409
1449
  end
1410
1450
 
1411
1451
  def deserialize(params)
1452
+ @TotalCnt = params['TotalCnt']
1453
+ unless params['UserManagerUserList'].nil?
1454
+ @UserManagerUserList = []
1455
+ params['UserManagerUserList'].each do |i|
1456
+ usermanageruserbriefinfo_tmp = UserManagerUserBriefInfo.new
1457
+ usermanageruserbriefinfo_tmp.deserialize(i)
1458
+ @UserManagerUserList << usermanageruserbriefinfo_tmp
1459
+ end
1460
+ end
1412
1461
  @RequestId = params['RequestId']
1413
1462
  end
1414
1463
  end
@@ -4461,6 +4510,55 @@ module TencentCloud
4461
4510
  end
4462
4511
  end
4463
4512
 
4513
+ # 用户管理列表过滤器
4514
+ class UserManagerFilter < TencentCloud::Common::AbstractModel
4515
+
4516
+
4517
+ def initialize()
4518
+ end
4519
+
4520
+ def deserialize(params)
4521
+ end
4522
+ end
4523
+
4524
+ # 用户管理中用户的简要信息
4525
+ class UserManagerUserBriefInfo < TencentCloud::Common::AbstractModel
4526
+ # @param UserName: 用户名
4527
+ # @type UserName: String
4528
+ # @param UserGroup: 用户所属的组
4529
+ # @type UserGroup: String
4530
+ # @param UserType: Manager表示管理员、NormalUser表示普通用户
4531
+ # @type UserType: String
4532
+ # @param CreateTime: 用户创建时间
4533
+ # 注意:此字段可能返回 null,表示取不到有效值。
4534
+ # @type CreateTime: String
4535
+ # @param SupportDownLoadKeyTab: 是否可以下载用户对应的keytab文件,对开启kerberos的集群才有意义
4536
+ # @type SupportDownLoadKeyTab: Boolean
4537
+ # @param DownLoadKeyTabUrl: keytab文件的下载地址
4538
+ # 注意:此字段可能返回 null,表示取不到有效值。
4539
+ # @type DownLoadKeyTabUrl: String
4540
+
4541
+ attr_accessor :UserName, :UserGroup, :UserType, :CreateTime, :SupportDownLoadKeyTab, :DownLoadKeyTabUrl
4542
+
4543
+ def initialize(username=nil, usergroup=nil, usertype=nil, createtime=nil, supportdownloadkeytab=nil, downloadkeytaburl=nil)
4544
+ @UserName = username
4545
+ @UserGroup = usergroup
4546
+ @UserType = usertype
4547
+ @CreateTime = createtime
4548
+ @SupportDownLoadKeyTab = supportdownloadkeytab
4549
+ @DownLoadKeyTabUrl = downloadkeytaburl
4550
+ end
4551
+
4552
+ def deserialize(params)
4553
+ @UserName = params['UserName']
4554
+ @UserGroup = params['UserGroup']
4555
+ @UserType = params['UserType']
4556
+ @CreateTime = params['CreateTime']
4557
+ @SupportDownLoadKeyTab = params['SupportDownLoadKeyTab']
4558
+ @DownLoadKeyTabUrl = params['DownLoadKeyTabUrl']
4559
+ end
4560
+ end
4561
+
4464
4562
  # VPC 参数
4465
4563
  class VPCSettings < TencentCloud::Common::AbstractModel
4466
4564
  # @param VpcId: VPC ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-emr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.327
4
+ version: 1.0.328
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-06 00:00:00.000000000 Z
11
+ date: 2022-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common