Share via


ChaosTargetTypeCollection.GetAllAsync(String, CancellationToken) Method

Definition

Get a list of Target Type resources for given location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Chaos/locations/{locationName}/targetTypes
  • Operation Id: TargetTypes_List
  • Default Api Version: 2024-01-01
  • Resource: ChaosTargetTypeResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Chaos.ChaosTargetTypeResource> GetAllAsync (string continuationToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Chaos.ChaosTargetTypeResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Chaos.ChaosTargetTypeResource>
Public Overridable Function GetAllAsync (Optional continuationToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ChaosTargetTypeResource)

Parameters

continuationToken
String

String that sets the continuation token.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ChaosTargetTypeResource that may take multiple service requests to iterate over.

Applies to