TestProfile Class
- java.
lang. Object - com.
azure. developer. loadtesting. models. TestProfile
- com.
Implements
public final class TestProfile
implements JsonSerializable<TestProfile>
Test Profile Model. 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.
Constructor Summary
| Constructor | Description |
|---|---|
| TestProfile() |
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: Description for the test profile. |
| String |
getDisplayName()
Get the display |
| String |
getLastModifiedBy()
Get the last |
|
Offset |
getLastModifiedDateTime()
Get the last |
|
Target |
getTargetResourceConfigurations()
Get the target |
| String |
getTargetResourceId()
Get the target |
| String |
getTestId()
Get the test |
| String |
getTestProfileId()
Get the test |
|
Test |
setDescription(String description)
Set the description property: Description for the test profile. |
|
Test |
setDisplayName(String displayName)
Set the display |
|
Test |
setTargetResourceConfigurations(TargetResourceConfigurations targetResourceConfigurations)
Set the target |
|
Test |
setTargetResourceId(String targetResourceId)
Set the target |
|
Test |
setTestId(String testId)
Set the test |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
TestProfile
public TestProfile()
Creates an instance of TestProfile class.
Method Details
fromJson
public static TestProfile fromJson(JsonReader jsonReader)
Reads an instance of TestProfile 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: Description for the test profile.
Returns:
getDisplayName
public String getDisplayName()
Get the displayName property: Display name of the test profile.
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:
getTargetResourceConfigurations
public TargetResourceConfigurations getTargetResourceConfigurations()
Get the targetResourceConfigurations property: Configurations of the target resource on which testing would be done.
Returns:
getTargetResourceId
public String getTargetResourceId()
Get the targetResourceId property: 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.
Returns:
getTestId
public String getTestId()
Get the testId property: Associated test ID for the test profile. This property is required for creating a Test Profile and it's not allowed to be updated.
Returns:
getTestProfileId
public String getTestProfileId()
Get the testProfileId property: Unique identifier for the test profile, must contain only lower-case alphabetic, numeric, underscore or hyphen characters.
Returns:
setDescription
public TestProfile setDescription(String description)
Set the description property: Description for the test profile.
Parameters:
Returns:
setDisplayName
public TestProfile setDisplayName(String displayName)
Set the displayName property: Display name of the test profile.
Parameters:
Returns:
setTargetResourceConfigurations
public TestProfile setTargetResourceConfigurations(TargetResourceConfigurations targetResourceConfigurations)
Set the targetResourceConfigurations property: Configurations of the target resource on which testing would be done.
Parameters:
Returns:
setTargetResourceId
public TestProfile setTargetResourceId(String targetResourceId)
Set the targetResourceId property: 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.
Parameters:
Returns:
setTestId
public TestProfile setTestId(String testId)
Set the testId property: Associated test ID for the test profile. This property is required for creating a Test Profile and it's not allowed to be updated.
Parameters:
Returns: