Invoke-ServiceFabricPartitionQuorumLoss

DEPRECATED. Induces quorum loss in a Service Fabric partition for a specified amount of time.

Syntax

Invoke-ServiceFabricPartitionQuorumLoss
      -QuorumLossMode <QuorumLossMode>
      -QuorumLossDurationInSeconds <Int32>
      -PartitionId <Guid>
      -ServiceName <Uri>
      [-TimeoutSec <Int32>]
      [<CommonParameters>]
Invoke-ServiceFabricPartitionQuorumLoss
      -QuorumLossMode <QuorumLossMode>
      -QuorumLossDurationInSeconds <Int32>
      -ServiceName <Uri>
      [-TimeoutSec <Int32>]
      [<CommonParameters>]
Invoke-ServiceFabricPartitionQuorumLoss
      -QuorumLossMode <QuorumLossMode>
      -QuorumLossDurationInSeconds <Int32>
      -ServiceName <Uri>
      [-PartitionKindSingleton]
      [-TimeoutSec <Int32>]
      [<CommonParameters>]
Invoke-ServiceFabricPartitionQuorumLoss
      -QuorumLossMode <QuorumLossMode>
      -QuorumLossDurationInSeconds <Int32>
      -ServiceName <Uri>
      [-PartitionKindNamed]
      -PartitionKey <String>
      [-TimeoutSec <Int32>]
      [<CommonParameters>]
Invoke-ServiceFabricPartitionQuorumLoss
      -QuorumLossMode <QuorumLossMode>
      -QuorumLossDurationInSeconds <Int32>
      -ServiceName <Uri>
      [-PartitionKindUniformInt64]
      -PartitionKey <String>
      [-TimeoutSec <Int32>]
      [<CommonParameters>]

Description

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

The Invoke-ServiceFabricPartitionQuorumLoss cmdlet induces quorum loss in a Service Fabric partition for a specified amount of time.

Parameters

-PartitionId

Specifies the ID of the partition on which to invoke the quorum 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 a quorum 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 a quorum 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 a quorum loss for a UniformInt64 partitioned service.

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

-QuorumLossDurationInSeconds

Specifies the duration period, in seconds, for the quorum loss.

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

-QuorumLossMode

Specifies the quorum loss mode.

Type:QuorumLossMode
Accepted values:Invalid, QuorumReplicas, AllReplicas
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