Share via


FabricClient.TestManagementClient.GetChaosScheduleAsync Method

Definition

Gets the description of the Chaos schedule.

public System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosScheduleDescription> GetChaosScheduleAsync (TimeSpan operationTimeout, System.Threading.CancellationToken cancellationToken);
member this.GetChaosScheduleAsync : TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosScheduleDescription>
Public Function GetChaosScheduleAsync (operationTimeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of ChaosScheduleDescription)

Parameters

operationTimeout
TimeSpan

The overall timeout for the operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

A description of the Chaos schedule.

Exceptions

Action took more than its allocated time.

Any of the required arguments are null.

Remarks

The FaultAnalysisService must be enabled to use this API.

Applies to