Skip to main content

data_loss_progress

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

Overview

Namedata_loss_progress
TypeResource
Idazure.service_fabric_dataplane.data_loss_progress

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
InvokeDataLossResultobjectRepresents information about an operation in a terminal state (Completed or Faulted).
Statestring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_data_loss_progressselectservice_id, partition_id, OperationId, endpointtimeoutGets the progress of a partition data loss operation started using the StartDataLoss API. Gets the progress of a data loss operation started with StartDataLoss, using the OperationId.

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
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.

SELECT examples

Gets the progress of a partition data loss operation started using the StartDataLoss API. Gets the progress of a data loss operation started with StartDataLoss, using the OperationId.

SELECT
InvokeDataLossResult,
State
FROM azure.service_fabric_dataplane.data_loss_progress
WHERE service_id = '{{ service_id }}' -- required
AND partition_id = '{{ partition_id }}' -- required
AND OperationId = '{{ OperationId }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND timeout = '{{ timeout }}'
;