Class: WMI::CIM_PhysicalPackage

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

Overview

CIM_PhysicalPackage クラスは、ほかのコンポーネントを含むか、またはホストする物理要素を表します。例: 格納装置またはアダプタ カード。

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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



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

def Caption
  @Caption
end

- (string) CreationClassName (readonly)

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

 

Returns:

  • (string)

    CreationClassName



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

def CreationClassName
  @CreationClassName
end

- (real32) Depth (readonly)

物理パッケージのインチ単位のデプスです。

Returns:

  • (real32)

    Depth



30
31
32
# File 'lib/CIM_PhysicalPackage.rb', line 30

def Depth
  @Depth
end

- (string) Description (readonly)

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

Returns:

  • (string)

    Description



36
37
38
# File 'lib/CIM_PhysicalPackage.rb', line 36

def Description
  @Description
end

- (real32) Height (readonly)

物理パッケージのインチ単位の高さ

Returns:

  • (real32)

    Height



41
42
43
# File 'lib/CIM_PhysicalPackage.rb', line 41

def Height
  @Height
end

- (boolean) HotSwappable (readonly)

物理パッケージは、含まれるパッケージによって電源が適用される間 (’オン’ のとき) に、物理的に違うが同等の要素に置き換えることができる場合にはホット スワップが可能です。

 

Returns:

  • (boolean)

    HotSwappable



48
49
50
# File 'lib/CIM_PhysicalPackage.rb', line 48

def HotSwappable
  @HotSwappable
end

- (datetime) InstallDate (readonly)

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

 

Returns:

  • (datetime)

    InstallDate



54
55
56
# File 'lib/CIM_PhysicalPackage.rb', line 54

def InstallDate
  @InstallDate
end

- (string) Manufacturer (readonly)

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

 

Returns:

  • (string)

    Manufacturer



61
62
63
# File 'lib/CIM_PhysicalPackage.rb', line 61

def Manufacturer
  @Manufacturer
end

- (string) Model (readonly)

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

Returns:

  • (string)

    Model



66
67
68
# File 'lib/CIM_PhysicalPackage.rb', line 66

def Model
  @Model
end

- (string) Name (readonly)

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

 

Returns:

  • (string)

    Name



72
73
74
# File 'lib/CIM_PhysicalPackage.rb', line 72

def Name
  @Name
end

- (string) OtherIdentifyingInfo (readonly)

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

 

Returns:

  • (string)

    OtherIdentifyingInfo



79
80
81
# File 'lib/CIM_PhysicalPackage.rb', line 79

def OtherIdentifyingInfo
  @OtherIdentifyingInfo
end

- (string) PartNumber (readonly)

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

Returns:

  • (string)

    PartNumber



84
85
86
# File 'lib/CIM_PhysicalPackage.rb', line 84

def PartNumber
  @PartNumber
end

- (boolean) PoweredOn (readonly)

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

Returns:

  • (boolean)

    PoweredOn



89
90
91
# File 'lib/CIM_PhysicalPackage.rb', line 89

def PoweredOn
  @PoweredOn
end

- (boolean) Removable (readonly)

物理パッケージは、通常物理パッケージがある物理コンテナから、パッケージ全体の機能を損なわないで出し入れできるように設計されていれば取り外すことができます。

 

Returns:

  • (boolean)

    Removable



100
101
102
# File 'lib/CIM_PhysicalPackage.rb', line 100

def Removable
  @Removable
end

- (boolean) Replaceable (readonly)

物理パッケージは、物理的に違う要素に置き換えることができる場合 (FRU または更新)、置き換え可能です。

 

Returns:

  • (boolean)

    Replaceable



109
110
111
# File 'lib/CIM_PhysicalPackage.rb', line 109

def Replaceable
  @Replaceable
end

- (string) SerialNumber (readonly)

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

Returns:

  • (string)

    SerialNumber



114
115
116
# File 'lib/CIM_PhysicalPackage.rb', line 114

def SerialNumber
  @SerialNumber
end

- (string) SKU (readonly)

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

Returns:

  • (string)

    SKU



119
120
121
# File 'lib/CIM_PhysicalPackage.rb', line 119

def SKU
  @SKU
end

- (string) Status (readonly)

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

 

Returns:

  • (string)

    Status



132
133
134
# File 'lib/CIM_PhysicalPackage.rb', line 132

def Status
  @Status
end

- (string) Tag (readonly)

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

 Tag 

Returns:

  • (string)

    Tag



143
144
145
# File 'lib/CIM_PhysicalPackage.rb', line 143

def Tag
  @Tag
end

- (string) Version (readonly)

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

Returns:

  • (string)

    Version



148
149
150
# File 'lib/CIM_PhysicalPackage.rb', line 148

def Version
  @Version
end

- (real32) Weight (readonly)

物理的パッケージの重さ (ポンド) です。

Returns:

  • (real32)

    Weight



153
154
155
# File 'lib/CIM_PhysicalPackage.rb', line 153

def Weight
  @Weight
end

- (real32) Width (readonly)

物理的パッケージの幅 (インチ) です。

Returns:

  • (real32)

    Width



158
159
160
# File 'lib/CIM_PhysicalPackage.rb', line 158

def Width
  @Width
end

Instance Method Details

- (uint32) IsCompatible(ElementToCheck)

IsCompatible メソッドにより、参照された物理要素が物理パッケージに含まれているか、または物理パッケージに挿入されている可能性があるかどうかが確認されます。 要求が正常に返された場合は、整数値 0 を返します。 要求がサポートされていない場合は 1 を、ほかのすべての値はエラーを示します。 サブクラスでは、可能な返信コードのセットはメソッド上の ValueMap 修飾子を使って指定することも可能です。 ValueMap に含まれる文字列は ’変換済み’ です。 値の配置修飾子としてサブクラスで指定される場合もあります。

Parameters:

Returns:

  • (uint32)


13
14
# File 'lib/CIM_PhysicalPackage.rb', line 13

def IsCompatible ElementToCheck
end