tencentcloud-sdk-emr 1.0.310 → 1.0.311

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 +266 -41
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49343c83acbd65b17f383fa1827103a043514b58
4
- data.tar.gz: 866ff399600552f529b0f7d7e028b3af83586a91
3
+ metadata.gz: 06911dc34a31ff55f5266db14ada820b2a2f4e49
4
+ data.tar.gz: 377897eb07948fc3372c753ec52674ce00d75499
5
5
  SHA512:
6
- metadata.gz: 7fca95f58da1c592748b75c4e174bbc4594832fa668f7eb370d52ddee43052221c0916b81aef78a50d2f0b0cdb8941bd1c07ea7d044b7e39dde205f1831f4f3e
7
- data.tar.gz: 5c27c565abb5409d9797a05c5660250e076f0b691383963efece043e44221d088de192bad629b25271449b1cdfcbcc34ad7edc8570cbfc04df034574ec1c4675
6
+ metadata.gz: eec3c5293556c3c88510080e4ac1589ea7293a8c4b459b6cf1df99d032eb33357657b8e29579dec62a358b828c52ee1051c3d7bd9377cca96659f36a5347c77a
7
+ data.tar.gz: cb15c385d66edfd227f2ba8228f07db00935a09f848f77d0cdd9942200f5acfa1a706348f289f73ab18e967f276579d1eed96e1ffc220f5783961689c2f530eb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.310
1
+ 1.0.311
@@ -327,10 +327,22 @@ module TencentCloud
327
327
  # @param ClusterExternalServiceInfo: 集群依赖关系
328
328
  # 注意:此字段可能返回 null,表示取不到有效值。
329
329
  # @type ClusterExternalServiceInfo: Array
330
+ # @param UniqVpcId: 集群vpcid 字符串类型
331
+ # 注意:此字段可能返回 null,表示取不到有效值。
332
+ # @type UniqVpcId: String
333
+ # @param UniqSubnetId: 子网id 字符串类型
334
+ # 注意:此字段可能返回 null,表示取不到有效值。
335
+ # @type UniqSubnetId: String
336
+ # @param TopologyInfoList: 节点信息
337
+ # 注意:此字段可能返回 null,表示取不到有效值。
338
+ # @type TopologyInfoList: Array
339
+ # @param IsMultiZoneCluster: 是否是跨AZ集群
340
+ # 注意:此字段可能返回 null,表示取不到有效值。
341
+ # @type IsMultiZoneCluster: Boolean
330
342
 
331
- attr_accessor :Id, :ClusterId, :Ftitle, :ClusterName, :RegionId, :ZoneId, :AppId, :Uin, :ProjectId, :VpcId, :SubnetId, :Status, :AddTime, :RunTime, :Config, :MasterIp, :EmrVersion, :ChargeType, :TradeVersion, :ResourceOrderId, :IsTradeCluster, :AlarmInfo, :IsWoodpeckerCluster, :MetaDb, :Tags, :HiveMetaDb, :ServiceClass, :AliasInfo, :ProductId, :Zone, :SceneName, :SceneServiceClass, :SceneEmrVersion, :DisplayName, :VpcName, :SubnetName, :ClusterExternalServiceInfo
343
+ attr_accessor :Id, :ClusterId, :Ftitle, :ClusterName, :RegionId, :ZoneId, :AppId, :Uin, :ProjectId, :VpcId, :SubnetId, :Status, :AddTime, :RunTime, :Config, :MasterIp, :EmrVersion, :ChargeType, :TradeVersion, :ResourceOrderId, :IsTradeCluster, :AlarmInfo, :IsWoodpeckerCluster, :MetaDb, :Tags, :HiveMetaDb, :ServiceClass, :AliasInfo, :ProductId, :Zone, :SceneName, :SceneServiceClass, :SceneEmrVersion, :DisplayName, :VpcName, :SubnetName, :ClusterExternalServiceInfo, :UniqVpcId, :UniqSubnetId, :TopologyInfoList, :IsMultiZoneCluster
332
344
 
333
- def initialize(id=nil, clusterid=nil, ftitle=nil, clustername=nil, regionid=nil, zoneid=nil, appid=nil, uin=nil, projectid=nil, vpcid=nil, subnetid=nil, status=nil, addtime=nil, runtime=nil, config=nil, masterip=nil, emrversion=nil, chargetype=nil, tradeversion=nil, resourceorderid=nil, istradecluster=nil, alarminfo=nil, iswoodpeckercluster=nil, metadb=nil, tags=nil, hivemetadb=nil, serviceclass=nil, aliasinfo=nil, productid=nil, zone=nil, scenename=nil, sceneserviceclass=nil, sceneemrversion=nil, displayname=nil, vpcname=nil, subnetname=nil, clusterexternalserviceinfo=nil)
345
+ def initialize(id=nil, clusterid=nil, ftitle=nil, clustername=nil, regionid=nil, zoneid=nil, appid=nil, uin=nil, projectid=nil, vpcid=nil, subnetid=nil, status=nil, addtime=nil, runtime=nil, config=nil, masterip=nil, emrversion=nil, chargetype=nil, tradeversion=nil, resourceorderid=nil, istradecluster=nil, alarminfo=nil, iswoodpeckercluster=nil, metadb=nil, tags=nil, hivemetadb=nil, serviceclass=nil, aliasinfo=nil, productid=nil, zone=nil, scenename=nil, sceneserviceclass=nil, sceneemrversion=nil, displayname=nil, vpcname=nil, subnetname=nil, clusterexternalserviceinfo=nil, uniqvpcid=nil, uniqsubnetid=nil, topologyinfolist=nil, ismultizonecluster=nil)
334
346
  @Id = id
