class TencentCloud::Tsf::V20180326::CreateContainGroupRequest
CreateContainGroup请求参数结构体
def deserialize(params)
def deserialize(params) @ApplicationId = params['ApplicationId'] @NamespaceId = params['NamespaceId'] @GroupName = params['GroupName'] @InstanceNum = params['InstanceNum'] @AccessType = params['AccessType'] unless params['ProtocolPorts'].nil? @ProtocolPorts = [] params['ProtocolPorts'].each do |i| protocolport_tmp = ProtocolPort.new protocolport_tmp.deserialize(i) @ProtocolPorts << protocolport_tmp end end @ClusterId = params['ClusterId'] @CpuLimit = params['CpuLimit'] @MemLimit = params['MemLimit'] @GroupComment = params['GroupComment'] @UpdateType = params['UpdateType'] @UpdateIvl = params['UpdateIvl'] @CpuRequest = params['CpuRequest'] @MemRequest = params['MemRequest'] @GroupResourceType = params['GroupResourceType'] @SubnetId = params['SubnetId'] @AgentCpuRequest = params['AgentCpuRequest'] @AgentCpuLimit = params['AgentCpuLimit'] @AgentMemRequest = params['AgentMemRequest'] @AgentMemLimit = params['AgentMemLimit'] @IstioCpuRequest = params['IstioCpuRequest'] @IstioCpuLimit = params['IstioCpuLimit'] @IstioMemRequest = params['IstioMemRequest'] @IstioMemLimit = params['IstioMemLimit'] end
def initialize(applicationid=nil, namespaceid=nil, groupname=nil, instancenum=nil, accesstype=nil, protocolports=nil, clusterid=nil, cpulimit=nil, memlimit=nil, groupcomment=nil, updatetype=nil, updateivl=nil, cpurequest=nil, memrequest=nil, groupresourcetype=nil, subnetid=nil, agentcpurequest=nil, agentcpulimit=nil, agentmemrequest=nil, agentmemlimit=nil, istiocpurequest=nil, istiocpulimit=nil, istiomemrequest=nil, istiomemlimit=nil)
def initialize(applicationid=nil, namespaceid=nil, groupname=nil, instancenum=nil, accesstype=nil, protocolports=nil, clusterid=nil, cpulimit=nil, memlimit=nil, groupcomment=nil, updatetype=nil, updateivl=nil, cpurequest=nil, memrequest=nil, groupresourcetype=nil, subnetid=nil, agentcpurequest=nil, agentcpulimit=nil, agentmemrequest=nil, agentmemlimit=nil, istiocpurequest=nil, istiocpulimit=nil, istiomemrequest=nil, istiomemlimit=nil) @ApplicationId = applicationid @NamespaceId = namespaceid @GroupName = groupname @InstanceNum = instancenum @AccessType = accesstype @ProtocolPorts = protocolports @ClusterId = clusterid @CpuLimit = cpulimit @MemLimit = memlimit @GroupComment = groupcomment @UpdateType = updatetype @UpdateIvl = updateivl @CpuRequest = cpurequest @MemRequest = memrequest @GroupResourceType = groupresourcetype @SubnetId = subnetid @AgentCpuRequest = agentcpurequest @AgentCpuLimit = agentcpulimit @AgentMemRequest = agentmemrequest @AgentMemLimit = agentmemlimit @IstioCpuRequest = istiocpurequest @IstioCpuLimit = istiocpulimit @IstioMemRequest = istiomemrequest @IstioMemLimit = istiomemlimit end