Condividi tramite


TestProfile Class

Definition

Test Profile Model.

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

Name Description
TestProfile()

Initializes a new instance of TestProfile.

Properties

Name Description
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.

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

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Operators

Name Description
Explicit(Response to TestProfile)

Explicit Interface Implementations

Name Description
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.

Applies to