335
347
  @ClusterId = clusterid
336
348
  @Ftitle = ftitle
@@ -368,6 +380,10 @@ module TencentCloud
368
380
  @VpcName = vpcname
369
381
  @SubnetName = subnetname
370
382
  @ClusterExternalServiceInfo = clusterexternalserviceinfo
383
+ @UniqVpcId = uniqvpcid
384
+ @UniqSubnetId = uniqsubnetid
385
+ @TopologyInfoList = topologyinfolist
386
+ @IsMultiZoneCluster = ismultizonecluster
371
387
  end
372
388
 
373
389
  def deserialize(params)
@@ -425,6 +441,17 @@ module TencentCloud
425
441
  @ClusterExternalServiceInfo << clusterexternalserviceinfo_tmp
426
442
  end
427
443
  end
444
+ @UniqVpcId = params['UniqVpcId']
445
+ @UniqSubnetId = params['UniqSubnetId']
446
+ unless params['TopologyInfoList'].nil?
447
+ @TopologyInfoList = []
448
+ params['TopologyInfoList'].each do |i|
449
+ topologyinfo_tmp = TopologyInfo.new
450
+ topologyinfo_tmp.deserialize(i)
451
+ @TopologyInfoList << topologyinfo_tmp
452
+ end
453
+ end
454
+ @IsMultiZoneCluster = params['IsMultiZoneCluster']
428
455
  end
429
456
  end
430
457
 
@@ -560,13 +587,9 @@ module TencentCloud
560
587
  # <li>29:表示EMR-V2.5.1。</li>
561
588
  # <li>30:表示EMR-V2.6.0。</li>
562
589
  # @type ProductId: Integer
563
- # @param VPCSettings: 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID等信息。
564
- # @type VPCSettings: :class:`Tencentcloud::Emr.v20190103.models.VPCSettings`
565
590
  # @param Software: 部署的组件列表。不同的EMR产品ID(ProductId:具体含义参考入参ProductId字段)对应不同可选组件列表,不同产品版本可选组件列表查询:[组件版本](https://cloud.tencent.com/document/product/589/20279) ;
566
591
  # 填写实例值:hive、flink。
567
592
  # @type Software: Array
568
- # @param ResourceSpec: 节点资源的规格。
569
- # @type ResourceSpec: :class:`Tencentcloud::Emr.v20190103.models.NewResourceSpec`
570
593
  # @param SupportHA: 是否开启节点高可用。取值范围:
571
594
  # <li>0:表示不开启节点高可用。</li>
572
595
  # <li>1:表示开启节点高可用。</li>
@@ -579,8 +602,6 @@ module TencentCloud
579
602
  # <li>0:表示按量计费。</li>
580
603
  # <li>1:表示包年包月。</li>
581
604
  # @type PayMode: Integer
582
- # @param Placement: 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。
583
- # @type Placement: :class:`Tencentcloud::Emr.v20190103.models.Placement`
584
605
  # @param TimeSpan: 购买实例的时长。结合TimeUnit一起使用。
585
606
  # <li>TimeUnit为s时,该参数只能填写3600,表示按量计费实例。</li>
586
607
  # <li>TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月</li>
@@ -593,8 +614,14 @@ module TencentCloud
593
614
  # <li>设置密钥时,密码仅用于组件原生WebUI快捷入口登录。</li>
594
615
  # <li>未设置密钥时,密码用于登录所购节点以及组件原生WebUI快捷入口登录。</li>
595
616
  # @type LoginSettings: :class:`Tencentcloud::Emr.v20190103.models.LoginSettings`
617
+ # @param VPCSettings: 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID等信息。
618
+ # @type VPCSettings: :class:`Tencentcloud::Emr.v20190103.models.VPCSettings`
619
+ # @param ResourceSpec: 节点资源的规格。
620
+ # @type ResourceSpec: :class:`Tencentcloud::Emr.v20190103.models.NewResourceSpec`
596
621
  # @param COSSettings: 开启COS访问需要设置的参数。
597
622
  # @type COSSettings: :class:`Tencentcloud::Emr.v20190103.models.COSSettings`
623
+ # @param Placement: 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。
624
+ # @type Placement: :class:`Tencentcloud::Emr.v20190103.models.Placement`
598
625
  # @param SgId: 实例所属安全组的ID,形如sg-xxxxxxxx。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的SecurityGroupId字段来获取。
599
626
  # @type SgId: String
600
627
  # @param PreExecutedFileSettings: [引导操作](https://cloud.tencent.com/document/product/589/35656)脚本设置。
@@ -641,22 +668,28 @@ module TencentCloud
641
668
  # @type SceneName: String
642
669
  # @param ExternalService: 共享组件信息
643
670
  # @type ExternalService: Array
