Class: WMI::CIM_PhysicalElement

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

Overview

CIM_PhysicalElement のサブクラスにより、異なる物理的 ID があるシステムのコンポーネントが定義されます。このクラスのインスタンスはオブジェクトに物理的に付けられるラベルによって定義されます。すべてのプロセス、ファイル。および論理デバイスは物理要素ではないとみなされます。たとえば、モデムにラベルを添付することは可能ではありません。モデムに実装されるカードにラベルを付けることだけできます。同じカードに LAN アダプタも実装されています。これらは、物理的に明示されていて、管理されているシステム要素 (通常は実際のハードウェア項目) です。管理されたシステム要素は別個のコンポーネントを必要とはしません。たとえば、単一のカード (種類は物理要素) により複数の論理デバイスがホストされることは可能です。カードは複数の論理デバイスに関連付けられた単一の物理要素で表されます。

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 プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。

Returns:

  • (string)

    Caption



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

def Caption
  @Caption
end

- (string) CreationClassName (readonly)

CreationClassName は、インスタンスの作成で使用されるクラス名、またはサブクラス名を示します。

 

Returns:

  • (string)

    CreationClassName



13
14
15
# File 'lib/CIM_PhysicalElement.rb', line 13

def CreationClassName
  @CreationClassName
end

- (string) Description (readonly)

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

Returns:

  • (string)

    Description



19
20
21
# File 'lib/CIM_PhysicalElement.rb', line 19

def Description
  @Description
end

- (datetime) InstallDate (readonly)

InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。

 

Returns:

  • (datetime)

    InstallDate



25
26
27
# File 'lib/CIM_PhysicalElement.rb', line 25

def InstallDate
  @InstallDate
end

- (string) Manufacturer (readonly)

物理要素の生産に責任がある組織の名前です。

 

Returns:

  • (string)

    Manufacturer



32
33
34
# File 'lib/CIM_PhysicalElement.rb', line 32

def Manufacturer
  @Manufacturer
end

- (string) Model (readonly)

物理要素の一般的な認識名です。

Returns:

  • (string)

    Model



37
38
39
# File 'lib/CIM_PhysicalElement.rb', line 37

def Model
  @Model
end

- (string) Name (readonly)

Name プロパティで、オブジェクトを認識するラベルを定義します。

 

Returns:

  • (string)

    Name



43
44
45
# File 'lib/CIM_PhysicalElement.rb', line 43

def Name
  @Name
end

- (string) OtherIdentifyingInfo (readonly)

OtherIdentifyingInfo により、物理要素の識別に使用される追加データが資産タグ情報から得られます。

 

Returns:

  • (string)

    OtherIdentifyingInfo



50
51
52
# File 'lib/CIM_PhysicalElement.rb', line 50

def OtherIdentifyingInfo
  @OtherIdentifyingInfo
end

- (string) PartNumber (readonly)

物理的要素の生産または製造に責任がある組織によって割り当てられた部品番号です。

Returns:

  • (string)

    PartNumber



55
56
57
# File 'lib/CIM_PhysicalElement.rb', line 55

def PartNumber
  @PartNumber
end

- (boolean) PoweredOn (readonly)

物理要素の電力がオン (TRUE) になるか、オフ (FALSE) になるかを示すブール値です。

Returns:

  • (boolean)

    PoweredOn



60
61
62
# File 'lib/CIM_PhysicalElement.rb', line 60

def PoweredOn
  @PoweredOn
end

- (string) SerialNumber (readonly)

物理要素の認識に使用される製造元に割り当てられた番号です。

Returns:

  • (string)

    SerialNumber



65
66
67
# File 'lib/CIM_PhysicalElement.rb', line 65

def SerialNumber
  @SerialNumber
end

- (string) SKU (readonly)

この物理要素の SKU 数です。

Returns:

  • (string)

    SKU



70
71
72
# File 'lib/CIM_PhysicalElement.rb', line 70

def SKU
  @SKU
end

- (string) Status (readonly)

Status プロパティはオブジェクトの現在の状態を示す文字列です。

 

Returns:

  • (string)

    Status



83
84
85
# File 'lib/CIM_PhysicalElement.rb', line 83

def Status
  @Status
end

- (string) Tag (readonly)

物理要素を一意に認識し、要素のキーとして機能する任意の文字列です。

 Tag 

Returns:

  • (string)

    Tag



94
95
96
# File 'lib/CIM_PhysicalElement.rb', line 94

def Tag
  @Tag
end

- (string) Version (readonly)

物理要素のバージョンを示す文字列です。

Returns:

  • (string)

    Version



99
100
101
# File 'lib/CIM_PhysicalElement.rb', line 99

def Version
  @Version
end