Share via


RegionalConfiguration Class

Definition

Region distribution configuration for the load test.

public class RegionalConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.Developer.LoadTesting.RegionalConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.Developer.LoadTesting.RegionalConfiguration>
type RegionalConfiguration = class
    interface IJsonModel<RegionalConfiguration>
    interface IPersistableModel<RegionalConfiguration>
Public Class RegionalConfiguration
Implements IJsonModel(Of RegionalConfiguration), IPersistableModel(Of RegionalConfiguration)
Inheritance
RegionalConfiguration
Implements

Constructors

Name Description
RegionalConfiguration(Int32, AzureLocation)

Initializes a new instance of RegionalConfiguration.

Properties

Name Description
EngineInstances

The number of engine instances to execute load test in specified region. Supported values are in range of 1-400.

Region

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.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<RegionalConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RegionalConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RegionalConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RegionalConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RegionalConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to