Class: TencentCloud::As::V20180419::InstanceTag

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180419/models.rb

Overview

实例标签。通过指定该参数,可以为扩容的实例绑定标签。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ InstanceTag

Returns a new instance of InstanceTag.



3334
3335
3336
3337
# File 'lib/v20180419/models.rb', line 3334

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    标签键

  • Value:

    标签值



3332
3333
3334
# File 'lib/v20180419/models.rb', line 3332

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    标签键

  • Value:

    标签值



3332
3333
3334
# File 'lib/v20180419/models.rb', line 3332

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



3339
3340
3341
3342
# File 'lib/v20180419/models.rb', line 3339

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
end