Get-ServiceFabricPartitionDataLossProgress
Gets the progress of a data loss fault operation.
Syntax
Default (Default)
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.
Parameter properties
| Type: | Guid |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-TimeoutSec
Specifies the time-out period, in seconds, for the operation.
Parameter properties
| Type: | Int32 |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.