MockableLoadTestingSubscriptionResource.GetLoadTestingResourcesAsync Method

Definition

Lists loadtests resources in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/loadTests
  • Operation Id: LoadTests_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.LoadTesting.LoadTestingResource> GetLoadTestingResourcesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetLoadTestingResourcesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.LoadTesting.LoadTestingResource>
override this.GetLoadTestingResourcesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.LoadTesting.LoadTestingResource>
Public Overridable Function GetLoadTestingResourcesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of LoadTestingResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to