Skip to main content

start_node_transitions

Creates, updates, deletes, gets or lists a start_node_transitions resource.

Overview​

Namestart_node_transitions
TypeResource
Idazure.service_fabric_dataplane.start_node_transitions

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
start_node_transitionexecStopDurationInSeconds, NodeTransitionType, node_name, OperationId, NodeInstanceId, endpointtimeoutStarts or stops a cluster node. Starts or stops a cluster node. A cluster node is a process, not the OS instance itself. To start a node, pass in "Start" for the NodeTransitionType parameter. To stop a node, pass in "Stop" for the NodeTransitionType parameter. This API starts the operation - when the API returns the node may not have finished transitioning yet. Call GetNodeTransitionProgress with the same OperationId to get the progress of the operation.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
NodeInstanceIdstringThe node instance ID of the target node. This can be determined through GetNodeInfo API.
NodeTransitionTypestringIndicates the type of transition to perform. NodeTransitionType.Start will start a stopped node. NodeTransitionType.Stop will stop a node that is up. Possible values include: 'Invalid', 'Start', 'Stop'
OperationIdstringA GUID that identifies a call of this API. This is passed into the corresponding GetProgress API
StopDurationInSecondsintegerThe duration, in seconds, to keep the node stopped. The minimum value is 600, the maximum is 14400. After this time expires, the node will automatically come back up.
endpointstringThe service endpoint host (no scheme). (default: )
node_namestringThe name of the node.
timeoutinteger (int64)The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

Lifecycle Methods​

Starts or stops a cluster node. Starts or stops a cluster node. A cluster node is a process, not the OS instance itself. To start a node, pass in "Start" for the NodeTransitionType parameter. To stop a node, pass in "Stop" for the NodeTransitionType parameter. This API starts the operation - when the API returns the node may not have finished transitioning yet. Call GetNodeTransitionProgress with the same OperationId to get the progress of the operation.

EXEC azure.service_fabric_dataplane.start_node_transitions.start_node_transition
@StopDurationInSeconds='{{ StopDurationInSeconds }}' --required,
@NodeTransitionType='{{ NodeTransitionType }}' --required,
@node_name='{{ node_name }}' --required,
@OperationId='{{ OperationId }}' --required,
@NodeInstanceId='{{ NodeInstanceId }}' --required,
@endpoint='{{ endpoint }}' --required,
@timeout='{{ timeout }}'
;