Class: TencentCloud::Gse::V20191112::ExtraInfos

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

Overview

实例类型限额配置额外信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instancetype = nil, totalinstances = nil) ⇒ ExtraInfos

Returns a new instance of ExtraInfos.



2903
2904
2905
2906
# File 'lib/v20191112/models.rb', line 2903

def initialize(instancetype=nil, totalinstances=nil)
  @InstanceType = instancetype
  @TotalInstances = totalinstances
end

Instance Attribute Details

#InstanceTypeObject

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

Parameters:

  • InstanceType:

    实例类型,例如S5.LARGE8

  • TotalInstances:

    实例限额数



2901
2902
2903
# File 'lib/v20191112/models.rb', line 2901

def InstanceType
  @InstanceType
end

#TotalInstancesObject

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

Parameters:

  • InstanceType:

    实例类型,例如S5.LARGE8

  • TotalInstances:

    实例限额数



2901
2902
2903
# File 'lib/v20191112/models.rb', line 2901

def TotalInstances
  @TotalInstances
end

Instance Method Details

#deserialize(params) ⇒ Object



2908
2909
2910
2911
# File 'lib/v20191112/models.rb', line 2908

def deserialize(params)
  @InstanceType = params['InstanceType']
  @TotalInstances = params['TotalInstances']
end