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

LoadTestingModelFactory.TestProfileRunRecommendation Method

Definition

Initializes a new instance of TestProfileRunRecommendation.

public static Azure.Developer.LoadTesting.TestProfileRunRecommendation TestProfileRunRecommendation(Azure.Developer.LoadTesting.RecommendationCategory category = default, System.Collections.Generic.IEnumerable<string> configurations = default);
static member TestProfileRunRecommendation : Azure.Developer.LoadTesting.RecommendationCategory * seq<string> -> Azure.Developer.LoadTesting.TestProfileRunRecommendation
Public Shared Function TestProfileRunRecommendation (Optional category As RecommendationCategory = Nothing, Optional configurations As IEnumerable(Of String) = Nothing) As TestProfileRunRecommendation

Parameters

category
RecommendationCategory

Category of the recommendation.

configurations
IEnumerable<String>

List of configurations IDs for which the recommendation is applicable. These are a subset of the provided target resource configurations.

Returns

A new TestProfileRunRecommendation instance for mocking.

Applies to