Share via


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