644
-
645
- attr_accessor :ProductId, :VPCSettings, :Software, :ResourceSpec, :SupportHA, :InstanceName, :PayMode, :Placement, :TimeSpan, :TimeUnit, :LoginSettings, :COSSettings, :SgId, :PreExecutedFileSettings, :AutoRenew, :ClientToken, :NeedMasterWan, :RemoteLoginAtCreate, :CheckSecurity, :ExtendFsField, :Tags, :DisasterRecoverGroupIds, :CbsEncrypt, :MetaType, :UnifyMetaInstanceId, :MetaDBInfo, :ApplicationRole, :SceneName, :ExternalService
671
+ # @param VersionID: 如果为0,则MultiZone、MultiDeployStrategy、MultiZoneSettings是disable的状态,如果为1,则废弃ResourceSpec,使用MultiZoneSettings。
672
+ # @type VersionID: Integer
673
+ # @param MultiZone: true表示开启跨AZ部署;仅为新建集群时的用户参数,后续不支持调整。
674
+ # @type MultiZone: Boolean
675
+ # @param MultiZoneSettings: 节点资源的规格,有几个可用区,就填几个,按顺序第一个为主可用区,第二个为备可用区,第三个为仲裁可用区。如果没有开启跨AZ,则长度为1即可。
676
+ # @type MultiZoneSettings: Array
677
+
678
+ attr_accessor :ProductId, :Software, :SupportHA, :InstanceName, :PayMode, :TimeSpan, :TimeUnit, :LoginSettings, :VPCSettings, :ResourceSpec, :COSSettings, :Placement, :SgId, :PreExecutedFileSettings, :AutoRenew, :ClientToken, :NeedMasterWan, :RemoteLoginAtCreate, :CheckSecurity, :ExtendFsField, :Tags, :DisasterRecoverGroupIds, :CbsEncrypt, :MetaType, :UnifyMetaInstanceId, :MetaDBInfo, :ApplicationRole, :SceneName, :ExternalService, :VersionID, :MultiZone, :MultiZoneSettings
646
679
 
647
- def initialize(productid=nil, vpcsettings=nil, software=nil, resourcespec=nil, supportha=nil, instancename=nil, paymode=nil, placement=nil, timespan=nil, timeunit=nil, loginsettings=nil, cossettings=nil, sgid=nil, preexecutedfilesettings=nil, autorenew=nil, clienttoken=nil, needmasterwan=nil, remoteloginatcreate=nil, checksecurity=nil, extendfsfield=nil, tags=nil, disasterrecovergroupids=nil, cbsencrypt=nil, metatype=nil, unifymetainstanceid=nil, metadbinfo=nil, applicationrole=nil, scenename=nil, externalservice=nil)
680
+ def initialize(productid=nil, software=nil, supportha=nil, instancename=nil, paymode=nil, timespan=nil, timeunit=nil, loginsettings=nil, vpcsettings=nil, resourcespec=nil, cossettings=nil, placement=nil, sgid=nil, preexecutedfilesettings=nil, autorenew=nil, clienttoken=nil, needmasterwan=nil, remoteloginatcreate=nil, checksecurity=nil, extendfsfield=nil, tags=nil, disasterrecovergroupids=nil, cbsencrypt=nil, metatype=nil, unifymetainstanceid=nil, metadbinfo=nil, applicationrole=nil, scenename=nil, externalservice=nil, versionid=nil, multizone=nil, multizonesettings=nil)
648
681
  @ProductId = productid
649
- @VPCSettings = vpcsettings
650
682
  @Software = software
651
- @ResourceSpec = resourcespec
652
683
  @SupportHA = supportha
653
684
  @InstanceName = instancename
654
685
  @PayMode = paymode
655
- @Placement = placement
656
686
  @TimeSpan = timespan
657
687
  @TimeUnit = timeunit
658
688
  @LoginSettings = loginsettings
689
+ @VPCSettings = vpcsettings
690
+ @ResourceSpec = resourcespec
659
691
  @COSSettings = cossettings
692
+ @Placement = placement
660
693
  @SgId = sgid
661
694
  @PreExecutedFileSettings = preexecutedfilesettings
662
695
  @AutoRenew = autorenew
@@ -674,36 +707,39 @@ module TencentCloud
674
707
  @ApplicationRole = applicationrole
675
708
  @SceneName = scenename
676
709
  @ExternalService = externalservice
710
+ @VersionID = versionid
711
+ @MultiZone = multizone
712
+ @MultiZoneSettings = multizonesettings
677
713
  end
678
714
 
679
715
  def deserialize(params)
680
716
  @ProductId = params['ProductId']
681
- unless params['VPCSettings'].nil?
682
- @VPCSettings = VPCSettings.new
683
- @VPCSettings.deserialize(params['VPCSettings'])
684
- end
685
717
  @Software = params['Software']
686
- unless params['ResourceSpec'].nil?
687
- @ResourceSpec = NewResourceSpec.new
688
- @ResourceSpec.deserialize(params['ResourceSpec'])
689
- end
690
718
  @SupportHA = params['SupportHA']
691
719
  @InstanceName = params['InstanceName']
692
720
  @PayMode = params['PayMode']
693
- unless params['Placement'].nil?
694
- @Placement = Placement.new
695
- @Placement.deserialize(params['Placement'])
696
- end
697
721
  @TimeSpan = params['TimeSpan']
698
722
  @TimeUnit = params['TimeUnit']
699
723
  unless params['LoginSettings'].nil?
700
724
  @LoginSettings = LoginSettings.new
701
725
  @LoginSettings.deserialize(params['LoginSettings'])
702
726
  end
