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.



3836
3837
3838
3839
3840
# File 'lib/v20170312/models.rb', line 3836

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

Instance Attribute Details

#GPUCountObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • GPUCount:

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

  • GPUId:

    实例GPU地址。

  • GPUType:

    实例GPU类型。



3834
3835
3836
# File 'lib/v20170312/models.rb', line 3834

def GPUCount
  @GPUCount
end

#GPUIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • GPUCount:

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

  • GPUId:

    实例GPU地址。

  • GPUType:

    实例GPU类型。



3834
3835
3836
# File 'lib/v20170312/models.rb', line 3834

def GPUId
  @GPUId
end

#GPUTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • GPUCount:

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

  • GPUId:

    实例GPU地址。

  • GPUType:

    实例GPU类型。



3834
3835
3836
# File 'lib/v20170312/models.rb', line 3834

def GPUType
  @GPUType
end

Instance Method Details

#deserialize(params) ⇒ Object



3842
3843
3844
3845
3846
# File 'lib/v20170312/models.rb', line 3842

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