TestProfile 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 Model. A Test Profile resource enables you to set up a test profile which contains various configurations for a supported resource type and a load test to execute on that resource.
public class TestProfile : System.ClientModel.Primitives.IJsonModel<Azure.Developer.LoadTesting.TestProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.Developer.LoadTesting.TestProfile>
type TestProfile = class
interface IJsonModel<TestProfile>
interface IPersistableModel<TestProfile>
Public Class TestProfile
Implements IJsonModel(Of TestProfile), IPersistableModel(Of TestProfile)
- Inheritance
-
TestProfile
- Implements
Constructors
TestProfile() |
Initializes a new instance of TestProfile. |
Properties
CreatedBy |
The user that created. |
CreatedDateTime |
The creation datetime(RFC 3339 literal format). |
Description |
Description for the test profile. |
DisplayName |
Display name of the test profile. |
LastModifiedBy |
The user that last modified. |
LastModifiedDateTime |
The last Modified datetime(RFC 3339 literal format). |
TargetResourceConfigurations |
Configurations of the target resource on which testing would be done. 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 is created. This property is required for creating a Test Profile and it's not allowed to be updated. |
TestId |
Associated test ID for the test profile. This property is required for creating a Test Profile and it's not allowed to be updated. |
TestProfileId |
Unique identifier for the test profile, must contain only lower-case alphabetic, numeric, underscore or hyphen characters. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<TestProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<TestProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<TestProfile>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<TestProfile>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<TestProfile>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |