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.



16810
16811
16812
# File 'lib/v20190612/models.rb', line 16810

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

Instance Attribute Details

#FailOverTypeObject

Parameters:

  • FailOverType:

    热备



16808
16809
16810
# File 'lib/v20190612/models.rb', line 16808

def FailOverType
  @FailOverType
end

Instance Method Details

#deserialize(params) ⇒ Object



16814
16815
16816
# File 'lib/v20190612/models.rb', line 16814

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