727
+ unless params['VPCSettings'].nil?
728
+ @VPCSettings = VPCSettings.new
729
+ @VPCSettings.deserialize(params['VPCSettings'])
730
+ end
731
+ unless params['ResourceSpec'].nil?
732
+ @ResourceSpec = NewResourceSpec.new
733
+ @ResourceSpec.deserialize(params['ResourceSpec'])
734
+ end
703
735
  unless params['COSSettings'].nil?
704
736
  @COSSettings = COSSettings.new
705
737
  @COSSettings.deserialize(params['COSSettings'])
706
738
  end
739
+ unless params['Placement'].nil?
740
+ @Placement = Placement.new
741
+ @Placement.deserialize(params['Placement'])
742
+ end
707
743
  @SgId = params['SgId']
708
744
  unless params['PreExecutedFileSettings'].nil?
709
745
  @PreExecutedFileSettings = []
@@ -745,6 +781,16 @@ module TencentCloud
745
781
  @ExternalService << externalservice_tmp
746
782
  end
747
783
  end
784
+ @VersionID = params['VersionID']
785
+ @MultiZone = params['MultiZone']
786
+ unless params['MultiZoneSettings'].nil?
787
+ @MultiZoneSettings = []
788
+ params['MultiZoneSettings'].each do |i|
789
+ multizonesetting_tmp = MultiZoneSetting.new
790
+ multizonesetting_tmp.deserialize(i)
791
+ @MultiZoneSettings << multizonesetting_tmp
792
+ end
793
+ end
748
794
  end
749
795
  end
750
796
 
@@ -1581,8 +1627,6 @@ module TencentCloud
1581
1627
  # <li>TimeUnit为s时,该参数只能填写3600,表示按量计费实例。</li>
1582
1628
  # <li>TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月</li>
1583
1629
  # @type TimeSpan: Integer
1584
- # @param ResourceSpec: 询价的节点规格。
1585
- # @type ResourceSpec: :class:`Tencentcloud::Emr.v20190103.models.NewResourceSpec`
1586
1630
  # @param Currency: 货币种类。取值范围:
1587
1631
  # <li>CNY:表示人民币。</li>
1588
1632
  # @type Currency: String
@@ -1600,6 +1644,8 @@ module TencentCloud
1600
1644
  # <li>ProductId为4的时候,必选组件包括:hadoop-2.8.4、knox-1.2.0、zookeeper-3.4.9</li>
1601
1645
  # <li>ProductId为7的时候,必选组件包括:hadoop-3.1.2、knox-1.2.0、zookeeper-3.4.9</li>
1602
1646
  # @type Software: Array
1647
+ # @param ResourceSpec: 询价的节点规格。
1648
+ # @type ResourceSpec: :class:`Tencentcloud::Emr.v20190103.models.NewResourceSpec`
1603
1649
  # @param Placement: 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。
1604
1650
  # @type Placement: :class:`Tencentcloud::Emr.v20190103.models.Placement`
1605
1651
  # @param VPCSettings: 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID等信息。
@@ -1627,17 +1673,21 @@ module TencentCloud
1627
1673
  # @type SceneName: String
1628
1674
  # @param ExternalService: 共用组件信息
1629
1675
  # @type ExternalService: Array
1676
+ # @param VersionID: 当前默认值为0,跨AZ特性支持后为1
1677
+ # @type VersionID: Integer
1678
+ # @param MultiZoneSettings: 可用区的规格信息
1679
+ # @type MultiZoneSettings: Array
1630
1680
 
1631
- attr_accessor :TimeUnit, :TimeSpan, :ResourceSpec, :Currency, :PayMode, :SupportHA, :Software, :Placement, :VPCSettings, :MetaType, :UnifyMetaInstanceId, :MetaDBInfo, :ProductId, :SceneName, :ExternalService
1681
+ attr_accessor :TimeUnit, :TimeSpan, :Currency, :PayMode, :SupportHA, :Software, :ResourceSpec, :Placement, :VPCSettings, :MetaType, :UnifyMetaInstanceId, :MetaDBInfo, :ProductId, :SceneName, :ExternalService, :VersionID, :MultiZoneSettings
1632
1682
 
1633
- def initialize(timeunit=nil, timespan=nil, resourcespec=nil, currency=nil, paymode=nil, supportha=nil, software=nil, placement=nil, vpcsettings=nil, metatype=nil, unifymetainstanceid=nil, metadbinfo=nil, productid=nil, scenename=nil, externalservice=nil)
1683
+ def initialize(timeunit=nil, timespan=nil, currency=nil, paymode=nil, supportha=nil, software=nil, resourcespec=nil, placement=nil, vpcsettings=nil, metatype=nil, unifymetainstanceid=nil, metadbinfo=nil, productid=nil, scenename=nil, externalservice=nil, versionid=nil, multizonesettings=nil)
1634
1684
  @TimeUnit = timeunit
1635
1685
  @TimeSpan = timespan
1636
- @ResourceSpec = resourcespec
1637
1686
  @Currency = currency
1638
1687
  @PayMode = paymode
1639
1688
  @SupportHA = supportha
1640
1689
  @Software = software
1690
+ @ResourceSpec = resourcespec
1641
1691
  @Placement = placement
1642
1692
  @VPCSettings = vpcsettings
1643
1693
  @MetaType = metatype
@@ -1646,19 +1696,21 @@ module TencentCloud
1646
1696
  @ProductId = productid
1647
1697
  @SceneName = scenename
