Invoke-ServiceFabricPartitionDataLoss

DEPRECATED. Induces data loss in a specified Service Fabric partition to test the data recovery path for a service.

Syntax

Invoke-ServiceFabricPartitionDataLoss
      -DataLossMode <DataLossMode>
      -PartitionId <Guid>
      -ServiceName <Uri>
      [-TimeoutSec <Int32>]
      [<CommonParameters>]
Invoke-ServiceFabricPartitionDataLoss
      -DataLossMode <DataLossMode>
      -ServiceName <Uri>
      [-TimeoutSec <Int32>]
      [<CommonParameters>]
Invoke-ServiceFabricPartitionDataLoss
      -DataLossMode <DataLossMode>
      -ServiceName <Uri>
      [-PartitionKindSingleton]
      [-TimeoutSec <Int32>]
      [<CommonParameters>]
Invoke-ServiceFabricPartitionDataLoss
      -DataLossMode <DataLossMode>
      -ServiceName <Uri>
      [-PartitionKindNamed]
      -PartitionKey <String>
      [-TimeoutSec <Int32>]
      [<CommonParameters>]
Invoke-ServiceFabricPartitionDataLoss
      -DataLossMode <DataLossMode>
      -ServiceName <Uri>
      [-PartitionKindUniformInt64]
      -PartitionKey <String>
      [-TimeoutSec <Int32>]
      [<CommonParameters>]

Description

This cmdlet has been deprecated in favor of Start-ServiceFabricPartitionDataLoss.

The Invoke-ServiceFabricPartitionDataLoss cmdlet induces data loss in a specified Service Fabric partition to test the data recovery path for a service.

Parameters

-DataLossMode

Specifies the data loss mode for the operation. The acceptable values for this parameter are:

  • PartialDataLoss
  • FullDataLoss
Type:DataLossMode
Accepted values:Invalid, PartialDataLoss, FullDataLoss
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PartitionId

Specifies the ID of the partition on which to invoke the data loss.

Type:Guid
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-PartitionKey

Specifies the key of the partition on which to invoke the test.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-PartitionKindNamed

Indicates that this cmdlet invokes data loss on a named partition.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PartitionKindSingleton

Indicates that this cmdlet invokes data loss on a singleton partition.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PartitionKindUniformInt64

Indicates that this cmdlet invokes data loss on a UniformInt64 partitioned service.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ServiceName

Specifies the name of the service to test.

Type:Uri
Position:Named
Default value:None
Required:True
Accept pipeline input:True
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

System.Guid

System.Uri

System.String

Outputs

System.Object