Class: TencentCloud::Oceanus::V20190422::SlotSharingGroupSpec
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Oceanus::V20190422::SlotSharingGroupSpec
- Defined in:
- lib/v20190422/models.rb
Overview
SlotSharingGroup的规格描述
Instance Attribute Summary collapse
-
#CPU ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HeapMemory ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ManagedMemory ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#OffHeapMemory ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cpu = nil, heapmemory = nil, offheapmemory = nil, managedmemory = nil) ⇒ SlotSharingGroupSpec
constructor
A new instance of SlotSharingGroupSpec.
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
#CPU ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5513 5514 5515 |
# File 'lib/v20190422/models.rb', line 5513 def CPU @CPU end |
#HeapMemory ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5513 5514 5515 |
# File 'lib/v20190422/models.rb', line 5513 def HeapMemory @HeapMemory end |
#ManagedMemory ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5513 5514 5515 |
# File 'lib/v20190422/models.rb', line 5513 def ManagedMemory @ManagedMemory end |
#OffHeapMemory ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
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 |