1648
1698
  @ExternalService = externalservice
1699
+ @VersionID = versionid
1700
+ @MultiZoneSettings = multizonesettings
1649
1701
  end
1650
1702
 
1651
1703
  def deserialize(params)
1652
1704
  @TimeUnit = params['TimeUnit']
1653
1705
  @TimeSpan = params['TimeSpan']
1654
- unless params['ResourceSpec'].nil?
1655
- @ResourceSpec = NewResourceSpec.new
1656
- @ResourceSpec.deserialize(params['ResourceSpec'])
1657
- end
1658
1706
  @Currency = params['Currency']
1659
1707
  @PayMode = params['PayMode']
1660
1708
  @SupportHA = params['SupportHA']
1661
1709
  @Software = params['Software']
1710
+ unless params['ResourceSpec'].nil?
1711
+ @ResourceSpec = NewResourceSpec.new
1712
+ @ResourceSpec.deserialize(params['ResourceSpec'])
1713
+ end
1662
1714
  unless params['Placement'].nil?
1663
1715
  @Placement = Placement.new
1664
1716
  @Placement.deserialize(params['Placement'])
@@ -1683,6 +1735,15 @@ module TencentCloud
1683
1735
  @ExternalService << externalservice_tmp
1684
1736
  end
1685
1737
  end
1738
+ @VersionID = params['VersionID']
1739
+ unless params['MultiZoneSettings'].nil?
1740
+ @MultiZoneSettings = []
1741
+ params['MultiZoneSettings'].each do |i|
1742
+ multizonesetting_tmp = MultiZoneSetting.new
1743
+ multizonesetting_tmp.deserialize(i)
1744
+ @MultiZoneSettings << multizonesetting_tmp
1745
+ end
1746
+ end
1686
1747
  end
1687
1748
  end
1688
1749
 
@@ -2381,6 +2442,44 @@ module TencentCloud
2381
2442
  end
2382
2443
  end
2383
2444
 
2445
+ # 各个可用区的参数信息
2446
+ class MultiZoneSetting < TencentCloud::Common::AbstractModel
2447
+ # @param ZoneTag: "master"、"standby"、"third-party"
2448
+ # 注意:此字段可能返回 null,表示取不到有效值。
2449
+ # @type ZoneTag: String
2450
+ # @param VPCSettings: 无
2451
+ # @type VPCSettings: :class:`Tencentcloud::Emr.v20190103.models.VPCSettings`
2452
+ # @param Placement: 无
2453
+ # @type Placement: :class:`Tencentcloud::Emr.v20190103.models.Placement`
2454
+ # @param ResourceSpec: 无
2455
+ # @type ResourceSpec: :class:`Tencentcloud::Emr.v20190103.models.NewResourceSpec`
2456
+
2457
+ attr_accessor :ZoneTag, :VPCSettings, :Placement, :ResourceSpec
2458
+
2459
+ def initialize(zonetag=nil, vpcsettings=nil, placement=nil, resourcespec=nil)
2460
+ @ZoneTag = zonetag
2461
+ @VPCSettings = vpcsettings
2462
+ @Placement = placement
2463
+ @ResourceSpec = resourcespec
2464
+ end
2465
+
2466
+ def deserialize(params)
2467
+ @ZoneTag = params['ZoneTag']
2468
+ unless params['VPCSettings'].nil?
2469
+ @VPCSettings = VPCSettings.new
2470
+ @VPCSettings.deserialize(params['VPCSettings'])
2471
+ end
2472
+ unless params['Placement'].nil?
2473
+ @Placement = Placement.new
2474
+ @Placement.deserialize(params['Placement'])
2475
+ end
2476
+ unless params['ResourceSpec'].nil?
2477
+ @ResourceSpec = NewResourceSpec.new
2478
+ @ResourceSpec.deserialize(params['ResourceSpec'])
2479
+ end
2480
+ end
2481
+ end
2482
+
2384
2483
  # 资源描述
2385
2484
  class NewResourceSpec < TencentCloud::Common::AbstractModel
2386
2485
  # @param MasterResourceSpec: 描述Master节点资源
@@ -2560,10 +2659,22 @@ module TencentCloud
2560
2659
  # @param SupportModifyPayMode: 是否支持变更计费类型 1是,0否
2561
2660
  # 注意:此字段可能返回 null,表示取不到有效值。
2562
2661
  # @type SupportModifyPayMode: Integer
2662
+ # @param RootStorageType: 系统盘类型
2663
+ # 注意:此字段可能返回 null,表示取不到有效值。
2664
+ # @type RootStorageType: Integer
2665
+ # @param Zone: 可用区信息
2666
+ # 注意:此字段可能返回 null,表示取不到有效值。
2667
+ # @type Zone: String
2668
+ # @param SubnetInfo: 子网
2669
+ # 注意:此字段可能返回 null,表示取不到有效值。
2670
+ # @type SubnetInfo: :class:`Tencentcloud::Emr.v20190103.models.SubnetInfo`
2671
+ # @param Clients: 客户端
2672
+ # 注意:此字段可能返回 null,表示取不到有效值。
2673
+ # @type Clients: String
2563
2674
 
