FabricClient.FaultManagementClient.StartNodeAsync Method

Definition

Overloads

StartNodeAsync(String, BigInteger, CompletionMode)
Obsolete.

Starts a cluster node.

StartNodeAsync(String, BigInteger, CompletionMode, CancellationToken)
Obsolete.

Starts a cluster node.

StartNodeAsync(String, BigInteger, String, Int32, CompletionMode)
Obsolete.

Starts a cluster node.

StartNodeAsync(String, BigInteger, String, Int32, CompletionMode, CancellationToken)
Obsolete.

Starts a cluster node.

StartNodeAsync(String, BigInteger, String, Int32, CompletionMode, TimeSpan, CancellationToken)
Obsolete.

Starts a cluster node.

StartNodeAsync(String, BigInteger, CompletionMode)

Caution

This api is deprecated, use StartNodeTransitionAsync instead.

Starts a cluster node.

[System.Obsolete("This api is deprecated, use StartNodeTransitionAsync instead.")]
public System.Threading.Tasks.Task<System.Fabric.Result.StartNodeResult> StartNodeAsync (string nodeName, System.Numerics.BigInteger nodeInstance, System.Fabric.CompletionMode completionMode);
[<System.Obsolete("This api is deprecated, use StartNodeTransitionAsync instead.")>]
member this.StartNodeAsync : string * System.Numerics.BigInteger * System.Fabric.CompletionMode -> System.Threading.Tasks.Task<System.Fabric.Result.StartNodeResult>
Public Function StartNodeAsync (nodeName As String, nodeInstance As BigInteger, completionMode As CompletionMode) As Task(Of StartNodeResult)

Parameters

nodeName
String

The node name of the node to start.

nodeInstance
BigInteger

The node instance ID of the node, before it was stopped. If this is not specified, or is set to 0, this is ignored. If this is set to -1, the system will internally determine this value.

completionMode
CompletionMode

If set to Verify, the system will check that the node started, and the API will not return until it has. If set to DoNotVerify, the API returns once the node start has been initiated.

Returns

A task with information representing the target node.

Attributes

Exceptions

The ErrorCode property will indicate the reason. If the ErrorCode is InvalidArgument, nodeName or nodeInstance is invalid. If the ErrorCode is InstanceIdMismatch, the nodeInstance provided does not match the instance of the node that was stopped. If the ErrorCode is NodeHasNotStoppedYet, there is a currently pending stop operation on this node.

The operation timed out.

An argument with a value of null was passed in.

Remarks

A cluster node is a process, not an virtual or physical machine.

Applies to

StartNodeAsync(String, BigInteger, CompletionMode, CancellationToken)

Caution

This api is deprecated, use StartNodeTransitionAsync instead.

Starts a cluster node.

[System.Obsolete("This api is deprecated, use StartNodeTransitionAsync instead.")]
public System.Threading.Tasks.Task<System.Fabric.Result.StartNodeResult> StartNodeAsync (string nodeName, System.Numerics.BigInteger nodeInstance, System.Fabric.CompletionMode completionMode, System.Threading.CancellationToken token);
[<System.Obsolete("This api is deprecated, use StartNodeTransitionAsync instead.")>]
member this.StartNodeAsync : string * System.Numerics.BigInteger * System.Fabric.CompletionMode * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Result.StartNodeResult>
Public Function StartNodeAsync (nodeName As String, nodeInstance As BigInteger, completionMode As CompletionMode, token As CancellationToken) As Task(Of StartNodeResult)

Parameters

nodeName
String

The node name of the node to start.

nodeInstance
BigInteger

The node instance ID of the node, before it was stopped. If this is not specified, or is set to 0, this is ignored. If this is set to -1, the system will internally determine this value.

completionMode
CompletionMode

If set to Verify, the system will check that the node started, and the API will not return until it has. If set to DoNotVerify, the API returns once the node start has been initiated.

token
CancellationToken

The cancellation token that is monitored for any request to cancel the operation.

Returns

A task with information representing the target node.

Attributes

Exceptions

The ErrorCode property will indicate the reason. If the ErrorCode is InvalidArgument, nodeName or nodeInstance is invalid. If the errorCode is InstanceIdMismatch, the nodeInstance provided does not match the instance of the node that was stopped. If the ErrorCode is NodeHasNotStoppedYet, there is a currently pending stop operation on this node.

The operation timed out.

An argument with a value of null was passed in.

Remarks

A cluster node is a process, not an virtual or physical machine.

Applies to

StartNodeAsync(String, BigInteger, String, Int32, CompletionMode)

Caution

This api is deprecated, use StartNodeTransitionAsync instead.

Starts a cluster node.

[System.Obsolete("This api is deprecated, use StartNodeTransitionAsync instead.")]
public System.Threading.Tasks.Task<System.Fabric.Result.StartNodeResult> StartNodeAsync (string nodeName, System.Numerics.BigInteger nodeInstance, string ipAddressOrFQDN, int clusterConnectionPort, System.Fabric.CompletionMode completionMode);
[<System.Obsolete("This api is deprecated, use StartNodeTransitionAsync instead.")>]
member this.StartNodeAsync : string * System.Numerics.BigInteger * string * int * System.Fabric.CompletionMode -> System.Threading.Tasks.Task<System.Fabric.Result.StartNodeResult>
Public Function StartNodeAsync (nodeName As String, nodeInstance As BigInteger, ipAddressOrFQDN As String, clusterConnectionPort As Integer, completionMode As CompletionMode) As Task(Of StartNodeResult)

Parameters

nodeName
String

The node name of the node to start.

nodeInstance
BigInteger

The node instance ID of the node, before it was stopped. If this is not specified, or is set to 0, this is ignored. If this is set to -1, the system will internally determine this value.

ipAddressOrFQDN
String

The IP address or fully-qualified domain name (FQDN) of the target node. If this parameter is specified, 'ClusterConnectionPort" also must be specified. If neither is specified, the system internally determines these.

clusterConnectionPort
Int32

The cluster connection port of the target node. If this parameter is specified, 'ipAddressOrFQDN' also must be specified. If neither is specified, the system internally determines these.

completionMode
CompletionMode

If set to Verify, the system will check that the node started, and the API will not return until it has. If set to DoNotVerify, the API returns once the node start has been initiated.

Returns

A task with information representing the target node.

Attributes

Exceptions

The ErrorCode property will indicate the reason. If the ErrorCode is InvalidArgument, nodeName or nodeInstance is invalid. If the errorCode is InstanceIdMismatch, the nodeInstance provided does not match the instance of the node that was stopped. If the ErrorCode is NodeHasNotStoppedYet, there is a currently pending stop operation on this node.

The operation timed out.

An argument with a value of null was passed in.

Remarks

A cluster node is a process, not an virtual or physical machine.

Applies to

StartNodeAsync(String, BigInteger, String, Int32, CompletionMode, CancellationToken)

Caution

This api is deprecated, use StartNodeTransitionAsync instead.

Starts a cluster node.

[System.Obsolete("This api is deprecated, use StartNodeTransitionAsync instead.")]
public System.Threading.Tasks.Task<System.Fabric.Result.StartNodeResult> StartNodeAsync (string nodeName, System.Numerics.BigInteger nodeInstance, string ipAddressOrFQDN, int clusterConnectionPort, System.Fabric.CompletionMode completionMode, System.Threading.CancellationToken token);
[<System.Obsolete("This api is deprecated, use StartNodeTransitionAsync instead.")>]
member this.StartNodeAsync : string * System.Numerics.BigInteger * string * int * System.Fabric.CompletionMode * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Result.StartNodeResult>
Public Function StartNodeAsync (nodeName As String, nodeInstance As BigInteger, ipAddressOrFQDN As String, clusterConnectionPort As Integer, completionMode As CompletionMode, token As CancellationToken) As Task(Of StartNodeResult)

