ISolidFireElementEnableMaintenanceModeAsync Method (CancellationToken, Int64, NullableInt64, String, NullableBoolean) |
Prepare a node for maintenance. Maintenance includes anything that will require the node to be powered-off or restarted.
Namespace:
SolidFire.Element.Api
Assembly:
SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax Task<MaintenanceModeResult> EnableMaintenanceModeAsync(
CancellationToken cancellationToken,
long[] Nodes,
Nullable<long> PerMinutePrimarySwapLimit = null,
string Timeout = null,
Nullable<bool> ForceWithUnresolvedFaults = null
)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
- Nodes
- Type: SystemInt64
- PerMinutePrimarySwapLimit (Optional)
- Type: SystemNullableInt64
- Timeout (Optional)
- Type: SystemString
- ForceWithUnresolvedFaults (Optional)
- Type: SystemNullableBoolean
Return Value
Type:
TaskMaintenanceModeResultSee Also