Share via


ChaosTargetCollection.GetAllAsync(String, CancellationToken) Method

Definition

Get a list of Target resources that extend a tracked regional resource.

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

Parameters

continuationToken
String

String that sets the continuation token.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to