Parameters

nodeName
String

The node name of the node to start.

nodeInstance
BigInteger

The node instance ID of the node, before it was stopped. If this is not specified, or is set to 0, this is ignored. If this is set to -1, the system will internally determine this value.

ipAddressOrFQDN
String

The IP address or fully-qualified domain name (FQDN) of the target node. If this parameter is specified, clusterConnectionPort also must be specified. If neither is specified, the system internally determines these.

clusterConnectionPort
Int32

The cluster connection port of the target node. If this parameter is specified, ipAddressOrFQDN also must be specified. If neither is specified, the system internally determines these.

completionMode
CompletionMode

If set to Verify, the system will check that the node started, and the API will not return until it has. If set to DoNotVerify, the API returns once the node start has been initiated.

token
CancellationToken

The cancellation token that is monitored for any request to cancel the operation.

Returns

A task with information representing the target node.

Attributes

Exceptions

The ErrorCode property will indicate the reason. If the ErrorCode is InvalidArgument, nodeName or nodeInstance is invalid. If the errorCode is InstanceIdMismatch, the nodeInstance provided does not match the instance of the node that was stopped. If the ErrorCode is NodeHasNotStoppedYet, there is a currently pending stop operation on this node.

The operation timed out.

An argument with a value of null was passed in.

Remarks

A cluster node is a process, not an virtual or physical machine.

Applies to

StartNodeAsync(String, BigInteger, String, Int32, CompletionMode, TimeSpan, CancellationToken)

Caution

This api is deprecated, use StartNodeTransitionAsync instead.

Starts a cluster node.

[System.Obsolete("This api is deprecated, use StartNodeTransitionAsync instead.")]
public System.Threading.Tasks.Task<System.Fabric.Result.StartNodeResult> StartNodeAsync (string nodeName, System.Numerics.BigInteger nodeInstance, string ipAddressOrFQDN, int clusterConnectionPort, System.Fabric.CompletionMode completionMode, TimeSpan operationTimeout, System.Threading.CancellationToken token);
[<System.Obsolete("This api is deprecated, use StartNodeTransitionAsync instead.")>]
member this.StartNodeAsync : string * System.Numerics.BigInteger * string * int * System.Fabric.CompletionMode * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Result.StartNodeResult>
Public Function StartNodeAsync (nodeName As String, nodeInstance As BigInteger, ipAddressOrFQDN As String, clusterConnectionPort As Integer, completionMode As CompletionMode, operationTimeout As TimeSpan, token As CancellationToken) As Task(Of StartNodeResult)

Parameters

nodeName
String

The node name of the node to start.

nodeInstance
BigInteger

The node instance ID of the node, before it was stopped. If this is not specified, or is set to 0, this is ignored. If this is set to -1, the system will internally determine this value.

ipAddressOrFQDN
String

The IP address or fully-qualified domain name (FQDN) of the target node. If this parameter is specified, clusterConnectionPort also must be specified. If neither is specified, the system internally determines these.

clusterConnectionPort
Int32

The cluster connection port of the target node. If this parameter is specified, ipAddressOrFQDN also must be specified. If neither is specified, the system internally determines these.

completionMode
CompletionMode

If set to Verify, the system will check that the node started, and the API will not return until it has. If set to DoNotVerify, the API returns once the node start has been initiated.

operationTimeout
TimeSpan

The timeout for this API call.

token
CancellationToken

The cancellationToken

Returns

A task with information representing the target node.

Attributes

Exceptions

The ErrorCode property will indicate the reason. If the ErrorCode is InvalidArgument, nodeName or nodeInstance is invalid. If the errorCode is InstanceIdMismatch, the nodeInstance provided does not match the instance of the node that was stopped. If the ErrorCode is NodeHasNotStoppedYet, there is a currently pending stop operation on this node.

The operation timed out.

An argument with a value of null was passed in.

Remarks

A cluster node is a process, not an virtual or physical machine.

Applies to