FabricClient.TestManagementClient.GetChaosReportAsync Method

Definition

Overloads

GetChaosReportAsync(ChaosReportFilter)

Retrieves the report of Chaos runs.

GetChaosReportAsync(String)

Retrieves the report of Chaos runs.

GetChaosReportAsync(ChaosReportFilter, TimeSpan, CancellationToken)

Retrieves the report of Chaos runs.

GetChaosReportAsync(String, TimeSpan, CancellationToken)

Retrieves the report of Chaos runs.

GetChaosReportAsync(ChaosReportFilter)

Retrieves the report of Chaos runs.

public System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosReport> GetChaosReportAsync (System.Fabric.Chaos.DataStructures.ChaosReportFilter filter);
member this.GetChaosReportAsync : System.Fabric.Chaos.DataStructures.ChaosReportFilter -> System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosReport>
Public Function GetChaosReportAsync (filter As ChaosReportFilter) As Task(Of ChaosReport)

Parameters

filter
ChaosReportFilter

Filter for the ChaosEvents to be included in the report.

Returns

Report of Chaos runs.

Exceptions

Action took more than its allocated time.

These are Service Fabric exceptions and the following error codes should be inspected. FabricErrorCode.NotReady - if this API is called before starting Chaos.

Applies to

GetChaosReportAsync(String)

Retrieves the report of Chaos runs.

public System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosReport> GetChaosReportAsync (string continuationToken);
member this.GetChaosReportAsync : string -> System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosReport>
Public Function GetChaosReportAsync (continuationToken As String) As Task(Of ChaosReport)

Parameters

continuationToken
String

Continuation token for the list of ChaosEvents in the ChaosReport.

Returns

Report of Chaos runs.

Exceptions

Any of the required arguments are null.

These are Service Fabric exceptions and the following error codes should be inspected. FabricErrorCode.NotReady - if this API is called before starting Chaos.

Applies to

GetChaosReportAsync(ChaosReportFilter, TimeSpan, CancellationToken)

Retrieves the report of Chaos runs.

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

Parameters

filter
ChaosReportFilter

Filter for the ChaosEvents to be included in the ChaosReport.

operationTimeout
TimeSpan

The overall timeout for the operation.

cancellationToken
CancellationToken

This token can be signalled to abort this operation before it finishes.

Returns

Report of Chaos runs.

Exceptions

Action took more than its allocated time.

Any of the required arguments are null.

These are Service Fabric exceptions and the following error codes should be inspected. FabricErrorCode.NotReady - if this API is called before starting Chaos.

Applies to

GetChaosReportAsync(String, TimeSpan, CancellationToken)

Retrieves the report of Chaos runs.

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

Parameters

continuationToken
String

Continuation token for the list of ChaosEvents in the ChaosReport.

operationTimeout
TimeSpan

The overall timeout for the operation.

cancellationToken
CancellationToken

This token can be signalled to abort this operation before it finishes.

Returns

Report of Chaos runs.

Exceptions

These are Service Fabric exceptions and the following error codes should be inspected. FabricErrorCode.NotReady - if this API is called before starting Chaos.

Applies to