LoadTestingModelFactory.TestRunAppComponents Method
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.
Initializes a new instance of TestRunAppComponents.
public static Azure.Developer.LoadTesting.TestRunAppComponents TestRunAppComponents(System.Collections.Generic.IDictionary<string,Azure.Developer.LoadTesting.LoadTestingAppComponent> components = default, string testRunId = default, DateTimeOffset? createdDateTime = default, string createdBy = default, DateTimeOffset? lastModifiedDateTime = default, string lastModifiedBy = default);
static member TestRunAppComponents : System.Collections.Generic.IDictionary<string, Azure.Developer.LoadTesting.LoadTestingAppComponent> * string * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * string -> Azure.Developer.LoadTesting.TestRunAppComponents
Public Shared Function TestRunAppComponents (Optional components As IDictionary(Of String, LoadTestingAppComponent) = Nothing, Optional testRunId As String = Nothing, Optional createdDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional createdBy As String = Nothing, Optional lastModifiedDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedBy As String = Nothing) As TestRunAppComponents
Parameters
- components
- IDictionary<String,LoadTestingAppComponent>
Azure resource collection { resource id (fully qualified resource Id e.g subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}) : resource object }
- testRunId
- String
Test run identifier.
- createdDateTime
- Nullable<DateTimeOffset>
The creation datetime(RFC 3339 literal format).
- createdBy
- String
The user that created.
- lastModifiedDateTime
- Nullable<DateTimeOffset>
The last Modified datetime(RFC 3339 literal format).
- lastModifiedBy
- String
The user that last modified.
Returns
A new TestRunAppComponents instance for mocking.