Get-ServiceFabricChaosEvents

Get a history of Chaos related events.

Syntax

Get-ServiceFabricChaosEvents
   [-StartTimeUtc <DateTime>]
   [-EndTimeUtc <DateTime>]
   [-MaxResults <Int64>]
   [-TimeoutSec <Int32>]
   [<CommonParameters>]
Get-ServiceFabricChaosEvents
   -ContinuationToken <String>
   [-MaxResults <Int64>]
   [-TimeoutSec <Int32>]
   [<CommonParameters>]

Description

The Get-ServiceFabricChaosSchedule cmdlet gets a history of Chaos events.

Events can be filtered by time range of when the event has occurred and a maximum number of events returned by the cmdlet can be set. If there are more events in the given time range than the maximum number of events allowed for the result, a continuation token will also be returned.

Examples

Example 1

PS C:\>  Get-ServiceFabricChaosEvents

This command gets a history of Chaos events that have occurred since the start of time.

Parameters

-ContinuationToken

Specifies a continuation token that this cmdlet passes for the next Get-ServiceFabricChaosEvents call. There is no limit to the number of events in a batch unless specified by the -MaxResults parameter. In such a case, a continuation token is returned as part of ChaosEventsSegment object. To get data from subsequent batches, this continuation token will need to be supplied.

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

-EndTimeUtc

Specifies the end of the time range in Coordinated Universal Time (UTC).

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

-MaxResults

Specifies a maximum number of events to be returned by the cmdlet. If the total number of events exceeds the specified maximum, a continuation token is also returned. The continuation token can be used with the -ContinuationToken parameter to get the remaining results. If no value is specified, then there is no limit to the number of events that will be returned.

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

-StartTimeUtc

Specifies the start of the time range in UTC.

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

-TimeoutSec

Specifies the timeout 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