class TencentCloud::Cynosdb::V20190107::UpgradeProxy
添加实例或者变配实例时同步升级proxy.
def deserialize(params)
def deserialize(params) @Cpu = params['Cpu'] @Mem = params['Mem'] unless params['ProxyZones'].nil? @ProxyZones = [] params['ProxyZones'].each do |i| proxyzone_tmp = ProxyZone.new proxyzone_tmp.deserialize(i) @ProxyZones << proxyzone_tmp end end @ReloadBalance = params['ReloadBalance'] end
def initialize(cpu=nil, mem=nil, proxyzones=nil, reloadbalance=nil)
def initialize(cpu=nil, mem=nil, proxyzones=nil, reloadbalance=nil) @Cpu = cpu @Mem = mem @ProxyZones = proxyzones @ReloadBalance = reloadbalance end