语言

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

ArmDevOpsInfrastructureModelFactory.DevOpsPoolAgentProfile Method

Definition

The agent profile of the machines in the pool. Please note this is the abstract base class. The derived classes available for instantiation are: DevOpsStatelessAgentProfile and DevOpsStateful.

public static Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsPoolAgentProfile DevOpsPoolAgentProfile(string kind = default, Azure.ResourceManager.DevOpsInfrastructure.Models.ResourcePredictions resourcePredictions = default, Azure.ResourceManager.DevOpsInfrastructure.Models.ResourcePredictionsProfile resourcePredictionsProfile = default);
static member DevOpsPoolAgentProfile : string * Azure.ResourceManager.DevOpsInfrastructure.Models.ResourcePredictions * Azure.ResourceManager.DevOpsInfrastructure.Models.ResourcePredictionsProfile -> Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsPoolAgentProfile
Public Shared Function DevOpsPoolAgentProfile (Optional kind As String = Nothing, Optional resourcePredictions As ResourcePredictions = Nothing, Optional resourcePredictionsProfile As ResourcePredictionsProfile = Nothing) As DevOpsPoolAgentProfile

Parameters

kind
String

Discriminator property for DevOpsPoolAgentProfile.

resourcePredictions
ResourcePredictions

Defines pool buffer/stand-by agents.

resourcePredictionsProfile
ResourcePredictionsProfile

Defines how the pool buffer/stand-by agents is provided.

Returns

A new DevOpsPoolAgentProfile instance for mocking.

Applies to