Class: WMI::Win32_SystemEnclosure

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

Overview

Win32_SystemEnclosure クラスは、物理的システム格納装置に関連するプロパティを表します。

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/Win32_SystemEnclosure.rb', line 19

def AudibleAlarm
  @AudibleAlarm
end

- (string) BreachDescription (readonly)

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

Returns:

  • (string)

    BreachDescription



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

def BreachDescription
  @BreachDescription
end

- (string) CableManagementStrategy (readonly)

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

 

Returns:

  • (string)

    CableManagementStrategy



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

def CableManagementStrategy
  @CableManagementStrategy
end

- (string) Caption (readonly)

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

Returns:

  • (string)

    Caption



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

def Caption
  @Caption
end

- (uint16) ChassisTypes (readonly)

シャーシの種類を示す列挙された整数値の配列です。

Returns:

  • (uint16)

    ChassisTypes



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

def ChassisTypes
  @ChassisTypes
end

- (string) CreationClassName (readonly)

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

 

Returns:

  • (string)

    CreationClassName



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

def CreationClassName
  @CreationClassName
end

- (sint16) CurrentRequiredOrProduced (readonly)

120V でシャーシにより現在必要とされます。

 

Returns:

  • (sint16)

    CurrentRequiredOrProduced



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

def CurrentRequiredOrProduced
  @CurrentRequiredOrProduced
end

- (real32) Depth (readonly)

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

Returns:

  • (real32)

    Depth



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

def Depth
  @Depth
end

- (string) Description (readonly)

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

Returns:

  • (string)

    Description



64
65
66
# File 'lib/Win32_SystemEnclosure.rb', line 64

def Description
  @Description
end

- (uint16) HeatGeneration (readonly)

シャーシによって生成される熱量 (BTU/時) です。

Returns:

  • (uint16)

    HeatGeneration



69
70
71
# File 'lib/Win32_SystemEnclosure.rb', line 69

def HeatGeneration
  @HeatGeneration
end

- (real32) Height (readonly)

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

Returns:

  • (real32)

    Height



74
75
76
# File 'lib/Win32_SystemEnclosure.rb', line 74

def Height
  @Height
end

- (boolean) HotSwappable (readonly)

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

 

Returns:

  • (boolean)

    HotSwappable



81
82
83
# File 'lib/Win32_SystemEnclosure.rb', line 81

def HotSwappable
  @HotSwappable
end

- (datetime) InstallDate (readonly)

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

 

Returns:

  • (datetime)

    InstallDate



87
88
89
# File 'lib/Win32_SystemEnclosure.rb', line 87

def InstallDate
  @InstallDate
end

- (boolean) LockPresent (readonly)

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

Returns:

  • (boolean)

    LockPresent



92
93
94
# File 'lib/Win32_SystemEnclosure.rb', line 92

def LockPresent
  @LockPresent
end

- (string) Manufacturer (readonly)

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

 

Returns:

  • (string)

    Manufacturer



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

def Manufacturer
  @Manufacturer
end

- (string) Model (readonly)

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

Returns:

  • (string)

    Model



104
105
106
# File 'lib/Win32_SystemEnclosure.rb', line 104

def Model
  @Model
end

- (string) Name (readonly)

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

 

Returns:

  • (string)

    Name



110
111
112
# File 'lib/Win32_SystemEnclosure.rb', line 110

def Name
  @Name
end

- (uint16) NumberOfPowerCords (readonly)

操作されるすべてのコンポーネントのためにシャーシに接続される必要がある電源コードの数を示す整数です。

Returns:

  • (uint16)

    NumberOfPowerCords



115
116
117
# File 'lib/Win32_SystemEnclosure.rb', line 115

def NumberOfPowerCords
  @NumberOfPowerCords
end

- (string) OtherIdentifyingInfo (readonly)

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

 

Returns:

  • (string)

    OtherIdentifyingInfo



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

def OtherIdentifyingInfo
  @OtherIdentifyingInfo
end

- (string) PartNumber (readonly)

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

Returns:

  • (string)

    PartNumber



127
128
129
# File 'lib/Win32_SystemEnclosure.rb', line 127