2564
- attr_accessor :AppId, :SerialNo, :OrderNo, :WanIp, :Flag, :Spec, :CpuNum, :MemSize, :MemDesc, :RegionId, :ZoneId, :ApplyTime, :FreeTime, :DiskSize, :NameTag, :Services, :StorageType, :RootSize, :ChargeType, :CdbIp, :CdbPort, :HwDiskSize, :HwDiskSizeDesc, :HwMemSize, :HwMemSizeDesc, :ExpireTime, :EmrResourceId, :IsAutoRenew, :DeviceClass, :Mutable, :MCMultiDisk, :CdbNodeInfo, :Ip, :Destroyable, :Tags, :AutoFlag, :HardwareResourceType, :IsDynamicSpec, :DynamicPodSpec, :SupportModifyPayMode
2675
+ attr_accessor :AppId, :SerialNo, :OrderNo, :WanIp, :Flag, :Spec, :CpuNum, :MemSize, :MemDesc, :RegionId, :ZoneId, :ApplyTime, :FreeTime, :DiskSize, :NameTag, :Services, :StorageType, :RootSize, :ChargeType, :CdbIp, :CdbPort, :HwDiskSize, :HwDiskSizeDesc, :HwMemSize, :HwMemSizeDesc, :ExpireTime, :EmrResourceId, :IsAutoRenew, :DeviceClass, :Mutable, :MCMultiDisk, :CdbNodeInfo, :Ip, :Destroyable, :Tags, :AutoFlag, :HardwareResourceType, :IsDynamicSpec, :DynamicPodSpec, :SupportModifyPayMode, :RootStorageType, :Zone, :SubnetInfo, :Clients
2565
2676
 
2566
- def initialize(appid=nil, serialno=nil, orderno=nil, wanip=nil, flag=nil, spec=nil, cpunum=nil, memsize=nil, memdesc=nil, regionid=nil, zoneid=nil, applytime=nil, freetime=nil, disksize=nil, nametag=nil, services=nil, storagetype=nil, rootsize=nil, chargetype=nil, cdbip=nil, cdbport=nil, hwdisksize=nil, hwdisksizedesc=nil, hwmemsize=nil, hwmemsizedesc=nil, expiretime=nil, emrresourceid=nil, isautorenew=nil, deviceclass=nil, mutable=nil, mcmultidisk=nil, cdbnodeinfo=nil, ip=nil, destroyable=nil, tags=nil, autoflag=nil, hardwareresourcetype=nil, isdynamicspec=nil, dynamicpodspec=nil, supportmodifypaymode=nil)
2677
+ def initialize(appid=nil, serialno=nil, orderno=nil, wanip=nil, flag=nil, spec=nil, cpunum=nil, memsize=nil, memdesc=nil, regionid=nil, zoneid=nil, applytime=nil, freetime=nil, disksize=nil, nametag=nil, services=nil, storagetype=nil, rootsize=nil, chargetype=nil, cdbip=nil, cdbport=nil, hwdisksize=nil, hwdisksizedesc=nil, hwmemsize=nil, hwmemsizedesc=nil, expiretime=nil, emrresourceid=nil, isautorenew=nil, deviceclass=nil, mutable=nil, mcmultidisk=nil, cdbnodeinfo=nil, ip=nil, destroyable=nil, tags=nil, autoflag=nil, hardwareresourcetype=nil, isdynamicspec=nil, dynamicpodspec=nil, supportmodifypaymode=nil, rootstoragetype=nil, zone=nil, subnetinfo=nil, clients=nil)
2567
2678
  @AppId = appid
2568
2679
  @SerialNo = serialno
2569
2680
  @OrderNo = orderno
@@ -2604,6 +2715,10 @@ module TencentCloud
2604
2715
  @IsDynamicSpec = isdynamicspec
2605
2716
  @DynamicPodSpec = dynamicpodspec
2606
2717
  @SupportModifyPayMode = supportmodifypaymode
2718
+ @RootStorageType = rootstoragetype
2719
+ @Zone = zone
2720
+ @SubnetInfo = subnetinfo
2721
+ @Clients = clients
2607
2722
  end
2608
2723
 
2609
2724
  def deserialize(params)
@@ -2664,6 +2779,13 @@ module TencentCloud
2664
2779
  @IsDynamicSpec = params['IsDynamicSpec']
2665
2780
  @DynamicPodSpec = params['DynamicPodSpec']
2666
2781
  @SupportModifyPayMode = params['SupportModifyPayMode']
2782
+ @RootStorageType = params['RootStorageType']
2783
+ @Zone = params['Zone']
2784
+ unless params['SubnetInfo'].nil?
2785
+ @SubnetInfo = SubnetInfo.new
2786
+ @SubnetInfo.deserialize(params['SubnetInfo'])
2787
+ end
2788
+ @Clients = params['Clients']
2667
2789
  end
2668
2790
  end
2669
2791
 
@@ -2960,10 +3082,13 @@ module TencentCloud
2960
3082
  # @param SubnetId: 代表vpc子网唯一id
2961
3083
  # 注意:此字段可能返回 null,表示取不到有效值。
2962
3084
  # @type SubnetId: String
3085
+ # @param PodName: pod name
3086
+ # 注意:此字段可能返回 null,表示取不到有效值。
3087
+ # @type PodName: String
2963
3088
 
2964
- attr_accessor :ResourceProviderIdentifier, :ResourceProviderType, :NodeType, :Cpu, :Memory, :DataVolumes, :CpuType, :PodVolumes, :IsDynamicSpec, :DynamicPodSpec, :VpcId, :SubnetId
3089
+ attr_accessor :ResourceProviderIdentifier, :ResourceProviderType, :NodeType, :Cpu, :Memory, :DataVolumes, :CpuType, :PodVolumes, :IsDynamicSpec, :DynamicPodSpec, :VpcId, :SubnetId, :PodName
2965
3090
 
