Click or drag to resize

SolidFireElementGetClusterStateAsync Method (CancellationToken, Boolean)

The GetClusterState API method enables you to indicate if a node is part of a cluster or not. The three states are: Available: Node has not been configured with a cluster name. Pending: Node is pending for a specific named cluster and can be added. Active: Node is an active member of a cluster and may not be added to another cluster. Note: This method is available only through the per-node API endpoint 5.0 or later.

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
public Task<GetClusterStateResult> GetClusterStateAsync(
	CancellationToken cancellationToken,
	bool Force
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
Force
Type: SystemBoolean

Return Value

Type: TaskGetClusterStateResult

Implements

ISolidFireElementGetClusterStateAsync(CancellationToken, Boolean)
See Also