Skip to main content

partition_restart_progress

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

Overview

Namepartition_restart_progress
TypeResource
Idazure.service_fabric_dataplane.partition_restart_progress

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
RestartPartitionResultobjectRepresents 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_partition_restart_progressselectservice_id, partition_id, OperationId, endpointtimeoutGets the progress of a PartitionRestart operation started using StartPartitionRestart. Gets the progress of a PartitionRestart started with StartPartitionRestart using the provided 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 PartitionRestart operation started using StartPartitionRestart. Gets the progress of a PartitionRestart started with StartPartitionRestart using the provided OperationId.

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