Sdílet prostřednictvím


TargetTypesOperationsExtensions.ListAsync Method

Definition

Get a list of Target Type resources for given location.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Chaos.Models.TargetType>> ListAsync (this Microsoft.Azure.Management.Chaos.ITargetTypesOperations operations, string locationName, string continuationToken = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Chaos.ITargetTypesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Chaos.Models.TargetType>>
<Extension()>
Public Function ListAsync (operations As ITargetTypesOperations, locationName As String, Optional continuationToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of TargetType))

Parameters

operations
ITargetTypesOperations

The operations group for this extension method.

locationName
String

String that represents a Location resource name.

continuationToken
String

String that sets the continuation token.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to