Invoke-​Service​Fabric​Partition​Quorum​Loss

DEPRECATED . Please use the Start-ServiceFabricPartitionQuorumLoss (./Start-ServiceFabricPartitionQuorumLoss.md).

Syntax

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

Description

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

Required Parameters

-PartitionId

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

Type:Guid
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PartitionKey

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

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PartitionKindNamed

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

Type:SwitchParameter
Position:Named
Default value:None
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
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
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
Accept pipeline input:False
Accept wildcard characters:False
-QuorumLossMode

Specifies the quorum loss mode.

Type:QuorumLossMode
Parameter Sets:Invalid, QuorumReplicas, AllReplicas
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ServiceName

Specifies the name of the service to test.

Type:Uri
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-TimeoutSec

Specifies the time-out period, in seconds, for the operation.

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

Inputs

System.Guid

Inputs

System.Uri

Outputs

System.Object