Class: WMI::CIM_PhysicalFrame

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

Overview

CIM_PhysicalFrame は、拡張クラスで定義される、ラック、シャーシ、そのほかのフレーム格納装置のスーパークラスです。可視または可聴の警告のようなプロパティとセキュリティ違反に関連するデータはこのスーパークラス内にあります。

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

- (boolean) AudibleAlarm (readonly)

フレームが可聴アラームが装置として付いていることを示すブール値です。

Returns:

  • (boolean)

    AudibleAlarm



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

def AudibleAlarm
  @AudibleAlarm
end

- (string) BreachDescription (readonly)

BreachDescription は、ブリーチ、またはほかのセキュリティ関連イベントが発生したことを SecurityBreach プロパティが示す場合に詳細な情報を提供する自由形式の文字列です。

Returns:

  • (string)

    BreachDescription



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

def BreachDescription
  @BreachDescription
end

- (string) CableManagementStrategy (readonly)

CableManagementStrategy は、さまざまなケーブルがフレームに接続されバンドルされる方法についての情報が含まれる自由形式の文字列です。

 

Returns:

  • (string)

    CableManagementStrategy



31
32
33
# File 'lib/CIM_PhysicalFrame.rb', line 31

def CableManagementStrategy
  @CableManagementStrategy
end

- (string) Caption (readonly)

Caption プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。

Returns:

  • (string)

    Caption



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

def Caption
  @Caption
end

- (string) CreationClassName (readonly)

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

 

Returns:

  • (string)

    CreationClassName



42
43
44
# File 'lib/CIM_PhysicalFrame.rb', line 42

def CreationClassName
  @CreationClassName
end

- (real32) Depth (readonly)

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

Returns:

  • (real32)

    Depth



47
48
49
# File 'lib/CIM_PhysicalFrame.rb', line 47

def Depth
  @Depth
end

- (string) Description (readonly)

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

Returns:

  • (string)

    Description



53
54
55
# File 'lib/CIM_PhysicalFrame.rb', line 53

def Description
  @Description
end

- (real32) Height (readonly)

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

Returns:

  • (real32)

    Height



58
59
60
# File 'lib/CIM_PhysicalFrame.rb', line 58

def Height
  @Height
end

- (boolean) HotSwappable (readonly)

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

 

Returns:

  • (boolean)

    HotSwappable



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

def HotSwappable
  @HotSwappable
end

- (datetime) InstallDate (readonly)

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

 

Returns:

  • (datetime)

    InstallDate



71
72
73
# File 'lib/CIM_PhysicalFrame.rb', line 71

def InstallDate
  @InstallDate
end

- (boolean) LockPresent (readonly)

フレームがロックで保護されていることを示すブール値です。

Returns:

  • (boolean)

    LockPresent



76
77
78
# File 'lib/CIM_PhysicalFrame.rb', line 76

def LockPresent
  @LockPresent
end

- (string) Manufacturer (readonly)

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

 

Returns:

  • (string)

    Manufacturer



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

def Manufacturer
  @Manufacturer
end

- (string) Model (readonly)

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

Returns:

  • (string)

    Model



88
89
90
# File 'lib/CIM_PhysicalFrame.rb', line 88

def Model
  @Model
end

- (string) Name (readonly)

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

 

Returns:

  • (string)

    Name



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

def Name
  @Name
end

- (string) OtherIdentifyingInfo (readonly)

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

 

Returns:

  • (string)

    OtherIdentifyingInfo



101
102
103
# File 'lib/CIM_PhysicalFrame.rb', line 101

def OtherIdentifyingInfo
  @OtherIdentifyingInfo
end

- (string) PartNumber (readonly)

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

Returns:

  • (string)

    PartNumber



106
107
108
# File 'lib/CIM_PhysicalFrame.rb', line 106

def PartNumber
  @PartNumber
end

- (boolean) PoweredOn (readonly)

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

Returns:

  • (boolean)

    PoweredOn



111
112
113
# File 'lib/CIM_PhysicalFrame.rb', line 111

def PoweredOn
  @PoweredOn
end

- (boolean) Removable (readonly)

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

 

Returns:

  • (boolean)

    Removable



122
123
124
# File 'lib/CIM_PhysicalFrame.rb', line 122

def Removable
  @Removable
end

- (boolean) Replaceable (readonly)

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

 

Returns:

  • (boolean)

    Replaceable



131
132
133
# File 'lib/CIM_PhysicalFrame.rb', line 131

def Replaceable
  @Replaceable
end

- (uint16) SecurityBreach (readonly)

SecurityBreach は、フレームの物理ブリーチが実行されたが成功しなかった (値 = 4) か実行され成功した (5) かどうかを示す列挙された整数値です。

 

Returns:

  • (uint16)

    SecurityBreach



137
138
139
# File 'lib/CIM_PhysicalFrame.rb', line 137

def SecurityBreach
  @SecurityBreach
end

- (string) SerialNumber (readonly)

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

Returns:

  • (string)

    SerialNumber



142
143
144
# File 'lib/CIM_PhysicalFrame.rb', line 142

def SerialNumber
  @SerialNumber
end

- (string) ServiceDescriptions (readonly)

ServicePhilosophy 配列のエントリに詳細な説明を提供する自由形式の文字列の配列です。

 

Returns:

  • (string)

    ServiceDescriptions



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

def ServiceDescriptions
  @ServiceDescriptions
end

- (uint16) ServicePhilosophy (readonly)

ServicePhilosophy は、列挙された整数値の配列で、フレームが 上 (値=2)、前 (3)、後 (4) または横 (5) からサービスされるか、フレームにスライド トレイ (6) かリムーバブル サイド (7) があるか、フレームは移動可能 (8) (たとえば、滑車が付いている) かを示します。

Returns:

  • (uint16)

    ServicePhilosophy



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

def ServicePhilosophy
  @ServicePhilosophy
end

- (string) SKU (readonly)

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

Returns:

  • (string)

    SKU



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

def SKU
  @SKU
end

- (string) Status (readonly)

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

 

Returns:

  • (string)

    Status



171
172
173
# File 'lib/CIM_PhysicalFrame.rb', line 171

def Status
  @Status
end

- (string) Tag (readonly)

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

 Tag 

Returns:

  • (string)

    Tag



182
183
184
# File 'lib/CIM_PhysicalFrame.rb', line 182

def Tag
  @Tag
end

- (string) Version (readonly)

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

Returns:

  • (string)

    Version



187
188
189
# File 'lib/CIM_PhysicalFrame.rb', line 187

def Version
  @Version
end

- (boolean) VisibleAlarm (readonly)

装置に可視アラームが含まれることを示しすブール値です。

Returns:

  • (boolean)

    VisibleAlarm



192
193
194
# File 'lib/CIM_PhysicalFrame.rb', line 192

def VisibleAlarm
  @VisibleAlarm
end

- (real32) Weight (readonly)

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

Returns:

  • (real32)

    Weight



197
198
199
# File 'lib/CIM_PhysicalFrame.rb', line 197

def Weight
  @Weight
end

- (real32) Width (readonly)

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

Returns:

  • (real32)

    Width



202
203
204
# File 'lib/CIM_PhysicalFrame.rb', line 202

def Width
  @Width
end

Instance Method Details

- (uint32) IsCompatible(ElementToCheck)

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

Parameters:

Returns:

  • (uint32)


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

def IsCompatible ElementToCheck
end