Class: TencentCloud::Emr::V20190103::BootstrapAction
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::BootstrapAction
- Defined in:
- lib/v20190103/models.rb
Overview
引导脚本
Instance Attribute Summary collapse
-
#Args ⇒ Object
resourceAfter 表示在机器资源申请成功后执行。 clusterBefore 表示在集群初始化前执行。 clusterAfter 表示在集群初始化后执行。.
-
#Path ⇒ Object
resourceAfter 表示在机器资源申请成功后执行。 clusterBefore 表示在集群初始化前执行。 clusterAfter 表示在集群初始化后执行。.
-
#WhenRun ⇒ Object
resourceAfter 表示在机器资源申请成功后执行。 clusterBefore 表示在集群初始化前执行。 clusterAfter 表示在集群初始化后执行。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(path = nil, whenrun = nil, args = nil) ⇒ BootstrapAction
constructor
A new instance of BootstrapAction.
Constructor Details
#initialize(path = nil, whenrun = nil, args = nil) ⇒ BootstrapAction
Returns a new instance of BootstrapAction.
601 602 603 604 605 |
# File 'lib/v20190103/models.rb', line 601 def initialize(path=nil, whenrun=nil, args=nil) @Path = path @WhenRun = whenrun @Args = args end |
Instance Attribute Details
#Args ⇒ Object
resourceAfter 表示在机器资源申请成功后执行。 clusterBefore 表示在集群初始化前执行。 clusterAfter 表示在集群初始化后执行。
599 600 601 |
# File 'lib/v20190103/models.rb', line 599 def Args @Args end |
#Path ⇒ Object
resourceAfter 表示在机器资源申请成功后执行。 clusterBefore 表示在集群初始化前执行。 clusterAfter 表示在集群初始化后执行。
599 600 601 |
# File 'lib/v20190103/models.rb', line 599 def Path @Path end |
#WhenRun ⇒ Object
resourceAfter 表示在机器资源申请成功后执行。 clusterBefore 表示在集群初始化前执行。 clusterAfter 表示在集群初始化后执行。
599 600 601 |
# File 'lib/v20190103/models.rb', line 599 def WhenRun @WhenRun end |
Instance Method Details
#deserialize(params) ⇒ Object
607 608 609 610 611 |
# File 'lib/v20190103/models.rb', line 607 def deserialize(params) @Path = params['Path'] @WhenRun = params['WhenRun'] @Args = params['Args'] end |