Class: WMI::CIM_ClusteringService

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

Overview

CIM_ClusteringService クラスは、クラスタが提供する機能を表します。たとえば、フェールオーバー機能はフェールオーバー クラスタのサービスとして設計されている場合があります。

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



44
45
46
# File 'lib/CIM_ClusteringService.rb', line 44

def Caption
  @Caption
end

- (string) CreationClassName (readonly)

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

 

Returns:

  • (string)

    CreationClassName



50
51
52
# File 'lib/CIM_ClusteringService.rb', line 50

def CreationClassName
  @CreationClassName
end

- (string) Description (readonly)

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

Returns:

  • (string)

    Description



56
57
58
# File 'lib/CIM_ClusteringService.rb', line 56

def Description
  @Description
end

- (datetime) InstallDate (readonly)

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

 

Returns:

  • (datetime)

    InstallDate



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

def InstallDate
  @InstallDate
end

- (string) Name (readonly)

Name プロパティによって、サービスが固有に識別され、管理されている機能の表示が提供されます。

 

Returns:

  • (string)

    Name



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

def Name
  @Name
end

- (boolean) Started (readonly)

Started はサービスが開始したか (TRUE)、または停止したか (FALSE) を示すブール値です。

Returns:

  • (boolean)

    Started



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

def Started
  @Started
end

- (string) StartMode (readonly)

StartMode は、サービスがオペレーティング システムによって自動的に開始するかどうか、または要求に応じて開始するだけなのかどうかを示す文字列の値です

Returns:

  • (string)

    StartMode



79
80
81
# File 'lib/CIM_ClusteringService.rb', line 79

def StartMode
  @StartMode
end

- (string) Status (readonly)

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

 

Returns:

  • (string)

    Status



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

def Status
  @Status
end

- (string) SystemCreationClassName (readonly)

スコーピング システムの CreationClassName です。

Returns:

  • (string)

    SystemCreationClassName



98
99
100
# File 'lib/CIM_ClusteringService.rb', line 98

def SystemCreationClassName
  @SystemCreationClassName
end

- (string) SystemName (readonly)

このサービスのホストになるシステム名です

Returns:

  • (string)

    SystemName



103
104
105
# File 'lib/CIM_ClusteringService.rb', line 103

def SystemName
  @SystemName
end

Instance Method Details

- (uint32) AddNode(CS)

AddNode によって新しいコンピュータがクラスタに導入されます。 追加されるノードは方法のパラメータとして指定されます。 コンピュータ システムが正常に追加された場合、返される値は 0 となり、方法がサポートされていない場合は 1 が返され、エラーが発生した場合はほかの数字が返されます。

Parameters:

Returns:

  • (uint32)


29
30
# File 'lib/CIM_ClusteringService.rb', line 29

def AddNode CS
end

- (uint32) EvictNode(CS)

EvictNode によってコンピュータ システムがクラスタから削除されます。 削除されるノードは方法のパラメータとして指定されます。 コンピュータ システムが正常に削除された場合、返される値は 0 となり、方法がサポートされていない場合は 1 が返され、エラーが発生した場合はほかの数字が返されます。

Parameters:

Returns:

  • (uint32)


38
39
# File 'lib/CIM_ClusteringService.rb', line 38

def EvictNode CS
end

- (uint32) StartService

StartService 方法によって、開始された状態のサービスが置かれます。 サービスが正常に開始すると、整数 0 が返され、要求がサポートされない場合は 1 が返されます。 エラーを示す場合は、別の数字が返されます。 サブクラスでは、可能な返信コードのセットはメソッド上の ValueMap 修飾子を使って指定することも可能です。

 ValueMap 

値の配置修飾子としてサブクラスで指定される場合もあります。

Returns:

  • (uint32)


12
13
# File 'lib/CIM_ClusteringService.rb', line 12

def StartService 
end

- (uint32) StopService

StopService 方法によって、停止された状態のサービスが置かれます。 サービスが正常に停止すると、整数 0 が返され、要求がサポートされていない場合は 1 が返されます。 エラーを示す場合は、別の数字が返されます。

Returns:

  • (uint32)


20
21
# File 'lib/CIM_ClusteringService.rb', line 20

def StopService 
end