Class: WMI::CIM_Card

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

Overview

CIM_Card クラスは、別のカードまたはホスト ボードに接続できる物理コンテナの種類、または物理コンテナそのものがシャーシのホスト ボード、またはマザーボードであることを表します。CIM_Card クラスには、シグナルを送信して、チップなどの物理コンポーネント、またはほかのカードなどの物理パッケージのマウンティング ポイントを提供する機能があるパッケージが含まれています。

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

def Caption
  @Caption
end

- (string) CreationClassName (readonly)

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

 

Returns:

  • (string)

    CreationClassName



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

def CreationClassName
  @CreationClassName
end

- (real32) Depth (readonly)

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

Returns:

  • (real32)

    Depth



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

def Depth
  @Depth
end

- (string) Description (readonly)

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

Returns:

  • (string)

    Description



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

def Description
  @Description
end

- (real32) Height (readonly)

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

Returns:

  • (real32)

    Height



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

def Height
  @Height
end

- (boolean) HostingBoard (readonly)

このカードがマザーボードであるか、またはより一般的なシャーシのベースボードであることを示すブール値です。

Returns:

  • (boolean)

    HostingBoard



46
47
48
# File 'lib/CIM_Card.rb', line 46

def HostingBoard
  @HostingBoard
end

- (boolean) HotSwappable (readonly)

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

 

Returns:

  • (boolean)

    HotSwappable



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

def HotSwappable
  @HotSwappable
end

- (datetime) InstallDate (readonly)

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

 

Returns:

  • (datetime)

    InstallDate



59
60
61
# File 'lib/CIM_Card.rb', line 59

def InstallDate
  @InstallDate
end

- (string) Manufacturer (readonly)

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

 

Returns:

  • (string)

    Manufacturer



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

def Manufacturer
  @Manufacturer
end

- (string) Model (readonly)

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

Returns:

  • (string)

    Model



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

def Model
  @Model
end

- (string) Name (readonly)

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

 

Returns:

  • (string)

    Name



77
78
79
# File 'lib/CIM_Card.rb', line 77

def Name
  @Name
end

- (string) OtherIdentifyingInfo (readonly)

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

 

Returns:

  • (string)

    OtherIdentifyingInfo



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

def OtherIdentifyingInfo
  @OtherIdentifyingInfo
end

- (string) PartNumber (readonly)

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

Returns:

  • (string)

    PartNumber



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

def PartNumber
  @PartNumber
end

- (boolean) PoweredOn (readonly)

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

Returns:

  • (boolean)

    PoweredOn



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

def PoweredOn
  @PoweredOn
end

- (boolean) Removable (readonly)

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

 

Returns:

  • (boolean)

    Removable



105
106
107
# File 'lib/CIM_Card.rb', line 105

def Removable
  @Removable
end

- (boolean) Replaceable (readonly)

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

 

Returns:

  • (boolean)

    Replaceable



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

def Replaceable
  @Replaceable
end

- (string) RequirementsDescription (readonly)

このカードがほかのカードとは異なって物理固有であることを説明する自由形式の文字列です。

 

Returns:

  • (string)

    RequirementsDescription



120
121
122
# File 'lib/CIM_Card.rb', line 120

def RequirementsDescription
  @RequirementsDescription
end

- (boolean) RequiresDaughterBoard (readonly)

適切に機能するには、少なくとも 1 つのドーターボードまたは補助カードが必要であることを示すブール値です。

Returns:

  • (boolean)

    RequiresDaughterBoard



125
126
127
# File 'lib/CIM_Card.rb', line 125

def RequiresDaughterBoard
  @RequiresDaughterBoard
end

- (string) SerialNumber (readonly)

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

Returns:

  • (string)

    SerialNumber



130
131
132
# File 'lib/CIM_Card.rb', line 130

def SerialNumber
  @SerialNumber
end

- (string) SKU (readonly)

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

Returns:

  • (string)

    SKU



135
136
137
# File 'lib/CIM_Card.rb', line 135

def SKU
  @SKU
end

- (string) SlotLayout (readonly)

SlotLayout は、カード上のスロットの位置、通常の使用法、制限、各スロットの領域、またはその他の適切な情報を説明する自由形式の文字列です。

Returns:

  • (string)

    SlotLayout



140
141
142
# File 'lib/CIM_Card.rb', line 140

def SlotLayout
  @SlotLayout
end

- (boolean) SpecialRequirements (readonly)

このカードは同じ種類のほかのカードと比べ物理的に一意なため特別のスロットが必要となることを示すブール値です。

 

Returns:

  • (boolean)

    SpecialRequirements



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

def SpecialRequirements
  @SpecialRequirements
end

- (string) Status (readonly)

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

 

Returns:

  • (string)

    Status



161
162
163
# File 'lib/CIM_Card.rb', line 161

def Status
  @Status
end

- (string) Tag (readonly)

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

 Tag 

Returns:

  • (string)

    Tag



172
173
174
# File 'lib/CIM_Card.rb', line 172

def Tag
  @Tag
end

- (string) Version (readonly)

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

Returns:

  • (string)

    Version



177
178
179
# File 'lib/CIM_Card.rb', line 177

def Version
  @Version
end

- (real32) Weight (readonly)

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

Returns:

  • (real32)

    Weight



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

def Weight
  @Weight
end

- (real32) Width (readonly)

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

Returns:

  • (real32)

    Width



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

def Width
  @Width
end

Instance Method Details

- (uint32) IsCompatible(ElementToCheck)

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

Parameters:

Returns:

  • (uint32)


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

def IsCompatible ElementToCheck
end