tencentcloud-sdk-emr 3.0.1095 → 3.0.1098

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 +125 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb58afb17353a9df889c8af679955c1da9bb820a
4
- data.tar.gz: cc9e70b80c94d7c427832ce89222488e138f5c43
3
+ metadata.gz: e503c0f5a6e4d54b48205d6e47f2ba1f7cd37d43
4
+ data.tar.gz: 28e922a016f0e6e6c178082c82fc4c733e8acb04
5
5
  SHA512:
6
- metadata.gz: d93607020273b2d9c4279cbd401f6635cde4f64465f4176e12ac73e66d74479506758a12f34717ad2797e6d84b594fc341efa6ebf124fa5c84086ddd9cbd98c0
7
- data.tar.gz: 7cd1ec5a8acb19f2ad7069d7a14091513df8599724b0b02431c8e6b3ae16771c98bd020f2237f17586685a381dc959988088ec3d36ca53198578f5afa991eae1
6
+ metadata.gz: 1dd50fb5cea47151f212509af8c92610e904cf6b1323931f9c3a537761d9374149e929de0408e4b79d48aa7a3c8b187a7fe36c7f928b2f9843892b9e94f5ad66
7
+ data.tar.gz: bce0c17f2bc6bbfcde7387e36decb91206a9221a7ecf9c30aa61bb941c6b983c03921227b475b4db30c6e0d4db9bd5cc56e6234ef806ebf07c47177819e0d08c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1095
1
+ 3.0.1098
@@ -2295,9 +2295,9 @@ module TencentCloud
2295
2295
  class CreateSLInstanceRequest < TencentCloud::Common::AbstractModel
2296
2296
  # @param InstanceName: 实例名称。
2297
2297
  # @type InstanceName: String
2298
- # @param PayMode: 实例计费模式,0表示后付费,即按量计费。
2298
+ # @param PayMode: 实例计费模式,0表示后付费,即按量计费,1表示预付费,即包年包月。
2299
2299
  # @type PayMode: Integer
2300
- # @param DiskType: 实例存储类型,填写CLOUD_HSSD,表示性能云存储。
2300
+ # @param DiskType: 实例存储类型,CLOUD_HSSD表示性能云存储, CLOUD_BSSD表示标准云存储。
2301
2301
  # @type DiskType: String
2302
2302
  # @param DiskSize: 实例单节点磁盘容量,单位GB,单节点磁盘容量需大于等于100,小于等于250*CPU核心数,容量调整步长为100。
2303
2303
  # @type DiskSize: Integer
@@ -2311,10 +2311,12 @@ module TencentCloud
2311
2311
  # @type PrePaySetting: :class:`Tencentcloud::Emr.v20190103.models.PrePaySetting`
2312
2312
  # @param ClientToken: 唯一随机标识,时效性为5分钟,需要调用者指定 防止客户端重复创建资源,例如 a9a90aa6-****-****-****-fae360632808
2313
2313
  # @type ClientToken: String
2314
+ # @param DeploymentMode: 部署模式
2315
+ # @type DeploymentMode: String
2314
2316
 
2315
- attr_accessor :InstanceName, :PayMode, :DiskType, :DiskSize, :NodeType, :ZoneSettings, :Tags, :PrePaySetting, :ClientToken
2317
+ attr_accessor :InstanceName, :PayMode, :DiskType, :DiskSize, :NodeType, :ZoneSettings, :Tags, :PrePaySetting, :ClientToken, :DeploymentMode
2316
2318
 
2317
- def initialize(instancename=nil, paymode=nil, disktype=nil, disksize=nil, nodetype=nil, zonesettings=nil, tags=nil, prepaysetting=nil, clienttoken=nil)
2319
+ def initialize(instancename=nil, paymode=nil, disktype=nil, disksize=nil, nodetype=nil, zonesettings=nil, tags=nil, prepaysetting=nil, clienttoken=nil, deploymentmode=nil)
2318
2320
  @InstanceName = instancename
2319
2321
  @PayMode = paymode
2320
2322
  @DiskType = disktype
@@ -2324,6 +2326,7 @@ module TencentCloud
2324
2326
  @Tags = tags
2325
2327
  @PrePaySetting = prepaysetting
2326
2328
  @ClientToken = clienttoken
2329
+ @DeploymentMode = deploymentmode
2327
2330
  end
2328
2331
 
2329
2332
  def deserialize(params)
@@ -2353,6 +2356,7 @@ module TencentCloud
2353
2356
  @PrePaySetting.deserialize(params['PrePaySetting'])
2354
2357
  end
2355
2358
  @ClientToken = params['ClientToken']
2359
+ @DeploymentMode = params['DeploymentMode']
2356
2360
  end
2357
2361
  end
2358
2362
 
@@ -4929,12 +4933,14 @@ module TencentCloud
4929
4933
  # @type AutoRenewFlag: Integer
4930
4934
  # @param NodeNum: 实例节点总数。
4931
4935
  # @type NodeNum: Integer
4936
+ # @param SLInstance: Serverless Instance infomation
4937
+ # @type SLInstance: Array
4932
4938
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4933
4939
  # @type RequestId: String
4934
4940
 
4935
- attr_accessor :InstanceId, :InstanceName, :PayMode, :DiskType, :DiskSize, :NodeType, :ZoneSettings, :Tags, :ClusterId, :RegionId, :Zone, :ExpireTime, :IsolateTime, :CreateTime, :Status, :AutoRenewFlag, :NodeNum, :RequestId
4941
+ attr_accessor :InstanceId, :InstanceName, :PayMode, :DiskType, :DiskSize, :NodeType, :ZoneSettings, :Tags, :ClusterId, :RegionId, :Zone, :ExpireTime, :IsolateTime, :CreateTime, :Status, :AutoRenewFlag, :NodeNum, :SLInstance, :RequestId
4936
4942
 
4937
- def initialize(instanceid=nil, instancename=nil, paymode=nil, disktype=nil, disksize=nil, nodetype=nil, zonesettings=nil, tags=nil, clusterid=nil, regionid=nil, zone=nil, expiretime=nil, isolatetime=nil, createtime=nil, status=nil, autorenewflag=nil, nodenum=nil, requestid=nil)
4943
+ def initialize(instanceid=nil, instancename=nil, paymode=nil, disktype=nil, disksize=nil, nodetype=nil, zonesettings=nil, tags=nil, clusterid=nil, regionid=nil, zone=nil, expiretime=nil, isolatetime=nil, createtime=nil, status=nil, autorenewflag=nil, nodenum=nil, slinstance=nil, requestid=nil)
4938
4944
  @InstanceId = instanceid
4939
4945
  @InstanceName = instancename
4940
4946
  @PayMode = paymode
@@ -4952,6 +4958,7 @@ module TencentCloud
4952
4958
  @Status = status
4953
4959
  @AutoRenewFlag = autorenewflag
4954
4960
  @NodeNum = nodenum
4961
+ @SLInstance = slinstance
4955
4962
  @RequestId = requestid
4956
4963
  end
4957
4964
 
@@ -4987,6 +4994,14 @@ module TencentCloud
4987
4994
  @Status = params['Status']
4988
4995
  @AutoRenewFlag = params['AutoRenewFlag']
4989
4996
  @NodeNum = params['NodeNum']
4997
+ unless params['SLInstance'].nil?
4998
+ @SLInstance = []
4999
+ params['SLInstance'].each do |i|
5000
+ slinstance_tmp = SLInstance.new
5001
+ slinstance_tmp.deserialize(i)
5002
+ @SLInstance << slinstance_tmp
5003
+ end
5004
+ end
4990
5005
  @RequestId = params['RequestId']
4991
5006
  end
4992
5007
  end
@@ -11883,6 +11898,104 @@ module TencentCloud
11883
11898
  end
11884
11899
  end
11885
11900
 
11901
+ # Serverless Instance
11902
+ class SLInstance < TencentCloud::Common::AbstractModel
11903
+ # @param InstanceId: EMR Instance Id
11904
+ # @type InstanceId: String
11905
+ # @param ClusterId: EMR Numeric Instance Id
11906
+ # @type ClusterId: Integer
11907
+ # @param InstanceName: Instance Name
11908
+ # @type InstanceName: String
11909
+ # @param RegionId: Region id
11910
+ # @type RegionId: Integer
11911
+ # @param Zone: Zone Name
11912
+ # @type Zone: String
11913
+ # @param PayMode: Pay Mode
11914
+ # @type PayMode: Integer
11915
+ # @param DiskType: Disk Type
11916
+ # @type DiskType: String
11917
+ # @param DiskSize: Disk Size
11918
+ # @type DiskSize: Integer
11919
+ # @param NodeType: Node Type
11920
+ # @type NodeType: String
11921
+ # @param NodeNum: Node Number
11922
+ # @type NodeNum: Integer
11923
+ # @param ExpireTime: Expire Time
11924
+ # @type ExpireTime: String
11925
+ # @param IsolateTime: Isolate Time
11926
+ # @type IsolateTime: String
11927
+ # @param CreateTime: Create Time
11928
+ # @type CreateTime: String
11929
+ # @param AutoRenewFlag: Auto Renew Flag
11930
+ # @type AutoRenewFlag: Integer
11931
+ # @param Status: EMR Numeric Instance Status
11932
+ # @type Status: Integer
11933
+ # @param ZoneSettings: Zone Setting
11934
+ # @type ZoneSettings: Array
11935
+ # @param Tags: Bound Tags
11936
+ # @type Tags: Array
11937
+ # @param DeployRole: Deploy Role
11938
+ # @type DeployRole: String
11939
+
11940
+ attr_accessor :InstanceId, :ClusterId, :InstanceName, :RegionId, :Zone, :PayMode, :DiskType, :DiskSize, :NodeType, :NodeNum, :ExpireTime, :IsolateTime, :CreateTime, :AutoRenewFlag, :Status, :ZoneSettings, :Tags, :DeployRole
11941
+
11942
+ def initialize(instanceid=nil, clusterid=nil, instancename=nil, regionid=nil, zone=nil, paymode=nil, disktype=nil, disksize=nil, nodetype=nil, nodenum=nil, expiretime=nil, isolatetime=nil, createtime=nil, autorenewflag=nil, status=nil, zonesettings=nil, tags=nil, deployrole=nil)
11943
+ @InstanceId = instanceid
11944
+ @ClusterId = clusterid
11945
+ @InstanceName = instancename
11946
+ @RegionId = regionid
11947
+ @Zone = zone
11948
+ @PayMode = paymode
11949
+ @DiskType = disktype
11950
+ @DiskSize = disksize
11951
+ @NodeType = nodetype
11952
+ @NodeNum = nodenum
11953
+ @ExpireTime = expiretime
11954
+ @IsolateTime = isolatetime
11955
+ @CreateTime = createtime
11956
+ @AutoRenewFlag = autorenewflag
11957
+ @Status = status
11958
+ @ZoneSettings = zonesettings
11959
+ @Tags = tags
11960
+ @DeployRole = deployrole
11961
+ end
11962
+
11963
+ def deserialize(params)
11964
+ @InstanceId = params['InstanceId']
11965
+ @ClusterId = params['ClusterId']
11966
+ @InstanceName = params['InstanceName']
11967
+ @RegionId = params['RegionId']
11968
+ @Zone = params['Zone']
11969
+ @PayMode = params['PayMode']
11970
+ @DiskType = params['DiskType']
11971
+ @DiskSize = params['DiskSize']
11972
+ @NodeType = params['NodeType']
11973
+ @NodeNum = params['NodeNum']
11974
+ @ExpireTime = params['ExpireTime']
11975
+ @IsolateTime = params['IsolateTime']
11976
+ @CreateTime = params['CreateTime']
11977
+ @AutoRenewFlag = params['AutoRenewFlag']
11978
+ @Status = params['Status']
11979
+ unless params['ZoneSettings'].nil?
11980
+ @ZoneSettings = []
11981
+ params['ZoneSettings'].each do |i|
11982
+ zonesetting_tmp = ZoneSetting.new
11983
+ zonesetting_tmp.deserialize(i)
11984
+ @ZoneSettings << zonesetting_tmp
11985
+ end
11986
+ end
11987
+ unless params['Tags'].nil?
11988
+ @Tags = []
11989
+ params['Tags'].each do |i|
11990
+ tag_tmp = Tag.new
11991
+ tag_tmp.deserialize(i)
11992
+ @Tags << tag_tmp
11993
+ end
11994
+ end
11995
+ @DeployRole = params['DeployRole']
11996
+ end
11997
+ end
11998
+
11886
11999
  # Serverless HBase实例信息
11887
12000
  class SLInstanceInfo < TencentCloud::Common::AbstractModel
11888
12001
  # @param ClusterId: 集群实例字符串ID
@@ -11925,10 +12038,12 @@ module TencentCloud
11925
12038
  # @type IsolateTime: String
11926
12039
  # @param ExpireTime: 过期时间,后付费返回0000-00-00 00:00:00
11927
12040
  # @type ExpireTime: String
12041
+ # @param DeployRole: 主备部署角色
12042
+ # @type DeployRole: String
11928
12043
 
11929
- attr_accessor :ClusterId, :Id, :StatusDesc, :HealthStatus, :ClusterName, :RegionId, :ZoneId, :Zone, :AppId, :VpcId, :SubnetId, :Status, :AddTime, :PayMode, :ZoneSettings, :Tags, :AutoRenewFlag, :IsolateTime, :ExpireTime
12044
+ attr_accessor :ClusterId, :Id, :StatusDesc, :HealthStatus, :ClusterName, :RegionId, :ZoneId, :Zone, :AppId, :VpcId, :SubnetId, :Status, :AddTime, :PayMode, :ZoneSettings, :Tags, :AutoRenewFlag, :IsolateTime, :ExpireTime, :DeployRole
11930
12045
 
11931
- def initialize(clusterid=nil, id=nil, statusdesc=nil, healthstatus=nil, clustername=nil, regionid=nil, zoneid=nil, zone=nil, appid=nil, vpcid=nil, subnetid=nil, status=nil, addtime=nil, paymode=nil, zonesettings=nil, tags=nil, autorenewflag=nil, isolatetime=nil, expiretime=nil)
12046
+ def initialize(clusterid=nil, id=nil, statusdesc=nil, healthstatus=nil, clustername=nil, regionid=nil, zoneid=nil, zone=nil, appid=nil, vpcid=nil, subnetid=nil, status=nil, addtime=nil, paymode=nil, zonesettings=nil, tags=nil, autorenewflag=nil, isolatetime=nil, expiretime=nil, deployrole=nil)
11932
12047
  @ClusterId = clusterid
11933
12048
  @Id = id
11934
12049
  @StatusDesc = statusdesc
@@ -11948,6 +12063,7 @@ module TencentCloud
11948
12063
  @AutoRenewFlag = autorenewflag
11949
12064
  @IsolateTime = isolatetime
11950
12065
  @ExpireTime = expiretime
12066
+ @DeployRole = deployrole
11951
12067
  end
11952
12068
 
11953
12069
  def deserialize(params)
@@ -11984,6 +12100,7 @@ module TencentCloud
11984
12100
  @AutoRenewFlag = params['AutoRenewFlag']
11985
12101
  @IsolateTime = params['IsolateTime']
11986
12102
  @ExpireTime = params['ExpireTime']
12103
+ @DeployRole = params['DeployRole']
11987
12104
  end
11988
12105
  end
11989
12106
 
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.1095
4
+ version: 3.0.1098
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-07-06 00:00:00.000000000 Z
11
+ date: 2025-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common