class TencentCloud::Emr::V20190103::PodSpec

扩容容器资源时的资源描述

def deserialize(params)

def deserialize(params)
  @ResourceProviderIdentifier = params['ResourceProviderIdentifier']
  @ResourceProviderType = params['ResourceProviderType']
  @NodeType = params['NodeType']
  @Cpu = params['Cpu']
  @Memory = params['Memory']
  @DataVolumes = params['DataVolumes']
  @CpuType = params['CpuType']
  unless params['PodVolumes'].nil?
    @PodVolumes = []
    params['PodVolumes'].each do |i|
      podvolume_tmp = PodVolume.new
      podvolume_tmp.deserialize(i)
      @PodVolumes << podvolume_tmp
    end
  end
  @IsDynamicSpec = params['IsDynamicSpec']
  unless params['DynamicPodSpec'].nil?
    @DynamicPodSpec = DynamicPodSpec.new
    @DynamicPodSpec.deserialize(params['DynamicPodSpec'])
  end
  @VpcId = params['VpcId']
  @SubnetId = params['SubnetId']
  @PodName = params['PodName']
end

def initialize(resourceprovideridentifier=nil, resourceprovidertype=nil, nodetype=nil, cpu=nil, memory=nil, datavolumes=nil, cputype=nil, podvolumes=nil, isdynamicspec=nil, dynamicpodspec=nil, vpcid=nil, subnetid=nil, podname=nil)

def initialize(resourceprovideridentifier=nil, resourceprovidertype=nil, nodetype=nil, cpu=nil, memory=nil, datavolumes=nil, cputype=nil, podvolumes=nil, isdynamicspec=nil, dynamicpodspec=nil, vpcid=nil, subnetid=nil, podname=nil)
  @ResourceProviderIdentifier = resourceprovideridentifier
  @ResourceProviderType = resourceprovidertype
  @NodeType = nodetype
  @Cpu = cpu
  @Memory = memory
  @DataVolumes = datavolumes
  @CpuType = cputype
  @PodVolumes = podvolumes
  @IsDynamicSpec = isdynamicspec
  @DynamicPodSpec = dynamicpodspec
  @VpcId = vpcid
  @SubnetId = subnetid
  @PodName = podname
end