Click or drag to resize

SolidFireElementControlPowerAsync Method (CancellationToken, String, Boolean, String)

ControlPower can be used to reboot or halt a node.

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
public Task<ControlPowerResult> ControlPowerAsync(
	CancellationToken cancellationToken,
	string Action,
	bool Force,
	string WakeupDelay = null
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
Action
Type: SystemString
Force
Type: SystemBoolean
WakeupDelay (Optional)
Type: SystemString

Return Value

Type: TaskControlPowerResult

Implements

ISolidFireElementControlPowerAsync(CancellationToken, String, Boolean, String)
See Also