LoadTestingModelFactory.RegionalConfiguration(Int32, AzureLocation) 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.
Region distribution configuration for the load test.
public static Azure.Developer.LoadTesting.RegionalConfiguration RegionalConfiguration(int engineInstances = 0, Azure.Core.AzureLocation region = default);
static member RegionalConfiguration : int * Azure.Core.AzureLocation -> Azure.Developer.LoadTesting.RegionalConfiguration
Public Shared Function RegionalConfiguration (Optional engineInstances As Integer = 0, Optional region As AzureLocation = Nothing) As RegionalConfiguration
Parameters
- engineInstances
- Int32
The number of engine instances to execute load test in specified region. Supported values are in range of 1-400.
- region
- AzureLocation
Azure region name. The region name should of format accepted by ARM, and should be a region supported by Azure Load Testing. For example, East US should be passed as "eastus". The region name must match one of the strings in the "Name" column returned from running the "az account list-locations -o table" Azure CLI command.
Returns
A new RegionalConfiguration instance for mocking.