你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LoadTestingModelFactory.TestRunAppComponents Method

Definition

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.

Applies to