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

LoadTestingModelFactory.LoadTestingAppComponent Method

Definition

Initializes a new instance of LoadTestingAppComponent.

public static Azure.Developer.LoadTesting.LoadTestingAppComponent LoadTestingAppComponent(Azure.Core.ResourceIdentifier resourceId = default, string resourceName = default, string resourceType = default, string displayName = default, string resourceGroup = default, string subscriptionId = default, string kind = default);
static member LoadTestingAppComponent : Azure.Core.ResourceIdentifier * string * string * string * string * string * string -> Azure.Developer.LoadTesting.LoadTestingAppComponent
Public Shared Function LoadTestingAppComponent (Optional resourceId As ResourceIdentifier = Nothing, Optional resourceName As String = Nothing, Optional resourceType As String = Nothing, Optional displayName As String = Nothing, Optional resourceGroup As String = Nothing, Optional subscriptionId As String = Nothing, Optional kind As String = Nothing) As LoadTestingAppComponent

Parameters

resourceId
ResourceIdentifier

fully qualified resource Id e.g subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}.

resourceName
String

Azure resource name, required while creating the app component.

resourceType
String

Azure resource type, required while creating the app component.

displayName
String

Azure resource display name.

resourceGroup
String

Resource group name of the Azure resource.

subscriptionId
String

Subscription Id of the Azure resource.

kind
String

Kind of Azure resource type.

Returns

A new LoadTestingAppComponent instance for mocking.

Applies to