2966
- def initialize(resourceprovideridentifier=nil, resourceprovidertype=nil, nodetype=nil, cpu=nil, memory=nil, datavolumes=nil, cputype=nil, podvolumes=nil, isdynamicspec=nil, dynamicpodspec=nil, vpcid=nil, subnetid=nil)
3091
+ def initialize(resourceprovideridentifier=nil, resourceprovidertype=nil, nodetype=nil, cpu=nil, memory=nil, datavolumes=nil, cputype=nil, podvolumes=nil, isdynamicspec=nil, dynamicpodspec=nil, vpcid=nil, subnetid=nil, podname=nil)
2967
3092
  @ResourceProviderIdentifier = resourceprovideridentifier
2968
3093
  @ResourceProviderType = resourceprovidertype
2969
3094
  @NodeType = nodetype
@@ -2976,6 +3101,7 @@ module TencentCloud
2976
3101
  @DynamicPodSpec = dynamicpodspec
2977
3102
  @VpcId = vpcid
2978
3103
  @SubnetId = subnetid
3104
+ @PodName = podname
2979
3105
  end
2980
3106
 
2981
3107
  def deserialize(params)
@@ -3001,6 +3127,7 @@ module TencentCloud
3001
3127
  end
3002
3128
  @VpcId = params['VpcId']
3003
3129
  @SubnetId = params['SubnetId']
3130
+ @PodName = params['PodName']
3004
3131
  end
3005
3132
  end
3006
3133
 
@@ -3576,10 +3703,14 @@ module TencentCloud
3576
3703
  # @type MasterCount: Integer
3577
3704
  # @param StartServiceAfterScaleOut: 扩容后是否启动服务,true:启动,false:不启动
3578
3705
  # @type StartServiceAfterScaleOut: String
3706
+ # @param ZoneId: 可用区,默认是集群的主可用区
3707
+ # @type ZoneId: Integer
3708
+ # @param SubnetId: 子网,默认是集群创建时的子网
3709
+ # @type SubnetId: String
3579
3710
 
3580
- attr_accessor :TimeUnit, :TimeSpan, :InstanceId, :PayMode, :ClientToken, :PreExecutedFileSettings, :TaskCount, :CoreCount, :UnNecessaryNodeList, :RouterCount, :SoftDeployInfo, :ServiceNodeInfo, :DisasterRecoverGroupIds, :Tags, :HardwareResourceType, :PodSpec, :ClickHouseClusterName, :ClickHouseClusterType, :YarnNodeLabel, :PodParameter, :MasterCount, :StartServiceAfterScaleOut
3711
+ attr_accessor :TimeUnit, :TimeSpan, :InstanceId, :PayMode, :ClientToken, :PreExecutedFileSettings, :TaskCount, :CoreCount, :UnNecessaryNodeList, :RouterCount, :SoftDeployInfo, :ServiceNodeInfo, :DisasterRecoverGroupIds, :Tags, :HardwareResourceType, :PodSpec, :ClickHouseClusterName, :ClickHouseClusterType, :YarnNodeLabel, :PodParameter, :MasterCount, :StartServiceAfterScaleOut, :ZoneId, :SubnetId
3581
3712
 
3582
- def initialize(timeunit=nil, timespan=nil, instanceid=nil, paymode=nil, clienttoken=nil, preexecutedfilesettings=nil, taskcount=nil, corecount=nil, unnecessarynodelist=nil, routercount=nil, softdeployinfo=nil, servicenodeinfo=nil, disasterrecovergroupids=nil, tags=nil, hardwareresourcetype=nil, podspec=nil, clickhouseclustername=nil, clickhouseclustertype=nil, yarnnodelabel=nil, podparameter=nil, mastercount=nil, startserviceafterscaleout=nil)
3713
+ def initialize(timeunit=nil, timespan=nil, instanceid=nil, paymode=nil, clienttoken=nil, preexecutedfilesettings=nil, taskcount=nil, corecount=nil, unnecessarynodelist=nil, routercount=nil, softdeployinfo=nil, servicenodeinfo=nil, disasterrecovergroupids=nil, tags=nil, hardwareresourcetype=nil, podspec=nil, clickhouseclustername=nil, clickhouseclustertype=nil, yarnnodelabel=nil, podparameter=nil, mastercount=nil, startserviceafterscaleout=nil, zoneid=nil, subnetid=nil)
3583
3714
  @TimeUnit = timeunit
3584
3715
  @TimeSpan = timespan
3585
3716
  @InstanceId = instanceid
@@ -3602,6 +3733,8 @@ module TencentCloud
3602
3733
  @PodParameter = podparameter
3603
3734
  @MasterCount = mastercount
3604
3735
  @StartServiceAfterScaleOut = startserviceafterscaleout
3736
+ @ZoneId = zoneid
3737
+ @SubnetId = subnetid
3605
3738
  end
3606
3739
 
3607
3740
  def deserialize(params)
@@ -3647,6 +3780,8 @@ module TencentCloud
3647
3780
  end
3648
3781
  @MasterCount = params['MasterCount']
3649
3782
  @StartServiceAfterScaleOut = params['StartServiceAfterScaleOut']
