ChaosTargetCollection.GetAll(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. : 2026-05-01-preview.
public virtual Azure.Pageable<Azure.ResourceManager.Chaos.ChaosTargetResource> GetAll(string continuationToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Chaos.ChaosTargetResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Chaos.ChaosTargetResource>
Public Overridable Function GetAll (Optional continuationToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ChaosTargetResource)

Parameters

continuationToken
String

String that sets the continuation token.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to