MockableLoadTestingSubscriptionResource.GetLoadTestingResourcesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
List LoadTestResource resources by subscription ID
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/loadTests.
- Operation Id. : LoadTests_ListBySubscription.
- Default Api Version. : 2024-12-01-preview.
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
A collection of LoadTestingResource that may take multiple service requests to iterate over.