Class: WMI::CIM_MemoryCapacity

Inherits:
Base
  • Object
show all
Defined in:
lib/CIM_MemoryCapacity.rb

Overview

CIM_MemoryCapacity は、物理要素にインストールされるメモリの種類とその最小/最大構成を示します。要素の最小/最大要件に対して現在どのようなメモリが ’インストールされて’ いるかの情報は、CIM_PhysicalMemory クラスのインスタンス内にあります。

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from Base

#AddRef, #AssociatorsAsync_, #Associators_, #Clone_, #CompareTo_, #DeleteAsync_, #Delete_, #Derivation_, #ExecMethodAsync_, #ExecMethod_, #GetIDsOfNames, #GetObjectText_, #GetText_, #GetTypeInfo, #GetTypeInfoCount, #InstancesAsync_, #Instances_, #Invoke, #Methods_, #Path_, #Properties_, #PutAsync_, #Put_, #Qualifiers_, #QueryInterface, #ReferencesAsync_, #References_, #Refresh_, #Release, #Security_, #SetFromText_, #SpawnDerivedClass_, #SpawnInstance_, #SubclassesAsync_, #Subclasses_, #SystemProperties_

Instance Attribute Details

- (string) Caption (readonly)

Caption は、CIM_PhysicalCapacity オブジェクトの簡単な説明 (1 行分の文字列) です。

Returns:

  • (string)

    Caption



7
8
9
# File 'lib/CIM_MemoryCapacity.rb', line 7

def Caption
  @Caption
end

- (string) Description (readonly)

Description プロパティで CIM_PhysicalCapacity オブジェクトの説明が提供されます。

Returns:

  • (string)

    Description



12
13
14
# File 'lib/CIM_MemoryCapacity.rb', line 12

def Description
  @Description
end

- (uint64) MaximumMemoryCapacity (readonly)

関連する物理要素によってサポートされる KB で表される最大メモリ容量です。

Returns:

  • (uint64)

    MaximumMemoryCapacity



17
18
19
# File 'lib/CIM_MemoryCapacity.rb', line 17

def MaximumMemoryCapacity
  @MaximumMemoryCapacity
end

- (uint16) MemoryType (readonly)

メモリの種類です。

 

Returns:

  • (uint16)

    MemoryType



24
25
26
# File 'lib/CIM_MemoryCapacity.rb', line 24

def MemoryType
  @MemoryType
end

- (uint64) MinimumMemoryCapacity (readonly)

正しい操作のために関連する物理要素に必要な最小メモリ領域 (KB) です。

Returns:

  • (uint64)

    MinimumMemoryCapacity



29
30
31
# File 'lib/CIM_MemoryCapacity.rb', line 29

def MinimumMemoryCapacity
  @MinimumMemoryCapacity
end

- (string) Name (readonly)

継承された Name プロパティは、CIM_MemoryCapacity オブジェクト キーの一部として機能します。

Returns:

  • (string)

    Name



34
35
36
# File 'lib/CIM_MemoryCapacity.rb', line 34

def Name
  @Name
end