Class: TencentCloud::Tione::V20211111::GpuDetail

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

Overview

gpu 详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil) ⇒ GpuDetail

Returns a new instance of GpuDetail.



4499
4500
4501
4502
# File 'lib/v20211111/models.rb', line 4499

def initialize(name=nil, value=nil)
  @Name = name
  @Value = value
end

Instance Attribute Details

#NameObject

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

Parameters:

  • Name:

    GPU 显卡类型;枚举值: V100 A100 T4

  • Value:

    GPU 显卡数;单位为1/100卡,比如100代表1卡



4497
4498
4499
# File 'lib/v20211111/models.rb', line 4497

def Name
  @Name
end

#ValueObject

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

Parameters:

  • Name:

    GPU 显卡类型;枚举值: V100 A100 T4

  • Value:

    GPU 显卡数;单位为1/100卡,比如100代表1卡



4497
4498
4499
# File 'lib/v20211111/models.rb', line 4497

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4504
4505
4506
4507
# File 'lib/v20211111/models.rb', line 4504

def deserialize(params)
  @Name = params['Name']
  @Value = params['Value']
end