Get-ServiceFabricPartitionDataLossProgress
Gets the progress of a data loss fault operation.
Syntax
Get-ServiceFabricPartitionDataLossProgress
-OperationId <Guid>
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
The Get-ServiceFabricPartitionDataLossProgress cmdlet gets the progress of a data loss fault operation in Azure Service Fabric. Initiate a data loss fault operation using the Start-ServiceFabricPartitionDataLoss cmdlet.
Examples
Example 1: Check progress of data loss fault operation
PS C:\> Get-ServiceFabricPartitionDataLossProgress -OperationId d3f12b09-6a90-4745-a4fc-3f92149a7419
State ProgressResult
----- --------------
Completed SelectedPartition: Service Name: fabric:/ContosoApp/PersistServ, Partition Id: 67e2c139-ccf0-4562-9f2b-bf35e4c2...
This command checks the progress of a data loss fault operation that has the ID d3f12b09-6a90-4745-a4fc-3f92149a7419. The State of the fault operation is Completed.
Parameters
-OperationId
Specifies a unique identifier for the fault operation that this cmdlet checks. You assign this value when you run Start-ServiceFabricPartitionDataLoss.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TimeoutSec
Specifies the time-out period, in seconds, for the operation.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
System.Object