azuredevops.ElasticPool
Explore with Pulumi AI
Manages Elastic pool within Azure DevOps.
Relevant Links
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var exampleProject = new AzureDevOps.Project("exampleProject", new()
{
Visibility = "private",
VersionControl = "Git",
WorkItemTemplate = "Agile",
Description = "Managed by Terraform",
});
var exampleServiceEndpointAzureRM = new AzureDevOps.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", new()
{
ProjectId = exampleProject.Id,
ServiceEndpointName = "Example Azure Connection",
Description = "Managed by Terraform",
ServiceEndpointAuthenticationScheme = "ServicePrincipal",
Credentials = new AzureDevOps.Inputs.ServiceEndpointAzureRMCredentialsArgs
{
Serviceprincipalid = "00000000-0000-0000-0000-000000000000",
Serviceprincipalkey = "00000000-0000-0000-0000-000000000000",
},
AzurermSpnTenantid = "00000000-0000-0000-0000-000000000000",
AzurermSubscriptionId = "00000000-0000-0000-0000-000000000000",
AzurermSubscriptionName = "Subscription Name",
});
var exampleElasticPool = new AzureDevOps.ElasticPool("exampleElasticPool", new()
{
ServiceEndpointId = exampleServiceEndpointAzureRM.Id,
ServiceEndpointScope = exampleProject.Id,
DesiredIdle = 2,
MaxCapacity = 3,
AzureResourceId = "/subscriptions/<Subscription Id>/resourceGroups/<Resource Name>/providers/Microsoft.Compute/virtualMachineScaleSets/<VMSS Name>",
});
});
package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v2/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
Visibility: pulumi.String("private"),
VersionControl: pulumi.String("Git"),
WorkItemTemplate: pulumi.String("Agile"),
Description: pulumi.String("Managed by Terraform"),
})
if err != nil {
return err
}
exampleServiceEndpointAzureRM, err := azuredevops.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{
ProjectId: exampleProject.ID(),
ServiceEndpointName: pulumi.String("Example Azure Connection"),
Description: pulumi.String("Managed by Terraform"),
ServiceEndpointAuthenticationScheme: pulumi.String("ServicePrincipal"),
Credentials: &azuredevops.ServiceEndpointAzureRMCredentialsArgs{
Serviceprincipalid: pulumi.String("00000000-0000-0000-0000-000000000000"),
Serviceprincipalkey: pulumi.String("00000000-0000-0000-0000-000000000000"),
},
AzurermSpnTenantid: pulumi.String("00000000-0000-0000-0000-000000000000"),
AzurermSubscriptionId: pulumi.String("00000000-0000-0000-0000-000000000000"),
AzurermSubscriptionName: pulumi.String("Subscription Name"),
})
if err != nil {
return err
}
_, err = azuredevops.NewElasticPool(ctx, "exampleElasticPool", &azuredevops.ElasticPoolArgs{
ServiceEndpointId: exampleServiceEndpointAzureRM.ID(),
ServiceEndpointScope: exampleProject.ID(),
DesiredIdle: pulumi.Int(2),
MaxCapacity: pulumi.Int(3),
AzureResourceId: pulumi.String("/subscriptions/<Subscription Id>/resourceGroups/<Resource Name>/providers/Microsoft.Compute/virtualMachineScaleSets/<VMSS Name>"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.Project;
import com.pulumi.azuredevops.ProjectArgs;
import com.pulumi.azuredevops.ServiceEndpointAzureRM;
import com.pulumi.azuredevops.ServiceEndpointAzureRMArgs;
import com.pulumi.azuredevops.inputs.ServiceEndpointAzureRMCredentialsArgs;
import com.pulumi.azuredevops.ElasticPool;
import com.pulumi.azuredevops.ElasticPoolArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleProject = new Project("exampleProject", ProjectArgs.builder()
.visibility("private")
.versionControl("Git")
.workItemTemplate("Agile")
.description("Managed by Terraform")
.build());
var exampleServiceEndpointAzureRM = new ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", ServiceEndpointAzureRMArgs.builder()
.projectId(exampleProject.id())
.serviceEndpointName("Example Azure Connection")
.description("Managed by Terraform")
.serviceEndpointAuthenticationScheme("ServicePrincipal")
.credentials(ServiceEndpointAzureRMCredentialsArgs.builder()
.serviceprincipalid("00000000-0000-0000-0000-000000000000")
.serviceprincipalkey("00000000-0000-0000-0000-000000000000")
.build())
.azurermSpnTenantid("00000000-0000-0000-0000-000000000000")
.azurermSubscriptionId("00000000-0000-0000-0000-000000000000")
.azurermSubscriptionName("Subscription Name")
.build());
var exampleElasticPool = new ElasticPool("exampleElasticPool", ElasticPoolArgs.builder()
.serviceEndpointId(exampleServiceEndpointAzureRM.id())
.serviceEndpointScope(exampleProject.id())
.desiredIdle(2)
.maxCapacity(3)
.azureResourceId("/subscriptions/<Subscription Id>/resourceGroups/<Resource Name>/providers/Microsoft.Compute/virtualMachineScaleSets/<VMSS Name>")
.build());
}
}
import pulumi
import pulumi_azuredevops as azuredevops
example_project = azuredevops.Project("exampleProject",
visibility="private",
version_control="Git",
work_item_template="Agile",
description="Managed by Terraform")
example_service_endpoint_azure_rm = azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM",
project_id=example_project.id,
service_endpoint_name="Example Azure Connection",
description="Managed by Terraform",
service_endpoint_authentication_scheme="ServicePrincipal",
credentials=azuredevops.ServiceEndpointAzureRMCredentialsArgs(
serviceprincipalid="00000000-0000-0000-0000-000000000000",
serviceprincipalkey="00000000-0000-0000-0000-000000000000",
),
azurerm_spn_tenantid="00000000-0000-0000-0000-000000000000",
azurerm_subscription_id="00000000-0000-0000-0000-000000000000",
azurerm_subscription_name="Subscription Name")
example_elastic_pool = azuredevops.ElasticPool("exampleElasticPool",
service_endpoint_id=example_service_endpoint_azure_rm.id,
service_endpoint_scope=example_project.id,
desired_idle=2,
max_capacity=3,
azure_resource_id="/subscriptions/<Subscription Id>/resourceGroups/<Resource Name>/providers/Microsoft.Compute/virtualMachineScaleSets/<VMSS Name>")
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const exampleProject = new azuredevops.Project("exampleProject", {
visibility: "private",
versionControl: "Git",
workItemTemplate: "Agile",
description: "Managed by Terraform",
});
const exampleServiceEndpointAzureRM = new azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", {
projectId: exampleProject.id,
serviceEndpointName: "Example Azure Connection",
description: "Managed by Terraform",
serviceEndpointAuthenticationScheme: "ServicePrincipal",
credentials: {
serviceprincipalid: "00000000-0000-0000-0000-000000000000",
serviceprincipalkey: "00000000-0000-0000-0000-000000000000",
},
azurermSpnTenantid: "00000000-0000-0000-0000-000000000000",
azurermSubscriptionId: "00000000-0000-0000-0000-000000000000",
azurermSubscriptionName: "Subscription Name",
});
const exampleElasticPool = new azuredevops.ElasticPool("exampleElasticPool", {
serviceEndpointId: exampleServiceEndpointAzureRM.id,
serviceEndpointScope: exampleProject.id,
desiredIdle: 2,
maxCapacity: 3,
azureResourceId: "/subscriptions/<Subscription Id>/resourceGroups/<Resource Name>/providers/Microsoft.Compute/virtualMachineScaleSets/<VMSS Name>",
});
resources:
exampleProject:
type: azuredevops:Project
properties:
visibility: private
versionControl: Git
workItemTemplate: Agile
description: Managed by Terraform
exampleServiceEndpointAzureRM:
type: azuredevops:ServiceEndpointAzureRM
properties:
projectId: ${exampleProject.id}
serviceEndpointName: Example Azure Connection
description: Managed by Terraform
serviceEndpointAuthenticationScheme: ServicePrincipal
credentials:
serviceprincipalid: 00000000-0000-0000-0000-000000000000
serviceprincipalkey: 00000000-0000-0000-0000-000000000000
azurermSpnTenantid: 00000000-0000-0000-0000-000000000000
azurermSubscriptionId: 00000000-0000-0000-0000-000000000000
azurermSubscriptionName: Subscription Name
exampleElasticPool:
type: azuredevops:ElasticPool
properties:
serviceEndpointId: ${exampleServiceEndpointAzureRM.id}
serviceEndpointScope: ${exampleProject.id}
desiredIdle: 2
maxCapacity: 3
azureResourceId: /subscriptions/<Subscription Id>/resourceGroups/<Resource Name>/providers/Microsoft.Compute/virtualMachineScaleSets/<VMSS Name>
Create ElasticPool Resource
new ElasticPool(name: string, args: ElasticPoolArgs, opts?: CustomResourceOptions);
@overload
def ElasticPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_interactive_ui: Optional[bool] = None,
auto_provision: Optional[bool] = None,
auto_update: Optional[bool] = None,
azure_resource_id: Optional[str] = None,
desired_idle: Optional[int] = None,
max_capacity: Optional[int] = None,
name: Optional[str] = None,
recycle_after_each_use: Optional[bool] = None,
service_endpoint_id: Optional[str] = None,
service_endpoint_scope: Optional[str] = None,
time_to_live_minutes: Optional[int] = None)
@overload
def ElasticPool(resource_name: str,
args: ElasticPoolArgs,
opts: Optional[ResourceOptions] = None)
func NewElasticPool(ctx *Context, name string, args ElasticPoolArgs, opts ...ResourceOption) (*ElasticPool, error)
public ElasticPool(string name, ElasticPoolArgs args, CustomResourceOptions? opts = null)
public ElasticPool(String name, ElasticPoolArgs args)
public ElasticPool(String name, ElasticPoolArgs args, CustomResourceOptions options)
type: azuredevops:ElasticPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ElasticPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ElasticPoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ElasticPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ElasticPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ElasticPoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ElasticPool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ElasticPool resource accepts the following input properties:
- Azure
Resource stringId The ID of the Azure resource.
- Desired
Idle int Number of agents to keep on standby.
- Max
Capacity int Maximum number of virtual machines in the scale set.
- Service
Endpoint stringId The ID of Service Endpoint used to connect to Azure.
- Service
Endpoint stringScope The Project ID of Service Endpoint belongs to.
- Agent
Interactive boolUi Set whether agents should be configured to run with interactive UI. Defaults to
false
.- Auto
Provision bool Specifies whether a queue should be automatically provisioned for each project collection. Defaults to
false
.- Auto
Update bool Specifies whether or not agents within the pool should be automatically updated. Defaults to
true
.- Name string
The name of the Elastic pool.
- Recycle
After boolEach Use Tear down virtual machines after every use. Defaults to
false
.- Time
To intLive Minutes Delay in minutes before deleting excess idle agents. Defaults to
30
.
- Azure
Resource stringId The ID of the Azure resource.
- Desired
Idle int Number of agents to keep on standby.
- Max
Capacity int Maximum number of virtual machines in the scale set.
- Service
Endpoint stringId The ID of Service Endpoint used to connect to Azure.
- Service
Endpoint stringScope The Project ID of Service Endpoint belongs to.
- Agent
Interactive boolUi Set whether agents should be configured to run with interactive UI. Defaults to
false
.- Auto
Provision bool Specifies whether a queue should be automatically provisioned for each project collection. Defaults to
false
.- Auto
Update bool Specifies whether or not agents within the pool should be automatically updated. Defaults to
true
.- Name string
The name of the Elastic pool.
- Recycle
After boolEach Use Tear down virtual machines after every use. Defaults to
false
.- Time
To intLive Minutes Delay in minutes before deleting excess idle agents. Defaults to
30
.
- azure
Resource StringId The ID of the Azure resource.
- desired
Idle Integer Number of agents to keep on standby.
- max
Capacity Integer Maximum number of virtual machines in the scale set.
- service
Endpoint StringId The ID of Service Endpoint used to connect to Azure.
- service
Endpoint StringScope The Project ID of Service Endpoint belongs to.
- agent
Interactive BooleanUi Set whether agents should be configured to run with interactive UI. Defaults to
false
.- auto
Provision Boolean Specifies whether a queue should be automatically provisioned for each project collection. Defaults to
false
.- auto
Update Boolean Specifies whether or not agents within the pool should be automatically updated. Defaults to
true
.- name String
The name of the Elastic pool.
- recycle
After BooleanEach Use Tear down virtual machines after every use. Defaults to
false
.- time
To IntegerLive Minutes Delay in minutes before deleting excess idle agents. Defaults to
30
.
- azure
Resource stringId The ID of the Azure resource.
- desired
Idle number Number of agents to keep on standby.
- max
Capacity number Maximum number of virtual machines in the scale set.
- service
Endpoint stringId The ID of Service Endpoint used to connect to Azure.
- service
Endpoint stringScope The Project ID of Service Endpoint belongs to.
- agent
Interactive booleanUi Set whether agents should be configured to run with interactive UI. Defaults to
false
.- auto
Provision boolean Specifies whether a queue should be automatically provisioned for each project collection. Defaults to
false
.- auto
Update boolean Specifies whether or not agents within the pool should be automatically updated. Defaults to
true
.- name string
The name of the Elastic pool.
- recycle
After booleanEach Use Tear down virtual machines after every use. Defaults to
false
.- time
To numberLive Minutes Delay in minutes before deleting excess idle agents. Defaults to
30
.
- azure_
resource_ strid The ID of the Azure resource.
- desired_
idle int Number of agents to keep on standby.
- max_
capacity int Maximum number of virtual machines in the scale set.
- service_
endpoint_ strid The ID of Service Endpoint used to connect to Azure.
- service_
endpoint_ strscope The Project ID of Service Endpoint belongs to.
- agent_
interactive_ boolui Set whether agents should be configured to run with interactive UI. Defaults to
false
.- auto_
provision bool Specifies whether a queue should be automatically provisioned for each project collection. Defaults to
false
.- auto_
update bool Specifies whether or not agents within the pool should be automatically updated. Defaults to
true
.- name str
The name of the Elastic pool.
- recycle_
after_ booleach_ use Tear down virtual machines after every use. Defaults to
false
.- time_
to_ intlive_ minutes Delay in minutes before deleting excess idle agents. Defaults to
30
.
- azure
Resource StringId The ID of the Azure resource.
- desired
Idle Number Number of agents to keep on standby.
- max
Capacity Number Maximum number of virtual machines in the scale set.
- service
Endpoint StringId The ID of Service Endpoint used to connect to Azure.
- service
Endpoint StringScope The Project ID of Service Endpoint belongs to.
- agent
Interactive BooleanUi Set whether agents should be configured to run with interactive UI. Defaults to
false
.- auto
Provision Boolean Specifies whether a queue should be automatically provisioned for each project collection. Defaults to
false
.- auto
Update Boolean Specifies whether or not agents within the pool should be automatically updated. Defaults to
true
.- name String
The name of the Elastic pool.
- recycle
After BooleanEach Use Tear down virtual machines after every use. Defaults to
false
.- time
To NumberLive Minutes Delay in minutes before deleting excess idle agents. Defaults to
30
.
Outputs
All input properties are implicitly available as output properties. Additionally, the ElasticPool resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing ElasticPool Resource
Get an existing ElasticPool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ElasticPoolState, opts?: CustomResourceOptions): ElasticPool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
agent_interactive_ui: Optional[bool] = None,
auto_provision: Optional[bool] = None,
auto_update: Optional[bool] = None,
azure_resource_id: Optional[str] = None,
desired_idle: Optional[int] = None,
max_capacity: Optional[int] = None,
name: Optional[str] = None,
recycle_after_each_use: Optional[bool] = None,
service_endpoint_id: Optional[str] = None,
service_endpoint_scope: Optional[str] = None,
time_to_live_minutes: Optional[int] = None) -> ElasticPool
func GetElasticPool(ctx *Context, name string, id IDInput, state *ElasticPoolState, opts ...ResourceOption) (*ElasticPool, error)
public static ElasticPool Get(string name, Input<string> id, ElasticPoolState? state, CustomResourceOptions? opts = null)
public static ElasticPool get(String name, Output<String> id, ElasticPoolState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Agent
Interactive boolUi Set whether agents should be configured to run with interactive UI. Defaults to
false
.- Auto
Provision bool Specifies whether a queue should be automatically provisioned for each project collection. Defaults to
false
.- Auto
Update bool Specifies whether or not agents within the pool should be automatically updated. Defaults to
true
.- Azure
Resource stringId The ID of the Azure resource.
- Desired
Idle int Number of agents to keep on standby.
- Max
Capacity int Maximum number of virtual machines in the scale set.
- Name string
The name of the Elastic pool.
- Recycle
After boolEach Use Tear down virtual machines after every use. Defaults to
false
.- Service
Endpoint stringId The ID of Service Endpoint used to connect to Azure.
- Service
Endpoint stringScope The Project ID of Service Endpoint belongs to.
- Time
To intLive Minutes Delay in minutes before deleting excess idle agents. Defaults to
30
.
- Agent
Interactive boolUi Set whether agents should be configured to run with interactive UI. Defaults to
false
.- Auto
Provision bool Specifies whether a queue should be automatically provisioned for each project collection. Defaults to
false
.- Auto
Update bool Specifies whether or not agents within the pool should be automatically updated. Defaults to
true
.- Azure
Resource stringId The ID of the Azure resource.
- Desired
Idle int Number of agents to keep on standby.
- Max
Capacity int Maximum number of virtual machines in the scale set.
- Name string
The name of the Elastic pool.
- Recycle
After boolEach Use Tear down virtual machines after every use. Defaults to
false
.- Service
Endpoint stringId The ID of Service Endpoint used to connect to Azure.
- Service
Endpoint stringScope The Project ID of Service Endpoint belongs to.
- Time
To intLive Minutes Delay in minutes before deleting excess idle agents. Defaults to
30
.
- agent
Interactive BooleanUi Set whether agents should be configured to run with interactive UI. Defaults to
false
.- auto
Provision Boolean Specifies whether a queue should be automatically provisioned for each project collection. Defaults to
false
.- auto
Update Boolean Specifies whether or not agents within the pool should be automatically updated. Defaults to
true
.- azure
Resource StringId The ID of the Azure resource.
- desired
Idle Integer Number of agents to keep on standby.
- max
Capacity Integer Maximum number of virtual machines in the scale set.
- name String
The name of the Elastic pool.
- recycle
After BooleanEach Use Tear down virtual machines after every use. Defaults to
false
.- service
Endpoint StringId The ID of Service Endpoint used to connect to Azure.
- service
Endpoint StringScope The Project ID of Service Endpoint belongs to.
- time
To IntegerLive Minutes Delay in minutes before deleting excess idle agents. Defaults to
30
.
- agent
Interactive booleanUi Set whether agents should be configured to run with interactive UI. Defaults to
false
.- auto
Provision boolean Specifies whether a queue should be automatically provisioned for each project collection. Defaults to
false
.- auto
Update boolean Specifies whether or not agents within the pool should be automatically updated. Defaults to
true
.- azure
Resource stringId The ID of the Azure resource.
- desired
Idle number Number of agents to keep on standby.
- max
Capacity number Maximum number of virtual machines in the scale set.
- name string
The name of the Elastic pool.
- recycle
After booleanEach Use Tear down virtual machines after every use. Defaults to
false
.- service
Endpoint stringId The ID of Service Endpoint used to connect to Azure.
- service
Endpoint stringScope The Project ID of Service Endpoint belongs to.
- time
To numberLive Minutes Delay in minutes before deleting excess idle agents. Defaults to
30
.
- agent_
interactive_ boolui Set whether agents should be configured to run with interactive UI. Defaults to
false
.- auto_
provision bool Specifies whether a queue should be automatically provisioned for each project collection. Defaults to
false
.- auto_
update bool Specifies whether or not agents within the pool should be automatically updated. Defaults to
true
.- azure_
resource_ strid The ID of the Azure resource.
- desired_
idle int Number of agents to keep on standby.
- max_
capacity int Maximum number of virtual machines in the scale set.
- name str
The name of the Elastic pool.
- recycle_
after_ booleach_ use Tear down virtual machines after every use. Defaults to
false
.- service_
endpoint_ strid The ID of Service Endpoint used to connect to Azure.
- service_
endpoint_ strscope The Project ID of Service Endpoint belongs to.
- time_
to_ intlive_ minutes Delay in minutes before deleting excess idle agents. Defaults to
30
.
- agent
Interactive BooleanUi Set whether agents should be configured to run with interactive UI. Defaults to
false
.- auto
Provision Boolean Specifies whether a queue should be automatically provisioned for each project collection. Defaults to
false
.- auto
Update Boolean Specifies whether or not agents within the pool should be automatically updated. Defaults to
true
.- azure
Resource StringId The ID of the Azure resource.
- desired
Idle Number Number of agents to keep on standby.
- max
Capacity Number Maximum number of virtual machines in the scale set.
- name String
The name of the Elastic pool.
- recycle
After BooleanEach Use Tear down virtual machines after every use. Defaults to
false
.- service
Endpoint StringId The ID of Service Endpoint used to connect to Azure.
- service
Endpoint StringScope The Project ID of Service Endpoint belongs to.
- time
To NumberLive Minutes Delay in minutes before deleting excess idle agents. Defaults to
30
.
Import
Azure DevOps Agent Pools can be imported using the Elastic pool ID, e.g.
$ pulumi import azuredevops:index/elasticPool:ElasticPool example 0
Package Details
- Repository
- Azure DevOps pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azuredevops
Terraform Provider.