Class: TencentCloud::As::V20180419::LifecycleCommand
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::As::V20180419::LifecycleCommand
- Defined in:
- lib/v20180419/models.rb
Overview
远程命令执行对象。
Instance Attribute Summary collapse
-
#CommandId ⇒ Object
key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。 如果未提供该参数取值,将使用 Command 的 DefaultParameters 进行替换。 自定义参数最多20个。自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。.
-
#Parameters ⇒ Object
key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。 如果未提供该参数取值,将使用 Command 的 DefaultParameters 进行替换。 自定义参数最多20个。自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(commandid = nil, parameters = nil) ⇒ LifecycleCommand
constructor
A new instance of LifecycleCommand.
Constructor Details
#initialize(commandid = nil, parameters = nil) ⇒ LifecycleCommand
Returns a new instance of LifecycleCommand.
3722 3723 3724 3725 |
# File 'lib/v20180419/models.rb', line 3722 def initialize(commandid=nil, parameters=nil) @CommandId = commandid @Parameters = parameters end |
Instance Attribute Details
#CommandId ⇒ Object
key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。 如果未提供该参数取值,将使用 Command 的 DefaultParameters 进行替换。 自定义参数最多20个。自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
3720 3721 3722 |
# File 'lib/v20180419/models.rb', line 3720 def CommandId @CommandId end |
#Parameters ⇒ Object
key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。 如果未提供该参数取值,将使用 Command 的 DefaultParameters 进行替换。 自定义参数最多20个。自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
3720 3721 3722 |
# File 'lib/v20180419/models.rb', line 3720 def Parameters @Parameters end |
Instance Method Details
#deserialize(params) ⇒ Object
3727 3728 3729 3730 |
# File 'lib/v20180419/models.rb', line 3727 def deserialize(params) @CommandId = params['CommandId'] @Parameters = params['Parameters'] end |