TestProfileRun 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.
The Test Profile Run Model. Test Profile Run resource enables you to instantiate an already created test profile and run load tests to get recommendations on the optimal configuration for the target resource.
public class TestProfileRun : System.ClientModel.Primitives.IJsonModel<Azure.Developer.LoadTesting.TestProfileRun>, System.ClientModel.Primitives.IPersistableModel<Azure.Developer.LoadTesting.TestProfileRun>
type TestProfileRun = class
interface IJsonModel<TestProfileRun>
interface IPersistableModel<TestProfileRun>
Public Class TestProfileRun
Implements IJsonModel(Of TestProfileRun), IPersistableModel(Of TestProfileRun)
- Inheritance
-
TestProfileRun
- Implements
Constructors
TestProfileRun() |
Initializes a new instance of TestProfileRun. |
Properties
CreatedBy |
The user that created. |
CreatedDateTime |
The creation datetime(RFC 3339 literal format). |
Description |
The test profile run description. |
DisplayName |
Display name for the test profile run. |
DurationInSeconds |
Test profile run duration in seconds. |
EndDateTime |
The test profile run end DateTime(RFC 3339 literal format). |
ErrorDetails |
Error details if there is any failure in test profile run. These errors are specific to the Test Profile Run. |
LastModifiedBy |
The user that last modified. |
LastModifiedDateTime |
The last Modified datetime(RFC 3339 literal format). |
Recommendations |
Recommendations provided based on a successful test profile run. |
StartDateTime |
The test profile run start DateTime(RFC 3339 literal format). |
Status |
The test profile run status. |
TargetResourceConfigurations |
Configurations of the target resource on which the test profile ran. Please note TargetResourceConfigurations is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include FunctionFlexConsumptionTargetResourceConfigurations. |
TargetResourceId |
Target resource ID on which the test profile run is created. |
TestProfileId |
Associated test profile ID for the test profile run. This is required to create a test profile run and can't be updated. |
TestProfileRunId |
Unique identifier for the test profile run, must contain only lower-case alphabetic, numeric, underscore or hyphen characters. |
TestRunDetails |
Details of the test runs ran as part of the test profile run. Key is the testRunId of the corresponding testRun. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<TestProfileRun>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<TestProfileRun>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<TestProfileRun>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<TestProfileRun>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<TestProfileRun>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |