SolidFireElementRestartServicesAsync Method (CancellationToken, Boolean, String, String) |
The RestartServices API method enables you to restart the services on a node.
Caution: This method causes temporary node services interruption. Exercise caution when using this method.
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 public Task<Hashtable> RestartServicesAsync(
CancellationToken cancellationToken,
bool Force,
string Service = null,
string Action = null
)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
- Force
- Type: SystemBoolean
- Service (Optional)
- Type: SystemString
- Action (Optional)
- Type: SystemString
Return Value
Type:
TaskHashtableImplements
ISolidFireElementRestartServicesAsync(CancellationToken, Boolean, String, String)See Also