Skip to main content

start_quorum_loss

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

Overview

Namestart_quorum_loss
TypeResource
Idazure.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:

NameAccessible byRequired ParamsOptional ParamsDescription
start_quorum_lossexecQuorumLossMode, service_id, OperationId, QuorumLossDuration, partition_id, endpointtimeoutInduces 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.

NameDatatypeDescription
OperationIdstringA GUID that identifies a call of this API. This is passed into the corresponding GetProgress API
QuorumLossDurationintegerThe amount of time for which the partition will be kept in quorum loss. This must be specified in seconds.
QuorumLossModestringThis enum is passed to the StartQuorumLoss API to indicate what type of quorum loss to induce. Possible values include: 'Invalid', 'QuorumReplicas', 'AllReplicas'
endpointstringThe service endpoint host (no scheme). (default: )
partition_idstringThe identity of the partition.
service_idstringThe 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 "" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myappapp1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions.
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

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 }}'
;