Class: WMI::Win32_PhysicalMedia

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

Overview

Win32_PhysicaMedia クラスは、テープや CD ROM などのドキュメント、または記憶域メディアのすべての種類を表します。

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

- (uint64) Capacity (readonly)

メディアから読み取り可能な、またはメディアに書き込み可能なバイト数です。

 

Returns:

  • (uint64)

    Capacity



10
11
12
# File 'lib/Win32_PhysicalMedia.rb', line 10

def Capacity
  @Capacity
end

- (string) Caption (readonly)

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

Returns:

  • (string)

    Caption



15
16
17
# File 'lib/Win32_PhysicalMedia.rb', line 15

def Caption
  @Caption
end

- (boolean) CleanerMedia (readonly)

物理メディアの使用はクリーニング目的で、データ記憶域用ではないことを示すブール値です。

Returns:

  • (boolean)

    CleanerMedia



20
21
22
# File 'lib/Win32_PhysicalMedia.rb', line 20

def CleanerMedia
  @CleanerMedia
end

- (string) CreationClassName (readonly)

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

 

Returns:

  • (string)

    CreationClassName



26
27
28
# File 'lib/Win32_PhysicalMedia.rb', line 26

def CreationClassName
  @CreationClassName
end

- (string) Description (readonly)

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

Returns:

  • (string)

    Description



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

def Description
  @Description
end

- (boolean) HotSwappable (readonly)

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

 

Returns:

  • (boolean)

    HotSwappable



39
40
41
# File 'lib/Win32_PhysicalMedia.rb', line 39

def HotSwappable
  @HotSwappable
end

- (datetime) InstallDate (readonly)

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

 

Returns:

  • (datetime)

    InstallDate



45
46
47
# File 'lib/Win32_PhysicalMedia.rb', line 45

def InstallDate
  @InstallDate
end

- (string) Manufacturer (readonly)

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

 

Returns:

  • (string)

    Manufacturer



52
53
54
# File 'lib/Win32_PhysicalMedia.rb', line 52

def Manufacturer
  @Manufacturer
end

- (string) MediaDescription (readonly)

MediaType 列挙に関連する追加詳細です。

 

Returns:

  • (string)

    MediaDescription



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

def MediaDescription
  @MediaDescription
end

- (uint16) MediaType (readonly)

列挙された整数として物理メディアの種類を指定します。

 MediaDescription 

Returns:

  • (uint16)

    MediaType



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

def MediaType
  @MediaType
end

- (string) Model (readonly)

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

Returns:

  • (string)

    Model



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

def Model
  @Model
end

- (string) Name (readonly)

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

 

Returns:

  • (string)

    Name



75
76
77
# File 'lib/Win32_PhysicalMedia.rb', line 75

def Name
  @Name
end

- (string) OtherIdentifyingInfo (readonly)

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

 

Returns:

  • (string)

    OtherIdentifyingInfo



82
83
84
# File 'lib/Win32_PhysicalMedia.rb', line 82

def OtherIdentifyingInfo
  @OtherIdentifyingInfo
end

- (string) PartNumber (readonly)

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

Returns:

  • (string)

    PartNumber



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

def PartNumber
  @PartNumber
end

- (boolean) PoweredOn (readonly)

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

Returns:

  • (boolean)

    PoweredOn



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

def PoweredOn
  @PoweredOn
end

- (boolean) Removable (readonly)

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

 

Returns:

  • (boolean)

    Removable



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

def Removable
  @Removable
end

- (boolean) Replaceable (readonly)

物理コンポーネントは、要素を物理的に違うものに置き換える (FRU またはアップグレード) ことができる場合に置き換えが可能です。

 

Returns:

  • (boolean)

    Replaceable



108
109
110
# File 'lib/Win32_PhysicalMedia.rb', line 108

def Replaceable
  @Replaceable
end

- (string) SerialNumber (readonly)

Serial number プロパティは、製造元が割り当てた物理メディアの識別に使用する番号です。

 

Returns:

  • (string)

    SerialNumber



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

def SerialNumber
  @SerialNumber
end

- (string) SKU (readonly)

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

Returns:

  • (string)

    SKU



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

def SKU
  @SKU
end

- (string) Status (readonly)

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

 

Returns:

  • (string)

    Status



133
134
135
# File 'lib/Win32_PhysicalMedia.rb', line 133

def Status
  @Status
end

- (string) Tag (readonly)

Tag プロパティは、システム内の物理メディアを一意に識別します。

 

Returns:

  • (string)

    Tag



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

def Tag
  @Tag
end

- (string) Version (readonly)

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

Returns:

  • (string)

    Version



145
146
147
# File 'lib/Win32_PhysicalMedia.rb', line 145

def Version
  @Version
end

- (boolean) WriteProtectOn (readonly)

メディアがフロッピー ディスクの書き込み防止用のツメなどある種の物理的メカニズムで現在書き込み保護されていることを指定するブール値です。

Returns:

  • (boolean)

    WriteProtectOn



150
151
152
# File 'lib/Win32_PhysicalMedia.rb', line 150

def WriteProtectOn
  @WriteProtectOn
end