Share via


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

Parameters

continuationToken
String

String that sets the continuation token.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to