restart_replicas
Creates, updates, deletes, gets or lists a restart_replicas resource.
Overview
| Name | restart_replicas |
| Type | Resource |
| Id | azure.service_fabric_dataplane.restart_replicas |
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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
restart_replica | exec | replica_id, partition_id, node_name, endpoint | timeout | Restarts a service replica of a persisted service running on a node. Restarts a service replica of a persisted service running on a node. Warning - There are no safety checks performed when this API is used. Incorrect use of this API can lead to availability loss for stateful services. |
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.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme). (default: ) |
node_name | string | The name of the node. |
partition_id | string | The identity of the partition. |
replica_id | string | The identifier of the replica. |
timeout | integer (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
- restart_replica
Restarts a service replica of a persisted service running on a node. Restarts a service replica of a persisted service running on a node. Warning - There are no safety checks performed when this API is used. Incorrect use of this API can lead to availability loss for stateful services.
EXEC azure.service_fabric_dataplane.restart_replicas.restart_replica
@replica_id='{{ replica_id }}' --required,
@partition_id='{{ partition_id }}' --required,
@node_name='{{ node_name }}' --required,
@endpoint='{{ endpoint }}' --required,
@timeout='{{ timeout }}'
;