start_quorum_loss
Creates, updates, deletes, gets or lists a start_quorum_loss resource.
Overview
| Name | start_quorum_loss |
| Type | Resource |
| Id | azure.service_fabric_dataplane.start_quorum_loss |
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 |
|---|---|---|---|---|
start_quorum_loss | exec | QuorumLossMode, service_id, OperationId, QuorumLossDuration, partition_id, endpoint | timeout | Induces quorum loss for a given stateful service partition. This API is useful for a temporary quorum loss situation on your service. Call the GetQuorumLossProgress API with the same OperationId to return information on the operation started with this API. This can only be called on stateful persisted (HasPersistedState==true) services. Do not use this API on stateless services or stateful in-memory only 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 |
|---|---|---|
OperationId | string | A GUID that identifies a call of this API. This is passed into the corresponding GetProgress API |
QuorumLossDuration | integer | The amount of time for which the partition will be kept in quorum loss. This must be specified in seconds. |
QuorumLossMode | string | This enum is passed to the StartQuorumLoss API to indicate what type of quorum loss to induce. Possible values include: 'Invalid', 'QuorumReplicas', 'AllReplicas' |
endpoint | string | The service endpoint host (no scheme). (default: ) |
partition_id | string | The identity of the partition. |
service_id | string | The identity of the service. This ID is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the " |
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
- start_quorum_loss
Induces quorum loss for a given stateful service partition. This API is useful for a temporary quorum loss situation on your service. Call the GetQuorumLossProgress API with the same OperationId to return information on the operation started with this API. This can only be called on stateful persisted (HasPersistedState==true) services. Do not use this API on stateless services or stateful in-memory only services.
EXEC azure.service_fabric_dataplane.start_quorum_loss.start_quorum_loss
@QuorumLossMode='{{ QuorumLossMode }}' --required,
@service_id='{{ service_id }}' --required,
@OperationId='{{ OperationId }}' --required,
@QuorumLossDuration='{{ QuorumLossDuration }}' --required,
@partition_id='{{ partition_id }}' --required,
@endpoint='{{ endpoint }}' --required,
@timeout='{{ timeout }}'
;