ExperimentsOperationsExtensions.ListAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.