Share via


ChaosCapabilityCollection.GetAllAsync(String, CancellationToken) Method

Definition

Get a list of Capability resources that extend a Target resource..

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

Parameters

continuationToken
String

String that sets the continuation token.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to