tencentcloud-sdk-emr 3.0.1186 → 3.0.1192

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190103/models.rb +78 -5
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d302b23d9fcf6dae1a90efe05551c0ff47b9821d
4
- data.tar.gz: 93012b5549eb79a68a9750e2b74da6cb12909445
3
+ metadata.gz: 84f0a0e378b47ae23b8c0f25d4d3586a423f7aaf
4
+ data.tar.gz: 5de308a84a87c8ffd3c2d5ec40a8b58753d6ddbb
5
5
  SHA512:
6
- metadata.gz: 16f1998089f6291c1627d07d358ca4b13938cadd1ea0f947744f3d2f7b709efcab21e19a76516e163458fa5b87af3426c3cee4bd3d682c18eb77b6339b1e149a
7
- data.tar.gz: 68a1bb367998a22900d67d7fe80c26271e6586396d27bd42f670696f2343ee8d0c52e670d12888cebf11494fab36ab533689c42efc75c326e3a5d0e00333f391
6
+ metadata.gz: c9b9d7005e28d6aa8fd318b5f77adf84c5b7539254349da8925737d8bef4c3bbdda5aceecbbbc22589c141914c8ceb44d5770697b8a03797be8b185c3560ad57
7
+ data.tar.gz: 513335fe711bd0076d5d536bcf6e277cf9c4225d6c1f82886dc6f4f1f7f076120fc39214d9c87a4bdb53e129652a2908715e99b45432796f1532dc0c87696ae3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1186
1
+ 3.0.1192
@@ -889,10 +889,13 @@ module TencentCloud
889
889
  # @param Disks: 所选数据盘信息
890
890
  # 注意:此字段可能返回 null,表示取不到有效值。
891
891
  # @type Disks: Array
892
+ # @param Tolerations: 容忍
893
+ # 注意:此字段可能返回 null,表示取不到有效值。
894
+ # @type Tolerations: Array
892
895
 
893
- attr_accessor :ComponentName, :PodNumber, :LimitCpu, :LimitMemory, :Service, :VolumeDir, :ExternalAccess, :Affinity, :Disks
896
+ attr_accessor :ComponentName, :PodNumber, :LimitCpu, :LimitMemory, :Service, :VolumeDir, :ExternalAccess, :Affinity, :Disks, :Tolerations
894
897
 
895
- def initialize(componentname=nil, podnumber=nil, limitcpu=nil, limitmemory=nil, service=nil, volumedir=nil, externalaccess=nil, affinity=nil, disks=nil)
898
+ def initialize(componentname=nil, podnumber=nil, limitcpu=nil, limitmemory=nil, service=nil, volumedir=nil, externalaccess=nil, affinity=nil, disks=nil, tolerations=nil)
896
899
  @ComponentName = componentname
897
900
  @PodNumber = podnumber
898
901
  @LimitCpu = limitcpu
@@ -902,6 +905,7 @@ module TencentCloud
902
905
  @ExternalAccess = externalaccess
903
906
  @Affinity = affinity
904
907
  @Disks = disks
908
+ @Tolerations = tolerations
905
909
  end
906
910
 
907
911
  def deserialize(params)
@@ -930,6 +934,14 @@ module TencentCloud
930
934
  @Disks << disk_tmp
931
935
  end
932
936
  end
937
+ unless params['Tolerations'].nil?
938
+ @Tolerations = []
939
+ params['Tolerations'].each do |i|
940
+ toleration_tmp = Toleration.new
941
+ toleration_tmp.deserialize(i)
942
+ @Tolerations << toleration_tmp
943
+ end
944
+ end
933
945
  end
934
946
  end
935
947
 
@@ -5379,7 +5391,7 @@ module TencentCloud
5379
5391
  # "-3"代表存在隐患
5380
5392
  # "-4"代表未探测
5381
5393
  # @type HealthStateId: String
5382
- # @param ServiceName: 服务组件名称,都是大写例如YARN
5394
+ # @param ServiceName: 服务组件名称应采用全大写形式(例如:YARN),api调用时须与 ServiceGroupType 在两者之中任选其一并保证必填。
5383
5395
  # @type ServiceName: String
5384
5396
  # @param NodeTypeName: 节点名称master,core,task,common,router
5385
5397
  # @type NodeTypeName: String
@@ -10669,6 +10681,28 @@ module TencentCloud
10669
10681
  end
10670
10682
  end
10671
10683
 
10684
+ # 其他账号信息
10685
+ class OtherAccountInfo < TencentCloud::Common::AbstractModel
10686
+ # @param OtherUin: 其他账号UIN
10687
+ # 注意:此字段可能返回 null,表示取不到有效值。
10688
+ # @type OtherUin: String
10689
+ # @param RoleName: 其他账号授权角色名称
10690
+ # 注意:此字段可能返回 null,表示取不到有效值。
10691
+ # @type RoleName: String
10692
+
10693
+ attr_accessor :OtherUin, :RoleName
10694
+
10695
+ def initialize(otheruin=nil, rolename=nil)
10696
+ @OtherUin = otheruin
10697
+ @RoleName = rolename
10698
+ end
10699
+
10700
+ def deserialize(params)
10701
+ @OtherUin = params['OtherUin']
10702
+ @RoleName = params['RoleName']
10703
+ end
10704
+ end
10705
+
10672
10706
  # 资源详情
10673
10707
  class OutterResource < TencentCloud::Common::AbstractModel
10674
10708
  # @param Spec: 规格
@@ -11072,10 +11106,12 @@ module TencentCloud
11072
11106
  # @type SubnetId: String
11073
11107
  # @param PodName: pod name
11074
11108
  # @type PodName: String
11109
+ # @param OtherAccountInfo: 其他账号授权信息
11110
+ # @type OtherAccountInfo: :class:`Tencentcloud::Emr.v20190103.models.OtherAccountInfo`
11075
11111
 
11076
- attr_accessor :ResourceProviderIdentifier, :ResourceProviderType, :NodeFlag, :Cpu, :Memory, :CpuType, :PodVolumes, :EnableDynamicSpecFlag, :DynamicPodSpec, :VpcId, :SubnetId, :PodName
11112
+ attr_accessor :ResourceProviderIdentifier, :ResourceProviderType, :NodeFlag, :Cpu, :Memory, :CpuType, :PodVolumes, :EnableDynamicSpecFlag, :DynamicPodSpec, :VpcId, :SubnetId, :PodName, :OtherAccountInfo
11077
11113
 
11078
- def initialize(resourceprovideridentifier=nil, resourceprovidertype=nil, nodeflag=nil, cpu=nil, memory=nil, cputype=nil, podvolumes=nil, enabledynamicspecflag=nil, dynamicpodspec=nil, vpcid=nil, subnetid=nil, podname=nil)
11114
+ def initialize(resourceprovideridentifier=nil, resourceprovidertype=nil, nodeflag=nil, cpu=nil, memory=nil, cputype=nil, podvolumes=nil, enabledynamicspecflag=nil, dynamicpodspec=nil, vpcid=nil, subnetid=nil, podname=nil, otheraccountinfo=nil)
11079
11115
  @ResourceProviderIdentifier = resourceprovideridentifier
11080
11116
  @ResourceProviderType = resourceprovidertype
11081
11117
  @NodeFlag = nodeflag
@@ -11088,6 +11124,7 @@ module TencentCloud
11088
11124
  @VpcId = vpcid
11089
11125
  @SubnetId = subnetid
11090
11126
  @PodName = podname
11127
+ @OtherAccountInfo = otheraccountinfo
11091
11128
  end
11092
11129
 
11093
11130
  def deserialize(params)
@@ -11113,6 +11150,10 @@ module TencentCloud
11113
11150
  @VpcId = params['VpcId']
11114
11151
  @SubnetId = params['SubnetId']
11115
11152
  @PodName = params['PodName']
11153
+ unless params['OtherAccountInfo'].nil?
11154
+ @OtherAccountInfo = OtherAccountInfo.new
11155
+ @OtherAccountInfo.deserialize(params['OtherAccountInfo'])
11156
+ end
11116
11157
  end
11117
11158
  end
11118
11159
 
@@ -14376,6 +14417,38 @@ module TencentCloud
14376
14417
  end
14377
14418
  end
14378
14419
 
14420
+ # Tolerations
14421
+ class Toleration < TencentCloud::Common::AbstractModel
14422
+ # @param Key: 键
14423
+ # @type Key: String
14424
+ # @param Value: 值
14425
+ # @type Value: String
14426
+ # @param Operator: 操作符
14427
+ # @type Operator: String
14428
+ # @param Effect: 污点排斥效果
14429
+ # @type Effect: String
14430
+ # @param TolerationSeconds: 驱逐等待时间
14431
+ # @type TolerationSeconds: Integer
14432
+
14433
+ attr_accessor :Key, :Value, :Operator, :Effect, :TolerationSeconds
14434
+
14435
+ def initialize(key=nil, value=nil, operator=nil, effect=nil, tolerationseconds=nil)
14436
+ @Key = key
14437
+ @Value = value
14438
+ @Operator = operator
14439
+ @Effect = effect
14440
+ @TolerationSeconds = tolerationseconds
14441
+ end
14442
+
14443
+ def deserialize(params)
14444
+ @Key = params['Key']
14445
+ @Value = params['Value']
14446
+ @Operator = params['Operator']
14447
+ @Effect = params['Effect']
14448
+ @TolerationSeconds = params['TolerationSeconds']
14449
+ end
14450
+ end
14451
+
14379
14452
  # 集群节点拓扑信息
14380
14453
  class TopologyInfo < TencentCloud::Common::AbstractModel
14381
14454
  # @param ZoneId: 可用区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: 3.0.1186
4
+ version: 3.0.1192
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-21 00:00:00.000000000 Z
11
+ date: 2025-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common