Class: TencentCloud::Cvm::V20170312::GPUInfo

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/models.rb

Overview

实例GPU信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gpucount = nil, gpuid = nil, gputype = nil) ⇒ GPUInfo

Returns a new instance of GPUInfo.



3961
3962
3963
3964
3965
# File 'lib/v20170312/models.rb', line 3961

def initialize(gpucount=nil, gpuid=nil, gputype=nil)
  @GPUCount = gpucount
  @GPUId = gpuid
  @GPUType = gputype
end

Instance Attribute Details

#GPUCount ⇒ Object

Parameters:

  • GPUCount: —

    实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。

  • GPUId: —

    实例GPU地址。

  • GPUType: —

    实例GPU类型。



3959
3960
3961
# File 'lib/v20170312/models.rb', line 3959

def GPUCount
  @GPUCount
end

#GPUId ⇒ Object

Parameters:

  • GPUCount: —

    实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。

  • GPUId: —

    实例GPU地址。

  • GPUType: —

    实例GPU类型。



3959
3960
3961
# File 'lib/v20170312/models.rb', line 3959

def GPUId
  @GPUId
end

#GPUType ⇒ Object

Parameters:

  • GPUCount: —

    实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。

  • GPUId: —

    实例GPU地址。

  • GPUType: —

    实例GPU类型。



3959
3960
3961
# File 'lib/v20170312/models.rb', line 3959

def GPUType
  @GPUType
end

Instance Method Details

#deserialize(params) ⇒ Object



3967
3968
3969
3970
3971
# File 'lib/v20170312/models.rb', line 3967

def deserialize(params)
  @GPUCount = params['GPUCount']
  @GPUId = params['GPUId']
  @GPUType = params['GPUType']
end