Class: TencentCloud::Mps::V20190612::FailOverOption

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

Overview

type FailOverOption struct { FailOverType string json:“FailOverType” // 新增 冷/热备 COLDSTANDBY、HOTSTANDBY }

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(failovertype = nil) ⇒ FailOverOption

Returns a new instance of FailOverOption.



16730
16731
16732
# File 'lib/v20190612/models.rb', line 16730

def initialize(failovertype=nil)
  @FailOverType = failovertype
end

Instance Attribute Details

#FailOverTypeObject

Parameters:

  • FailOverType:

    热备



16728
16729
16730
# File 'lib/v20190612/models.rb', line 16728

def FailOverType
  @FailOverType
end

Instance Method Details

#deserialize(params) ⇒ Object



16734
16735
16736
# File 'lib/v20190612/models.rb', line 16734

def deserialize(params)
  @FailOverType = params['FailOverType']
end