LoadTest Class
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.
Load test model.
public class LoadTest : System.ClientModel.Primitives.IJsonModel<Azure.Developer.LoadTesting.LoadTest>, System.ClientModel.Primitives.IPersistableModel<Azure.Developer.LoadTesting.LoadTest>
type LoadTest = class
interface IJsonModel<LoadTest>
interface IPersistableModel<LoadTest>
Public Class LoadTest
Implements IJsonModel(Of LoadTest), IPersistableModel(Of LoadTest)
- Inheritance
-
LoadTest
- Implements
Constructors
LoadTest() |
Initializes a new instance of LoadTest. |
Properties
AutoStopCriteria |
Auto stop criteria for a test. This will automatically stop a load test if the error percentage is high for a certain time window. |
BaselineTestRunId |
Id of the test run to be marked as baseline to view trends of client-side metrics from recent test runs. |
Certificate |
Certificates metadata. |
CreatedBy |
The user that created. |
CreatedDateTime |
The creation datetime(RFC 3339 literal format). |
Description |
The test description. |
DisplayName |
Display name of a test. |
EngineBuiltInIdentityIds |
Resource Ids of the managed identity built in to load test engines. Required if engineBuiltInIdentityType is UserAssigned. |
EngineBuiltInIdentityType |
Type of the managed identity built in load test engines. |
EnvironmentVariables |
Environment variables which are defined as a set of <name,value> pairs. |
InputArtifacts |
The input artifacts for the test. |
KeyvaultReferenceIdentityId |
Resource Id of the managed identity referencing the Key vault. |
KeyvaultReferenceIdentityType |
Type of the managed identity referencing the Key vault. |
Kind |
Kind of test. |
LastModifiedBy |
The user that last modified. |
LastModifiedDateTime |
The last Modified datetime(RFC 3339 literal format). |
LoadTestConfiguration |
The load test configuration. |
MetricsReferenceIdentityId |
Resource Id of the managed identity referencing the metrics. |
MetricsReferenceIdentityType |
Type of the managed identity referencing the metrics. |
PassFailCriteria |
Pass fail criteria for a test. |
PublicIpDisabled |
Inject load test engines without deploying public IP for outbound access. |
Secrets |
Secrets can be stored in an Azure Key Vault or any other secret store. If the secret is stored in an Azure Key Vault, the value should be the secret identifier and the type should be AKV_SECRET_URI. If the secret is stored elsewhere, the secret value should be provided directly and the type should be SECRET_VALUE. |
SubnetId |
Subnet ID on which the load test instances should run. |
TestId |
Unique test identifier for the load test, must contain only lower-case alphabetic, numeric, underscore or hyphen characters. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<LoadTest>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<LoadTest>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<LoadTest>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<LoadTest>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<LoadTest>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |