Class: TencentCloud::Emr::V20190103::ScaleOutClusterRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::ScaleOutClusterRequest
- Defined in:
- lib/v20190103/models.rb
Overview
ScaleOutCluster请求参数结构体
Instance Attribute Summary collapse
-
#ClickHouseClusterName ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#ClickHouseClusterType ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#ClientToken ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#DisasterRecoverGroupIds ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#EnableStartServiceFlag ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#HardwareSourceType ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#InstanceChargePrepaid ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#InstanceChargeType ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#InstanceId ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#NodeMarks ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#PodSpecInfo ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#ResourceSpec ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#ScaleOutNodeConfig ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#ScaleOutServiceConfGroupsInfo ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#ScriptBootstrapActionConfig ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#ServiceNodeInfo ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#SoftDeployInfo ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#SubnetId ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#Tags ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#WarehouseName ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#YarnNodeLabel ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
. -
#Zone ⇒ Object
- PREPAID:预付费,即包年包月。
- POSTPAID_BY_HOUR:按小时后付费。
- SPOTPAID:竞价付费(仅支持TASK节点)。
该参数可以通过调用 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)的返回值中的DisasterRecoverGroupId字段来获取。- true:是
- false:否
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instancechargetype = nil, instanceid = nil, scaleoutnodeconfig = nil, clienttoken = nil, instancechargeprepaid = nil, scriptbootstrapactionconfig = nil, softdeployinfo = nil, servicenodeinfo = nil, disasterrecovergroupids = nil, tags = nil, hardwaresourcetype = nil, podspecinfo = nil, clickhouseclustername = nil, clickhouseclustertype = nil, yarnnodelabel = nil, enablestartserviceflag = nil, resourcespec = nil, zone = nil, subnetid = nil, scaleoutserviceconfgroupsinfo = nil, nodemarks = nil, warehousename = nil) ⇒ ScaleOutClusterRequest
constructor
A new instance of ScaleOutClusterRequest.
Constructor Details
#initialize(instancechargetype = nil, instanceid = nil, scaleoutnodeconfig = nil, clienttoken = nil, instancechargeprepaid = nil, scriptbootstrapactionconfig = nil, softdeployinfo = nil, servicenodeinfo = nil, disasterrecovergroupids = nil, tags = nil, hardwaresourcetype = nil, podspecinfo = nil, clickhouseclustername = nil, clickhouseclustertype = nil, yarnnodelabel = nil, enablestartserviceflag = nil, resourcespec = nil, zone = nil, subnetid = nil, scaleoutserviceconfgroupsinfo = nil, nodemarks = nil, warehousename = nil) ⇒ ScaleOutClusterRequest
Returns a new instance of ScaleOutClusterRequest.
12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 |
# File 'lib/v20190103/models.rb', line 12647 def initialize(instancechargetype=nil, instanceid=nil, scaleoutnodeconfig=nil, clienttoken=nil, instancechargeprepaid=nil, scriptbootstrapactionconfig=nil, =nil, servicenodeinfo=nil, disasterrecovergroupids=nil, =nil, hardwaresourcetype=nil, podspecinfo=nil, clickhouseclustername=nil, clickhouseclustertype=nil, yarnnodelabel=nil, enablestartserviceflag=nil, resourcespec=nil, zone=nil, subnetid=nil, scaleoutserviceconfgroupsinfo=nil, nodemarks=nil, warehousename=nil) @InstanceChargeType = instancechargetype @InstanceId = instanceid @ScaleOutNodeConfig = scaleoutnodeconfig @ClientToken = clienttoken @InstanceChargePrepaid = instancechargeprepaid @ScriptBootstrapActionConfig = scriptbootstrapactionconfig @SoftDeployInfo = @ServiceNodeInfo = servicenodeinfo @DisasterRecoverGroupIds = disasterrecovergroupids @Tags = @HardwareSourceType = hardwaresourcetype @PodSpecInfo = podspecinfo @ClickHouseClusterName = clickhouseclustername @ClickHouseClusterType = clickhouseclustertype @YarnNodeLabel = yarnnodelabel @EnableStartServiceFlag = enablestartserviceflag @ResourceSpec = resourcespec @Zone = zone @SubnetId = subnetid @ScaleOutServiceConfGroupsInfo = scaleoutserviceconfgroupsinfo @NodeMarks = nodemarks @WarehouseName = warehousename end |
Instance Attribute Details
#ClickHouseClusterName ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def ClickHouseClusterName @ClickHouseClusterName end |
#ClickHouseClusterType ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def ClickHouseClusterType @ClickHouseClusterType end |
#ClientToken ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def ClientToken @ClientToken end |
#DisasterRecoverGroupIds ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def DisasterRecoverGroupIds @DisasterRecoverGroupIds end |
#EnableStartServiceFlag ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def EnableStartServiceFlag @EnableStartServiceFlag end |
#HardwareSourceType ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def HardwareSourceType @HardwareSourceType end |
#InstanceChargePrepaid ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def InstanceChargePrepaid @InstanceChargePrepaid end |
#InstanceChargeType ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def InstanceChargeType @InstanceChargeType end |
#InstanceId ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def InstanceId @InstanceId end |
#NodeMarks ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def NodeMarks @NodeMarks end |
#PodSpecInfo ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def PodSpecInfo @PodSpecInfo end |
#ResourceSpec ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def ResourceSpec @ResourceSpec end |
#ScaleOutNodeConfig ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def ScaleOutNodeConfig @ScaleOutNodeConfig end |
#ScaleOutServiceConfGroupsInfo ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def ScaleOutServiceConfGroupsInfo @ScaleOutServiceConfGroupsInfo end |
#ScriptBootstrapActionConfig ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def ScriptBootstrapActionConfig @ScriptBootstrapActionConfig end |
#ServiceNodeInfo ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def ServiceNodeInfo @ServiceNodeInfo end |
#SoftDeployInfo ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def SoftDeployInfo @SoftDeployInfo end |
#SubnetId ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def SubnetId @SubnetId end |
#Tags ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def Tags @Tags end |
#WarehouseName ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def WarehouseName @WarehouseName end |
#YarnNodeLabel ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def YarnNodeLabel @YarnNodeLabel end |
#Zone ⇒ Object
12645 12646 12647 |
# File 'lib/v20190103/models.rb', line 12645 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 |
# File 'lib/v20190103/models.rb', line 12672 def deserialize(params) @InstanceChargeType = params['InstanceChargeType'] @InstanceId = params['InstanceId'] unless params['ScaleOutNodeConfig'].nil? @ScaleOutNodeConfig = ScaleOutNodeConfig.new @ScaleOutNodeConfig.deserialize(params['ScaleOutNodeConfig']) end @ClientToken = params['ClientToken'] unless params['InstanceChargePrepaid'].nil? @InstanceChargePrepaid = InstanceChargePrepaid.new @InstanceChargePrepaid.deserialize(params['InstanceChargePrepaid']) end unless params['ScriptBootstrapActionConfig'].nil? @ScriptBootstrapActionConfig = [] params['ScriptBootstrapActionConfig'].each do |i| scriptbootstrapactionconfig_tmp = ScriptBootstrapActionConfig.new scriptbootstrapactionconfig_tmp.deserialize(i) @ScriptBootstrapActionConfig << scriptbootstrapactionconfig_tmp end end @SoftDeployInfo = params['SoftDeployInfo'] @ServiceNodeInfo = params['ServiceNodeInfo'] @DisasterRecoverGroupIds = params['DisasterRecoverGroupIds'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @HardwareSourceType = params['HardwareSourceType'] unless params['PodSpecInfo'].nil? @PodSpecInfo = PodSpecInfo.new @PodSpecInfo.deserialize(params['PodSpecInfo']) end @ClickHouseClusterName = params['ClickHouseClusterName'] @ClickHouseClusterType = params['ClickHouseClusterType'] @YarnNodeLabel = params['YarnNodeLabel'] @EnableStartServiceFlag = params['EnableStartServiceFlag'] unless params['ResourceSpec'].nil? @ResourceSpec = NodeResourceSpec.new @ResourceSpec.deserialize(params['ResourceSpec']) end @Zone = params['Zone'] @SubnetId = params['SubnetId'] unless params['ScaleOutServiceConfGroupsInfo'].nil? @ScaleOutServiceConfGroupsInfo = [] params['ScaleOutServiceConfGroupsInfo'].each do |i| scaleoutserviceconfgroupsinfo_tmp = ScaleOutServiceConfGroupsInfo.new scaleoutserviceconfgroupsinfo_tmp.deserialize(i) @ScaleOutServiceConfGroupsInfo << scaleoutserviceconfgroupsinfo_tmp end end unless params['NodeMarks'].nil? @NodeMarks = NodeMark.new @NodeMarks.deserialize(params['NodeMarks']) end @WarehouseName = params['WarehouseName'] end |