次の方法で共有


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. Please note DevOpsOrganizationProfile is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DevOpsAzureOrganizationProfile and DevOpsGitHubOrganizationProfile.

agentProfile
DevOpsPoolAgentProfile

Defines how the machine will be handled once it executed a job. Please note DevOpsPoolAgentProfile is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DevOpsStateful and DevOpsStatelessAgentProfile.

fabricProfile
DevOpsFabricProfile

Defines the type of fabric the agent will run on. Please note DevOpsFabricProfile is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DevOpsVmssFabricProfile.

devCenterProjectResourceId
String

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

Exceptions

organizationProfile, agentProfile, fabricProfile or devCenterProjectResourceId is null.

Applies to