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

DevOpsPoolProperties Constructor

Definition

Initializes a new instance of DevOpsPoolProperties.

public DevOpsPoolProperties(int maximumConcurrency, Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsOrganizationProfile organizationProfile, Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsPoolAgentProfile agentProfile, Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsFabricProfile fabricProfile, string devCenterProjectResourceId);
new Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsPoolProperties : int * Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsOrganizationProfile * Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsPoolAgentProfile * Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsFabricProfile * string -> Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsPoolProperties
Public Sub New (maximumConcurrency As Integer, organizationProfile As DevOpsOrganizationProfile, agentProfile As DevOpsPoolAgentProfile, fabricProfile As DevOpsFabricProfile, devCenterProjectResourceId As String)

Parameters

maximumConcurrency
Int32

Defines how many resources can there be created at any given time.

organizationProfile
DevOpsOrganizationProfile

Defines the organization in which the pool will be used.

agentProfile
DevOpsPoolAgentProfile

Defines how the machine will be handled once it executed a job.

fabricProfile
DevOpsFabricProfile

Defines the type of fabric the agent will run on.

devCenterProjectResourceId
String

The resource id of the DevCenter Project the pool belongs to.

Exceptions

organizationProfile, agentProfile, fabricProfile or devCenterProjectResourceId is null.

Applies to