Aracılığıyla paylaş


ExperimentsOperationsExtensions.ListAsync Method

Definition

Get a list of Experiment resources in a resource group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Chaos.Models.Experiment>> ListAsync (this Microsoft.Azure.Management.Chaos.IExperimentsOperations operations, string resourceGroupName, bool? running = default, string continuationToken = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Chaos.IExperimentsOperations * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Chaos.Models.Experiment>>
<Extension()>
Public Function ListAsync (operations As IExperimentsOperations, resourceGroupName As String, 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.

resourceGroupName
String

String that represents an Azure resource group.

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