Share via


LoadTestingExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.LoadTesting.

public static class LoadTestingExtensions
type LoadTestingExtensions = class
Public Module LoadTestingExtensions
Inheritance
LoadTestingExtensions

Methods

GetAllLoadTestingQuota(SubscriptionResource, AzureLocation)

Gets a collection of LoadTestingQuotaResources in the SubscriptionResource. MockingTo mock this method, please mock GetAllLoadTestingQuota(AzureLocation) instead.

GetLoadTestingQuota(SubscriptionResource, AzureLocation, String, CancellationToken)

Get the available quota for a quota bucket per region per subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/quotas/{quotaBucketName}
  • Operation Id: Quotas_Get
GetLoadTestingQuotaAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Get the available quota for a quota bucket per region per subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/quotas/{quotaBucketName}
  • Operation Id: Quotas_Get
GetLoadTestingQuotaResource(ArmClient, ResourceIdentifier)

Gets an object representing a LoadTestingQuotaResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a LoadTestingQuotaResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetLoadTestingQuotaResource(ResourceIdentifier) instead.

GetLoadTestingResource(ArmClient, ResourceIdentifier)

Gets an object representing a LoadTestingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a LoadTestingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetLoadTestingResource(ResourceIdentifier) instead.

GetLoadTestingResource(ResourceGroupResource, String, CancellationToken)

Get a LoadTest resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/loadTests/{loadTestName}
  • Operation Id: LoadTests_Get
GetLoadTestingResourceAsync(ResourceGroupResource, String, CancellationToken)

Get a LoadTest resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/loadTests/{loadTestName}
  • Operation Id: LoadTests_Get
GetLoadTestingResources(ResourceGroupResource)

Gets a collection of LoadTestingResources in the ResourceGroupResource. MockingTo mock this method, please mock GetLoadTestingResources() instead.

GetLoadTestingResources(SubscriptionResource, CancellationToken)

Lists loadtests resources in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/loadTests
  • Operation Id: LoadTests_ListBySubscription
GetLoadTestingResourcesAsync(SubscriptionResource, CancellationToken)

Lists loadtests resources in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/loadTests
  • Operation Id: LoadTests_ListBySubscription

Applies to