class TencentCloud::Cynosdb::V20190107::CreateProxyRequest

CreateProxy请求参数结构体

def deserialize(params)

def deserialize(params)
  @ClusterId = params['ClusterId']
  @Cpu = params['Cpu']
  @Mem = params['Mem']
  @UniqueVpcId = params['UniqueVpcId']
  @UniqueSubnetId = params['UniqueSubnetId']
  @ProxyCount = params['ProxyCount']
  @ConnectionPoolType = params['ConnectionPoolType']
  @OpenConnectionPool = params['OpenConnectionPool']
  @ConnectionPoolTimeOut = params['ConnectionPoolTimeOut']
  @SecurityGroupIds = params['SecurityGroupIds']
  @Description = params['Description']
  unless params['ProxyZones'].nil?
    @ProxyZones = []
    params['ProxyZones'].each do |i|
      proxyzone_tmp = ProxyZone.new
      proxyzone_tmp.deserialize(i)
      @ProxyZones << proxyzone_tmp
    end
  end
end

def initialize(clusterid=nil, cpu=nil, mem=nil, uniquevpcid=nil, uniquesubnetid=nil, proxycount=nil, connectionpooltype=nil, openconnectionpool=nil, connectionpooltimeout=nil, securitygroupids=nil, description=nil, proxyzones=nil)

def initialize(clusterid=nil, cpu=nil, mem=nil, uniquevpcid=nil, uniquesubnetid=nil, proxycount=nil, connectionpooltype=nil, openconnectionpool=nil, connectionpooltimeout=nil, securitygroupids=nil, description=nil, proxyzones=nil)
  @ClusterId = clusterid
  @Cpu = cpu
  @Mem = mem
  @UniqueVpcId = uniquevpcid
  @UniqueSubnetId = uniquesubnetid
  @ProxyCount = proxycount
  @ConnectionPoolType = connectionpooltype
  @OpenConnectionPool = openconnectionpool
  @ConnectionPoolTimeOut = connectionpooltimeout
  @SecurityGroupIds = securitygroupids
  @Description = description
  @ProxyZones = proxyzones
end