LoadTestingModelFactory.TestAppComponents 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 TestAppComponents.
public static Azure.Developer.LoadTesting.TestAppComponents TestAppComponents(System.Collections.Generic.IDictionary<string,Azure.Developer.LoadTesting.LoadTestingAppComponent> components = default, string testId = default, DateTimeOffset? createdDateTime = default, string createdBy = default, DateTimeOffset? lastModifiedDateTime = default, string lastModifiedBy = default);
static member TestAppComponents : System.Collections.Generic.IDictionary<string, Azure.Developer.LoadTesting.LoadTestingAppComponent> * string * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * string -> Azure.Developer.LoadTesting.TestAppComponents
Public Shared Function TestAppComponents (Optional components As IDictionary(Of String, LoadTestingAppComponent) = Nothing, Optional testId 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 TestAppComponents
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 }
- testId
- String
Test 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 TestAppComponents instance for mocking.