Class: WMI::CIM_ComputerSystem

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

Overview

CIM_ManagedSystemElement インスタンスの特別なコレクションである CIM_System から派生したクラスです。このコレクションによって、計算機能および次の要素を 1 つ以上関連付ける集合ポイントが提供されます: ファイル システム、オペレーティング システム、プロセッサおよびメモリ (揮発性記憶域および (または) 不揮発性記憶域)。

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

- (string) Caption (readonly)

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

Returns:

  • (string)

    Caption



7
8
9
# File 'lib/CIM_ComputerSystem.rb', line 7

def Caption
  @Caption
end

- (string) CreationClassName (readonly)

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

 

Returns:

  • (string)

    CreationClassName



13
14
15
# File 'lib/CIM_ComputerSystem.rb', line 13

def CreationClassName
  @CreationClassName
end

- (string) Description (readonly)

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

Returns:

  • (string)

    Description



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

def Description
  @Description
end

- (datetime) InstallDate (readonly)

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

 

Returns:

  • (datetime)

    InstallDate



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

def InstallDate
  @InstallDate
end

- (string) Name (readonly)

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

 

Returns:

  • (string)

    Name



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

def Name
  @Name
end

- (string) NameFormat (readonly)

CIM_ComputerSystem オブジェクトおよびその派生は CIM のトップ レベル オブジェクトです。

 

Returns:

  • (string)

    NameFormat



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

def NameFormat
  @NameFormat
end

- (string) PrimaryOwnerContact (readonly)

プライマリ システムの所有者への連絡方法 (例: 電話番号、電子メール アドレス…) に関する情報を提供する文字列です。

Returns:

  • (string)

    PrimaryOwnerContact



57
58
59
# File 'lib/CIM_ComputerSystem.rb', line 57

def PrimaryOwnerContact
  @PrimaryOwnerContact
end

- (string) PrimaryOwnerName (readonly)

プライマリ システムの所有者名です。

Returns:

  • (string)

    PrimaryOwnerName



62
63
64
# File 'lib/CIM_ComputerSystem.rb', line 62

def PrimaryOwnerName
  @PrimaryOwnerName
end

- (string) Roles

IT 環境におけるこのシステムの役割を指定する文字列の配列 (バッグ) です。

 

Returns:

  • (string)

    Roles



70
71
72
# File 'lib/CIM_ComputerSystem.rb', line 70

def Roles
  @Roles
end

- (string) Status (readonly)

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

 

Returns:

  • (string)

    Status



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

def Status
  @Status
end