TestProfileRun Class
- java.
lang. Object - com.
azure. developer. loadtesting. models. TestProfileRun
- com.
Implements
public final class TestProfileRun
implements JsonSerializable<TestProfileRun>
Test Profile Run model. 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.
Constructor Summary
| Constructor | Description |
|---|---|
| TestProfileRun() |
Creates an instance of Test |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Test |
fromJson(JsonReader jsonReader)
Reads an instance of Test |
| String |
getCreatedBy()
Get the created |
|
Offset |
getCreatedDateTime()
Get the created |
| String |
getDescription()
Get the description property: The test profile run description. |
| String |
getDisplayName()
Get the display |
| Long |
getDurationInSeconds()
Get the duration |
|
Offset |
getEndDateTime()
Get the end |
|
List<Error |
getErrorDetails()
Get the error |
| String |
getLastModifiedBy()
Get the last |
|
Offset |
getLastModifiedDateTime()
Get the last |
|
List<Test |
getRecommendations()
Get the recommendations property: Recommendations provided based on a successful test profile run. |
|
Offset |
getStartDateTime()
Get the start |
|
Test |
getStatus()
Get the status property: The test profile run status. |
|
Target |
getTargetResourceConfigurations()
Get the target |
| String |
getTargetResourceId()
Get the target |
| String |
getTestProfileId()
Get the test |
| String |
getTestProfileRunId()
Get the test |
|
Map<String,Test |
getTestRunDetails()
Get the test |
|
Test |
setDescription(String description)
Set the description property: The test profile run description. |
|
Test |
setDisplayName(String displayName)
Set the display |
|
Test |
setTestProfileId(String testProfileId)
Set the test |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
TestProfileRun
public TestProfileRun()
Creates an instance of TestProfileRun class.
Method Details
fromJson
public static TestProfileRun fromJson(JsonReader jsonReader)
Reads an instance of TestProfileRun from the JsonReader.
Parameters:
Returns:
Throws:
getCreatedBy
public String getCreatedBy()
Get the createdBy property: The user that created.
Returns:
getCreatedDateTime
public OffsetDateTime getCreatedDateTime()
Get the createdDateTime property: The creation datetime(RFC 3339 literal format).
Returns:
getDescription
public String getDescription()
Get the description property: The test profile run description.
Returns:
getDisplayName
public String getDisplayName()
Get the displayName property: Display name for the test profile run.
Returns:
getDurationInSeconds
public Long getDurationInSeconds()
Get the durationInSeconds property: Test profile run duration in seconds.
Returns:
getEndDateTime
public OffsetDateTime getEndDateTime()
Get the endDateTime property: The test profile run end DateTime(RFC 3339 literal format).
Returns:
getErrorDetails
public List<ErrorDetails> getErrorDetails()
Get the errorDetails property: Error details if there is any failure in test profile run. These errors are specific to the Test Profile Run.
Returns:
getLastModifiedBy
public String getLastModifiedBy()
Get the lastModifiedBy property: The user that last modified.
Returns:
getLastModifiedDateTime
public OffsetDateTime getLastModifiedDateTime()
Get the lastModifiedDateTime property: The last Modified datetime(RFC 3339 literal format).
Returns:
getRecommendations
public List<TestProfileRunRecommendation> getRecommendations()
Get the recommendations property: Recommendations provided based on a successful test profile run.
Returns:
getStartDateTime
public OffsetDateTime getStartDateTime()
Get the startDateTime property: The test profile run start DateTime(RFC 3339 literal format).
Returns:
getStatus
public TestProfileRunStatus getStatus()
Get the status property: The test profile run status.
Returns:
getTargetResourceConfigurations
public TargetResourceConfigurations getTargetResourceConfigurations()
Get the targetResourceConfigurations property: Configurations of the target resource on which the test profile ran.
Returns:
getTargetResourceId
public String getTargetResourceId()
Get the targetResourceId property: Target resource ID on which the test profile run is created.
Returns:
getTestProfileId
public String getTestProfileId()
Get the testProfileId property: Associated test profile ID for the test profile run. This is required to create a test profile run and can't be updated.
Returns:
getTestProfileRunId
public String getTestProfileRunId()
Get the testProfileRunId property: Unique identifier for the test profile run, must contain only lower-case alphabetic, numeric, underscore or hyphen characters.
Returns:
getTestRunDetails
public Map<String,TestRunDetail> getTestRunDetails()
Get the testRunDetails property: Details of the test runs ran as part of the test profile run. Key is the testRunId of the corresponding testRun.
Returns:
setDescription
public TestProfileRun setDescription(String description)
Set the description property: The test profile run description.
Parameters:
Returns:
setDisplayName
public TestProfileRun setDisplayName(String displayName)
Set the displayName property: Display name for the test profile run.
Parameters:
Returns:
setTestProfileId
public TestProfileRun setTestProfileId(String testProfileId)
Set the testProfileId property: Associated test profile ID for the test profile run. This is required to create a test profile run and can't be updated.
Parameters:
Returns: