Freigeben über


Failover Cluster Resource Management Functions

The failover cluster resource management functions manage cluster resources.

In this section

AddClusterResourceDependency

Creates a dependency relationship between two resources.

AddClusterResourceNode

Adds a node to the list of possible nodes that a resource can run on.

AddResourceToClusterSharedVolumes

Adds storage to Cluster Shared Volumes.

CanResourceBeDependent

Determines if one resource can be dependent upon another resource.

ChangeClusterResourceGroup

Moves a resource from one group to another.

CloseClusterResource

Closes a resource handle.

ClusterResourceCloseEnum

Closes a resource enumeration handle.

ClusterResourceCloseEnumEx

Closes a handle to a resource enumeration.

ClusterResourceEnum

Enumerates a resource's dependent resources, nodes, or both.

ClusterResourceEnumEx

Enumerates a resource and then returns a pointer to the current dependent resource or node.

ClusterResourceGetEnumCount

Returns the number of cluster objects associated with a resource enumeration handle.

ClusterResourceGetEnumCountEx

Returns the number of cluster objects that are associated with a resource enumeration handle.

ClusterResourceOpenEnum

Opens an enumerator for iterating through a resource's dependencies and nodes.

ClusterResourceOpenEnumEx

Opens a handle to a resource enumeration that enables iteration through a resource's dependencies and nodes.

ClusterSharedVolumeSetSnapshotState

Updates the state of a snapshot of a cluster shared volume.

CreateClusterResource

Creates a resource in a cluster.

DeleteClusterResource

Removes an offline resource from a cluster.

FailClusterResource

Initiates a resource failure.

GetClusterFromResource

Returns a handle to the cluster associated with a resource.

GetClusterResourceDependencyExpression

Retrieves the dependency expression associated with the specified resource.

GetClusterResourceNetworkName

Retrieves the Name private property of the Network Name resource on which a resource is dependent.

GetClusterResourceState

Returns the current state of a resource.

IsFileOnClusterSharedVolume

Specifies whether the file is on the cluster shared volume.

OfflineClusterResource

Takes a resource offline.

OfflineClusterResourceEx

Extends the OfflineClusterResource method. The client can use the flags to control policies of the resource and the input buffer to send specific instructions for the offline operation to the resource. For instance, the input buffer can be used to instruct a VM to go offline by saving its state as opposed to shutting down.

OnlineClusterResource

Brings an offline or failed resource online.

OnlineClusterResourceEx

Brings an offline or failed resource online.

OpenClusterResource

Opens a resource and returns a handle to it.

OpenClusterResourceEx

Opens a resource and returns a handle to it.

RemoveClusterResourceDependency

Removes a dependency relationship between two resources.

RemoveClusterResourceNode

Removes a node from the list of nodes that can host a resource.

RemoveResourceFromClusterSharedVolumes

Removes storage from Cluster Shared Volumes.

RestartClusterResource

Restarts a cluster resource.

SetClusterResourceDependencyExpression

Specifies the dependency expression to be associated with the resource referred to by hResource. Any existing dependency relationships for the resource will be overwritten.

SetClusterResourceName

Sets the name for a resource.

Failover Cluster Object Management Functions