3783
+ @ZoneId = params['ZoneId']
3784
+ @SubnetId = params['SubnetId']
3650
3785
  end
3651
3786
  end
3652
3787
 
@@ -3710,6 +3845,28 @@ module TencentCloud
3710
3845
  end
3711
3846
  end
3712
3847
 
3848
+ # 节点信息
3849
+ class ShortNodeInfo < TencentCloud::Common::AbstractModel
3850
+ # @param NodeType: 节点类型,Master/Core/Task/Router/Common
3851
+ # 注意:此字段可能返回 null,表示取不到有效值。
3852
+ # @type NodeType: String
3853
+ # @param NodeSize: 节点数量
3854
+ # 注意:此字段可能返回 null,表示取不到有效值。
3855
+ # @type NodeSize: Integer
3856
+
3857
+ attr_accessor :NodeType, :NodeSize
3858
+
3859
+ def initialize(nodetype=nil, nodesize=nil)
3860
+ @NodeType = nodetype
3861
+ @NodeSize = nodesize
3862
+ end
3863
+
3864
+ def deserialize(params)
3865
+ @NodeType = params['NodeType']
3866
+ @NodeSize = params['NodeSize']
3867
+ end
3868
+ end
3869
+
3713
3870
  # 执行步骤
3714
3871
  class Step < TencentCloud::Common::AbstractModel
3715
3872
  # @param Name: 执行步骤名称。
@@ -3744,6 +3901,28 @@ module TencentCloud
3744
3901
  end
3745
3902
  end
3746
3903
 
3904
+ # 子网信息
3905
+ class SubnetInfo < TencentCloud::Common::AbstractModel
3906
+ # @param SubnetName: 子网信息(名字)
3907
+ # 注意:此字段可能返回 null,表示取不到有效值。
3908
+ # @type SubnetName: String
3909
+ # @param SubnetId: 子网信息(ID)
3910
+ # 注意:此字段可能返回 null,表示取不到有效值。
3911
+ # @type SubnetId: String
3912
+
3913
+ attr_accessor :SubnetName, :SubnetId
3914
+
3915
+ def initialize(subnetname=nil, subnetid=nil)
3916
+ @SubnetName = subnetname
3917
+ @SubnetId = subnetid
3918
+ end
3919
+
3920
+ def deserialize(params)
3921
+ @SubnetName = params['SubnetName']
3922
+ @SubnetId = params['SubnetId']
3923
+ end
3924
+ end
3925
+
3747
3926
  # SyncPodState请求参数结构体
3748
3927
  class SyncPodStateRequest < TencentCloud::Common::AbstractModel
3749
3928
  # @param Message: EmrService中pod状态信息
@@ -3871,6 +4050,52 @@ module TencentCloud
3871
4050
  end
3872
4051
  end
3873
4052
 
4053
+ # 集群节点拓扑信息
4054
+ class TopologyInfo < TencentCloud::Common::AbstractModel
4055
+ # @param ZoneId: 可用区ID
4056
+ # 注意:此字段可能返回 null,表示取不到有效值。
4057
+ # @type ZoneId: Integer
4058
+ # @param Zone: 可用区信息
4059
+ # 注意:此字段可能返回 null,表示取不到有效值。
4060
+ # @type Zone: String
4061
+ # @param SubnetInfoList: 子网信息
4062
+ # 注意:此字段可能返回 null,表示取不到有效值。
4063
+ # @type SubnetInfoList: Array
4064
+ # @param NodeInfoList: 节点信息
4065
+ # 注意:此字段可能返回 null,表示取不到有效值。
4066
+ # @type NodeInfoList: Array
4067
+
4068
+ attr_accessor :ZoneId, :Zone, :SubnetInfoList, :NodeInfoList
4069
+
4070
+ def initialize(zoneid=nil, zone=nil, subnetinfolist=nil, nodeinfolist=nil)
4071
+ @ZoneId = zoneid
4072
+ @Zone = zone
4073
+ @SubnetInfoList = subnetinfolist
4074
+ @NodeInfoList = nodeinfolist
4075
+ end
4076
+
4077
+ def deserialize(params)
4078
+ @ZoneId = params['ZoneId']
4079
+ @Zone = params['Zone']
4080
+ unless params['SubnetInfoList'].nil?
4081
+ @SubnetInfoList = []
4082
+ params['SubnetInfoList'].each do |i|
4083
+ subnetinfo_tmp = SubnetInfo.new
4084
+ subnetinfo_tmp.deserialize(i)
4085
+ @SubnetInfoList << subnetinfo_tmp
4086
+ end
4087
+ end
4088
+ unless params['NodeInfoList'].nil?
4089
+ @NodeInfoList = []
4090
+ params['NodeInfoList'].each do |i|
4091
+ shortnodeinfo_tmp = ShortNodeInfo.new
4092
+ shortnodeinfo_tmp.deserialize(i)
4093
+ @NodeInfoList << shortnodeinfo_tmp
4094
+ end
4095
+ end
4096
+ end
4097
+ end
4098
+
3874
4099
  # 变配资源规格
3875
4100
  class UpdateInstanceSettings < TencentCloud::Common::AbstractModel
3876
4101
  # @param Memory: 内存容量,单位为G
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.310
4
+ version: 1.0.311
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-05-11 00:00:00.000000000 Z
11
+ date: 2022-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common