Partager via


MSCluster_AvailableStoragePool class

Describes the available storage pool.

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

Syntax

[Dynamic, Provider("MS_CLUSTER_PROVIDER"), UUID("{5C689C85-D436-481B-966C-8845EF9DF920}"), AMENDMENT]
class MSCluster_AvailableStoragePool : MSCluster_LogicalElement
{
  string   Caption;
  datetime InstallDate;
  string   Status;
  uint32   Flags;
  uint32   Characteristics;
  string   Id;
  string   Name;
  string   Description;
  uint32   HealthStatus;
  uint32   QuorumStatus;
  uint64   Attributes;
  uint64   TotalSize;
  uint64   Usage;
  string   ConnectedNodes[];
};

Members

The MSCluster_AvailableStoragePool class has these types of members:

Methods

The MSCluster_AvailableStoragePool class has these methods.

Method Description
AddToCluster Adds the storage pool to the cluster.

Properties

The MSCluster_AvailableStoragePool class has these properties.

Attributes

Data type: uint64

Access type: Read-only

Attributes applied to the storage pool.

The possible values are.

ReadWrite (0)

ReadOnly (1)

ReadWrite (2)

ReadOnly (3)

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

A short textual description (one-line string) of the disk.

This property is inherited from CIM_ManagedSystemElement.

Characteristics

Data type: uint32

Access type: Read-only

Provides the characteristics of the object. The cluster defines characteristics only for resources. For a description of these characteristics, see CLUSCTL_RESOURCE_GET_CHARACTERISTICS.

**Windows Server 2008 R2 and Windows Server 2008: **

This property is read/write before Windows Server 2012.

This property is inherited from MSCluster_LogicalElement.

ConnectedNodes

Data type: string array

Access type: Read-only

The name of the nodes which are connected to the storage pool.

Description

Data type: string

Access type: Read-only

Qualifiers: Override (Description)

The description of the storage pool.

Flags

Data type: uint32

Access type: Read-only

Provides access to the flags set for the object. The cluster defines flags only for resources. For a description of these flags, see CLUSCTL_RESOURCE_GET_FLAGS.

**Windows Server 2008 R2 and Windows Server 2008: **

This property is read/write before Windows Server 2012.

This property is inherited from MSCluster_LogicalElement.

HealthStatus

Data type: uint32

Access type: Read-only

The health associated with this storage pool.

The possible values are.

Unknown (0)

Unhealthy (1)

Warning (2)

Healthy (3)

Id

Data type: string

Access type: Read-only

Qualifiers: Key

The storage pool Id.

InstallDate

Data type: datetime

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5")

A datetime value indicating when the disk was installed. A lack of a value does not indicate that the disk is not installed.

This property is inherited from CIM_ManagedSystemElement.

Name

Data type: string

Access type: Read-only

Qualifiers: Override (Name)

The name of the storage pool.

QuorumStatus

Data type: uint32

Access type: Read-only

Whether a sufficient number of storage pool configurations are present.

The possible values are.

Unknown (0)

Minority (1)

Majority (2)

Full (3)

Status

Data type: string

Access type: Read-only

Qualifiers: MaxLen (10)

A string indicating the current status of the object. Various operational and non-operational statuses are defined. Operational statuses are "OK", "Degraded", "Stressed" and "Pred Fail". "Stressed" indicates that the Element is functioning, but needs attention. Examples of "Stressed" states are overload, overheated, etc. The condition "Pred Fail" (failure predicted) indicates that an Element is functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "NonRecover", "Starting", "Stopping" and "Service". "NonRecover" indicates that a non-recoverable error has occurred. "Service" describes an Element being configured, maintained or cleaned, or otherwise administered. This status could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative task. Not all such work is on-line, yet the Element is neither "OK" nor in one of the other states.

This property is inherited from CIM_ManagedSystemElement.

("OK")

("Error")

("Degraded")

("Unknown")

("Pred Fail")

("Starting")

("Stopping")

("Service")

("Stressed")

("NonRecover")

TotalSize

Data type: uint64

Access type: Read-only

The total size that has been assigned to this storage pool.

Usage

Data type: uint64

Access type: Read-only

The size of this storage pool that is used by spaces.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\MSCluster
MOF
ClusWmi.mof
DLL
ClusWMI.dll

See also

MSCluster_LogicalElement