def PartNumber
  @PartNumber
end

- (boolean) PoweredOn (readonly)

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

Returns:

  • (boolean)

    PoweredOn



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

def PoweredOn
  @PoweredOn
end

- (boolean) Removable (readonly)

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

 

Returns:

  • (boolean)

    Removable



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

def Removable
  @Removable
end

- (boolean) Replaceable (readonly)

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

 

Returns:

  • (boolean)

    Replaceable



152
153
154
# File 'lib/Win32_SystemEnclosure.rb', line 152

def Replaceable
  @Replaceable
end

- (uint16) SecurityBreach (readonly)

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

 

Returns:

  • (uint16)

    SecurityBreach



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

def SecurityBreach
  @SecurityBreach
end

- (uint16) SecurityStatus (readonly)

SecurityStatus プロパティは、このコンピュータの外部入力 (キーボードなど) のセキュリティ設定を示します。

Returns:

  • (uint16)

    SecurityStatus



163
164
165
# File 'lib/Win32_SystemEnclosure.rb', line 163

def SecurityStatus
  @SecurityStatus
end

- (string) SerialNumber (readonly)

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

Returns:

  • (string)

    SerialNumber



168
169
170
# File 'lib/Win32_SystemEnclosure.rb', line 168

def SerialNumber
  @SerialNumber
end

- (string) ServiceDescriptions (readonly)

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

 

Returns:

  • (string)

    ServiceDescriptions



174
175
176
# File 'lib/Win32_SystemEnclosure.rb', line 174

def ServiceDescriptions
  @ServiceDescriptions
end

- (uint16) ServicePhilosophy (readonly)

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

Returns:

  • (uint16)

    ServicePhilosophy



179
180
181
# File 'lib/Win32_SystemEnclosure.rb', line 179

def ServicePhilosophy
  @ServicePhilosophy
end

- (string) SKU (readonly)

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

Returns:

  • (string)

    SKU



184
185
186
# File 'lib/Win32_SystemEnclosure.rb', line 184

def SKU
  @SKU
end

- (string) SMBIOSAssetTag (readonly)

SMBIOSAssetTag プロパティは、システム格納装置の資産タグ番号を示します。

Returns:

  • (string)

    SMBIOSAssetTag



189
190
191
# File 'lib/Win32_SystemEnclosure.rb', line 189

def SMBIOSAssetTag
  @SMBIOSAssetTag
end

- (string) Status (readonly)

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

 

Returns:

  • (string)

    Status



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

def Status
  @Status
end

- (string) Tag (readonly)

Tag プロパティは、システム格納装置を一意に識別する文字列です。

 

Returns:

  • (string)

    Tag



209
210
211
# File 'lib/Win32_SystemEnclosure.rb', line 209

def Tag
  @Tag
end

- (string) TypeDescriptions (readonly)

ChassisTypes 配列エントリの情報を提供する自由形式の文字列の配列です。

 

Returns:

  • (string)

    TypeDescriptions



216
217
218
# File 'lib/Win32_SystemEnclosure.rb', line 216

def TypeDescriptions
  @TypeDescriptions
end

- (string) Version (readonly)

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

Returns:

  • (string)

    Version



221
222
223
# File 'lib/Win32_SystemEnclosure.rb', line 221

def Version
  @Version
end

- (boolean) VisibleAlarm (readonly)

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

Returns:

  • (boolean)

    VisibleAlarm



226
227
228
# File 'lib/Win32_SystemEnclosure.rb', line 226

def VisibleAlarm
  @VisibleAlarm
end

- (real32) Weight (readonly)

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

Returns:

  • (real32)

    Weight



231
232
233
# File 'lib/Win32_SystemEnclosure.rb', line 231

def Weight
  @Weight
end

- (real32) Width (readonly)

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

Returns:

  • (real32)

    Width



236
237
238
# File 'lib/Win32_SystemEnclosure.rb', line 236

def Width
  @Width
end

Instance Method Details

- (uint32) IsCompatible(ElementToCheck)

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

Parameters:

Returns:

  • (uint32)


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

def IsCompatible ElementToCheck
end