Share via


ExperimentsOperationsExtensions.ListAllAsync Method

Definition

Get a list of Experiment resources in a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Chaos.Models.Experiment>> ListAllAsync (this Microsoft.Azure.Management.Chaos.IExperimentsOperations operations, bool? running = default, string continuationToken = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAllAsync : Microsoft.Azure.Management.Chaos.IExperimentsOperations * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Chaos.Models.Experiment>>
<Extension()>
Public Function ListAllAsync (operations As IExperimentsOperations, Optional running As Nullable(Of Boolean) = Nothing, Optional continuationToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Experiment))

Parameters

operations
IExperimentsOperations

The operations group for this extension method.

running
Nullable<Boolean>

Optional value that indicates whether to filter results based on if the Experiment is currently running. If null, then the results will not be filtered.

continuationToken
String

String that sets the continuation token.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to