Click or drag to resize

SolidFireElementGetClusterStateAsync Method (GetClusterStateRequest, CancellationToken)

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(
	GetClusterStateRequest obj,
	CancellationToken cancellationToken
)

Parameters

obj
Type: SolidFire.Element.ApiGetClusterStateRequest
cancellationToken
Type: System.ThreadingCancellationToken

Return Value

Type: TaskGetClusterStateResult

Implements

ISolidFireElementGetClusterStateAsync(GetClusterStateRequest, CancellationToken)
See Also