Azure DevOps v3.10.2 published on Wednesday, Oct 22, 2025 by Pulumi
azuredevops.getBuildDefinition
Start a Neo task
Explain and create an azuredevops.getBuildDefinition resource
Use this data source to access information about an existing Build Definition.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = azuredevops.getProject({
name: "Example Project",
});
const exampleGetBuildDefinition = example.then(example => azuredevops.getBuildDefinition({
projectId: example.id,
name: "existing",
}));
export const id = exampleGetBuildDefinition.then(exampleGetBuildDefinition => exampleGetBuildDefinition.id);
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.get_project(name="Example Project")
example_get_build_definition = azuredevops.get_build_definition(project_id=example.id,
name="existing")
pulumi.export("id", example_get_build_definition.id)
package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
Name: pulumi.StringRef("Example Project"),
}, nil)
if err != nil {
return err
}
exampleGetBuildDefinition, err := azuredevops.LookupBuildDefinition(ctx, &azuredevops.LookupBuildDefinitionArgs{
ProjectId: example.Id,
Name: "existing",
}, nil)
if err != nil {
return err
}
ctx.Export("id", exampleGetBuildDefinition.Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = AzureDevOps.GetProject.Invoke(new()
{
Name = "Example Project",
});
var exampleGetBuildDefinition = AzureDevOps.GetBuildDefinition.Invoke(new()
{
ProjectId = example.Apply(getProjectResult => getProjectResult.Id),
Name = "existing",
});
return new Dictionary<string, object?>
{
["id"] = exampleGetBuildDefinition.Apply(getBuildDefinitionResult => getBuildDefinitionResult.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.AzuredevopsFunctions;
import com.pulumi.azuredevops.inputs.GetProjectArgs;
import com.pulumi.azuredevops.inputs.GetBuildDefinitionArgs;
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) {
final var example = AzuredevopsFunctions.getProject(GetProjectArgs.builder()
.name("Example Project")
.build());
final var exampleGetBuildDefinition = AzuredevopsFunctions.getBuildDefinition(GetBuildDefinitionArgs.builder()
.projectId(example.id())
.name("existing")
.build());
ctx.export("id", exampleGetBuildDefinition.id());
}
}
variables:
example:
fn::invoke:
function: azuredevops:getProject
arguments:
name: Example Project
exampleGetBuildDefinition:
fn::invoke:
function: azuredevops:getBuildDefinition
arguments:
projectId: ${example.id}
name: existing
outputs:
id: ${exampleGetBuildDefinition.id}
Using getBuildDefinition
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBuildDefinition(args: GetBuildDefinitionArgs, opts?: InvokeOptions): Promise<GetBuildDefinitionResult>
function getBuildDefinitionOutput(args: GetBuildDefinitionOutputArgs, opts?: InvokeOptions): Output<GetBuildDefinitionResult>def get_build_definition(name: Optional[str] = None,
path: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBuildDefinitionResult
def get_build_definition_output(name: Optional[pulumi.Input[str]] = None,
path: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBuildDefinitionResult]func LookupBuildDefinition(ctx *Context, args *LookupBuildDefinitionArgs, opts ...InvokeOption) (*LookupBuildDefinitionResult, error)
func LookupBuildDefinitionOutput(ctx *Context, args *LookupBuildDefinitionOutputArgs, opts ...InvokeOption) LookupBuildDefinitionResultOutput> Note: This function is named LookupBuildDefinition in the Go SDK.
public static class GetBuildDefinition
{
public static Task<GetBuildDefinitionResult> InvokeAsync(GetBuildDefinitionArgs args, InvokeOptions? opts = null)
public static Output<GetBuildDefinitionResult> Invoke(GetBuildDefinitionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBuildDefinitionResult> getBuildDefinition(GetBuildDefinitionArgs args, InvokeOptions options)
public static Output<GetBuildDefinitionResult> getBuildDefinition(GetBuildDefinitionArgs args, InvokeOptions options)
fn::invoke:
function: azuredevops:index/getBuildDefinition:getBuildDefinition
arguments:
# arguments dictionaryThe following arguments are supported:
- name str
- The name of this Build Definition.
- project_
id str - The ID of the project.
- path str
- The path of the build definition. Default to
\.
getBuildDefinition Result
The following output properties are available:
- Agent
Pool stringName - The agent pool that should execute the build.
- Agent
Specification string - The Agent Specification to run the pipelines. Example:
windows-2019,windows-latest,macos-13etc. - Ci
Triggers List<Pulumi.Azure Dev Ops. Outputs. Get Build Definition Ci Trigger> - A
ci_triggerblock as defined below. - Id string
- The provider-assigned unique ID for this managed resource.
- string
- The job authorization scope for builds queued against this definition.
- Jobs
List<Pulumi.
Azure Dev Ops. Outputs. Get Build Definition Job> - A
jobsblocks as documented below. - Name string
- The name of the variable.
- Project
Id string - Pull
Request List<Pulumi.Triggers Azure Dev Ops. Outputs. Get Build Definition Pull Request Trigger> - A
pull_request_triggerblock as defined below. - Queue
Status string - The queue status of the build definition.
- Repositories
List<Pulumi.
Azure Dev Ops. Outputs. Get Build Definition Repository> - A
repositoryblock as defined below. - Revision int
- The revision of the build definition.
- Schedules
List<Pulumi.
Azure Dev Ops. Outputs. Get Build Definition Schedule> - A
schedulesblock as defined below. - Variable
Groups List<int> - A list of variable group IDs.
- Variables
List<Pulumi.
Azure Dev Ops. Outputs. Get Build Definition Variable> - A
variableblock as defined below. - Path string
- Agent
Pool stringName - The agent pool that should execute the build.
- Agent
Specification string - The Agent Specification to run the pipelines. Example:
windows-2019,windows-latest,macos-13etc. - Ci
Triggers []GetBuild Definition Ci Trigger - A
ci_triggerblock as defined below. - Id string
- The provider-assigned unique ID for this managed resource.
- string
- The job authorization scope for builds queued against this definition.
- Jobs
[]Get
Build Definition Job - A
jobsblocks as documented below. - Name string
- The name of the variable.
- Project
Id string - Pull
Request []GetTriggers Build Definition Pull Request Trigger - A
pull_request_triggerblock as defined below. - Queue
Status string - The queue status of the build definition.
- Repositories
[]Get
Build Definition Repository - A
repositoryblock as defined below. - Revision int
- The revision of the build definition.
- Schedules
[]Get
Build Definition Schedule - A
schedulesblock as defined below. - Variable
Groups []int - A list of variable group IDs.
- Variables
[]Get
Build Definition Variable - A
variableblock as defined below. - Path string
- agent
Pool StringName - The agent pool that should execute the build.
- agent
Specification String - The Agent Specification to run the pipelines. Example:
windows-2019,windows-latest,macos-13etc. - ci
Triggers List<GetBuild Definition Ci Trigger> - A
ci_triggerblock as defined below. - id String
- The provider-assigned unique ID for this managed resource.
- String
- The job authorization scope for builds queued against this definition.
- jobs
List<Get
Build Definition Job> - A
jobsblocks as documented below. - name String
- The name of the variable.
- project
Id String - pull
Request List<GetTriggers Build Definition Pull Request Trigger> - A
pull_request_triggerblock as defined below. - queue
Status String - The queue status of the build definition.
- repositories
List<Get
Build Definition Repository> - A
repositoryblock as defined below. - revision Integer
- The revision of the build definition.
- schedules
List<Get
Build Definition Schedule> - A
schedulesblock as defined below. - variable
Groups List<Integer> - A list of variable group IDs.
- variables
List<Get
Build Definition Variable> - A
variableblock as defined below. - path String
- agent
Pool stringName - The agent pool that should execute the build.
- agent
Specification string - The Agent Specification to run the pipelines. Example:
windows-2019,windows-latest,macos-13etc. - ci
Triggers GetBuild Definition Ci Trigger[] - A
ci_triggerblock as defined below. - id string
- The provider-assigned unique ID for this managed resource.
- string
- The job authorization scope for builds queued against this definition.
- jobs
Get
Build Definition Job[] - A
jobsblocks as documented below. - name string
- The name of the variable.
- project
Id string - pull
Request GetTriggers Build Definition Pull Request Trigger[] - A
pull_request_triggerblock as defined below. - queue
Status string - The queue status of the build definition.
- repositories
Get
Build Definition Repository[] - A
repositoryblock as defined below. - revision number
- The revision of the build definition.
- schedules
Get
Build Definition Schedule[] - A
schedulesblock as defined below. - variable
Groups number[] - A list of variable group IDs.
- variables
Get
Build Definition Variable[] - A
variableblock as defined below. - path string
- agent_
pool_ strname - The agent pool that should execute the build.
- agent_
specification str - The Agent Specification to run the pipelines. Example:
windows-2019,windows-latest,macos-13etc. - ci_
triggers Sequence[GetBuild Definition Ci Trigger] - A
ci_triggerblock as defined below. - id str
- The provider-assigned unique ID for this managed resource.
- str
- The job authorization scope for builds queued against this definition.
- jobs
Sequence[Get
Build Definition Job] - A
jobsblocks as documented below. - name str
- The name of the variable.
- project_
id str - pull_
request_ Sequence[Gettriggers Build Definition Pull Request Trigger] - A
pull_request_triggerblock as defined below. - queue_
status str - The queue status of the build definition.
- repositories
Sequence[Get
Build Definition Repository] - A
repositoryblock as defined below. - revision int
- The revision of the build definition.
- schedules
Sequence[Get
Build Definition Schedule] - A
schedulesblock as defined below. - variable_
groups Sequence[int] - A list of variable group IDs.
- variables
Sequence[Get
Build Definition Variable] - A
variableblock as defined below. - path str
- agent
Pool StringName - The agent pool that should execute the build.
- agent
Specification String - The Agent Specification to run the pipelines. Example:
windows-2019,windows-latest,macos-13etc. - ci
Triggers List<Property Map> - A
ci_triggerblock as defined below. - id String
- The provider-assigned unique ID for this managed resource.
- String
- The job authorization scope for builds queued against this definition.
- jobs List<Property Map>
- A
jobsblocks as documented below. - name String
- The name of the variable.
- project
Id String - pull
Request List<Property Map>Triggers - A
pull_request_triggerblock as defined below. - queue
Status String - The queue status of the build definition.
- repositories List<Property Map>
- A
repositoryblock as defined below. - revision Number
- The revision of the build definition.
- schedules List<Property Map>
- A
schedulesblock as defined below. - variable
Groups List<Number> - A list of variable group IDs.
- variables List<Property Map>
- A
variableblock as defined below. - path String
Supporting Types
GetBuildDefinitionCiTrigger
- Overrides
List<Pulumi.
Azure Dev Ops. Inputs. Get Build Definition Ci Trigger Override> - A
overrideblock as defined below. - Use
Yaml bool - Use the azure-pipeline file for the build configuration.
- Overrides
[]Get
Build Definition Ci Trigger Override - A
overrideblock as defined below. - Use
Yaml bool - Use the azure-pipeline file for the build configuration.
- overrides
List<Get
Build Definition Ci Trigger Override> - A
overrideblock as defined below. - use
Yaml Boolean - Use the azure-pipeline file for the build configuration.
- overrides
Get
Build Definition Ci Trigger Override[] - A
overrideblock as defined below. - use
Yaml boolean - Use the azure-pipeline file for the build configuration.
- overrides
Sequence[Get
Build Definition Ci Trigger Override] - A
overrideblock as defined below. - use_
yaml bool - Use the azure-pipeline file for the build configuration.
- overrides List<Property Map>
- A
overrideblock as defined below. - use
Yaml Boolean - Use the azure-pipeline file for the build configuration.
GetBuildDefinitionCiTriggerOverride
- Batch bool
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- Branch
Filters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Ci Trigger Override Branch Filter> - A
branch_filterblock as defined above. - Max
Concurrent intBuilds Per Branch - The number of max builds per branch.
- Path
Filters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Ci Trigger Override Path Filter> - The file paths to include or exclude. A
path_filterblock as defined above. - Polling
Interval int - How often the external repository is polled.
- Polling
Job stringId - This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- Batch bool
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- Branch
Filters []GetBuild Definition Ci Trigger Override Branch Filter - A
branch_filterblock as defined above. - Max
Concurrent intBuilds Per Branch - The number of max builds per branch.
- Path
Filters []GetBuild Definition Ci Trigger Override Path Filter - The file paths to include or exclude. A
path_filterblock as defined above. - Polling
Interval int - How often the external repository is polled.
- Polling
Job stringId - This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- batch Boolean
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- branch
Filters List<GetBuild Definition Ci Trigger Override Branch Filter> - A
branch_filterblock as defined above. - max
Concurrent IntegerBuilds Per Branch - The number of max builds per branch.
- path
Filters List<GetBuild Definition Ci Trigger Override Path Filter> - The file paths to include or exclude. A
path_filterblock as defined above. - polling
Interval Integer - How often the external repository is polled.
- polling
Job StringId - This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- batch boolean
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- branch
Filters GetBuild Definition Ci Trigger Override Branch Filter[] - A
branch_filterblock as defined above. - max
Concurrent numberBuilds Per Branch - The number of max builds per branch.
- path
Filters GetBuild Definition Ci Trigger Override Path Filter[] - The file paths to include or exclude. A
path_filterblock as defined above. - polling
Interval number - How often the external repository is polled.
- polling
Job stringId - This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- batch bool
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- branch_
filters Sequence[GetBuild Definition Ci Trigger Override Branch Filter] - A
branch_filterblock as defined above. - max_
concurrent_ intbuilds_ per_ branch - The number of max builds per branch.
- path_
filters Sequence[GetBuild Definition Ci Trigger Override Path Filter] - The file paths to include or exclude. A
path_filterblock as defined above. - polling_
interval int - How often the external repository is polled.
- polling_
job_ strid - This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- batch Boolean
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- branch
Filters List<Property Map> - A
branch_filterblock as defined above. - max
Concurrent NumberBuilds Per Branch - The number of max builds per branch.
- path
Filters List<Property Map> - The file paths to include or exclude. A
path_filterblock as defined above. - polling
Interval Number - How often the external repository is polled.
- polling
Job StringId - This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
GetBuildDefinitionCiTriggerOverrideBranchFilter
GetBuildDefinitionCiTriggerOverridePathFilter
GetBuildDefinitionJob
- Allow
Scripts boolAuth Access Option - Enables scripts and other processes launched by tasks to access the OAuth token through the
System.AccessTokenvariable. - Condition string
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. More details: Pipeline conditions
- Dependencies
List<Pulumi.
Azure Dev Ops. Inputs. Get Build Definition Job Dependency> - A
dependenciesblocks as documented below. Define the job dependencies. - string
- The job authorization scope for builds queued against this definition.
- Job
Cancel intTimeout In Minutes - The job cancel timeout (in minutes) for builds cancelled by user for this definition.
- Job
Timeout intIn Minutes - The job execution timeout (in minutes) for builds queued against this definition.
- Name string
- The name of this Build Definition.
- Ref
Name string - The reference name of the job, can be used to define the job dependencies.
- Targets
List<Pulumi.
Azure Dev Ops. Inputs. Get Build Definition Job Target> - A
targetblocks as documented below.
- Allow
Scripts boolAuth Access Option - Enables scripts and other processes launched by tasks to access the OAuth token through the
System.AccessTokenvariable. - Condition string
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. More details: Pipeline conditions
- Dependencies
[]Get
Build Definition Job Dependency - A
dependenciesblocks as documented below. Define the job dependencies. - string
- The job authorization scope for builds queued against this definition.
- Job
Cancel intTimeout In Minutes - The job cancel timeout (in minutes) for builds cancelled by user for this definition.
- Job
Timeout intIn Minutes - The job execution timeout (in minutes) for builds queued against this definition.
- Name string
- The name of this Build Definition.
- Ref
Name string - The reference name of the job, can be used to define the job dependencies.
- Targets
[]Get
Build Definition Job Target - A
targetblocks as documented below.
- allow
Scripts BooleanAuth Access Option - Enables scripts and other processes launched by tasks to access the OAuth token through the
System.AccessTokenvariable. - condition String
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. More details: Pipeline conditions
- dependencies
List<Get
Build Definition Job Dependency> - A
dependenciesblocks as documented below. Define the job dependencies. - String
- The job authorization scope for builds queued against this definition.
- job
Cancel IntegerTimeout In Minutes - The job cancel timeout (in minutes) for builds cancelled by user for this definition.
- job
Timeout IntegerIn Minutes - The job execution timeout (in minutes) for builds queued against this definition.
- name String
- The name of this Build Definition.
- ref
Name String - The reference name of the job, can be used to define the job dependencies.
- targets
List<Get
Build Definition Job Target> - A
targetblocks as documented below.
- allow
Scripts booleanAuth Access Option - Enables scripts and other processes launched by tasks to access the OAuth token through the
System.AccessTokenvariable. - condition string
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. More details: Pipeline conditions
- dependencies
Get
Build Definition Job Dependency[] - A
dependenciesblocks as documented below. Define the job dependencies. - string
- The job authorization scope for builds queued against this definition.
- job
Cancel numberTimeout In Minutes - The job cancel timeout (in minutes) for builds cancelled by user for this definition.
- job
Timeout numberIn Minutes - The job execution timeout (in minutes) for builds queued against this definition.
- name string
- The name of this Build Definition.
- ref
Name string - The reference name of the job, can be used to define the job dependencies.
- targets
Get
Build Definition Job Target[] - A
targetblocks as documented below.
- allow_
scripts_ boolauth_ access_ option - Enables scripts and other processes launched by tasks to access the OAuth token through the
System.AccessTokenvariable. - condition str
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. More details: Pipeline conditions
- dependencies
Sequence[Get
Build Definition Job Dependency] - A
dependenciesblocks as documented below. Define the job dependencies. - str
- The job authorization scope for builds queued against this definition.
- job_
cancel_ inttimeout_ in_ minutes - The job cancel timeout (in minutes) for builds cancelled by user for this definition.
- job_
timeout_ intin_ minutes - The job execution timeout (in minutes) for builds queued against this definition.
- name str
- The name of this Build Definition.
- ref_
name str - The reference name of the job, can be used to define the job dependencies.
- targets
Sequence[Get
Build Definition Job Target] - A
targetblocks as documented below.
- allow
Scripts BooleanAuth Access Option - Enables scripts and other processes launched by tasks to access the OAuth token through the
System.AccessTokenvariable. - condition String
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. More details: Pipeline conditions
- dependencies List<Property Map>
- A
dependenciesblocks as documented below. Define the job dependencies. - String
- The job authorization scope for builds queued against this definition.
- job
Cancel NumberTimeout In Minutes - The job cancel timeout (in minutes) for builds cancelled by user for this definition.
- job
Timeout NumberIn Minutes - The job execution timeout (in minutes) for builds queued against this definition.
- name String
- The name of this Build Definition.
- ref
Name String - The reference name of the job, can be used to define the job dependencies.
- targets List<Property Map>
- A
targetblocks as documented below.
GetBuildDefinitionJobDependency
- Scope string
- The job reference name that depends on. Reference to
jobs.ref_name
- Scope string
- The job reference name that depends on. Reference to
jobs.ref_name
- scope String
- The job reference name that depends on. Reference to
jobs.ref_name
- scope string
- The job reference name that depends on. Reference to
jobs.ref_name
- scope str
- The job reference name that depends on. Reference to
jobs.ref_name
- scope String
- The job reference name that depends on. Reference to
jobs.ref_name
GetBuildDefinitionJobTarget
- Demands List<string>
- A list of demands that represents the agent capabilities required by this build. Example:
git - Execution
Options List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Job Target Execution Option> - A
execution_optionsblocks as documented below. - Type string
- The execution type of the Job.
- Demands []string
- A list of demands that represents the agent capabilities required by this build. Example:
git - Execution
Options []GetBuild Definition Job Target Execution Option - A
execution_optionsblocks as documented below. - Type string
- The execution type of the Job.
- demands List<String>
- A list of demands that represents the agent capabilities required by this build. Example:
git - execution
Options List<GetBuild Definition Job Target Execution Option> - A
execution_optionsblocks as documented below. - type String
- The execution type of the Job.
- demands string[]
- A list of demands that represents the agent capabilities required by this build. Example:
git - execution
Options GetBuild Definition Job Target Execution Option[] - A
execution_optionsblocks as documented below. - type string
- The execution type of the Job.
- demands Sequence[str]
- A list of demands that represents the agent capabilities required by this build. Example:
git - execution_
options Sequence[GetBuild Definition Job Target Execution Option] - A
execution_optionsblocks as documented below. - type str
- The execution type of the Job.
- demands List<String>
- A list of demands that represents the agent capabilities required by this build. Example:
git - execution
Options List<Property Map> - A
execution_optionsblocks as documented below. - type String
- The execution type of the Job.
GetBuildDefinitionJobTargetExecutionOption
- Continue
On boolError - Whether to continue the job when an error occurs.
- Max
Concurrency int - Limit the number of agents to be used. If job type is
AgentlessJob, the concurrency is not configurable and is fixed to 50. - Multipliers string
- A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables.
- Type string
- The execution type of the Job.
- Continue
On boolError - Whether to continue the job when an error occurs.
- Max
Concurrency int - Limit the number of agents to be used. If job type is
AgentlessJob, the concurrency is not configurable and is fixed to 50. - Multipliers string
- A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables.
- Type string
- The execution type of the Job.
- continue
On BooleanError - Whether to continue the job when an error occurs.
- max
Concurrency Integer - Limit the number of agents to be used. If job type is
AgentlessJob, the concurrency is not configurable and is fixed to 50. - multipliers String
- A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables.
- type String
- The execution type of the Job.
- continue
On booleanError - Whether to continue the job when an error occurs.
- max
Concurrency number - Limit the number of agents to be used. If job type is
AgentlessJob, the concurrency is not configurable and is fixed to 50. - multipliers string
- A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables.
- type string
- The execution type of the Job.
- continue_
on_ boolerror - Whether to continue the job when an error occurs.
- max_
concurrency int - Limit the number of agents to be used. If job type is
AgentlessJob, the concurrency is not configurable and is fixed to 50. - multipliers str
- A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables.
- type str
- The execution type of the Job.
- continue
On BooleanError - Whether to continue the job when an error occurs.
- max
Concurrency Number - Limit the number of agents to be used. If job type is
AgentlessJob, the concurrency is not configurable and is fixed to 50. - multipliers String
- A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables.
- type String
- The execution type of the Job.
GetBuildDefinitionPullRequestTrigger
- Comment
Required string - Is a comment required on the PR?
- Forks
List<Pulumi.
Azure Dev Ops. Inputs. Get Build Definition Pull Request Trigger Fork> - A
forksblock as defined above. - Initial
Branch string - When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- Overrides
List<Pulumi.
Azure Dev Ops. Inputs. Get Build Definition Pull Request Trigger Override> - A
overrideblock as defined below. - Use
Yaml bool - Use the azure-pipeline file for the build configuration.
- Comment
Required string - Is a comment required on the PR?
- Forks
[]Get
Build Definition Pull Request Trigger Fork - A
forksblock as defined above. - Initial
Branch string - When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- Overrides
[]Get
Build Definition Pull Request Trigger Override - A
overrideblock as defined below. - Use
Yaml bool - Use the azure-pipeline file for the build configuration.
- comment
Required String - Is a comment required on the PR?
- forks
List<Get
Build Definition Pull Request Trigger Fork> - A
forksblock as defined above. - initial
Branch String - When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- overrides
List<Get
Build Definition Pull Request Trigger Override> - A
overrideblock as defined below. - use
Yaml Boolean - Use the azure-pipeline file for the build configuration.
- comment
Required string - Is a comment required on the PR?
- forks
Get
Build Definition Pull Request Trigger Fork[] - A
forksblock as defined above. - initial
Branch string - When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- overrides
Get
Build Definition Pull Request Trigger Override[] - A
overrideblock as defined below. - use
Yaml boolean - Use the azure-pipeline file for the build configuration.
- comment_
required str - Is a comment required on the PR?
- forks
Sequence[Get
Build Definition Pull Request Trigger Fork] - A
forksblock as defined above. - initial_
branch str - When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- overrides
Sequence[Get
Build Definition Pull Request Trigger Override] - A
overrideblock as defined below. - use_
yaml bool - Use the azure-pipeline file for the build configuration.
- comment
Required String - Is a comment required on the PR?
- forks List<Property Map>
- A
forksblock as defined above. - initial
Branch String - When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- overrides List<Property Map>
- A
overrideblock as defined below. - use
Yaml Boolean - Use the azure-pipeline file for the build configuration.
GetBuildDefinitionPullRequestTriggerFork
- Enabled bool
- Build pull requests from forks of this repository.
- bool
- Make secrets available to builds of forks.
- Enabled bool
- Build pull requests from forks of this repository.
- bool
- Make secrets available to builds of forks.
- enabled Boolean
- Build pull requests from forks of this repository.
- Boolean
- Make secrets available to builds of forks.
- enabled boolean
- Build pull requests from forks of this repository.
- boolean
- Make secrets available to builds of forks.
- enabled bool
- Build pull requests from forks of this repository.
- bool
- Make secrets available to builds of forks.
- enabled Boolean
- Build pull requests from forks of this repository.
- Boolean
- Make secrets available to builds of forks.
GetBuildDefinitionPullRequestTriggerOverride
- Auto
Cancel bool - Should further updates to a PR cancel an in progress validation?
- Branch
Filters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Pull Request Trigger Override Branch Filter> - A
branch_filterblock as defined above. - Path
Filters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Pull Request Trigger Override Path Filter> - The file paths to include or exclude. A
path_filterblock as defined above.
- Auto
Cancel bool - Should further updates to a PR cancel an in progress validation?
- Branch
Filters []GetBuild Definition Pull Request Trigger Override Branch Filter - A
branch_filterblock as defined above. - Path
Filters []GetBuild Definition Pull Request Trigger Override Path Filter - The file paths to include or exclude. A
path_filterblock as defined above.
- auto
Cancel Boolean - Should further updates to a PR cancel an in progress validation?
- branch
Filters List<GetBuild Definition Pull Request Trigger Override Branch Filter> - A
branch_filterblock as defined above. - path
Filters List<GetBuild Definition Pull Request Trigger Override Path Filter> - The file paths to include or exclude. A
path_filterblock as defined above.
- auto
Cancel boolean - Should further updates to a PR cancel an in progress validation?
- branch
Filters GetBuild Definition Pull Request Trigger Override Branch Filter[] - A
branch_filterblock as defined above. - path
Filters GetBuild Definition Pull Request Trigger Override Path Filter[] - The file paths to include or exclude. A
path_filterblock as defined above.
- auto_
cancel bool - Should further updates to a PR cancel an in progress validation?
- branch_
filters Sequence[GetBuild Definition Pull Request Trigger Override Branch Filter] - A
branch_filterblock as defined above. - path_
filters Sequence[GetBuild Definition Pull Request Trigger Override Path Filter] - The file paths to include or exclude. A
path_filterblock as defined above.
- auto
Cancel Boolean - Should further updates to a PR cancel an in progress validation?
- branch
Filters List<Property Map> - A
branch_filterblock as defined above. - path
Filters List<Property Map> - The file paths to include or exclude. A
path_filterblock as defined above.
GetBuildDefinitionPullRequestTriggerOverrideBranchFilter
GetBuildDefinitionPullRequestTriggerOverridePathFilter
GetBuildDefinitionRepository
- Branch
Name string - The branch name for which builds are triggered.
- Github
Enterprise stringUrl - The Github Enterprise URL.
- Repo
Id string - The id of the repository.
- Repo
Type string - The repository type.
- Report
Build boolStatus - Report build status.
- Service
Connection stringId - The service connection ID.
- Url string
- Yml
Path string - The path of the Yaml file describing the build definition.
- Branch
Name string - The branch name for which builds are triggered.
- Github
Enterprise stringUrl - The Github Enterprise URL.
- Repo
Id string - The id of the repository.
- Repo
Type string - The repository type.
- Report
Build boolStatus - Report build status.
- Service
Connection stringId - The service connection ID.
- Url string
- Yml
Path string - The path of the Yaml file describing the build definition.
- branch
Name String - The branch name for which builds are triggered.
- github
Enterprise StringUrl - The Github Enterprise URL.
- repo
Id String - The id of the repository.
- repo
Type String - The repository type.
- report
Build BooleanStatus - Report build status.
- service
Connection StringId - The service connection ID.
- url String
- yml
Path String - The path of the Yaml file describing the build definition.
- branch
Name string - The branch name for which builds are triggered.
- github
Enterprise stringUrl - The Github Enterprise URL.
- repo
Id string - The id of the repository.
- repo
Type string - The repository type.
- report
Build booleanStatus - Report build status.
- service
Connection stringId - The service connection ID.
- url string
- yml
Path string - The path of the Yaml file describing the build definition.
- branch_
name str - The branch name for which builds are triggered.
- github_
enterprise_ strurl - The Github Enterprise URL.
- repo_
id str - The id of the repository.
- repo_
type str - The repository type.
- report_
build_ boolstatus - Report build status.
- service_
connection_ strid - The service connection ID.
- url str
- yml_
path str - The path of the Yaml file describing the build definition.
- branch
Name String - The branch name for which builds are triggered.
- github
Enterprise StringUrl - The Github Enterprise URL.
- repo
Id String - The id of the repository.
- repo
Type String - The repository type.
- report
Build BooleanStatus - Report build status.
- service
Connection StringId - The service connection ID.
- url String
- yml
Path String - The path of the Yaml file describing the build definition.
GetBuildDefinitionSchedule
- Branch
Filters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Schedule Branch Filter> - A
branch_filterblock as defined above. - Days
To List<string>Builds - A list of days to build on.
- Schedule
Job stringId - The ID of the schedule job.
- Schedule
Only boolWith Changes - Schedule builds if the source or pipeline has changed.
- Start
Hours int - Build start hour.
- Start
Minutes int - Build start minute.
- Time
Zone string - Build time zone.
- Branch
Filters []GetBuild Definition Schedule Branch Filter - A
branch_filterblock as defined above. - Days
To []stringBuilds - A list of days to build on.
- Schedule
Job stringId - The ID of the schedule job.
- Schedule
Only boolWith Changes - Schedule builds if the source or pipeline has changed.
- Start
Hours int - Build start hour.
- Start
Minutes int - Build start minute.
- Time
Zone string - Build time zone.
- branch
Filters List<GetBuild Definition Schedule Branch Filter> - A
branch_filterblock as defined above. - days
To List<String>Builds - A list of days to build on.
- schedule
Job StringId - The ID of the schedule job.
- schedule
Only BooleanWith Changes - Schedule builds if the source or pipeline has changed.
- start
Hours Integer - Build start hour.
- start
Minutes Integer - Build start minute.
- time
Zone String - Build time zone.
- branch
Filters GetBuild Definition Schedule Branch Filter[] - A
branch_filterblock as defined above. - days
To string[]Builds - A list of days to build on.
- schedule
Job stringId - The ID of the schedule job.
- schedule
Only booleanWith Changes - Schedule builds if the source or pipeline has changed.
- start
Hours number - Build start hour.
- start
Minutes number - Build start minute.
- time
Zone string - Build time zone.
- branch_
filters Sequence[GetBuild Definition Schedule Branch Filter] - A
branch_filterblock as defined above. - days_
to_ Sequence[str]builds - A list of days to build on.
- schedule_
job_ strid - The ID of the schedule job.
- schedule_
only_ boolwith_ changes - Schedule builds if the source or pipeline has changed.
- start_
hours int - Build start hour.
- start_
minutes int - Build start minute.
- time_
zone str - Build time zone.
- branch
Filters List<Property Map> - A
branch_filterblock as defined above. - days
To List<String>Builds - A list of days to build on.
- schedule
Job StringId - The ID of the schedule job.
- schedule
Only BooleanWith Changes - Schedule builds if the source or pipeline has changed.
- start
Hours Number - Build start hour.
- start
Minutes Number - Build start minute.
- time
Zone String - Build time zone.
GetBuildDefinitionScheduleBranchFilter
GetBuildDefinitionVariable
- Allow
Override bool trueif the variable can be overridden.- Is
Secret bool trueif the variable is a secret.- Name string
- The name of this Build Definition.
- Secret
Value string - The secret value of the variable.
- Value string
- The value of the variable.
- Allow
Override bool trueif the variable can be overridden.- Is
Secret bool trueif the variable is a secret.- Name string
- The name of this Build Definition.
- Secret
Value string - The secret value of the variable.
- Value string
- The value of the variable.
- allow
Override Boolean trueif the variable can be overridden.- is
Secret Boolean trueif the variable is a secret.- name String
- The name of this Build Definition.
- secret
Value String - The secret value of the variable.
- value String
- The value of the variable.
- allow
Override boolean trueif the variable can be overridden.- is
Secret boolean trueif the variable is a secret.- name string
- The name of this Build Definition.
- secret
Value string - The secret value of the variable.
- value string
- The value of the variable.
- allow_
override bool trueif the variable can be overridden.- is_
secret bool trueif the variable is a secret.- name str
- The name of this Build Definition.
- secret_
value str - The secret value of the variable.
- value str
- The value of the variable.
- allow
Override Boolean trueif the variable can be overridden.- is
Secret Boolean trueif the variable is a secret.- name String
- The name of this Build Definition.
- secret
Value String - The secret value of the variable.
- value String
- The value of the variable.
Package Details
- Repository
- Azure DevOps pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azuredevopsTerraform Provider.
