Dela via


NodeStopDescription(Guid, String, BigInteger, Int32) Constructor

Definition

Constructs a NodeTransitionDescription, which describes information about a node to stop.

public NodeStopDescription (Guid operationId, string nodeName, System.Numerics.BigInteger nodeInstanceId, int stopDurationInSeconds);
new System.Fabric.Description.NodeStopDescription : Guid * string * System.Numerics.BigInteger * int -> System.Fabric.Description.NodeStopDescription
Public Sub New (operationId As Guid, nodeName As String, nodeInstanceId As BigInteger, stopDurationInSeconds As Integer)

Parameters

operationId
Guid

A Guid to identify this operation. This should be unique, and should not be used with other operations.

nodeName
String

The name of the node to start or stop. The name can be determined through GetNodeListAsync().

nodeInstanceId
BigInteger

The node instance id of the target node. This can be determined through GetNodeListAsync().

stopDurationInSeconds
Int32

The duration to keep the node stopped. After this time expires, the node will automatically come back up. The units is in seconds. The minimum value is 600, the maximum is 14400.

Applies to