Class: TencentCloud::Oceanus::V20190422::SlotSharingGroupSpec

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

Overview

SlotSharingGroup的规格描述

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cpu = nil, heapmemory = nil, offheapmemory = nil, managedmemory = nil) ⇒ SlotSharingGroupSpec

Returns a new instance of SlotSharingGroupSpec.



5515
5516
5517
5518
5519
5520
# File 'lib/v20190422/models.rb', line 5515

def initialize(cpu=nil, heapmemory=nil, offheapmemory=nil, managedmemory=nil)
  @CPU = cpu
  @HeapMemory = heapmemory
  @OffHeapMemory = offheapmemory
  @ManagedMemory = managedmemory
end

Instance Attribute Details

#CPUObject

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

Parameters:

  • CPU:

    适用的cpu

  • HeapMemory:

    默认为b, 支持单位有 b, kb, mb, gb

  • OffHeapMemory:

    默认为b, 支持单位有 b, kb, mb, gb

  • ManagedMemory:

    默认为b, 支持单位有 b, kb, mb, gb



5513
5514
5515
# File 'lib/v20190422/models.rb', line 5513

def CPU
  @CPU
end

#HeapMemoryObject

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

Parameters:

  • CPU:

    适用的cpu

  • HeapMemory:

    默认为b, 支持单位有 b, kb, mb, gb

  • OffHeapMemory:

    默认为b, 支持单位有 b, kb, mb, gb

  • ManagedMemory:

    默认为b, 支持单位有 b, kb, mb, gb



5513
5514
5515
# File 'lib/v20190422/models.rb', line 5513

def HeapMemory
  @HeapMemory
end

#ManagedMemoryObject

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

Parameters:

  • CPU:

    适用的cpu

  • HeapMemory:

    默认为b, 支持单位有 b, kb, mb, gb

  • OffHeapMemory:

    默认为b, 支持单位有 b, kb, mb, gb

  • ManagedMemory:

    默认为b, 支持单位有 b, kb, mb, gb



5513
5514
5515
# File 'lib/v20190422/models.rb', line 5513

def ManagedMemory
  @ManagedMemory
end

#OffHeapMemoryObject

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

Parameters:

  • CPU:

    适用的cpu

  • HeapMemory:

    默认为b, 支持单位有 b, kb, mb, gb

  • OffHeapMemory:

    默认为b, 支持单位有 b, kb, mb, gb

  • ManagedMemory:

    默认为b, 支持单位有 b, kb, mb, gb



5513
5514
5515
# File 'lib/v20190422/models.rb', line 5513

def OffHeapMemory
  @OffHeapMemory
end

Instance Method Details

#deserialize(params) ⇒ Object



5522
5523
5524
5525
5526
5527
# File 'lib/v20190422/models.rb', line 5522

def deserialize(params)
  @CPU = params['CPU']
  @HeapMemory = params['HeapMemory']
  @OffHeapMemory = params['OffHeapMemory']
  @ManagedMemory = params['ManagedMemory']
end