Export (0) Print
Expand All

MSCluster_ResourceType class

[This documentation is preliminary and is subject to change.]

The MSCluster_ResourceType class is a dynamic WMI class that represents a resource type.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[Dynamic, Provider ("MS_CLUSTER_PROVIDER"), UUID ("{2F2EF49D-37DD-47c2-8328-6586142B8C99}")]class MSCluster_ResourceType : MSCluster_LogicalElement
{
  string             Caption;
  datetime           InstallDate;
  string             Status;
  uint32             Flags;
  uint32             Characteristics;
  string             Name;
  string             DisplayName;
  string             Description;
  string             AdminExtensions[];
  string             DllName;
  uint32             IsAlivePollInterval;
  uint32             LooksAlivePollInterval;
  boolean            QuorumCapable;
  boolean            LocalQuorumCapable;
  boolean            DeleteRequiresAllNodes;
  uint32             DeadlockTimeout;
  uint32             PendingTimeout;
  uint64             DumpPolicy;
  string             DumpLogQuery[];
  string             EnabledEventLogs[];
  MSCluster_Property PrivateProperties;
  string             RequiredDependencyTypes[];
  uint32             ResourceClass;
  uint32             RequiredDependencyClasses[];
};

Members

The MSCluster_ResourceType class has these types of members:

Methods

The MSCluster_ResourceType class has these methods.

MethodDescription
CreateResourceType

Creates a resource type.

DeleteResourceType

Deletes a resource type.

Windows Server 2003:  

This method has a Static qualifier in Windows Server 2003.

ExecuteResourceTypeControl

Executes a control code on the resource type.

Windows Server 2003:  

This method is not supported in Windows Server 2003.

GetPossibleOwners

Gets the possible owners of this resource type.

Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003:  

This method is not supported before Windows Server 2012.

 

Properties

The MSCluster_ResourceType class has these properties.

AdminExtensions
Data type: string array
Access type: Read/write

Provides the class identifiers (CLSIDs) for the Cluster Administrator extension DLLs that are associated with the resource type.

Caption
Data type: string
Access type: Read-only

Provides a short textual description of the resource type.

Inherited from MSCluster_LogicalElement.

Characteristics
Data type: uint32
Access type: Read-only

Provides access to the characteristics set for the resource type. For a list of possible characteristics, see CLUSCTL_RESOURCE_TYPE_GET_CHARACTERISTICS..

Inherited from MSCluster_LogicalElement.

Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003:  

This property is read/write before Windows Server 2012.

DeadlockTimeout
Data type: uint32
Access type: Read/write

The length of time to wait, in milliseconds, before declaring a deadlock in any call into a resource.

Windows Server 2003:  

This property is not supported in Windows Server 2003.

DeleteRequiresAllNodes
Data type: boolean
Access type: Read-only

The resource cannot be deleted unless all nodes are active.

Description
Data type: string
Access type: Read/write

Provides access to the resource type's Description property.

DisplayName
Data type: string
Access type: Read/write

Provides access to the resource type's Name property, which is the name displayed for the resource type.

DllName
Data type: string
Access type: Read-only

Provides access to the resource type's DllName property, which is the name of the dynamic-link library (DLL) for the resource type.

DumpLogQuery
Data type: string array
Access type: Read/write

Queries that can be used to export resource type specific logs.

Windows Server 2012 R2Windows Server 2012Windows Server 2008 R2, Windows Server 2008Windows Server 2003:  

This property is not supported before Windows Server Technical Preview.

DumpPolicy
Data type: uint64
Access type: Read/write

Control cluster behavior when call into resource times out.

Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003:  

This property is not supported before Windows Server Technical Preview.

EnabledEventLogs
Data type: string array
Access type: Read/write

Event logs that are enabled to diagnose problems with resources of the resource type.

Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003:  

This property is not supported before Windows Server Technical Preview.

Flags
Data type: uint32
Access type: Read-only

Provides access to the flags set for the resource type. For a list of possible characteristics, see CLUSCTL_RESOURCE_TYPE_GET_FLAGS.

Inherited from MSCluster_LogicalElement.

Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003:  

This property is read/write before Windows Server 2012.

InstallDate
Data type: datetime
Access type: Read-only

Indicates when the resource type was installed. A lack of a value does not indicate that the resource type is not installed.

Inherited from MSCluster_LogicalElement.

IsAlivePollInterval
Data type: uint32
Access type: Read/write

Provides access to the resource type's IsAlivePollInterval property, which is the recommended interval in milliseconds at which the Cluster Service should poll the resource to determine whether it is operational.

LocalQuorumCapable
Data type: boolean
Access type: Read/write

This property is not supported.

Windows Server 2003:  

The resource can be selected as the quorum resource in clusters configured using the -localquorum switch.

LooksAlivePollInterval
Data type: uint32
Access type: Read/write

Provides access to the resource type's LooksAlivePollInterval property, which is the recommended interval in milliseconds at which the Cluster Service should poll the resource to determine whether it appears operational.

Name
Data type: string
Access type: Read-only
Qualifiers: Key

Provides the name of the resource type.

PendingTimeout
Data type: uint32
Access type: Read/write

If a resource cannot be brought online or taken offline in the number of milliseconds specified by this property, the resource is forcibly terminated.

Windows Server 2003:  

This property is not supported in Windows Server 2003.

PrivateProperties
Data type: MSCluster_Property
Access type: Read/write

Private properties of the resource type.

Windows Server 2003:  

This property is not supported in Windows Server 2003.

QuorumCapable
Data type: boolean
Access type: Read/write

The resource can be selected as the quorum resource for the cluster.

RequiredDependencyClasses
Data type: uint32 array
Access type: Read-only

The resource classes which a resource of this type must depend on.

The possible values are.

Unknown ("0")
Storage ("1")
Network ("2")
User ("32768")

Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003:  

This property is not supported before Windows Server 2012.

RequiredDependencyTypes
Data type: string array
Access type: Read-only

The resource types which a resource of this type must depend on.

Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003:  

This property is not supported before Windows Server 2012.

ResourceClass
Data type: uint32
Access type: Read-only

The class of this resource type.

The possible values are.

Unknown ("0")
Storage ("1")
Network ("2")
User ("32768")

Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003:  

This property is not supported before Windows Server 2012.

Status
Data type: string
Access type: Read-only

Indicates the current status of the resource type.

Inherited from MSCluster_LogicalElement.

Remarks

The MSCluster_ResourceType class is derived from the MSCluster_LogicalElement class.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 Datacenter, Windows Server 2003 Enterprise

Namespace

\\.\Root\MSCluster

MOF

ClusWmi.mof

See also

Failover Cluster Provider Reference

 

 

Show:
© 2014 Microsoft