azuredevops.BuildDefinition
Explore with Pulumi AI
Manages a Build Definition within Azure DevOps.
Example Usage
Azure DevOps
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.Project("example", {
    name: "Example Project",
    visibility: "private",
    versionControl: "Git",
    workItemTemplate: "Agile",
});
const exampleGit = new azuredevops.Git("example", {
    projectId: example.id,
    name: "Example Repository",
    initialization: {
        initType: "Clean",
    },
});
const exampleVariableGroup = new azuredevops.VariableGroup("example", {
    projectId: example.id,
    name: "Example Pipeline Variables",
    description: "Managed by Pulumi",
    allowAccess: true,
    variables: [{
        name: "FOO",
        value: "BAR",
    }],
});
const exampleBuildDefinition = new azuredevops.BuildDefinition("example", {
    projectId: example.id,
    name: "Example Build Definition",
    path: "\\ExampleFolder",
    ciTrigger: {
        useYaml: false,
    },
    schedules: [{
        branchFilters: [{
            includes: ["master"],
            excludes: [
                "test",
                "regression",
            ],
        }],
        daysToBuilds: [
            "Wed",
            "Sun",
        ],
        scheduleOnlyWithChanges: true,
        startHours: 10,
        startMinutes: 59,
        timeZone: "(UTC) Coordinated Universal Time",
    }],
    repository: {
        repoType: "TfsGit",
        repoId: exampleGit.id,
        branchName: exampleGit.defaultBranch,
        ymlPath: "azure-pipelines.yml",
    },
    variableGroups: [exampleVariableGroup.id],
    variables: [
        {
            name: "PipelineVariable",
            value: "Go Microsoft!",
        },
        {
            name: "PipelineSecret",
            secretValue: "ZGV2cw",
            isSecret: true,
        },
    ],
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.Project("example",
    name="Example Project",
    visibility="private",
    version_control="Git",
    work_item_template="Agile")
example_git = azuredevops.Git("example",
    project_id=example.id,
    name="Example Repository",
    initialization={
        "init_type": "Clean",
    })
example_variable_group = azuredevops.VariableGroup("example",
    project_id=example.id,
    name="Example Pipeline Variables",
    description="Managed by Pulumi",
    allow_access=True,
    variables=[{
        "name": "FOO",
        "value": "BAR",
    }])
example_build_definition = azuredevops.BuildDefinition("example",
    project_id=example.id,
    name="Example Build Definition",
    path="\\ExampleFolder",
    ci_trigger={
        "use_yaml": False,
    },
    schedules=[{
        "branch_filters": [{
            "includes": ["master"],
            "excludes": [
                "test",
                "regression",
            ],
        }],
        "days_to_builds": [
            "Wed",
            "Sun",
        ],
        "schedule_only_with_changes": True,
        "start_hours": 10,
        "start_minutes": 59,
        "time_zone": "(UTC) Coordinated Universal Time",
    }],
    repository={
        "repo_type": "TfsGit",
        "repo_id": example_git.id,
        "branch_name": example_git.default_branch,
        "yml_path": "azure-pipelines.yml",
    },
    variable_groups=[example_variable_group.id],
    variables=[
        {
            "name": "PipelineVariable",
            "value": "Go Microsoft!",
        },
        {
            "name": "PipelineSecret",
            "secret_value": "ZGV2cw",
            "is_secret": True,
        },
    ])
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.NewProject(ctx, "example", &azuredevops.ProjectArgs{
			Name:             pulumi.String("Example Project"),
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "example", &azuredevops.GitArgs{
			ProjectId: example.ID(),
			Name:      pulumi.String("Example Repository"),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		exampleVariableGroup, err := azuredevops.NewVariableGroup(ctx, "example", &azuredevops.VariableGroupArgs{
			ProjectId:   example.ID(),
			Name:        pulumi.String("Example Pipeline Variables"),
			Description: pulumi.String("Managed by Pulumi"),
			AllowAccess: pulumi.Bool(true),
			Variables: azuredevops.VariableGroupVariableArray{
				&azuredevops.VariableGroupVariableArgs{
					Name:  pulumi.String("FOO"),
					Value: pulumi.String("BAR"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBuildDefinition(ctx, "example", &azuredevops.BuildDefinitionArgs{
			ProjectId: example.ID(),
			Name:      pulumi.String("Example Build Definition"),
			Path:      pulumi.String("\\ExampleFolder"),
			CiTrigger: &azuredevops.BuildDefinitionCiTriggerArgs{
				UseYaml: pulumi.Bool(false),
			},
			Schedules: azuredevops.BuildDefinitionScheduleArray{
				&azuredevops.BuildDefinitionScheduleArgs{
					BranchFilters: azuredevops.BuildDefinitionScheduleBranchFilterArray{
						&azuredevops.BuildDefinitionScheduleBranchFilterArgs{
							Includes: pulumi.StringArray{
								pulumi.String("master"),
							},
							Excludes: pulumi.StringArray{
								pulumi.String("test"),
								pulumi.String("regression"),
							},
						},
					},
					DaysToBuilds: pulumi.StringArray{
						pulumi.String("Wed"),
						pulumi.String("Sun"),
					},
					ScheduleOnlyWithChanges: pulumi.Bool(true),
					StartHours:              pulumi.Int(10),
					StartMinutes:            pulumi.Int(59),
					TimeZone:                pulumi.String("(UTC) Coordinated Universal Time"),
				},
			},
			Repository: &azuredevops.BuildDefinitionRepositoryArgs{
				RepoType:   pulumi.String("TfsGit"),
				RepoId:     exampleGit.ID(),
				BranchName: exampleGit.DefaultBranch,
				YmlPath:    pulumi.String("azure-pipelines.yml"),
			},
			VariableGroups: pulumi.IntArray{
				exampleVariableGroup.ID(),
			},
			Variables: azuredevops.BuildDefinitionVariableArray{
				&azuredevops.BuildDefinitionVariableArgs{
					Name:  pulumi.String("PipelineVariable"),
					Value: pulumi.String("Go Microsoft!"),
				},
				&azuredevops.BuildDefinitionVariableArgs{
					Name:        pulumi.String("PipelineSecret"),
					SecretValue: pulumi.String("ZGV2cw"),
					IsSecret:    pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() => 
{
    var example = new AzureDevOps.Project("example", new()
    {
        Name = "Example Project",
        Visibility = "private",
        VersionControl = "Git",
        WorkItemTemplate = "Agile",
    });
    var exampleGit = new AzureDevOps.Git("example", new()
    {
        ProjectId = example.Id,
        Name = "Example Repository",
        Initialization = new AzureDevOps.Inputs.GitInitializationArgs
        {
            InitType = "Clean",
        },
    });
    var exampleVariableGroup = new AzureDevOps.VariableGroup("example", new()
    {
        ProjectId = example.Id,
        Name = "Example Pipeline Variables",
        Description = "Managed by Pulumi",
        AllowAccess = true,
        Variables = new[]
        {
            new AzureDevOps.Inputs.VariableGroupVariableArgs
            {
                Name = "FOO",
                Value = "BAR",
            },
        },
    });
    var exampleBuildDefinition = new AzureDevOps.BuildDefinition("example", new()
    {
        ProjectId = example.Id,
        Name = "Example Build Definition",
        Path = "\\ExampleFolder",
        CiTrigger = new AzureDevOps.Inputs.BuildDefinitionCiTriggerArgs
        {
            UseYaml = false,
        },
        Schedules = new[]
        {
            new AzureDevOps.Inputs.BuildDefinitionScheduleArgs
            {
                BranchFilters = new[]
                {
                    new AzureDevOps.Inputs.BuildDefinitionScheduleBranchFilterArgs
                    {
                        Includes = new[]
                        {
                            "master",
                        },
                        Excludes = new[]
                        {
                            "test",
                            "regression",
                        },
                    },
                },
                DaysToBuilds = new[]
                {
                    "Wed",
                    "Sun",
                },
                ScheduleOnlyWithChanges = true,
                StartHours = 10,
                StartMinutes = 59,
                TimeZone = "(UTC) Coordinated Universal Time",
            },
        },
        Repository = new AzureDevOps.Inputs.BuildDefinitionRepositoryArgs
        {
            RepoType = "TfsGit",
            RepoId = exampleGit.Id,
            BranchName = exampleGit.DefaultBranch,
            YmlPath = "azure-pipelines.yml",
        },
        VariableGroups = new[]
        {
            exampleVariableGroup.Id,
        },
        Variables = new[]
        {
            new AzureDevOps.Inputs.BuildDefinitionVariableArgs
            {
                Name = "PipelineVariable",
                Value = "Go Microsoft!",
            },
            new AzureDevOps.Inputs.BuildDefinitionVariableArgs
            {
                Name = "PipelineSecret",
                SecretValue = "ZGV2cw",
                IsSecret = true,
            },
        },
    });
});
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.Git;
import com.pulumi.azuredevops.GitArgs;
import com.pulumi.azuredevops.inputs.GitInitializationArgs;
import com.pulumi.azuredevops.VariableGroup;
import com.pulumi.azuredevops.VariableGroupArgs;
import com.pulumi.azuredevops.inputs.VariableGroupVariableArgs;
import com.pulumi.azuredevops.BuildDefinition;
import com.pulumi.azuredevops.BuildDefinitionArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionCiTriggerArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionScheduleArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionRepositoryArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionVariableArgs;
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 example = new Project("example", ProjectArgs.builder()
            .name("Example Project")
            .visibility("private")
            .versionControl("Git")
            .workItemTemplate("Agile")
            .build());
        var exampleGit = new Git("exampleGit", GitArgs.builder()
            .projectId(example.id())
            .name("Example Repository")
            .initialization(GitInitializationArgs.builder()
                .initType("Clean")
                .build())
            .build());
        var exampleVariableGroup = new VariableGroup("exampleVariableGroup", VariableGroupArgs.builder()
            .projectId(example.id())
            .name("Example Pipeline Variables")
            .description("Managed by Pulumi")
            .allowAccess(true)
            .variables(VariableGroupVariableArgs.builder()
                .name("FOO")
                .value("BAR")
                .build())
            .build());
        var exampleBuildDefinition = new BuildDefinition("exampleBuildDefinition", BuildDefinitionArgs.builder()
            .projectId(example.id())
            .name("Example Build Definition")
            .path("\\ExampleFolder")
            .ciTrigger(BuildDefinitionCiTriggerArgs.builder()
                .useYaml(false)
                .build())
            .schedules(BuildDefinitionScheduleArgs.builder()
                .branchFilters(BuildDefinitionScheduleBranchFilterArgs.builder()
                    .includes("master")
                    .excludes(                    
                        "test",
                        "regression")
                    .build())
                .daysToBuilds(                
                    "Wed",
                    "Sun")
                .scheduleOnlyWithChanges(true)
                .startHours(10)
                .startMinutes(59)
                .timeZone("(UTC) Coordinated Universal Time")
                .build())
            .repository(BuildDefinitionRepositoryArgs.builder()
                .repoType("TfsGit")
                .repoId(exampleGit.id())
                .branchName(exampleGit.defaultBranch())
                .ymlPath("azure-pipelines.yml")
                .build())
            .variableGroups(exampleVariableGroup.id())
            .variables(            
                BuildDefinitionVariableArgs.builder()
                    .name("PipelineVariable")
                    .value("Go Microsoft!")
                    .build(),
                BuildDefinitionVariableArgs.builder()
                    .name("PipelineSecret")
                    .secretValue("ZGV2cw")
                    .isSecret(true)
                    .build())
            .build());
    }
}
resources:
  example:
    type: azuredevops:Project
    properties:
      name: Example Project
      visibility: private
      versionControl: Git
      workItemTemplate: Agile
  exampleGit:
    type: azuredevops:Git
    name: example
    properties:
      projectId: ${example.id}
      name: Example Repository
      initialization:
        initType: Clean
  exampleVariableGroup:
    type: azuredevops:VariableGroup
    name: example
    properties:
      projectId: ${example.id}
      name: Example Pipeline Variables
      description: Managed by Pulumi
      allowAccess: true
      variables:
        - name: FOO
          value: BAR
  exampleBuildDefinition:
    type: azuredevops:BuildDefinition
    name: example
    properties:
      projectId: ${example.id}
      name: Example Build Definition
      path: \ExampleFolder
      ciTrigger:
        useYaml: false
      schedules:
        - branchFilters:
            - includes:
                - master
              excludes:
                - test
                - regression
          daysToBuilds:
            - Wed
            - Sun
          scheduleOnlyWithChanges: true
          startHours: 10
          startMinutes: 59
          timeZone: (UTC) Coordinated Universal Time
      repository:
        repoType: TfsGit
        repoId: ${exampleGit.id}
        branchName: ${exampleGit.defaultBranch}
        ymlPath: azure-pipelines.yml
      variableGroups:
        - ${exampleVariableGroup.id}
      variables:
        - name: PipelineVariable
          value: Go Microsoft!
        - name: PipelineSecret
          secretValue: ZGV2cw
          isSecret: true
GitHub Enterprise
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.Project("example", {
    name: "Example Project",
    visibility: "private",
    versionControl: "Git",
    workItemTemplate: "Agile",
});
const exampleServiceEndpointGitHubEnterprise = new azuredevops.ServiceEndpointGitHubEnterprise("example", {
    projectId: example.id,
    serviceEndpointName: "Example GitHub Enterprise",
    url: "https://github.contoso.com",
    description: "Managed by Pulumi",
    authPersonal: {
        personalAccessToken: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    },
});
const exampleBuildDefinition = new azuredevops.BuildDefinition("example", {
    projectId: example.id,
    name: "Example Build Definition",
    path: "\\ExampleFolder",
    ciTrigger: {
        useYaml: false,
    },
    repository: {
        repoType: "GitHubEnterprise",
        repoId: "<GitHub Org>/<Repo Name>",
        githubEnterpriseUrl: "https://github.company.com",
        branchName: "master",
        ymlPath: "azure-pipelines.yml",
        serviceConnectionId: exampleServiceEndpointGitHubEnterprise.id,
    },
    schedules: [{
        branchFilters: [{
            includes: ["main"],
            excludes: [
                "test",
                "regression",
            ],
        }],
        daysToBuilds: [
            "Wed",
            "Sun",
        ],
        scheduleOnlyWithChanges: true,
        startHours: 10,
        startMinutes: 59,
        timeZone: "(UTC) Coordinated Universal Time",
    }],
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.Project("example",
    name="Example Project",
    visibility="private",
    version_control="Git",
    work_item_template="Agile")
example_service_endpoint_git_hub_enterprise = azuredevops.ServiceEndpointGitHubEnterprise("example",
    project_id=example.id,
    service_endpoint_name="Example GitHub Enterprise",
    url="https://github.contoso.com",
    description="Managed by Pulumi",
    auth_personal={
        "personal_access_token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    })
example_build_definition = azuredevops.BuildDefinition("example",
    project_id=example.id,
    name="Example Build Definition",
    path="\\ExampleFolder",
    ci_trigger={
        "use_yaml": False,
    },
    repository={
        "repo_type": "GitHubEnterprise",
        "repo_id": "<GitHub Org>/<Repo Name>",
        "github_enterprise_url": "https://github.company.com",
        "branch_name": "master",
        "yml_path": "azure-pipelines.yml",
        "service_connection_id": example_service_endpoint_git_hub_enterprise.id,
    },
    schedules=[{
        "branch_filters": [{
            "includes": ["main"],
            "excludes": [
                "test",
                "regression",
            ],
        }],
        "days_to_builds": [
            "Wed",
            "Sun",
        ],
        "schedule_only_with_changes": True,
        "start_hours": 10,
        "start_minutes": 59,
        "time_zone": "(UTC) Coordinated Universal Time",
    }])
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.NewProject(ctx, "example", &azuredevops.ProjectArgs{
			Name:             pulumi.String("Example Project"),
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		exampleServiceEndpointGitHubEnterprise, err := azuredevops.NewServiceEndpointGitHubEnterprise(ctx, "example", &azuredevops.ServiceEndpointGitHubEnterpriseArgs{
			ProjectId:           example.ID(),
			ServiceEndpointName: pulumi.String("Example GitHub Enterprise"),
			Url:                 pulumi.String("https://github.contoso.com"),
			Description:         pulumi.String("Managed by Pulumi"),
			AuthPersonal: &azuredevops.ServiceEndpointGitHubEnterpriseAuthPersonalArgs{
				PersonalAccessToken: pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBuildDefinition(ctx, "example", &azuredevops.BuildDefinitionArgs{
			ProjectId: example.ID(),
			Name:      pulumi.String("Example Build Definition"),
			Path:      pulumi.String("\\ExampleFolder"),
			CiTrigger: &azuredevops.BuildDefinitionCiTriggerArgs{
				UseYaml: pulumi.Bool(false),
			},
			Repository: &azuredevops.BuildDefinitionRepositoryArgs{
				RepoType:            pulumi.String("GitHubEnterprise"),
				RepoId:              pulumi.String("<GitHub Org>/<Repo Name>"),
				GithubEnterpriseUrl: pulumi.String("https://github.company.com"),
				BranchName:          pulumi.String("master"),
				YmlPath:             pulumi.String("azure-pipelines.yml"),
				ServiceConnectionId: exampleServiceEndpointGitHubEnterprise.ID(),
			},
			Schedules: azuredevops.BuildDefinitionScheduleArray{
				&azuredevops.BuildDefinitionScheduleArgs{
					BranchFilters: azuredevops.BuildDefinitionScheduleBranchFilterArray{
						&azuredevops.BuildDefinitionScheduleBranchFilterArgs{
							Includes: pulumi.StringArray{
								pulumi.String("main"),
							},
							Excludes: pulumi.StringArray{
								pulumi.String("test"),
								pulumi.String("regression"),
							},
						},
					},
					DaysToBuilds: pulumi.StringArray{
						pulumi.String("Wed"),
						pulumi.String("Sun"),
					},
					ScheduleOnlyWithChanges: pulumi.Bool(true),
					StartHours:              pulumi.Int(10),
					StartMinutes:            pulumi.Int(59),
					TimeZone:                pulumi.String("(UTC) Coordinated Universal Time"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() => 
{
    var example = new AzureDevOps.Project("example", new()
    {
        Name = "Example Project",
        Visibility = "private",
        VersionControl = "Git",
        WorkItemTemplate = "Agile",
    });
    var exampleServiceEndpointGitHubEnterprise = new AzureDevOps.ServiceEndpointGitHubEnterprise("example", new()
    {
        ProjectId = example.Id,
        ServiceEndpointName = "Example GitHub Enterprise",
        Url = "https://github.contoso.com",
        Description = "Managed by Pulumi",
        AuthPersonal = new AzureDevOps.Inputs.ServiceEndpointGitHubEnterpriseAuthPersonalArgs
        {
            PersonalAccessToken = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        },
    });
    var exampleBuildDefinition = new AzureDevOps.BuildDefinition("example", new()
    {
        ProjectId = example.Id,
        Name = "Example Build Definition",
        Path = "\\ExampleFolder",
        CiTrigger = new AzureDevOps.Inputs.BuildDefinitionCiTriggerArgs
        {
            UseYaml = false,
        },
        Repository = new AzureDevOps.Inputs.BuildDefinitionRepositoryArgs
        {
            RepoType = "GitHubEnterprise",
            RepoId = "<GitHub Org>/<Repo Name>",
            GithubEnterpriseUrl = "https://github.company.com",
            BranchName = "master",
            YmlPath = "azure-pipelines.yml",
            ServiceConnectionId = exampleServiceEndpointGitHubEnterprise.Id,
        },
        Schedules = new[]
        {
            new AzureDevOps.Inputs.BuildDefinitionScheduleArgs
            {
                BranchFilters = new[]
                {
                    new AzureDevOps.Inputs.BuildDefinitionScheduleBranchFilterArgs
                    {
                        Includes = new[]
                        {
                            "main",
                        },
                        Excludes = new[]
                        {
                            "test",
                            "regression",
                        },
                    },
                },
                DaysToBuilds = new[]
                {
                    "Wed",
                    "Sun",
                },
                ScheduleOnlyWithChanges = true,
                StartHours = 10,
                StartMinutes = 59,
                TimeZone = "(UTC) Coordinated Universal Time",
            },
        },
    });
});
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.ServiceEndpointGitHubEnterprise;
import com.pulumi.azuredevops.ServiceEndpointGitHubEnterpriseArgs;
import com.pulumi.azuredevops.inputs.ServiceEndpointGitHubEnterpriseAuthPersonalArgs;
import com.pulumi.azuredevops.BuildDefinition;
import com.pulumi.azuredevops.BuildDefinitionArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionCiTriggerArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionRepositoryArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionScheduleArgs;
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 example = new Project("example", ProjectArgs.builder()
            .name("Example Project")
            .visibility("private")
            .versionControl("Git")
            .workItemTemplate("Agile")
            .build());
        var exampleServiceEndpointGitHubEnterprise = new ServiceEndpointGitHubEnterprise("exampleServiceEndpointGitHubEnterprise", ServiceEndpointGitHubEnterpriseArgs.builder()
            .projectId(example.id())
            .serviceEndpointName("Example GitHub Enterprise")
            .url("https://github.contoso.com")
            .description("Managed by Pulumi")
            .authPersonal(ServiceEndpointGitHubEnterpriseAuthPersonalArgs.builder()
                .personalAccessToken("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
                .build())
            .build());
        var exampleBuildDefinition = new BuildDefinition("exampleBuildDefinition", BuildDefinitionArgs.builder()
            .projectId(example.id())
            .name("Example Build Definition")
            .path("\\ExampleFolder")
            .ciTrigger(BuildDefinitionCiTriggerArgs.builder()
                .useYaml(false)
                .build())
            .repository(BuildDefinitionRepositoryArgs.builder()
                .repoType("GitHubEnterprise")
                .repoId("<GitHub Org>/<Repo Name>")
                .githubEnterpriseUrl("https://github.company.com")
                .branchName("master")
                .ymlPath("azure-pipelines.yml")
                .serviceConnectionId(exampleServiceEndpointGitHubEnterprise.id())
                .build())
            .schedules(BuildDefinitionScheduleArgs.builder()
                .branchFilters(BuildDefinitionScheduleBranchFilterArgs.builder()
                    .includes("main")
                    .excludes(                    
                        "test",
                        "regression")
                    .build())
                .daysToBuilds(                
                    "Wed",
                    "Sun")
                .scheduleOnlyWithChanges(true)
                .startHours(10)
                .startMinutes(59)
                .timeZone("(UTC) Coordinated Universal Time")
                .build())
            .build());
    }
}
resources:
  example:
    type: azuredevops:Project
    properties:
      name: Example Project
      visibility: private
      versionControl: Git
      workItemTemplate: Agile
  exampleServiceEndpointGitHubEnterprise:
    type: azuredevops:ServiceEndpointGitHubEnterprise
    name: example
    properties:
      projectId: ${example.id}
      serviceEndpointName: Example GitHub Enterprise
      url: https://github.contoso.com
      description: Managed by Pulumi
      authPersonal:
        personalAccessToken: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  exampleBuildDefinition:
    type: azuredevops:BuildDefinition
    name: example
    properties:
      projectId: ${example.id}
      name: Example Build Definition
      path: \ExampleFolder
      ciTrigger:
        useYaml: false
      repository:
        repoType: GitHubEnterprise
        repoId: <GitHub Org>/<Repo Name>
        githubEnterpriseUrl: https://github.company.com
        branchName: master
        ymlPath: azure-pipelines.yml
        serviceConnectionId: ${exampleServiceEndpointGitHubEnterprise.id}
      schedules:
        - branchFilters:
            - includes:
                - main
              excludes:
                - test
                - regression
          daysToBuilds:
            - Wed
            - Sun
          scheduleOnlyWithChanges: true
          startHours: 10
          startMinutes: 59
          timeZone: (UTC) Coordinated Universal Time
Build Completion Trigger
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.BuildDefinition("example", {
    projectId: exampleAzuredevopsProject.id,
    name: "Example Build Definition",
    path: "\\ExampleFolder",
    ciTrigger: {
        useYaml: false,
    },
    repository: {
        repoType: "GitHubEnterprise",
        repoId: "<GitHub Org>/<Repo Name>",
        githubEnterpriseUrl: "https://github.company.com",
        branchName: "main",
        ymlPath: "azure-pipelines.yml",
        serviceConnectionId: exampleAzuredevopsServiceendpointGithubEnterprise.id,
    },
    buildCompletionTriggers: [{
        buildDefinitionId: 10,
        branchFilters: [{
            includes: ["main"],
            excludes: ["test"],
        }],
    }],
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.BuildDefinition("example",
    project_id=example_azuredevops_project["id"],
    name="Example Build Definition",
    path="\\ExampleFolder",
    ci_trigger={
        "use_yaml": False,
    },
    repository={
        "repo_type": "GitHubEnterprise",
        "repo_id": "<GitHub Org>/<Repo Name>",
        "github_enterprise_url": "https://github.company.com",
        "branch_name": "main",
        "yml_path": "azure-pipelines.yml",
        "service_connection_id": example_azuredevops_serviceendpoint_github_enterprise["id"],
    },
    build_completion_triggers=[{
        "build_definition_id": 10,
        "branch_filters": [{
            "includes": ["main"],
            "excludes": ["test"],
        }],
    }])
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 {
		_, err := azuredevops.NewBuildDefinition(ctx, "example", &azuredevops.BuildDefinitionArgs{
			ProjectId: pulumi.Any(exampleAzuredevopsProject.Id),
			Name:      pulumi.String("Example Build Definition"),
			Path:      pulumi.String("\\ExampleFolder"),
			CiTrigger: &azuredevops.BuildDefinitionCiTriggerArgs{
				UseYaml: pulumi.Bool(false),
			},
			Repository: &azuredevops.BuildDefinitionRepositoryArgs{
				RepoType:            pulumi.String("GitHubEnterprise"),
				RepoId:              pulumi.String("<GitHub Org>/<Repo Name>"),
				GithubEnterpriseUrl: pulumi.String("https://github.company.com"),
				BranchName:          pulumi.String("main"),
				YmlPath:             pulumi.String("azure-pipelines.yml"),
				ServiceConnectionId: pulumi.Any(exampleAzuredevopsServiceendpointGithubEnterprise.Id),
			},
			BuildCompletionTriggers: azuredevops.BuildDefinitionBuildCompletionTriggerArray{
				&azuredevops.BuildDefinitionBuildCompletionTriggerArgs{
					BuildDefinitionId: pulumi.Int(10),
					BranchFilters: azuredevops.BuildDefinitionBuildCompletionTriggerBranchFilterArray{
						&azuredevops.BuildDefinitionBuildCompletionTriggerBranchFilterArgs{
							Includes: pulumi.StringArray{
								pulumi.String("main"),
							},
							Excludes: pulumi.StringArray{
								pulumi.String("test"),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() => 
{
    var example = new AzureDevOps.BuildDefinition("example", new()
    {
        ProjectId = exampleAzuredevopsProject.Id,
        Name = "Example Build Definition",
        Path = "\\ExampleFolder",
        CiTrigger = new AzureDevOps.Inputs.BuildDefinitionCiTriggerArgs
        {
            UseYaml = false,
        },
        Repository = new AzureDevOps.Inputs.BuildDefinitionRepositoryArgs
        {
            RepoType = "GitHubEnterprise",
            RepoId = "<GitHub Org>/<Repo Name>",
            GithubEnterpriseUrl = "https://github.company.com",
            BranchName = "main",
            YmlPath = "azure-pipelines.yml",
            ServiceConnectionId = exampleAzuredevopsServiceendpointGithubEnterprise.Id,
        },
        BuildCompletionTriggers = new[]
        {
            new AzureDevOps.Inputs.BuildDefinitionBuildCompletionTriggerArgs
            {
                BuildDefinitionId = 10,
                BranchFilters = new[]
                {
                    new AzureDevOps.Inputs.BuildDefinitionBuildCompletionTriggerBranchFilterArgs
                    {
                        Includes = new[]
                        {
                            "main",
                        },
                        Excludes = new[]
                        {
                            "test",
                        },
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.BuildDefinition;
import com.pulumi.azuredevops.BuildDefinitionArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionCiTriggerArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionRepositoryArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionBuildCompletionTriggerArgs;
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 example = new BuildDefinition("example", BuildDefinitionArgs.builder()
            .projectId(exampleAzuredevopsProject.id())
            .name("Example Build Definition")
            .path("\\ExampleFolder")
            .ciTrigger(BuildDefinitionCiTriggerArgs.builder()
                .useYaml(false)
                .build())
            .repository(BuildDefinitionRepositoryArgs.builder()
                .repoType("GitHubEnterprise")
                .repoId("<GitHub Org>/<Repo Name>")
                .githubEnterpriseUrl("https://github.company.com")
                .branchName("main")
                .ymlPath("azure-pipelines.yml")
                .serviceConnectionId(exampleAzuredevopsServiceendpointGithubEnterprise.id())
                .build())
            .buildCompletionTriggers(BuildDefinitionBuildCompletionTriggerArgs.builder()
                .buildDefinitionId(10)
                .branchFilters(BuildDefinitionBuildCompletionTriggerBranchFilterArgs.builder()
                    .includes("main")
                    .excludes("test")
                    .build())
                .build())
            .build());
    }
}
resources:
  example:
    type: azuredevops:BuildDefinition
    properties:
      projectId: ${exampleAzuredevopsProject.id}
      name: Example Build Definition
      path: \ExampleFolder
      ciTrigger:
        useYaml: false
      repository:
        repoType: GitHubEnterprise
        repoId: <GitHub Org>/<Repo Name>
        githubEnterpriseUrl: https://github.company.com
        branchName: main
        ymlPath: azure-pipelines.yml
        serviceConnectionId: ${exampleAzuredevopsServiceendpointGithubEnterprise.id}
      buildCompletionTriggers:
        - buildDefinitionId: 10
          branchFilters:
            - includes:
                - main
              excludes:
                - test
Pull Request Trigger
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = azuredevops.getServiceEndpointGithub({
    projectId: exampleAzuredevopsProject.id,
    serviceEndpointId: "00000000-0000-0000-0000-000000000000",
});
const exampleBuildDefinition = new azuredevops.BuildDefinition("example", {
    projectId: exampleAzuredevopsProject2.id,
    name: "Example Build Definition",
    path: "\\ExampleFolder",
    ciTrigger: {
        useYaml: false,
    },
    repository: {
        repoType: "GitHub",
        repoId: "<GitHub Org>/<Repo Name>",
        branchName: "main",
        ymlPath: "azure-pipelines.yml",
        serviceConnectionId: example.then(example => example.id),
    },
    pullRequestTrigger: {
        override: {
            branchFilters: [{
                includes: ["main"],
            }],
        },
        forks: {
            enabled: false,
            shareSecrets: false,
        },
    },
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.get_service_endpoint_github(project_id=example_azuredevops_project["id"],
    service_endpoint_id="00000000-0000-0000-0000-000000000000")
example_build_definition = azuredevops.BuildDefinition("example",
    project_id=example_azuredevops_project2["id"],
    name="Example Build Definition",
    path="\\ExampleFolder",
    ci_trigger={
        "use_yaml": False,
    },
    repository={
        "repo_type": "GitHub",
        "repo_id": "<GitHub Org>/<Repo Name>",
        "branch_name": "main",
        "yml_path": "azure-pipelines.yml",
        "service_connection_id": example.id,
    },
    pull_request_trigger={
        "override": {
            "branch_filters": [{
                "includes": ["main"],
            }],
        },
        "forks": {
            "enabled": False,
            "share_secrets": False,
        },
    })
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.GetServiceEndpointGithub(ctx, &azuredevops.GetServiceEndpointGithubArgs{
			ProjectId:         exampleAzuredevopsProject.Id,
			ServiceEndpointId: pulumi.StringRef("00000000-0000-0000-0000-000000000000"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBuildDefinition(ctx, "example", &azuredevops.BuildDefinitionArgs{
			ProjectId: pulumi.Any(exampleAzuredevopsProject2.Id),
			Name:      pulumi.String("Example Build Definition"),
			Path:      pulumi.String("\\ExampleFolder"),
			CiTrigger: &azuredevops.BuildDefinitionCiTriggerArgs{
				UseYaml: pulumi.Bool(false),
			},
			Repository: &azuredevops.BuildDefinitionRepositoryArgs{
				RepoType:            pulumi.String("GitHub"),
				RepoId:              pulumi.String("<GitHub Org>/<Repo Name>"),
				BranchName:          pulumi.String("main"),
				YmlPath:             pulumi.String("azure-pipelines.yml"),
				ServiceConnectionId: pulumi.String(example.Id),
			},
			PullRequestTrigger: &azuredevops.BuildDefinitionPullRequestTriggerArgs{
				Override: &azuredevops.BuildDefinitionPullRequestTriggerOverrideArgs{
					BranchFilters: azuredevops.BuildDefinitionPullRequestTriggerOverrideBranchFilterArray{
						&azuredevops.BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs{
							Includes: pulumi.StringArray{
								pulumi.String("main"),
							},
						},
					},
				},
				Forks: &azuredevops.BuildDefinitionPullRequestTriggerForksArgs{
					Enabled:      pulumi.Bool(false),
					ShareSecrets: pulumi.Bool(false),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() => 
{
    var example = AzureDevOps.GetServiceEndpointGithub.Invoke(new()
    {
        ProjectId = exampleAzuredevopsProject.Id,
        ServiceEndpointId = "00000000-0000-0000-0000-000000000000",
    });
    var exampleBuildDefinition = new AzureDevOps.BuildDefinition("example", new()
    {
        ProjectId = exampleAzuredevopsProject2.Id,
        Name = "Example Build Definition",
        Path = "\\ExampleFolder",
        CiTrigger = new AzureDevOps.Inputs.BuildDefinitionCiTriggerArgs
        {
            UseYaml = false,
        },
        Repository = new AzureDevOps.Inputs.BuildDefinitionRepositoryArgs
        {
            RepoType = "GitHub",
            RepoId = "<GitHub Org>/<Repo Name>",
            BranchName = "main",
            YmlPath = "azure-pipelines.yml",
            ServiceConnectionId = example.Apply(getServiceEndpointGithubResult => getServiceEndpointGithubResult.Id),
        },
        PullRequestTrigger = new AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerArgs
        {
            Override = new AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerOverrideArgs
            {
                BranchFilters = new[]
                {
                    new AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs
                    {
                        Includes = new[]
                        {
                            "main",
                        },
                    },
                },
            },
            Forks = new AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerForksArgs
            {
                Enabled = false,
                ShareSecrets = false,
            },
        },
    });
});
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.GetServiceEndpointGithubArgs;
import com.pulumi.azuredevops.BuildDefinition;
import com.pulumi.azuredevops.BuildDefinitionArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionCiTriggerArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionRepositoryArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionPullRequestTriggerArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionPullRequestTriggerOverrideArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionPullRequestTriggerForksArgs;
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.getServiceEndpointGithub(GetServiceEndpointGithubArgs.builder()
            .projectId(exampleAzuredevopsProject.id())
            .serviceEndpointId("00000000-0000-0000-0000-000000000000")
            .build());
        var exampleBuildDefinition = new BuildDefinition("exampleBuildDefinition", BuildDefinitionArgs.builder()
            .projectId(exampleAzuredevopsProject2.id())
            .name("Example Build Definition")
            .path("\\ExampleFolder")
            .ciTrigger(BuildDefinitionCiTriggerArgs.builder()
                .useYaml(false)
                .build())
            .repository(BuildDefinitionRepositoryArgs.builder()
                .repoType("GitHub")
                .repoId("<GitHub Org>/<Repo Name>")
                .branchName("main")
                .ymlPath("azure-pipelines.yml")
                .serviceConnectionId(example.applyValue(getServiceEndpointGithubResult -> getServiceEndpointGithubResult.id()))
                .build())
            .pullRequestTrigger(BuildDefinitionPullRequestTriggerArgs.builder()
                .override(BuildDefinitionPullRequestTriggerOverrideArgs.builder()
                    .branchFilters(BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs.builder()
                        .includes("main")
                        .build())
                    .build())
                .forks(BuildDefinitionPullRequestTriggerForksArgs.builder()
                    .enabled(false)
                    .shareSecrets(false)
                    .build())
                .build())
            .build());
    }
}
resources:
  exampleBuildDefinition:
    type: azuredevops:BuildDefinition
    name: example
    properties:
      projectId: ${exampleAzuredevopsProject2.id}
      name: Example Build Definition
      path: \ExampleFolder
      ciTrigger:
        useYaml: false
      repository:
        repoType: GitHub
        repoId: <GitHub Org>/<Repo Name>
        branchName: main
        ymlPath: azure-pipelines.yml
        serviceConnectionId: ${example.id}
      pullRequestTrigger:
        override:
          branchFilters:
            - includes:
                - main
        forks:
          enabled: false
          shareSecrets: false
variables:
  example:
    fn::invoke:
      function: azuredevops:getServiceEndpointGithub
      arguments:
        projectId: ${exampleAzuredevopsProject.id}
        serviceEndpointId: 00000000-0000-0000-0000-000000000000
Using Other Git and Agent Jobs
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.ServiceEndpointGenericGit("example", {
    projectId: exampleAzuredevopsProject.id,
    repositoryUrl: "https://gitlab.com/example/example.git",
    password: "token",
    serviceEndpointName: "Example Generic Git",
});
const exampleBuildDefinition = new azuredevops.BuildDefinition("example", {
    projectId: exampleAzuredevopsProject2.id,
    name: "Example Build Definition",
    path: "\\ExampleFolder",
    ciTrigger: {
        useYaml: false,
    },
    repository: {
        repoType: "Git",
        repoId: example.repositoryUrl,
        branchName: "refs/heads/main",
        url: example.repositoryUrl,
        serviceConnectionId: example.id,
    },
    jobs: [
        {
            name: "Agent Job1",
            refName: "agent_job1",
            condition: "succeededOrFailed()",
            target: {
                type: "AgentJob",
                executionOptions: {
                    type: "None",
                },
            },
        },
        {
            name: "Agent Job2",
            refName: "agent_job2",
            condition: "succeededOrFailed()",
            dependencies: [{
                scope: "agent_job1",
            }],
            target: {
                type: "AgentJob",
                demands: ["git"],
                executionOptions: {
                    type: "Multi-Configuration",
                    continueOnError: true,
                    multipliers: "multipliers",
                    maxConcurrency: 2,
                },
            },
        },
        {
            name: "Agentless Job1",
            refName: "agentless_job1",
            condition: "succeeded()",
            target: {
                type: "AgentlessJob",
                executionOptions: {
                    type: "None",
                },
            },
        },
        {
            name: "Agentless Job2",
            refName: "agentless_job2",
            condition: "succeeded()",
            jobAuthorizationScope: "project",
            dependencies: [
                {
                    scope: "agent_job2",
                },
                {
                    scope: "agentless_job1",
                },
            ],
            target: {
                type: "AgentlessJob",
                executionOptions: {
                    type: "Multi-Configuration",
                    continueOnError: true,
                    multipliers: "multipliers",
                },
            },
        },
    ],
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.ServiceEndpointGenericGit("example",
    project_id=example_azuredevops_project["id"],
    repository_url="https://gitlab.com/example/example.git",
    password="token",
    service_endpoint_name="Example Generic Git")
example_build_definition = azuredevops.BuildDefinition("example",
    project_id=example_azuredevops_project2["id"],
    name="Example Build Definition",
    path="\\ExampleFolder",
    ci_trigger={
        "use_yaml": False,
    },
    repository={
        "repo_type": "Git",
        "repo_id": example.repository_url,
        "branch_name": "refs/heads/main",
        "url": example.repository_url,
        "service_connection_id": example.id,
    },
    jobs=[
        {
            "name": "Agent Job1",
            "ref_name": "agent_job1",
            "condition": "succeededOrFailed()",
            "target": {
                "type": "AgentJob",
                "execution_options": {
                    "type": "None",
                },
            },
        },
        {
            "name": "Agent Job2",
            "ref_name": "agent_job2",
            "condition": "succeededOrFailed()",
            "dependencies": [{
                "scope": "agent_job1",
            }],
            "target": {
                "type": "AgentJob",
                "demands": ["git"],
                "execution_options": {
                    "type": "Multi-Configuration",
                    "continue_on_error": True,
                    "multipliers": "multipliers",
                    "max_concurrency": 2,
                },
            },
        },
        {
            "name": "Agentless Job1",
            "ref_name": "agentless_job1",
            "condition": "succeeded()",
            "target": {
                "type": "AgentlessJob",
                "execution_options": {
                    "type": "None",
                },
            },
        },
        {
            "name": "Agentless Job2",
            "ref_name": "agentless_job2",
            "condition": "succeeded()",
            "job_authorization_scope": "project",
            "dependencies": [
                {
                    "scope": "agent_job2",
                },
                {
                    "scope": "agentless_job1",
                },
            ],
            "target": {
                "type": "AgentlessJob",
                "execution_options": {
                    "type": "Multi-Configuration",
                    "continue_on_error": True,
                    "multipliers": "multipliers",
                },
            },
        },
    ])
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.NewServiceEndpointGenericGit(ctx, "example", &azuredevops.ServiceEndpointGenericGitArgs{
			ProjectId:           pulumi.Any(exampleAzuredevopsProject.Id),
			RepositoryUrl:       pulumi.String("https://gitlab.com/example/example.git"),
			Password:            pulumi.String("token"),
			ServiceEndpointName: pulumi.String("Example Generic Git"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBuildDefinition(ctx, "example", &azuredevops.BuildDefinitionArgs{
			ProjectId: pulumi.Any(exampleAzuredevopsProject2.Id),
			Name:      pulumi.String("Example Build Definition"),
			Path:      pulumi.String("\\ExampleFolder"),
			CiTrigger: &azuredevops.BuildDefinitionCiTriggerArgs{
				UseYaml: pulumi.Bool(false),
			},
			Repository: &azuredevops.BuildDefinitionRepositoryArgs{
				RepoType:            pulumi.String("Git"),
				RepoId:              example.RepositoryUrl,
				BranchName:          pulumi.String("refs/heads/main"),
				Url:                 example.RepositoryUrl,
				ServiceConnectionId: example.ID(),
			},
			Jobs: azuredevops.BuildDefinitionJobArray{
				&azuredevops.BuildDefinitionJobArgs{
					Name:      pulumi.String("Agent Job1"),
					RefName:   pulumi.String("agent_job1"),
					Condition: pulumi.String("succeededOrFailed()"),
					Target: &azuredevops.BuildDefinitionJobTargetArgs{
						Type: pulumi.String("AgentJob"),
						ExecutionOptions: &azuredevops.BuildDefinitionJobTargetExecutionOptionsArgs{
							Type: pulumi.String("None"),
						},
					},
				},
				&azuredevops.BuildDefinitionJobArgs{
					Name:      pulumi.String("Agent Job2"),
					RefName:   pulumi.String("agent_job2"),
					Condition: pulumi.String("succeededOrFailed()"),
					Dependencies: azuredevops.BuildDefinitionJobDependencyArray{
						&azuredevops.BuildDefinitionJobDependencyArgs{
							Scope: pulumi.String("agent_job1"),
						},
					},
					Target: &azuredevops.BuildDefinitionJobTargetArgs{
						Type: pulumi.String("AgentJob"),
						Demands: pulumi.StringArray{
							pulumi.String("git"),
						},
						ExecutionOptions: &azuredevops.BuildDefinitionJobTargetExecutionOptionsArgs{
							Type:            pulumi.String("Multi-Configuration"),
							ContinueOnError: pulumi.Bool(true),
							Multipliers:     pulumi.String("multipliers"),
							MaxConcurrency:  pulumi.Int(2),
						},
					},
				},
				&azuredevops.BuildDefinitionJobArgs{
					Name:      pulumi.String("Agentless Job1"),
					RefName:   pulumi.String("agentless_job1"),
					Condition: pulumi.String("succeeded()"),
					Target: &azuredevops.BuildDefinitionJobTargetArgs{
						Type: pulumi.String("AgentlessJob"),
						ExecutionOptions: &azuredevops.BuildDefinitionJobTargetExecutionOptionsArgs{
							Type: pulumi.String("None"),
						},
					},
				},
				&azuredevops.BuildDefinitionJobArgs{
					Name:                  pulumi.String("Agentless Job2"),
					RefName:               pulumi.String("agentless_job2"),
					Condition:             pulumi.String("succeeded()"),
					JobAuthorizationScope: pulumi.String("project"),
					Dependencies: azuredevops.BuildDefinitionJobDependencyArray{
						&azuredevops.BuildDefinitionJobDependencyArgs{
							Scope: pulumi.String("agent_job2"),
						},
						&azuredevops.BuildDefinitionJobDependencyArgs{
							Scope: pulumi.String("agentless_job1"),
						},
					},
					Target: &azuredevops.BuildDefinitionJobTargetArgs{
						Type: pulumi.String("AgentlessJob"),
						ExecutionOptions: &azuredevops.BuildDefinitionJobTargetExecutionOptionsArgs{
							Type:            pulumi.String("Multi-Configuration"),
							ContinueOnError: pulumi.Bool(true),
							Multipliers:     pulumi.String("multipliers"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() => 
{
    var example = new AzureDevOps.ServiceEndpointGenericGit("example", new()
    {
        ProjectId = exampleAzuredevopsProject.Id,
        RepositoryUrl = "https://gitlab.com/example/example.git",
        Password = "token",
        ServiceEndpointName = "Example Generic Git",
    });
    var exampleBuildDefinition = new AzureDevOps.BuildDefinition("example", new()
    {
        ProjectId = exampleAzuredevopsProject2.Id,
        Name = "Example Build Definition",
        Path = "\\ExampleFolder",
        CiTrigger = new AzureDevOps.Inputs.BuildDefinitionCiTriggerArgs
        {
            UseYaml = false,
        },
        Repository = new AzureDevOps.Inputs.BuildDefinitionRepositoryArgs
        {
            RepoType = "Git",
            RepoId = example.RepositoryUrl,
            BranchName = "refs/heads/main",
            Url = example.RepositoryUrl,
            ServiceConnectionId = example.Id,
        },
        Jobs = new[]
        {
            new AzureDevOps.Inputs.BuildDefinitionJobArgs
            {
                Name = "Agent Job1",
                RefName = "agent_job1",
                Condition = "succeededOrFailed()",
                Target = new AzureDevOps.Inputs.BuildDefinitionJobTargetArgs
                {
                    Type = "AgentJob",
                    ExecutionOptions = new AzureDevOps.Inputs.BuildDefinitionJobTargetExecutionOptionsArgs
                    {
                        Type = "None",
                    },
                },
            },
            new AzureDevOps.Inputs.BuildDefinitionJobArgs
            {
                Name = "Agent Job2",
                RefName = "agent_job2",
                Condition = "succeededOrFailed()",
                Dependencies = new[]
                {
                    new AzureDevOps.Inputs.BuildDefinitionJobDependencyArgs
                    {
                        Scope = "agent_job1",
                    },
                },
                Target = new AzureDevOps.Inputs.BuildDefinitionJobTargetArgs
                {
                    Type = "AgentJob",
                    Demands = new[]
                    {
                        "git",
                    },
                    ExecutionOptions = new AzureDevOps.Inputs.BuildDefinitionJobTargetExecutionOptionsArgs
                    {
                        Type = "Multi-Configuration",
                        ContinueOnError = true,
                        Multipliers = "multipliers",
                        MaxConcurrency = 2,
                    },
                },
            },
            new AzureDevOps.Inputs.BuildDefinitionJobArgs
            {
                Name = "Agentless Job1",
                RefName = "agentless_job1",
                Condition = "succeeded()",
                Target = new AzureDevOps.Inputs.BuildDefinitionJobTargetArgs
                {
                    Type = "AgentlessJob",
                    ExecutionOptions = new AzureDevOps.Inputs.BuildDefinitionJobTargetExecutionOptionsArgs
                    {
                        Type = "None",
                    },
                },
            },
            new AzureDevOps.Inputs.BuildDefinitionJobArgs
            {
                Name = "Agentless Job2",
                RefName = "agentless_job2",
                Condition = "succeeded()",
                JobAuthorizationScope = "project",
                Dependencies = new[]
                {
                    new AzureDevOps.Inputs.BuildDefinitionJobDependencyArgs
                    {
                        Scope = "agent_job2",
                    },
                    new AzureDevOps.Inputs.BuildDefinitionJobDependencyArgs
                    {
                        Scope = "agentless_job1",
                    },
                },
                Target = new AzureDevOps.Inputs.BuildDefinitionJobTargetArgs
                {
                    Type = "AgentlessJob",
                    ExecutionOptions = new AzureDevOps.Inputs.BuildDefinitionJobTargetExecutionOptionsArgs
                    {
                        Type = "Multi-Configuration",
                        ContinueOnError = true,
                        Multipliers = "multipliers",
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.ServiceEndpointGenericGit;
import com.pulumi.azuredevops.ServiceEndpointGenericGitArgs;
import com.pulumi.azuredevops.BuildDefinition;
import com.pulumi.azuredevops.BuildDefinitionArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionCiTriggerArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionRepositoryArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionJobArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionJobTargetArgs;
import com.pulumi.azuredevops.inputs.BuildDefinitionJobTargetExecutionOptionsArgs;
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 example = new ServiceEndpointGenericGit("example", ServiceEndpointGenericGitArgs.builder()
            .projectId(exampleAzuredevopsProject.id())
            .repositoryUrl("https://gitlab.com/example/example.git")
            .password("token")
            .serviceEndpointName("Example Generic Git")
            .build());
        var exampleBuildDefinition = new BuildDefinition("exampleBuildDefinition", BuildDefinitionArgs.builder()
            .projectId(exampleAzuredevopsProject2.id())
            .name("Example Build Definition")
            .path("\\ExampleFolder")
            .ciTrigger(BuildDefinitionCiTriggerArgs.builder()
                .useYaml(false)
                .build())
            .repository(BuildDefinitionRepositoryArgs.builder()
                .repoType("Git")
                .repoId(example.repositoryUrl())
                .branchName("refs/heads/main")
                .url(example.repositoryUrl())
                .serviceConnectionId(example.id())
                .build())
            .jobs(            
                BuildDefinitionJobArgs.builder()
                    .name("Agent Job1")
                    .refName("agent_job1")
                    .condition("succeededOrFailed()")
                    .target(BuildDefinitionJobTargetArgs.builder()
                        .type("AgentJob")
                        .executionOptions(BuildDefinitionJobTargetExecutionOptionsArgs.builder()
                            .type("None")
                            .build())
                        .build())
                    .build(),
                BuildDefinitionJobArgs.builder()
                    .name("Agent Job2")
                    .refName("agent_job2")
                    .condition("succeededOrFailed()")
                    .dependencies(BuildDefinitionJobDependencyArgs.builder()
                        .scope("agent_job1")
                        .build())
                    .target(BuildDefinitionJobTargetArgs.builder()
                        .type("AgentJob")
                        .demands("git")
                        .executionOptions(BuildDefinitionJobTargetExecutionOptionsArgs.builder()
                            .type("Multi-Configuration")
                            .continueOnError(true)
                            .multipliers("multipliers")
                            .maxConcurrency(2)
                            .build())
                        .build())
                    .build(),
                BuildDefinitionJobArgs.builder()
                    .name("Agentless Job1")
                    .refName("agentless_job1")
                    .condition("succeeded()")
                    .target(BuildDefinitionJobTargetArgs.builder()
                        .type("AgentlessJob")
                        .executionOptions(BuildDefinitionJobTargetExecutionOptionsArgs.builder()
                            .type("None")
                            .build())
                        .build())
                    .build(),
                BuildDefinitionJobArgs.builder()
                    .name("Agentless Job2")
                    .refName("agentless_job2")
                    .condition("succeeded()")
                    .jobAuthorizationScope("project")
                    .dependencies(                    
                        BuildDefinitionJobDependencyArgs.builder()
                            .scope("agent_job2")
                            .build(),
                        BuildDefinitionJobDependencyArgs.builder()
                            .scope("agentless_job1")
                            .build())
                    .target(BuildDefinitionJobTargetArgs.builder()
                        .type("AgentlessJob")
                        .executionOptions(BuildDefinitionJobTargetExecutionOptionsArgs.builder()
                            .type("Multi-Configuration")
                            .continueOnError(true)
                            .multipliers("multipliers")
                            .build())
                        .build())
                    .build())
            .build());
    }
}
resources:
  example:
    type: azuredevops:ServiceEndpointGenericGit
    properties:
      projectId: ${exampleAzuredevopsProject.id}
      repositoryUrl: https://gitlab.com/example/example.git
      password: token
      serviceEndpointName: Example Generic Git
  exampleBuildDefinition:
    type: azuredevops:BuildDefinition
    name: example
    properties:
      projectId: ${exampleAzuredevopsProject2.id}
      name: Example Build Definition
      path: \ExampleFolder
      ciTrigger:
        useYaml: false
      repository:
        repoType: Git
        repoId: ${example.repositoryUrl}
        branchName: refs/heads/main
        url: ${example.repositoryUrl}
        serviceConnectionId: ${example.id}
      jobs:
        - name: Agent Job1
          refName: agent_job1
          condition: succeededOrFailed()
          target:
            type: AgentJob
            executionOptions:
              type: None
        - name: Agent Job2
          refName: agent_job2
          condition: succeededOrFailed()
          dependencies:
            - scope: agent_job1
          target:
            type: AgentJob
            demands:
              - git
            executionOptions:
              type: Multi-Configuration
              continueOnError: true
              multipliers: multipliers
              maxConcurrency: 2
        - name: Agentless Job1
          refName: agentless_job1
          condition: succeeded()
          target:
            type: AgentlessJob
            executionOptions:
              type: None
        - name: Agentless Job2
          refName: agentless_job2
          condition: succeeded()
          jobAuthorizationScope: project
          dependencies:
            - scope: agent_job2
            - scope: agentless_job1
          target:
            type: AgentlessJob
            executionOptions:
              type: Multi-Configuration
              continueOnError: true
              multipliers: multipliers
Remarks
The path attribute can not end in \ unless the path is the root value of \.
Valid path values (yaml encoded) include:
- \\
- \\ExampleFolder
- \\Nested\\Example Folder
The value of \\ExampleFolder\\ would be invalid.
Relevant Links
Create BuildDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BuildDefinition(name: string, args: BuildDefinitionArgs, opts?: CustomResourceOptions);@overload
def BuildDefinition(resource_name: str,
                    args: BuildDefinitionArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def BuildDefinition(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    project_id: Optional[str] = None,
                    repository: Optional[BuildDefinitionRepositoryArgs] = None,
                    features: Optional[Sequence[BuildDefinitionFeatureArgs]] = None,
                    build_completion_triggers: Optional[Sequence[BuildDefinitionBuildCompletionTriggerArgs]] = None,
                    agent_pool_name: Optional[str] = None,
                    job_authorization_scope: Optional[str] = None,
                    jobs: Optional[Sequence[BuildDefinitionJobArgs]] = None,
                    name: Optional[str] = None,
                    path: Optional[str] = None,
                    ci_trigger: Optional[BuildDefinitionCiTriggerArgs] = None,
                    pull_request_trigger: Optional[BuildDefinitionPullRequestTriggerArgs] = None,
                    queue_status: Optional[str] = None,
                    agent_specification: Optional[str] = None,
                    schedules: Optional[Sequence[BuildDefinitionScheduleArgs]] = None,
                    variable_groups: Optional[Sequence[int]] = None,
                    variables: Optional[Sequence[BuildDefinitionVariableArgs]] = None)func NewBuildDefinition(ctx *Context, name string, args BuildDefinitionArgs, opts ...ResourceOption) (*BuildDefinition, error)public BuildDefinition(string name, BuildDefinitionArgs args, CustomResourceOptions? opts = null)
public BuildDefinition(String name, BuildDefinitionArgs args)
public BuildDefinition(String name, BuildDefinitionArgs args, CustomResourceOptions options)
type: azuredevops:BuildDefinition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BuildDefinitionArgs
- 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 BuildDefinitionArgs
- 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 BuildDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BuildDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BuildDefinitionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var buildDefinitionResource = new AzureDevOps.BuildDefinition("buildDefinitionResource", new()
{
    ProjectId = "string",
    Repository = new AzureDevOps.Inputs.BuildDefinitionRepositoryArgs
    {
        RepoId = "string",
        RepoType = "string",
        BranchName = "string",
        GithubEnterpriseUrl = "string",
        ReportBuildStatus = false,
        ServiceConnectionId = "string",
        Url = "string",
        YmlPath = "string",
    },
    Features = new[]
    {
        new AzureDevOps.Inputs.BuildDefinitionFeatureArgs
        {
            SkipFirstRun = false,
        },
    },
    BuildCompletionTriggers = new[]
    {
        new AzureDevOps.Inputs.BuildDefinitionBuildCompletionTriggerArgs
        {
            BranchFilters = new[]
            {
                new AzureDevOps.Inputs.BuildDefinitionBuildCompletionTriggerBranchFilterArgs
                {
                    Excludes = new[]
                    {
                        "string",
                    },
                    Includes = new[]
                    {
                        "string",
                    },
                },
            },
            BuildDefinitionId = 0,
        },
    },
    AgentPoolName = "string",
    JobAuthorizationScope = "string",
    Jobs = new[]
    {
        new AzureDevOps.Inputs.BuildDefinitionJobArgs
        {
            Condition = "string",
            Name = "string",
            RefName = "string",
            Target = new AzureDevOps.Inputs.BuildDefinitionJobTargetArgs
            {
                ExecutionOptions = new AzureDevOps.Inputs.BuildDefinitionJobTargetExecutionOptionsArgs
                {
                    Type = "string",
                    ContinueOnError = false,
                    MaxConcurrency = 0,
                    Multipliers = "string",
                },
                Type = "string",
                Demands = new[]
                {
                    "string",
                },
            },
            AllowScriptsAuthAccessOption = false,
            Dependencies = new[]
            {
                new AzureDevOps.Inputs.BuildDefinitionJobDependencyArgs
                {
                    Scope = "string",
                },
            },
            JobAuthorizationScope = "string",
            JobCancelTimeoutInMinutes = 0,
            JobTimeoutInMinutes = 0,
        },
    },
    Name = "string",
    Path = "string",
    CiTrigger = new AzureDevOps.Inputs.BuildDefinitionCiTriggerArgs
    {
        Override = new AzureDevOps.Inputs.BuildDefinitionCiTriggerOverrideArgs
        {
            BranchFilters = new[]
            {
                new AzureDevOps.Inputs.BuildDefinitionCiTriggerOverrideBranchFilterArgs
                {
                    Excludes = new[]
                    {
                        "string",
                    },
                    Includes = new[]
                    {
                        "string",
                    },
                },
            },
            Batch = false,
            MaxConcurrentBuildsPerBranch = 0,
            PathFilters = new[]
            {
                new AzureDevOps.Inputs.BuildDefinitionCiTriggerOverridePathFilterArgs
                {
                    Excludes = new[]
                    {
                        "string",
                    },
                    Includes = new[]
                    {
                        "string",
                    },
                },
            },
            PollingInterval = 0,
            PollingJobId = "string",
        },
        UseYaml = false,
    },
    PullRequestTrigger = new AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerArgs
    {
        Forks = new AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerForksArgs
        {
            Enabled = false,
            ShareSecrets = false,
        },
        CommentRequired = "string",
        InitialBranch = "string",
        Override = new AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerOverrideArgs
        {
            BranchFilters = new[]
            {
                new AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs
                {
                    Excludes = new[]
                    {
                        "string",
                    },
                    Includes = new[]
                    {
                        "string",
                    },
                },
            },
            AutoCancel = false,
            PathFilters = new[]
            {
                new AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerOverridePathFilterArgs
                {
                    Excludes = new[]
                    {
                        "string",
                    },
                    Includes = new[]
                    {
                        "string",
                    },
                },
            },
        },
        UseYaml = false,
    },
    QueueStatus = "string",
    AgentSpecification = "string",
    Schedules = new[]
    {
        new AzureDevOps.Inputs.BuildDefinitionScheduleArgs
        {
            BranchFilters = new[]
            {
                new AzureDevOps.Inputs.BuildDefinitionScheduleBranchFilterArgs
                {
                    Excludes = new[]
                    {
                        "string",
                    },
                    Includes = new[]
                    {
                        "string",
                    },
                },
            },
            DaysToBuilds = new[]
            {
                "string",
            },
            ScheduleJobId = "string",
            ScheduleOnlyWithChanges = false,
            StartHours = 0,
            StartMinutes = 0,
            TimeZone = "string",
        },
    },
    VariableGroups = new[]
    {
        0,
    },
    Variables = new[]
    {
        new AzureDevOps.Inputs.BuildDefinitionVariableArgs
        {
            Name = "string",
            AllowOverride = false,
            IsSecret = false,
            SecretValue = "string",
            Value = "string",
        },
    },
});
example, err := azuredevops.NewBuildDefinition(ctx, "buildDefinitionResource", &azuredevops.BuildDefinitionArgs{
	ProjectId: pulumi.String("string"),
	Repository: &azuredevops.BuildDefinitionRepositoryArgs{
		RepoId:              pulumi.String("string"),
		RepoType:            pulumi.String("string"),
		BranchName:          pulumi.String("string"),
		GithubEnterpriseUrl: pulumi.String("string"),
		ReportBuildStatus:   pulumi.Bool(false),
		ServiceConnectionId: pulumi.String("string"),
		Url:                 pulumi.String("string"),
		YmlPath:             pulumi.String("string"),
	},
	Features: azuredevops.BuildDefinitionFeatureArray{
		&azuredevops.BuildDefinitionFeatureArgs{
			SkipFirstRun: pulumi.Bool(false),
		},
	},
	BuildCompletionTriggers: azuredevops.BuildDefinitionBuildCompletionTriggerArray{
		&azuredevops.BuildDefinitionBuildCompletionTriggerArgs{
			BranchFilters: azuredevops.BuildDefinitionBuildCompletionTriggerBranchFilterArray{
				&azuredevops.BuildDefinitionBuildCompletionTriggerBranchFilterArgs{
					Excludes: pulumi.StringArray{
						pulumi.String("string"),
					},
					Includes: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
			},
			BuildDefinitionId: pulumi.Int(0),
		},
	},
	AgentPoolName:         pulumi.String("string"),
	JobAuthorizationScope: pulumi.String("string"),
	Jobs: azuredevops.BuildDefinitionJobArray{
		&azuredevops.BuildDefinitionJobArgs{
			Condition: pulumi.String("string"),
			Name:      pulumi.String("string"),
			RefName:   pulumi.String("string"),
			Target: &azuredevops.BuildDefinitionJobTargetArgs{
				ExecutionOptions: &azuredevops.BuildDefinitionJobTargetExecutionOptionsArgs{
					Type:            pulumi.String("string"),
					ContinueOnError: pulumi.Bool(false),
					MaxConcurrency:  pulumi.Int(0),
					Multipliers:     pulumi.String("string"),
				},
				Type: pulumi.String("string"),
				Demands: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
			AllowScriptsAuthAccessOption: pulumi.Bool(false),
			Dependencies: azuredevops.BuildDefinitionJobDependencyArray{
				&azuredevops.BuildDefinitionJobDependencyArgs{
					Scope: pulumi.String("string"),
				},
			},
			JobAuthorizationScope:     pulumi.String("string"),
			JobCancelTimeoutInMinutes: pulumi.Int(0),
			JobTimeoutInMinutes:       pulumi.Int(0),
		},
	},
	Name: pulumi.String("string"),
	Path: pulumi.String("string"),
	CiTrigger: &azuredevops.BuildDefinitionCiTriggerArgs{
		Override: &azuredevops.BuildDefinitionCiTriggerOverrideArgs{
			BranchFilters: azuredevops.BuildDefinitionCiTriggerOverrideBranchFilterArray{
				&azuredevops.BuildDefinitionCiTriggerOverrideBranchFilterArgs{
					Excludes: pulumi.StringArray{
						pulumi.String("string"),
					},
					Includes: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
			},
			Batch:                        pulumi.Bool(false),
			MaxConcurrentBuildsPerBranch: pulumi.Int(0),
			PathFilters: azuredevops.BuildDefinitionCiTriggerOverridePathFilterArray{
				&azuredevops.BuildDefinitionCiTriggerOverridePathFilterArgs{
					Excludes: pulumi.StringArray{
						pulumi.String("string"),
					},
					Includes: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
			},
			PollingInterval: pulumi.Int(0),
			PollingJobId:    pulumi.String("string"),
		},
		UseYaml: pulumi.Bool(false),
	},
	PullRequestTrigger: &azuredevops.BuildDefinitionPullRequestTriggerArgs{
		Forks: &azuredevops.BuildDefinitionPullRequestTriggerForksArgs{
			Enabled:      pulumi.Bool(false),
			ShareSecrets: pulumi.Bool(false),
		},
		CommentRequired: pulumi.String("string"),
		InitialBranch:   pulumi.String("string"),
		Override: &azuredevops.BuildDefinitionPullRequestTriggerOverrideArgs{
			BranchFilters: azuredevops.BuildDefinitionPullRequestTriggerOverrideBranchFilterArray{
				&azuredevops.BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs{
					Excludes: pulumi.StringArray{
						pulumi.String("string"),
					},
					Includes: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
			},
			AutoCancel: pulumi.Bool(false),
			PathFilters: azuredevops.BuildDefinitionPullRequestTriggerOverridePathFilterArray{
				&azuredevops.BuildDefinitionPullRequestTriggerOverridePathFilterArgs{
					Excludes: pulumi.StringArray{
						pulumi.String("string"),
					},
					Includes: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
			},
		},
		UseYaml: pulumi.Bool(false),
	},
	QueueStatus:        pulumi.String("string"),
	AgentSpecification: pulumi.String("string"),
	Schedules: azuredevops.BuildDefinitionScheduleArray{
		&azuredevops.BuildDefinitionScheduleArgs{
			BranchFilters: azuredevops.BuildDefinitionScheduleBranchFilterArray{
				&azuredevops.BuildDefinitionScheduleBranchFilterArgs{
					Excludes: pulumi.StringArray{
						pulumi.String("string"),
					},
					Includes: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
			},
			DaysToBuilds: pulumi.StringArray{
				pulumi.String("string"),
			},
			ScheduleJobId:           pulumi.String("string"),
			ScheduleOnlyWithChanges: pulumi.Bool(false),
			StartHours:              pulumi.Int(0),
			StartMinutes:            pulumi.Int(0),
			TimeZone:                pulumi.String("string"),
		},
	},
	VariableGroups: pulumi.IntArray{
		pulumi.Int(0),
	},
	Variables: azuredevops.BuildDefinitionVariableArray{
		&azuredevops.BuildDefinitionVariableArgs{
			Name:          pulumi.String("string"),
			AllowOverride: pulumi.Bool(false),
			IsSecret:      pulumi.Bool(false),
			SecretValue:   pulumi.String("string"),
			Value:         pulumi.String("string"),
		},
	},
})
var buildDefinitionResource = new BuildDefinition("buildDefinitionResource", BuildDefinitionArgs.builder()
    .projectId("string")
    .repository(BuildDefinitionRepositoryArgs.builder()
        .repoId("string")
        .repoType("string")
        .branchName("string")
        .githubEnterpriseUrl("string")
        .reportBuildStatus(false)
        .serviceConnectionId("string")
        .url("string")
        .ymlPath("string")
        .build())
    .features(BuildDefinitionFeatureArgs.builder()
        .skipFirstRun(false)
        .build())
    .buildCompletionTriggers(BuildDefinitionBuildCompletionTriggerArgs.builder()
        .branchFilters(BuildDefinitionBuildCompletionTriggerBranchFilterArgs.builder()
            .excludes("string")
            .includes("string")
            .build())
        .buildDefinitionId(0)
        .build())
    .agentPoolName("string")
    .jobAuthorizationScope("string")
    .jobs(BuildDefinitionJobArgs.builder()
        .condition("string")
        .name("string")
        .refName("string")
        .target(BuildDefinitionJobTargetArgs.builder()
            .executionOptions(BuildDefinitionJobTargetExecutionOptionsArgs.builder()
                .type("string")
                .continueOnError(false)
                .maxConcurrency(0)
                .multipliers("string")
                .build())
            .type("string")
            .demands("string")
            .build())
        .allowScriptsAuthAccessOption(false)
        .dependencies(BuildDefinitionJobDependencyArgs.builder()
            .scope("string")
            .build())
        .jobAuthorizationScope("string")
        .jobCancelTimeoutInMinutes(0)
        .jobTimeoutInMinutes(0)
        .build())
    .name("string")
    .path("string")
    .ciTrigger(BuildDefinitionCiTriggerArgs.builder()
        .override(BuildDefinitionCiTriggerOverrideArgs.builder()
            .branchFilters(BuildDefinitionCiTriggerOverrideBranchFilterArgs.builder()
                .excludes("string")
                .includes("string")
                .build())
            .batch(false)
            .maxConcurrentBuildsPerBranch(0)
            .pathFilters(BuildDefinitionCiTriggerOverridePathFilterArgs.builder()
                .excludes("string")
                .includes("string")
                .build())
            .pollingInterval(0)
            .pollingJobId("string")
            .build())
        .useYaml(false)
        .build())
    .pullRequestTrigger(BuildDefinitionPullRequestTriggerArgs.builder()
        .forks(BuildDefinitionPullRequestTriggerForksArgs.builder()
            .enabled(false)
            .shareSecrets(false)
            .build())
        .commentRequired("string")
        .initialBranch("string")
        .override(BuildDefinitionPullRequestTriggerOverrideArgs.builder()
            .branchFilters(BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs.builder()
                .excludes("string")
                .includes("string")
                .build())
            .autoCancel(false)
            .pathFilters(BuildDefinitionPullRequestTriggerOverridePathFilterArgs.builder()
                .excludes("string")
                .includes("string")
                .build())
            .build())
        .useYaml(false)
        .build())
    .queueStatus("string")
    .agentSpecification("string")
    .schedules(BuildDefinitionScheduleArgs.builder()
        .branchFilters(BuildDefinitionScheduleBranchFilterArgs.builder()
            .excludes("string")
            .includes("string")
            .build())
        .daysToBuilds("string")
        .scheduleJobId("string")
        .scheduleOnlyWithChanges(false)
        .startHours(0)
        .startMinutes(0)
        .timeZone("string")
        .build())
    .variableGroups(0)
    .variables(BuildDefinitionVariableArgs.builder()
        .name("string")
        .allowOverride(false)
        .isSecret(false)
        .secretValue("string")
        .value("string")
        .build())
    .build());
build_definition_resource = azuredevops.BuildDefinition("buildDefinitionResource",
    project_id="string",
    repository={
        "repo_id": "string",
        "repo_type": "string",
        "branch_name": "string",
        "github_enterprise_url": "string",
        "report_build_status": False,
        "service_connection_id": "string",
        "url": "string",
        "yml_path": "string",
    },
    features=[{
        "skip_first_run": False,
    }],
    build_completion_triggers=[{
        "branch_filters": [{
            "excludes": ["string"],
            "includes": ["string"],
        }],
        "build_definition_id": 0,
    }],
    agent_pool_name="string",
    job_authorization_scope="string",
    jobs=[{
        "condition": "string",
        "name": "string",
        "ref_name": "string",
        "target": {
            "execution_options": {
                "type": "string",
                "continue_on_error": False,
                "max_concurrency": 0,
                "multipliers": "string",
            },
            "type": "string",
            "demands": ["string"],
        },
        "allow_scripts_auth_access_option": False,
        "dependencies": [{
            "scope": "string",
        }],
        "job_authorization_scope": "string",
        "job_cancel_timeout_in_minutes": 0,
        "job_timeout_in_minutes": 0,
    }],
    name="string",
    path="string",
    ci_trigger={
        "override": {
            "branch_filters": [{
                "excludes": ["string"],
                "includes": ["string"],
            }],
            "batch": False,
            "max_concurrent_builds_per_branch": 0,
            "path_filters": [{
                "excludes": ["string"],
                "includes": ["string"],
            }],
            "polling_interval": 0,
            "polling_job_id": "string",
        },
        "use_yaml": False,
    },
    pull_request_trigger={
        "forks": {
            "enabled": False,
            "share_secrets": False,
        },
        "comment_required": "string",
        "initial_branch": "string",
        "override": {
            "branch_filters": [{
                "excludes": ["string"],
                "includes": ["string"],
            }],
            "auto_cancel": False,
            "path_filters": [{
                "excludes": ["string"],
                "includes": ["string"],
            }],
        },
        "use_yaml": False,
    },
    queue_status="string",
    agent_specification="string",
    schedules=[{
        "branch_filters": [{
            "excludes": ["string"],
            "includes": ["string"],
        }],
        "days_to_builds": ["string"],
        "schedule_job_id": "string",
        "schedule_only_with_changes": False,
        "start_hours": 0,
        "start_minutes": 0,
        "time_zone": "string",
    }],
    variable_groups=[0],
    variables=[{
        "name": "string",
        "allow_override": False,
        "is_secret": False,
        "secret_value": "string",
        "value": "string",
    }])
const buildDefinitionResource = new azuredevops.BuildDefinition("buildDefinitionResource", {
    projectId: "string",
    repository: {
        repoId: "string",
        repoType: "string",
        branchName: "string",
        githubEnterpriseUrl: "string",
        reportBuildStatus: false,
        serviceConnectionId: "string",
        url: "string",
        ymlPath: "string",
    },
    features: [{
        skipFirstRun: false,
    }],
    buildCompletionTriggers: [{
        branchFilters: [{
            excludes: ["string"],
            includes: ["string"],
        }],
        buildDefinitionId: 0,
    }],
    agentPoolName: "string",
    jobAuthorizationScope: "string",
    jobs: [{
        condition: "string",
        name: "string",
        refName: "string",
        target: {
            executionOptions: {
                type: "string",
                continueOnError: false,
                maxConcurrency: 0,
                multipliers: "string",
            },
            type: "string",
            demands: ["string"],
        },
        allowScriptsAuthAccessOption: false,
        dependencies: [{
            scope: "string",
        }],
        jobAuthorizationScope: "string",
        jobCancelTimeoutInMinutes: 0,
        jobTimeoutInMinutes: 0,
    }],
    name: "string",
    path: "string",
    ciTrigger: {
        override: {
            branchFilters: [{
                excludes: ["string"],
                includes: ["string"],
            }],
            batch: false,
            maxConcurrentBuildsPerBranch: 0,
            pathFilters: [{
                excludes: ["string"],
                includes: ["string"],
            }],
            pollingInterval: 0,
            pollingJobId: "string",
        },
        useYaml: false,
    },
    pullRequestTrigger: {
        forks: {
            enabled: false,
            shareSecrets: false,
        },
        commentRequired: "string",
        initialBranch: "string",
        override: {
            branchFilters: [{
                excludes: ["string"],
                includes: ["string"],
            }],
            autoCancel: false,
            pathFilters: [{
                excludes: ["string"],
                includes: ["string"],
            }],
        },
        useYaml: false,
    },
    queueStatus: "string",
    agentSpecification: "string",
    schedules: [{
        branchFilters: [{
            excludes: ["string"],
            includes: ["string"],
        }],
        daysToBuilds: ["string"],
        scheduleJobId: "string",
        scheduleOnlyWithChanges: false,
        startHours: 0,
        startMinutes: 0,
        timeZone: "string",
    }],
    variableGroups: [0],
    variables: [{
        name: "string",
        allowOverride: false,
        isSecret: false,
        secretValue: "string",
        value: "string",
    }],
});
type: azuredevops:BuildDefinition
properties:
    agentPoolName: string
    agentSpecification: string
    buildCompletionTriggers:
        - branchFilters:
            - excludes:
                - string
              includes:
                - string
          buildDefinitionId: 0
    ciTrigger:
        override:
            batch: false
            branchFilters:
                - excludes:
                    - string
                  includes:
                    - string
            maxConcurrentBuildsPerBranch: 0
            pathFilters:
                - excludes:
                    - string
                  includes:
                    - string
            pollingInterval: 0
            pollingJobId: string
        useYaml: false
    features:
        - skipFirstRun: false
    jobAuthorizationScope: string
    jobs:
        - allowScriptsAuthAccessOption: false
          condition: string
          dependencies:
            - scope: string
          jobAuthorizationScope: string
          jobCancelTimeoutInMinutes: 0
          jobTimeoutInMinutes: 0
          name: string
          refName: string
          target:
            demands:
                - string
            executionOptions:
                continueOnError: false
                maxConcurrency: 0
                multipliers: string
                type: string
            type: string
    name: string
    path: string
    projectId: string
    pullRequestTrigger:
        commentRequired: string
        forks:
            enabled: false
            shareSecrets: false
        initialBranch: string
        override:
            autoCancel: false
            branchFilters:
                - excludes:
                    - string
                  includes:
                    - string
            pathFilters:
                - excludes:
                    - string
                  includes:
                    - string
        useYaml: false
    queueStatus: string
    repository:
        branchName: string
        githubEnterpriseUrl: string
        repoId: string
        repoType: string
        reportBuildStatus: false
        serviceConnectionId: string
        url: string
        ymlPath: string
    schedules:
        - branchFilters:
            - excludes:
                - string
              includes:
                - string
          daysToBuilds:
            - string
          scheduleJobId: string
          scheduleOnlyWithChanges: false
          startHours: 0
          startMinutes: 0
          timeZone: string
    variableGroups:
        - 0
    variables:
        - allowOverride: false
          isSecret: false
          name: string
          secretValue: string
          value: string
BuildDefinition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BuildDefinition resource accepts the following input properties:
- ProjectId string
- The project ID or project name.
- Repository
Pulumi.Azure Dev Ops. Inputs. Build Definition Repository 
- A repositoryblock as documented below.
- AgentPool stringName 
- The agent pool that should execute the build. Defaults to Azure Pipelines.
- AgentSpecification string
- The Agent Specification to run the pipelines. Required when repo_typeisGit. Example:windows-2019,windows-latest,macos-13etc.
- BuildCompletion List<Pulumi.Triggers Azure Dev Ops. Inputs. Build Definition Build Completion Trigger> 
- A build_completion_triggerblock as documented below.
- CiTrigger Pulumi.Azure Dev Ops. Inputs. Build Definition Ci Trigger 
- A ci_triggerblock as documented below.
- Features
List<Pulumi.Azure Dev Ops. Inputs. Build Definition Feature> 
- A featuresblocks as documented below.
- string
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- Jobs
List<Pulumi.Azure Dev Ops. Inputs. Build Definition Job> 
- A - jobsblocks as documented below.- NOTE: The - jobsare classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
- Name string
- The name of the build definition.
- Path string
- The folder path of the build definition.
- PullRequest Pulumi.Trigger Azure Dev Ops. Inputs. Build Definition Pull Request Trigger 
- A pull_request_triggerblock as documented below.
- QueueStatus string
- The queue status of the build definition. Possible values are: enabledorpausedordisabled. Defaults toenabled.
- Schedules
List<Pulumi.Azure Dev Ops. Inputs. Build Definition Schedule> 
- VariableGroups List<int>
- A list of variable group IDs (integers) to link to the build definition.
- Variables
List<Pulumi.Azure Dev Ops. Inputs. Build Definition Variable> 
- A list of variableblocks, as documented below.
- ProjectId string
- The project ID or project name.
- Repository
BuildDefinition Repository Args 
- A repositoryblock as documented below.
- AgentPool stringName 
- The agent pool that should execute the build. Defaults to Azure Pipelines.
- AgentSpecification string
- The Agent Specification to run the pipelines. Required when repo_typeisGit. Example:windows-2019,windows-latest,macos-13etc.
- BuildCompletion []BuildTriggers Definition Build Completion Trigger Args 
- A build_completion_triggerblock as documented below.
- CiTrigger BuildDefinition Ci Trigger Args 
- A ci_triggerblock as documented below.
- Features
[]BuildDefinition Feature Args 
- A featuresblocks as documented below.
- string
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- Jobs
[]BuildDefinition Job Args 
- A - jobsblocks as documented below.- NOTE: The - jobsare classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
- Name string
- The name of the build definition.
- Path string
- The folder path of the build definition.
- PullRequest BuildTrigger Definition Pull Request Trigger Args 
- A pull_request_triggerblock as documented below.
- QueueStatus string
- The queue status of the build definition. Possible values are: enabledorpausedordisabled. Defaults toenabled.
- Schedules
[]BuildDefinition Schedule Args 
- VariableGroups []int
- A list of variable group IDs (integers) to link to the build definition.
- Variables
[]BuildDefinition Variable Args 
- A list of variableblocks, as documented below.
- projectId String
- The project ID or project name.
- repository
BuildDefinition Repository 
- A repositoryblock as documented below.
- agentPool StringName 
- The agent pool that should execute the build. Defaults to Azure Pipelines.
- agentSpecification String
- The Agent Specification to run the pipelines. Required when repo_typeisGit. Example:windows-2019,windows-latest,macos-13etc.
- buildCompletion List<BuildTriggers Definition Build Completion Trigger> 
- A build_completion_triggerblock as documented below.
- ciTrigger BuildDefinition Ci Trigger 
- A ci_triggerblock as documented below.
- features
List<BuildDefinition Feature> 
- A featuresblocks as documented below.
- String
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- jobs
List<BuildDefinition Job> 
- A - jobsblocks as documented below.- NOTE: The - jobsare classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
- name String
- The name of the build definition.
- path String
- The folder path of the build definition.
- pullRequest BuildTrigger Definition Pull Request Trigger 
- A pull_request_triggerblock as documented below.
- queueStatus String
- The queue status of the build definition. Possible values are: enabledorpausedordisabled. Defaults toenabled.
- schedules
List<BuildDefinition Schedule> 
- variableGroups List<Integer>
- A list of variable group IDs (integers) to link to the build definition.
- variables
List<BuildDefinition Variable> 
- A list of variableblocks, as documented below.
- projectId string
- The project ID or project name.
- repository
BuildDefinition Repository 
- A repositoryblock as documented below.
- agentPool stringName 
- The agent pool that should execute the build. Defaults to Azure Pipelines.
- agentSpecification string
- The Agent Specification to run the pipelines. Required when repo_typeisGit. Example:windows-2019,windows-latest,macos-13etc.
- buildCompletion BuildTriggers Definition Build Completion Trigger[] 
- A build_completion_triggerblock as documented below.
- ciTrigger BuildDefinition Ci Trigger 
- A ci_triggerblock as documented below.
- features
BuildDefinition Feature[] 
- A featuresblocks as documented below.
- string
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- jobs
BuildDefinition Job[] 
- A - jobsblocks as documented below.- NOTE: The - jobsare classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
- name string
- The name of the build definition.
- path string
- The folder path of the build definition.
- pullRequest BuildTrigger Definition Pull Request Trigger 
- A pull_request_triggerblock as documented below.
- queueStatus string
- The queue status of the build definition. Possible values are: enabledorpausedordisabled. Defaults toenabled.
- schedules
BuildDefinition Schedule[] 
- variableGroups number[]
- A list of variable group IDs (integers) to link to the build definition.
- variables
BuildDefinition Variable[] 
- A list of variableblocks, as documented below.
- project_id str
- The project ID or project name.
- repository
BuildDefinition Repository Args 
- A repositoryblock as documented below.
- agent_pool_ strname 
- The agent pool that should execute the build. Defaults to Azure Pipelines.
- agent_specification str
- The Agent Specification to run the pipelines. Required when repo_typeisGit. Example:windows-2019,windows-latest,macos-13etc.
- build_completion_ Sequence[Buildtriggers Definition Build Completion Trigger Args] 
- A build_completion_triggerblock as documented below.
- ci_trigger BuildDefinition Ci Trigger Args 
- A ci_triggerblock as documented below.
- features
Sequence[BuildDefinition Feature Args] 
- A featuresblocks as documented below.
- str
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- jobs
Sequence[BuildDefinition Job Args] 
- A - jobsblocks as documented below.- NOTE: The - jobsare classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
- name str
- The name of the build definition.
- path str
- The folder path of the build definition.
- pull_request_ Buildtrigger Definition Pull Request Trigger Args 
- A pull_request_triggerblock as documented below.
- queue_status str
- The queue status of the build definition. Possible values are: enabledorpausedordisabled. Defaults toenabled.
- schedules
Sequence[BuildDefinition Schedule Args] 
- variable_groups Sequence[int]
- A list of variable group IDs (integers) to link to the build definition.
- variables
Sequence[BuildDefinition Variable Args] 
- A list of variableblocks, as documented below.
- projectId String
- The project ID or project name.
- repository Property Map
- A repositoryblock as documented below.
- agentPool StringName 
- The agent pool that should execute the build. Defaults to Azure Pipelines.
- agentSpecification String
- The Agent Specification to run the pipelines. Required when repo_typeisGit. Example:windows-2019,windows-latest,macos-13etc.
- buildCompletion List<Property Map>Triggers 
- A build_completion_triggerblock as documented below.
- ciTrigger Property Map
- A ci_triggerblock as documented below.
- features List<Property Map>
- A featuresblocks as documented below.
- String
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- jobs List<Property Map>
- A - jobsblocks as documented below.- NOTE: The - jobsare classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
- name String
- The name of the build definition.
- path String
- The folder path of the build definition.
- pullRequest Property MapTrigger 
- A pull_request_triggerblock as documented below.
- queueStatus String
- The queue status of the build definition. Possible values are: enabledorpausedordisabled. Defaults toenabled.
- schedules List<Property Map>
- variableGroups List<Number>
- A list of variable group IDs (integers) to link to the build definition.
- variables List<Property Map>
- A list of variableblocks, as documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the BuildDefinition resource produces the following output properties:
Look up Existing BuildDefinition Resource
Get an existing BuildDefinition 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?: BuildDefinitionState, opts?: CustomResourceOptions): BuildDefinition@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        agent_pool_name: Optional[str] = None,
        agent_specification: Optional[str] = None,
        build_completion_triggers: Optional[Sequence[BuildDefinitionBuildCompletionTriggerArgs]] = None,
        ci_trigger: Optional[BuildDefinitionCiTriggerArgs] = None,
        features: Optional[Sequence[BuildDefinitionFeatureArgs]] = None,
        job_authorization_scope: Optional[str] = None,
        jobs: Optional[Sequence[BuildDefinitionJobArgs]] = None,
        name: Optional[str] = None,
        path: Optional[str] = None,
        project_id: Optional[str] = None,
        pull_request_trigger: Optional[BuildDefinitionPullRequestTriggerArgs] = None,
        queue_status: Optional[str] = None,
        repository: Optional[BuildDefinitionRepositoryArgs] = None,
        revision: Optional[int] = None,
        schedules: Optional[Sequence[BuildDefinitionScheduleArgs]] = None,
        variable_groups: Optional[Sequence[int]] = None,
        variables: Optional[Sequence[BuildDefinitionVariableArgs]] = None) -> BuildDefinitionfunc GetBuildDefinition(ctx *Context, name string, id IDInput, state *BuildDefinitionState, opts ...ResourceOption) (*BuildDefinition, error)public static BuildDefinition Get(string name, Input<string> id, BuildDefinitionState? state, CustomResourceOptions? opts = null)public static BuildDefinition get(String name, Output<String> id, BuildDefinitionState state, CustomResourceOptions options)resources:  _:    type: azuredevops:BuildDefinition    get:      id: ${id}- 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.
- AgentPool stringName 
- The agent pool that should execute the build. Defaults to Azure Pipelines.
- AgentSpecification string
- The Agent Specification to run the pipelines. Required when repo_typeisGit. Example:windows-2019,windows-latest,macos-13etc.
- BuildCompletion List<Pulumi.Triggers Azure Dev Ops. Inputs. Build Definition Build Completion Trigger> 
- A build_completion_triggerblock as documented below.
- CiTrigger Pulumi.Azure Dev Ops. Inputs. Build Definition Ci Trigger 
- A ci_triggerblock as documented below.
- Features
List<Pulumi.Azure Dev Ops. Inputs. Build Definition Feature> 
- A featuresblocks as documented below.
- string
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- Jobs
List<Pulumi.Azure Dev Ops. Inputs. Build Definition Job> 
- A - jobsblocks as documented below.- NOTE: The - jobsare classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
- Name string
- The name of the build definition.
- Path string
- The folder path of the build definition.
- ProjectId string
- The project ID or project name.
- PullRequest Pulumi.Trigger Azure Dev Ops. Inputs. Build Definition Pull Request Trigger 
- A pull_request_triggerblock as documented below.
- QueueStatus string
- The queue status of the build definition. Possible values are: enabledorpausedordisabled. Defaults toenabled.
- Repository
Pulumi.Azure Dev Ops. Inputs. Build Definition Repository 
- A repositoryblock as documented below.
- Revision int
- The revision of the build definition
- Schedules
List<Pulumi.Azure Dev Ops. Inputs. Build Definition Schedule> 
- VariableGroups List<int>
- A list of variable group IDs (integers) to link to the build definition.
- Variables
List<Pulumi.Azure Dev Ops. Inputs. Build Definition Variable> 
- A list of variableblocks, as documented below.
- AgentPool stringName 
- The agent pool that should execute the build. Defaults to Azure Pipelines.
- AgentSpecification string
- The Agent Specification to run the pipelines. Required when repo_typeisGit. Example:windows-2019,windows-latest,macos-13etc.
- BuildCompletion []BuildTriggers Definition Build Completion Trigger Args 
- A build_completion_triggerblock as documented below.
- CiTrigger BuildDefinition Ci Trigger Args 
- A ci_triggerblock as documented below.
- Features
[]BuildDefinition Feature Args 
- A featuresblocks as documented below.
- string
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- Jobs
[]BuildDefinition Job Args 
- A - jobsblocks as documented below.- NOTE: The - jobsare classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
- Name string
- The name of the build definition.
- Path string
- The folder path of the build definition.
- ProjectId string
- The project ID or project name.
- PullRequest BuildTrigger Definition Pull Request Trigger Args 
- A pull_request_triggerblock as documented below.
- QueueStatus string
- The queue status of the build definition. Possible values are: enabledorpausedordisabled. Defaults toenabled.
- Repository
BuildDefinition Repository Args 
- A repositoryblock as documented below.
- Revision int
- The revision of the build definition
- Schedules
[]BuildDefinition Schedule Args 
- VariableGroups []int
- A list of variable group IDs (integers) to link to the build definition.
- Variables
[]BuildDefinition Variable Args 
- A list of variableblocks, as documented below.
- agentPool StringName 
- The agent pool that should execute the build. Defaults to Azure Pipelines.
- agentSpecification String
- The Agent Specification to run the pipelines. Required when repo_typeisGit. Example:windows-2019,windows-latest,macos-13etc.
- buildCompletion List<BuildTriggers Definition Build Completion Trigger> 
- A build_completion_triggerblock as documented below.
- ciTrigger BuildDefinition Ci Trigger 
- A ci_triggerblock as documented below.
- features
List<BuildDefinition Feature> 
- A featuresblocks as documented below.
- String
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- jobs
List<BuildDefinition Job> 
- A - jobsblocks as documented below.- NOTE: The - jobsare classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
- name String
- The name of the build definition.
- path String
- The folder path of the build definition.
- projectId String
- The project ID or project name.
- pullRequest BuildTrigger Definition Pull Request Trigger 
- A pull_request_triggerblock as documented below.
- queueStatus String
- The queue status of the build definition. Possible values are: enabledorpausedordisabled. Defaults toenabled.
- repository
BuildDefinition Repository 
- A repositoryblock as documented below.
- revision Integer
- The revision of the build definition
- schedules
List<BuildDefinition Schedule> 
- variableGroups List<Integer>
- A list of variable group IDs (integers) to link to the build definition.
- variables
List<BuildDefinition Variable> 
- A list of variableblocks, as documented below.
- agentPool stringName 
- The agent pool that should execute the build. Defaults to Azure Pipelines.
- agentSpecification string
- The Agent Specification to run the pipelines. Required when repo_typeisGit. Example:windows-2019,windows-latest,macos-13etc.
- buildCompletion BuildTriggers Definition Build Completion Trigger[] 
- A build_completion_triggerblock as documented below.
- ciTrigger BuildDefinition Ci Trigger 
- A ci_triggerblock as documented below.
- features
BuildDefinition Feature[] 
- A featuresblocks as documented below.
- string
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- jobs
BuildDefinition Job[] 
- A - jobsblocks as documented below.- NOTE: The - jobsare classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
- name string
- The name of the build definition.
- path string
- The folder path of the build definition.
- projectId string
- The project ID or project name.
- pullRequest BuildTrigger Definition Pull Request Trigger 
- A pull_request_triggerblock as documented below.
- queueStatus string
- The queue status of the build definition. Possible values are: enabledorpausedordisabled. Defaults toenabled.
- repository
BuildDefinition Repository 
- A repositoryblock as documented below.
- revision number
- The revision of the build definition
- schedules
BuildDefinition Schedule[] 
- variableGroups number[]
- A list of variable group IDs (integers) to link to the build definition.
- variables
BuildDefinition Variable[] 
- A list of variableblocks, as documented below.
- agent_pool_ strname 
- The agent pool that should execute the build. Defaults to Azure Pipelines.
- agent_specification str
- The Agent Specification to run the pipelines. Required when repo_typeisGit. Example:windows-2019,windows-latest,macos-13etc.
- build_completion_ Sequence[Buildtriggers Definition Build Completion Trigger Args] 
- A build_completion_triggerblock as documented below.
- ci_trigger BuildDefinition Ci Trigger Args 
- A ci_triggerblock as documented below.
- features
Sequence[BuildDefinition Feature Args] 
- A featuresblocks as documented below.
- str
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- jobs
Sequence[BuildDefinition Job Args] 
- A - jobsblocks as documented below.- NOTE: The - jobsare classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
- name str
- The name of the build definition.
- path str
- The folder path of the build definition.
- project_id str
- The project ID or project name.
- pull_request_ Buildtrigger Definition Pull Request Trigger Args 
- A pull_request_triggerblock as documented below.
- queue_status str
- The queue status of the build definition. Possible values are: enabledorpausedordisabled. Defaults toenabled.
- repository
BuildDefinition Repository Args 
- A repositoryblock as documented below.
- revision int
- The revision of the build definition
- schedules
Sequence[BuildDefinition Schedule Args] 
- variable_groups Sequence[int]
- A list of variable group IDs (integers) to link to the build definition.
- variables
Sequence[BuildDefinition Variable Args] 
- A list of variableblocks, as documented below.
- agentPool StringName 
- The agent pool that should execute the build. Defaults to Azure Pipelines.
- agentSpecification String
- The Agent Specification to run the pipelines. Required when repo_typeisGit. Example:windows-2019,windows-latest,macos-13etc.
- buildCompletion List<Property Map>Triggers 
- A build_completion_triggerblock as documented below.
- ciTrigger Property Map
- A ci_triggerblock as documented below.
- features List<Property Map>
- A featuresblocks as documented below.
- String
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- jobs List<Property Map>
- A - jobsblocks as documented below.- NOTE: The - jobsare classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
- name String
- The name of the build definition.
- path String
- The folder path of the build definition.
- projectId String
- The project ID or project name.
- pullRequest Property MapTrigger 
- A pull_request_triggerblock as documented below.
- queueStatus String
- The queue status of the build definition. Possible values are: enabledorpausedordisabled. Defaults toenabled.
- repository Property Map
- A repositoryblock as documented below.
- revision Number
- The revision of the build definition
- schedules List<Property Map>
- variableGroups List<Number>
- A list of variable group IDs (integers) to link to the build definition.
- variables List<Property Map>
- A list of variableblocks, as documented below.
Supporting Types
BuildDefinitionBuildCompletionTrigger, BuildDefinitionBuildCompletionTriggerArgs          
- BranchFilters List<Pulumi.Azure Dev Ops. Inputs. Build Definition Build Completion Trigger Branch Filter> 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- BuildDefinition intId 
- The ID of the build pipeline will be triggered.
- BranchFilters []BuildDefinition Build Completion Trigger Branch Filter 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- BuildDefinition intId 
- The ID of the build pipeline will be triggered.
- branchFilters List<BuildDefinition Build Completion Trigger Branch Filter> 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- buildDefinition IntegerId 
- The ID of the build pipeline will be triggered.
- branchFilters BuildDefinition Build Completion Trigger Branch Filter[] 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- buildDefinition numberId 
- The ID of the build pipeline will be triggered.
- branch_filters Sequence[BuildDefinition Build Completion Trigger Branch Filter] 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- build_definition_ intid 
- The ID of the build pipeline will be triggered.
- branchFilters List<Property Map>
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- buildDefinition NumberId 
- The ID of the build pipeline will be triggered.
BuildDefinitionBuildCompletionTriggerBranchFilter, BuildDefinitionBuildCompletionTriggerBranchFilterArgs              
BuildDefinitionCiTrigger, BuildDefinitionCiTriggerArgs        
- Override
Pulumi.Azure Dev Ops. Inputs. Build Definition Ci Trigger Override 
- Override the azure-pipeline file and use a this configuration for all builds.
- UseYaml bool
- Use the azure-pipeline file for the build configuration. Defaults to false.
- Override
BuildDefinition Ci Trigger Override 
- Override the azure-pipeline file and use a this configuration for all builds.
- UseYaml bool
- Use the azure-pipeline file for the build configuration. Defaults to false.
- override
BuildDefinition Ci Trigger Override 
- Override the azure-pipeline file and use a this configuration for all builds.
- useYaml Boolean
- Use the azure-pipeline file for the build configuration. Defaults to false.
- override
BuildDefinition Ci Trigger Override 
- Override the azure-pipeline file and use a this configuration for all builds.
- useYaml boolean
- Use the azure-pipeline file for the build configuration. Defaults to false.
- override
BuildDefinition Ci Trigger Override 
- Override the azure-pipeline file and use a this configuration for all builds.
- use_yaml bool
- Use the azure-pipeline file for the build configuration. Defaults to false.
- override Property Map
- Override the azure-pipeline file and use a this configuration for all builds.
- useYaml Boolean
- Use the azure-pipeline file for the build configuration. Defaults to false.
BuildDefinitionCiTriggerOverride, BuildDefinitionCiTriggerOverrideArgs          
- BranchFilters List<Pulumi.Azure Dev Ops. Inputs. Build Definition Ci Trigger Override Branch Filter> 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- Batch bool
- If you set batch to 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. Defaults to true.
- MaxConcurrent intBuilds Per Branch 
- The number of max builds per branch. Defaults to 1.
- PathFilters List<Pulumi.Azure Dev Ops. Inputs. Build Definition Ci Trigger Override Path Filter> 
- Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
- PollingInterval int
- How often the external repository is polled. Defaults to 0.
- PollingJob 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.
- BranchFilters []BuildDefinition Ci Trigger Override Branch Filter 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- Batch bool
- If you set batch to 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. Defaults to true.
- MaxConcurrent intBuilds Per Branch 
- The number of max builds per branch. Defaults to 1.
- PathFilters []BuildDefinition Ci Trigger Override Path Filter 
- Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
- PollingInterval int
- How often the external repository is polled. Defaults to 0.
- PollingJob 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.
- branchFilters List<BuildDefinition Ci Trigger Override Branch Filter> 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- batch Boolean
- If you set batch to 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. Defaults to true.
- maxConcurrent IntegerBuilds Per Branch 
- The number of max builds per branch. Defaults to 1.
- pathFilters List<BuildDefinition Ci Trigger Override Path Filter> 
- Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
- pollingInterval Integer
- How often the external repository is polled. Defaults to 0.
- pollingJob 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.
- branchFilters BuildDefinition Ci Trigger Override Branch Filter[] 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- batch boolean
- If you set batch to 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. Defaults to true.
- maxConcurrent numberBuilds Per Branch 
- The number of max builds per branch. Defaults to 1.
- pathFilters BuildDefinition Ci Trigger Override Path Filter[] 
- Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
- pollingInterval number
- How often the external repository is polled. Defaults to 0.
- pollingJob 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.
- branch_filters Sequence[BuildDefinition Ci Trigger Override Branch Filter] 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- batch bool
- If you set batch to 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. Defaults to true.
- max_concurrent_ intbuilds_ per_ branch 
- The number of max builds per branch. Defaults to 1.
- path_filters Sequence[BuildDefinition Ci Trigger Override Path Filter] 
- Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
- polling_interval int
- How often the external repository is polled. Defaults to 0.
- 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.
- branchFilters List<Property Map>
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- batch Boolean
- If you set batch to 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. Defaults to true.
- maxConcurrent NumberBuilds Per Branch 
- The number of max builds per branch. Defaults to 1.
- pathFilters List<Property Map>
- Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
- pollingInterval Number
- How often the external repository is polled. Defaults to 0.
- pollingJob 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.
BuildDefinitionCiTriggerOverrideBranchFilter, BuildDefinitionCiTriggerOverrideBranchFilterArgs              
BuildDefinitionCiTriggerOverridePathFilter, BuildDefinitionCiTriggerOverridePathFilterArgs              
BuildDefinitionFeature, BuildDefinitionFeatureArgs      
- SkipFirst boolRun 
- Trigger the pipeline to run after the creation. Defaults to - true.- Note The first run( - skip_first_run = false) will only be triggered on create. If the first run fails, the build definition will still be marked as successfully created. A warning message indicating the inability to run pipeline will be displayed.
- SkipFirst boolRun 
- Trigger the pipeline to run after the creation. Defaults to - true.- Note The first run( - skip_first_run = false) will only be triggered on create. If the first run fails, the build definition will still be marked as successfully created. A warning message indicating the inability to run pipeline will be displayed.
- skipFirst BooleanRun 
- Trigger the pipeline to run after the creation. Defaults to - true.- Note The first run( - skip_first_run = false) will only be triggered on create. If the first run fails, the build definition will still be marked as successfully created. A warning message indicating the inability to run pipeline will be displayed.
- skipFirst booleanRun 
- Trigger the pipeline to run after the creation. Defaults to - true.- Note The first run( - skip_first_run = false) will only be triggered on create. If the first run fails, the build definition will still be marked as successfully created. A warning message indicating the inability to run pipeline will be displayed.
- skip_first_ boolrun 
- Trigger the pipeline to run after the creation. Defaults to - true.- Note The first run( - skip_first_run = false) will only be triggered on create. If the first run fails, the build definition will still be marked as successfully created. A warning message indicating the inability to run pipeline will be displayed.
- skipFirst BooleanRun 
- Trigger the pipeline to run after the creation. Defaults to - true.- Note The first run( - skip_first_run = false) will only be triggered on create. If the first run fails, the build definition will still be marked as successfully created. A warning message indicating the inability to run pipeline will be displayed.
BuildDefinitionJob, BuildDefinitionJobArgs      
- Condition string
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. Possible values: succeeded(),succeededOrFailed(),always(),failed()etc. More details: Pipeline conditions
- Name string
- The name of the job.
- RefName string
- The reference name of the job, can be used to define the job dependencies.
- Target
Pulumi.Azure Dev Ops. Inputs. Build Definition Job Target 
- A targetblocks as documented below.
- AllowScripts boolAuth Access Option 
- Enables scripts and other processes launched by tasks to access the OAuth token through the System.AccessTokenvariable. Possible values:true,false. Defaults tofalse. Available when Job type isAgentJob
- Dependencies
List<Pulumi.Azure Dev Ops. Inputs. Build Definition Job Dependency> 
- A dependenciesblocks as documented below. Define the job dependencies.
- string
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- JobCancel intTimeout In Minutes 
- The job cancel timeout (in minutes) for builds cancelled by user for this definition. Possible values are between 0and60. Defaults to0.
- JobTimeout intIn Minutes 
- The job execution timeout (in minutes) for builds queued against this definition. Possible values are between 0and1000000000. Defaults to0.
- Condition string
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. Possible values: succeeded(),succeededOrFailed(),always(),failed()etc. More details: Pipeline conditions
- Name string
- The name of the job.
- RefName string
- The reference name of the job, can be used to define the job dependencies.
- Target
BuildDefinition Job Target 
- A targetblocks as documented below.
- AllowScripts boolAuth Access Option 
- Enables scripts and other processes launched by tasks to access the OAuth token through the System.AccessTokenvariable. Possible values:true,false. Defaults tofalse. Available when Job type isAgentJob
- Dependencies
[]BuildDefinition Job Dependency 
- A dependenciesblocks as documented below. Define the job dependencies.
- string
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- JobCancel intTimeout In Minutes 
- The job cancel timeout (in minutes) for builds cancelled by user for this definition. Possible values are between 0and60. Defaults to0.
- JobTimeout intIn Minutes 
- The job execution timeout (in minutes) for builds queued against this definition. Possible values are between 0and1000000000. Defaults to0.
- condition String
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. Possible values: succeeded(),succeededOrFailed(),always(),failed()etc. More details: Pipeline conditions
- name String
- The name of the job.
- refName String
- The reference name of the job, can be used to define the job dependencies.
- target
BuildDefinition Job Target 
- A targetblocks as documented below.
- allowScripts BooleanAuth Access Option 
- Enables scripts and other processes launched by tasks to access the OAuth token through the System.AccessTokenvariable. Possible values:true,false. Defaults tofalse. Available when Job type isAgentJob
- dependencies
List<BuildDefinition Job Dependency> 
- A dependenciesblocks as documented below. Define the job dependencies.
- String
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- jobCancel IntegerTimeout In Minutes 
- The job cancel timeout (in minutes) for builds cancelled by user for this definition. Possible values are between 0and60. Defaults to0.
- jobTimeout IntegerIn Minutes 
- The job execution timeout (in minutes) for builds queued against this definition. Possible values are between 0and1000000000. Defaults to0.
- condition string
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. Possible values: succeeded(),succeededOrFailed(),always(),failed()etc. More details: Pipeline conditions
- name string
- The name of the job.
- refName string
- The reference name of the job, can be used to define the job dependencies.
- target
BuildDefinition Job Target 
- A targetblocks as documented below.
- allowScripts booleanAuth Access Option 
- Enables scripts and other processes launched by tasks to access the OAuth token through the System.AccessTokenvariable. Possible values:true,false. Defaults tofalse. Available when Job type isAgentJob
- dependencies
BuildDefinition Job Dependency[] 
- A dependenciesblocks as documented below. Define the job dependencies.
- string
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- jobCancel numberTimeout In Minutes 
- The job cancel timeout (in minutes) for builds cancelled by user for this definition. Possible values are between 0and60. Defaults to0.
- jobTimeout numberIn Minutes 
- The job execution timeout (in minutes) for builds queued against this definition. Possible values are between 0and1000000000. Defaults to0.
- condition str
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. Possible values: succeeded(),succeededOrFailed(),always(),failed()etc. More details: Pipeline conditions
- name str
- The name of the job.
- ref_name str
- The reference name of the job, can be used to define the job dependencies.
- target
BuildDefinition 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. Possible values:true,false. Defaults tofalse. Available when Job type isAgentJob
- dependencies
Sequence[BuildDefinition Job Dependency] 
- A dependenciesblocks as documented below. Define the job dependencies.
- str
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- job_cancel_ inttimeout_ in_ minutes 
- The job cancel timeout (in minutes) for builds cancelled by user for this definition. Possible values are between 0and60. Defaults to0.
- job_timeout_ intin_ minutes 
- The job execution timeout (in minutes) for builds queued against this definition. Possible values are between 0and1000000000. Defaults to0.
- condition String
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. Possible values: succeeded(),succeededOrFailed(),always(),failed()etc. More details: Pipeline conditions
- name String
- The name of the job.
- refName String
- The reference name of the job, can be used to define the job dependencies.
- target Property Map
- A targetblocks as documented below.
- allowScripts BooleanAuth Access Option 
- Enables scripts and other processes launched by tasks to access the OAuth token through the System.AccessTokenvariable. Possible values:true,false. Defaults tofalse. Available when Job type isAgentJob
- dependencies List<Property Map>
- A dependenciesblocks as documented below. Define the job dependencies.
- String
- The job authorization scope for builds queued against this definition. Possible values are: project,projectCollection. Defaults toprojectCollection.
- jobCancel NumberTimeout In Minutes 
- The job cancel timeout (in minutes) for builds cancelled by user for this definition. Possible values are between 0and60. Defaults to0.
- jobTimeout NumberIn Minutes 
- The job execution timeout (in minutes) for builds queued against this definition. Possible values are between 0and1000000000. Defaults to0.
BuildDefinitionJobDependency, BuildDefinitionJobDependencyArgs        
- 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
BuildDefinitionJobTarget, BuildDefinitionJobTargetArgs        
- ExecutionOptions Pulumi.Azure Dev Ops. Inputs. Build Definition Job Target Execution Options 
- A execution_optionsblocks as documented below.
- Type string
- The job type. Possible values: AgentJob,AgentlessJob
- Demands List<string>
- A list of demands that represents the agent capabilities required by this build. Example: git
- ExecutionOptions BuildDefinition Job Target Execution Options 
- A execution_optionsblocks as documented below.
- Type string
- The job type. Possible values: AgentJob,AgentlessJob
- Demands []string
- A list of demands that represents the agent capabilities required by this build. Example: git
- executionOptions BuildDefinition Job Target Execution Options 
- A execution_optionsblocks as documented below.
- type String
- The job type. Possible values: AgentJob,AgentlessJob
- demands List<String>
- A list of demands that represents the agent capabilities required by this build. Example: git
- executionOptions BuildDefinition Job Target Execution Options 
- A execution_optionsblocks as documented below.
- type string
- The job type. Possible values: AgentJob,AgentlessJob
- demands string[]
- A list of demands that represents the agent capabilities required by this build. Example: git
- execution_options BuildDefinition Job Target Execution Options 
- A execution_optionsblocks as documented below.
- type str
- The job type. Possible values: AgentJob,AgentlessJob
- demands Sequence[str]
- A list of demands that represents the agent capabilities required by this build. Example: git
- executionOptions Property Map
- A execution_optionsblocks as documented below.
- type String
- The job type. Possible values: AgentJob,AgentlessJob
- demands List<String>
- A list of demands that represents the agent capabilities required by this build. Example: git
BuildDefinitionJobTargetExecutionOptions, BuildDefinitionJobTargetExecutionOptionsArgs            
- Type string
- The execution type of the Job. Possible values are: None,Multi-Configuration,Multi-Agent.
- ContinueOn boolError 
- Whether to continue the job when an error occurs. Possible values are: true,false.
- MaxConcurrency 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. Available when execution_options.typeisMulti-Configuration.
- Type string
- The execution type of the Job. Possible values are: None,Multi-Configuration,Multi-Agent.
- ContinueOn boolError 
- Whether to continue the job when an error occurs. Possible values are: true,false.
- MaxConcurrency 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. Available when execution_options.typeisMulti-Configuration.
- type String
- The execution type of the Job. Possible values are: None,Multi-Configuration,Multi-Agent.
- continueOn BooleanError 
- Whether to continue the job when an error occurs. Possible values are: true,false.
- maxConcurrency 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. Available when execution_options.typeisMulti-Configuration.
- type string
- The execution type of the Job. Possible values are: None,Multi-Configuration,Multi-Agent.
- continueOn booleanError 
- Whether to continue the job when an error occurs. Possible values are: true,false.
- maxConcurrency 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. Available when execution_options.typeisMulti-Configuration.
- type str
- The execution type of the Job. Possible values are: None,Multi-Configuration,Multi-Agent.
- continue_on_ boolerror 
- Whether to continue the job when an error occurs. Possible values are: true,false.
- 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. Available when execution_options.typeisMulti-Configuration.
- type String
- The execution type of the Job. Possible values are: None,Multi-Configuration,Multi-Agent.
- continueOn BooleanError 
- Whether to continue the job when an error occurs. Possible values are: true,false.
- maxConcurrency 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. Available when execution_options.typeisMulti-Configuration.
BuildDefinitionPullRequestTrigger, BuildDefinitionPullRequestTriggerArgs          
- Forks
Pulumi.Azure Dev Ops. Inputs. Build Definition Pull Request Trigger Forks 
- Set permissions for Forked repositories.
- CommentRequired string
- InitialBranch string
- Override
Pulumi.Azure Dev Ops. Inputs. Build Definition Pull Request Trigger Override 
- Override the azure-pipeline file and use this configuration for all builds.
- UseYaml bool
- Use the azure-pipeline file for the build configuration. Defaults to false.
- Forks
BuildDefinition Pull Request Trigger Forks 
- Set permissions for Forked repositories.
- CommentRequired string
- InitialBranch string
- Override
BuildDefinition Pull Request Trigger Override 
- Override the azure-pipeline file and use this configuration for all builds.
- UseYaml bool
- Use the azure-pipeline file for the build configuration. Defaults to false.
- forks
BuildDefinition Pull Request Trigger Forks 
- Set permissions for Forked repositories.
- commentRequired String
- initialBranch String
- override
BuildDefinition Pull Request Trigger Override 
- Override the azure-pipeline file and use this configuration for all builds.
- useYaml Boolean
- Use the azure-pipeline file for the build configuration. Defaults to false.
- forks
BuildDefinition Pull Request Trigger Forks 
- Set permissions for Forked repositories.
- commentRequired string
- initialBranch string
- override
BuildDefinition Pull Request Trigger Override 
- Override the azure-pipeline file and use this configuration for all builds.
- useYaml boolean
- Use the azure-pipeline file for the build configuration. Defaults to false.
- forks
BuildDefinition Pull Request Trigger Forks 
- Set permissions for Forked repositories.
- comment_required str
- initial_branch str
- override
BuildDefinition Pull Request Trigger Override 
- Override the azure-pipeline file and use this configuration for all builds.
- use_yaml bool
- Use the azure-pipeline file for the build configuration. Defaults to false.
- forks Property Map
- Set permissions for Forked repositories.
- commentRequired String
- initialBranch String
- override Property Map
- Override the azure-pipeline file and use this configuration for all builds.
- useYaml Boolean
- Use the azure-pipeline file for the build configuration. Defaults to false.
BuildDefinitionPullRequestTriggerForks, BuildDefinitionPullRequestTriggerForksArgs            
- 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.
BuildDefinitionPullRequestTriggerOverride, BuildDefinitionPullRequestTriggerOverrideArgs            
- BranchFilters List<Pulumi.Azure Dev Ops. Inputs. Build Definition Pull Request Trigger Override Branch Filter> 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- AutoCancel bool
- . Defaults to true.
- PathFilters List<Pulumi.Azure Dev Ops. Inputs. Build Definition Pull Request Trigger Override Path Filter> 
- Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
- BranchFilters []BuildDefinition Pull Request Trigger Override Branch Filter 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- AutoCancel bool
- . Defaults to true.
- PathFilters []BuildDefinition Pull Request Trigger Override Path Filter 
- Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
- branchFilters List<BuildDefinition Pull Request Trigger Override Branch Filter> 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- autoCancel Boolean
- . Defaults to true.
- pathFilters List<BuildDefinition Pull Request Trigger Override Path Filter> 
- Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
- branchFilters BuildDefinition Pull Request Trigger Override Branch Filter[] 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- autoCancel boolean
- . Defaults to true.
- pathFilters BuildDefinition Pull Request Trigger Override Path Filter[] 
- Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
- branch_filters Sequence[BuildDefinition Pull Request Trigger Override Branch Filter] 
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- auto_cancel bool
- . Defaults to true.
- path_filters Sequence[BuildDefinition Pull Request Trigger Override Path Filter] 
- Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
- branchFilters List<Property Map>
- The branches to include and exclude from the trigger. A branch_filterblock as documented below.
- autoCancel Boolean
- . Defaults to true.
- pathFilters List<Property Map>
- Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
BuildDefinitionPullRequestTriggerOverrideBranchFilter, BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs                
BuildDefinitionPullRequestTriggerOverridePathFilter, BuildDefinitionPullRequestTriggerOverridePathFilterArgs                
BuildDefinitionRepository, BuildDefinitionRepositoryArgs      
- RepoId string
- The id of the repository. For TfsGitrepos, this is simply the ID of the repository. ForGithubrepos, this will take the form of<GitHub Org>/<Repo Name>. ForBitbucketrepos, this will take the form of<Workspace ID>/<Repo Name>.
- RepoType string
- The repository type. Possible values are: GitHuborTfsGitorBitbucketorGitHub EnterpriseorGit. Defaults toGitHub. Ifrepo_typeisGitHubEnterprise, must use existing project and GitHub Enterprise service connection.
- BranchName string
- The branch name for which builds are triggered. Defaults to master.
- GithubEnterprise stringUrl 
- The Github Enterprise URL. Used if repo_typeisGithubEnterprise. Conflict withurl
- ReportBuild boolStatus 
- Report build status. Default is true.
- ServiceConnection stringId 
- The service connection ID. Used if the repo_typeisGitHuborGitHubEnterprise.
- Url string
- The URL of the Git repository. Used if repo_typeisGit. Conflict withgithub_enterprise_url
- YmlPath string
- The path of the Yaml file describing the build definition.
- RepoId string
- The id of the repository. For TfsGitrepos, this is simply the ID of the repository. ForGithubrepos, this will take the form of<GitHub Org>/<Repo Name>. ForBitbucketrepos, this will take the form of<Workspace ID>/<Repo Name>.
- RepoType string
- The repository type. Possible values are: GitHuborTfsGitorBitbucketorGitHub EnterpriseorGit. Defaults toGitHub. Ifrepo_typeisGitHubEnterprise, must use existing project and GitHub Enterprise service connection.
- BranchName string
- The branch name for which builds are triggered. Defaults to master.
- GithubEnterprise stringUrl 
- The Github Enterprise URL. Used if repo_typeisGithubEnterprise. Conflict withurl
- ReportBuild boolStatus 
- Report build status. Default is true.
- ServiceConnection stringId 
- The service connection ID. Used if the repo_typeisGitHuborGitHubEnterprise.
- Url string
- The URL of the Git repository. Used if repo_typeisGit. Conflict withgithub_enterprise_url
- YmlPath string
- The path of the Yaml file describing the build definition.
- repoId String
- The id of the repository. For TfsGitrepos, this is simply the ID of the repository. ForGithubrepos, this will take the form of<GitHub Org>/<Repo Name>. ForBitbucketrepos, this will take the form of<Workspace ID>/<Repo Name>.
- repoType String
- The repository type. Possible values are: GitHuborTfsGitorBitbucketorGitHub EnterpriseorGit. Defaults toGitHub. Ifrepo_typeisGitHubEnterprise, must use existing project and GitHub Enterprise service connection.
- branchName String
- The branch name for which builds are triggered. Defaults to master.
- githubEnterprise StringUrl 
- The Github Enterprise URL. Used if repo_typeisGithubEnterprise. Conflict withurl
- reportBuild BooleanStatus 
- Report build status. Default is true.
- serviceConnection StringId 
- The service connection ID. Used if the repo_typeisGitHuborGitHubEnterprise.
- url String
- The URL of the Git repository. Used if repo_typeisGit. Conflict withgithub_enterprise_url
- ymlPath String
- The path of the Yaml file describing the build definition.
- repoId string
- The id of the repository. For TfsGitrepos, this is simply the ID of the repository. ForGithubrepos, this will take the form of<GitHub Org>/<Repo Name>. ForBitbucketrepos, this will take the form of<Workspace ID>/<Repo Name>.
- repoType string
- The repository type. Possible values are: GitHuborTfsGitorBitbucketorGitHub EnterpriseorGit. Defaults toGitHub. Ifrepo_typeisGitHubEnterprise, must use existing project and GitHub Enterprise service connection.
- branchName string
- The branch name for which builds are triggered. Defaults to master.
- githubEnterprise stringUrl 
- The Github Enterprise URL. Used if repo_typeisGithubEnterprise. Conflict withurl
- reportBuild booleanStatus 
- Report build status. Default is true.
- serviceConnection stringId 
- The service connection ID. Used if the repo_typeisGitHuborGitHubEnterprise.
- url string
- The URL of the Git repository. Used if repo_typeisGit. Conflict withgithub_enterprise_url
- ymlPath string
- The path of the Yaml file describing the build definition.
- repo_id str
- The id of the repository. For TfsGitrepos, this is simply the ID of the repository. ForGithubrepos, this will take the form of<GitHub Org>/<Repo Name>. ForBitbucketrepos, this will take the form of<Workspace ID>/<Repo Name>.
- repo_type str
- The repository type. Possible values are: GitHuborTfsGitorBitbucketorGitHub EnterpriseorGit. Defaults toGitHub. Ifrepo_typeisGitHubEnterprise, must use existing project and GitHub Enterprise service connection.
- branch_name str
- The branch name for which builds are triggered. Defaults to master.
- github_enterprise_ strurl 
- The Github Enterprise URL. Used if repo_typeisGithubEnterprise. Conflict withurl
- report_build_ boolstatus 
- Report build status. Default is true.
- service_connection_ strid 
- The service connection ID. Used if the repo_typeisGitHuborGitHubEnterprise.
- url str
- The URL of the Git repository. Used if repo_typeisGit. Conflict withgithub_enterprise_url
- yml_path str
- The path of the Yaml file describing the build definition.
- repoId String
- The id of the repository. For TfsGitrepos, this is simply the ID of the repository. ForGithubrepos, this will take the form of<GitHub Org>/<Repo Name>. ForBitbucketrepos, this will take the form of<Workspace ID>/<Repo Name>.
- repoType String
- The repository type. Possible values are: GitHuborTfsGitorBitbucketorGitHub EnterpriseorGit. Defaults toGitHub. Ifrepo_typeisGitHubEnterprise, must use existing project and GitHub Enterprise service connection.
- branchName String
- The branch name for which builds are triggered. Defaults to master.
- githubEnterprise StringUrl 
- The Github Enterprise URL. Used if repo_typeisGithubEnterprise. Conflict withurl
- reportBuild BooleanStatus 
- Report build status. Default is true.
- serviceConnection StringId 
- The service connection ID. Used if the repo_typeisGitHuborGitHubEnterprise.
- url String
- The URL of the Git repository. Used if repo_typeisGit. Conflict withgithub_enterprise_url
- ymlPath String
- The path of the Yaml file describing the build definition.
BuildDefinitionSchedule, BuildDefinitionScheduleArgs      
- BranchFilters List<Pulumi.Azure Dev Ops. Inputs. Build Definition Schedule Branch Filter> 
- A branch_filterblock as defined below.
- DaysTo List<string>Builds 
- When to build. Possible values are: Mon,Tue,Wed,Thu,Fri,Sat,Sun.
- ScheduleJob stringId 
- The ID of the schedule job
- ScheduleOnly boolWith Changes 
- Schedule builds if the source or pipeline has changed. Defaults to true.
- StartHours int
- Build start hour. Possible values are: 0 ~ 23. Defaults to0.
- StartMinutes int
- Build start minute. Possible values are: 0 ~ 59. Defaults to0.
- TimeZone string
- Build time zone. Defaults to (UTC) Coordinated Universal Time. Possible values are:(UTC-12:00) International Date Line West,(UTC-11:00) Coordinated Universal Time-11,(UTC-10:00) Aleutian Islands,(UTC-10:00) Hawaii,(UTC-09:30) Marquesas Islands,(UTC-09:00) Alaska,(UTC-09:00) Coordinated Universal Time-09,(UTC-08:00) Baja California,(UTC-08:00) Coordinated Universal Time-08,(UTC-08:00) Pacific Time (US &Canada),(UTC-07:00) Arizona,(UTC-07:00) Chihuahua, La Paz, Mazatlan,(UTC-07:00) Mountain Time (US &Canada),(UTC-07:00) Yukon,(UTC-06:00) Central America,(UTC-06:00) Central Time (US &Canada),(UTC-06:00) Easter Island,(UTC-06:00) Guadalajara, Mexico City, Monterrey,(UTC-06:00) Saskatchewan,(UTC-05:00) Bogota, Lima, Quito, Rio Branco,(UTC-05:00) Chetumal,(UTC-05:00) Eastern Time (US &Canada),(UTC-05:00) Haiti,(UTC-05:00) Havana,(UTC-05:00) Indiana (East),(UTC-05:00) Turks and Caicos,(UTC-04:00) Asuncion,(UTC-04:00) Atlantic Time (Canada),(UTC-04:00) Caracas,(UTC-04:00) Cuiaba,(UTC-04:00) Georgetown, La Paz, Manaus, San Juan,(UTC-04:00) Santiago,(UTC-03:30) Newfoundland,(UTC-03:00) Araguaina,(UTC-03:00) Brasilia,(UTC-03:00) Cayenne, Fortaleza,(UTC-03:00) City of Buenos Aires,(UTC-03:00) Greenland,(UTC-03:00) Montevideo,(UTC-03:00) Punta Arenas,(UTC-03:00) Saint Pierre and Miquelon,(UTC-03:00) Salvador,(UTC-02:00) Coordinated Universal Time-02,(UTC-02:00) Mid-Atlantic - Old,(UTC-01:00) Azores,(UTC-01:00) Cabo Verde Is.,(UTC) Coordinated Universal Time,(UTC+00:00) Dublin, Edinburgh, Lisbon, London,(UTC+00:00) Monrovia, Reykjavik,(UTC+00:00) Sao Tome,(UTC+01:00) Casablanca,(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna,(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague,(UTC+01:00) Brussels, Copenhagen, Madrid, Paris,(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb,(UTC+01:00) West Central Africa,(UTC+02:00) Amman,(UTC+02:00) Athens, Bucharest,(UTC+02:00) Beirut,(UTC+02:00) Cairo,(UTC+02:00) Chisinau,(UTC+02:00) Damascus,(UTC+02:00) Gaza, Hebron,(UTC+02:00) Harare, Pretoria,(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius,(UTC+02:00) Jerusalem,(UTC+02:00) Juba,(UTC+02:00) Kaliningrad,(UTC+02:00) Khartoum,(UTC+02:00) Tripoli,(UTC+02:00) Windhoek,(UTC+03:00) Baghdad,(UTC+03:00) Istanbul,(UTC+03:00) Kuwait, Riyadh,(UTC+03:00) Minsk,(UTC+03:00) Moscow, St. Petersburg,(UTC+03:00) Nairobi,(UTC+03:00) Volgograd,(UTC+03:30) Tehran,(UTC+04:00) Abu Dhabi, Muscat,(UTC+04:00) Astrakhan, Ulyanovsk,(UTC+04:00) Baku,(UTC+04:00) Izhevsk, Samara,(UTC+04:00) Port Louis,(UTC+04:00) Saratov,(UTC+04:00) Tbilisi,(UTC+04:00) Yerevan,(UTC+04:30) Kabul,(UTC+05:00) Ashgabat, Tashkent,(UTC+05:00) Ekaterinburg,(UTC+05:00) Islamabad, Karachi,(UTC+05:00) Qyzylorda,(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi,(UTC+05:30) Sri Jayawardenepura,(UTC+05:45) Kathmandu,(UTC+06:00) Astana,(UTC+06:00) Dhaka,(UTC+06:00) Omsk,(UTC+06:30) Yangon (Rangoon),(UTC+07:00) Bangkok, Hanoi, Jakarta,(UTC+07:00) Barnaul, Gorno-Altaysk,(UTC+07:00) Hovd,(UTC+07:00) Krasnoyarsk,(UTC+07:00) Novosibirsk,(UTC+07:00) Tomsk,(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi,(UTC+08:00) Irkutsk,(UTC+08:00) Kuala Lumpur, Singapore,(UTC+08:00) Perth,(UTC+08:00) Taipei,(UTC+08:00) Ulaanbaatar,(UTC+08:45) Eucla,(UTC+09:00) Chita,(UTC+09:00) Osaka, Sapporo, Tokyo,(UTC+09:00) Pyongyang,(UTC+09:00) Seoul,(UTC+09:00) Yakutsk,(UTC+09:30) Adelaide,(UTC+09:30) Darwin,(UTC+10:00) Brisbane,(UTC+10:00) Canberra, Melbourne, Sydney,(UTC+10:00) Guam, Port Moresby,(UTC+10:00) Hobart,(UTC+10:00) Vladivostok,(UTC+10:30) Lord Howe Island,(UTC+11:00) Bougainville Island,(UTC+11:00) Chokurdakh,(UTC+11:00) Magadan,(UTC+11:00) Norfolk Island,(UTC+11:00) Sakhalin,(UTC+11:00) Solomon Is., New Caledonia,(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky,(UTC+12:00) Auckland, Wellington,(UTC+12:00) Coordinated Universal Time+12,(UTC+12:00) Fiji,(UTC+12:00) Petropavlovsk-Kamchatsky - Old,(UTC+12:45) Chatham Islands,(UTC+13:00) Coordinated Universal Time+13,(UTC+13:00) Nuku'alofa,(UTC+13:00) Samoa,(UTC+14:00) Kiritimati Island.
- BranchFilters []BuildDefinition Schedule Branch Filter 
- A branch_filterblock as defined below.
- DaysTo []stringBuilds 
- When to build. Possible values are: Mon,Tue,Wed,Thu,Fri,Sat,Sun.
- ScheduleJob stringId 
- The ID of the schedule job
- ScheduleOnly boolWith Changes 
- Schedule builds if the source or pipeline has changed. Defaults to true.
- StartHours int
- Build start hour. Possible values are: 0 ~ 23. Defaults to0.
- StartMinutes int
- Build start minute. Possible values are: 0 ~ 59. Defaults to0.
- TimeZone string
- Build time zone. Defaults to (UTC) Coordinated Universal Time. Possible values are:(UTC-12:00) International Date Line West,(UTC-11:00) Coordinated Universal Time-11,(UTC-10:00) Aleutian Islands,(UTC-10:00) Hawaii,(UTC-09:30) Marquesas Islands,(UTC-09:00) Alaska,(UTC-09:00) Coordinated Universal Time-09,(UTC-08:00) Baja California,(UTC-08:00) Coordinated Universal Time-08,(UTC-08:00) Pacific Time (US &Canada),(UTC-07:00) Arizona,(UTC-07:00) Chihuahua, La Paz, Mazatlan,(UTC-07:00) Mountain Time (US &Canada),(UTC-07:00) Yukon,(UTC-06:00) Central America,(UTC-06:00) Central Time (US &Canada),(UTC-06:00) Easter Island,(UTC-06:00) Guadalajara, Mexico City, Monterrey,(UTC-06:00) Saskatchewan,(UTC-05:00) Bogota, Lima, Quito, Rio Branco,(UTC-05:00) Chetumal,(UTC-05:00) Eastern Time (US &Canada),(UTC-05:00) Haiti,(UTC-05:00) Havana,(UTC-05:00) Indiana (East),(UTC-05:00) Turks and Caicos,(UTC-04:00) Asuncion,(UTC-04:00) Atlantic Time (Canada),(UTC-04:00) Caracas,(UTC-04:00) Cuiaba,(UTC-04:00) Georgetown, La Paz, Manaus, San Juan,(UTC-04:00) Santiago,(UTC-03:30) Newfoundland,(UTC-03:00) Araguaina,(UTC-03:00) Brasilia,(UTC-03:00) Cayenne, Fortaleza,(UTC-03:00) City of Buenos Aires,(UTC-03:00) Greenland,(UTC-03:00) Montevideo,(UTC-03:00) Punta Arenas,(UTC-03:00) Saint Pierre and Miquelon,(UTC-03:00) Salvador,(UTC-02:00) Coordinated Universal Time-02,(UTC-02:00) Mid-Atlantic - Old,(UTC-01:00) Azores,(UTC-01:00) Cabo Verde Is.,(UTC) Coordinated Universal Time,(UTC+00:00) Dublin, Edinburgh, Lisbon, London,(UTC+00:00) Monrovia, Reykjavik,(UTC+00:00) Sao Tome,(UTC+01:00) Casablanca,(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna,(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague,(UTC+01:00) Brussels, Copenhagen, Madrid, Paris,(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb,(UTC+01:00) West Central Africa,(UTC+02:00) Amman,(UTC+02:00) Athens, Bucharest,(UTC+02:00) Beirut,(UTC+02:00) Cairo,(UTC+02:00) Chisinau,(UTC+02:00) Damascus,(UTC+02:00) Gaza, Hebron,(UTC+02:00) Harare, Pretoria,(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius,(UTC+02:00) Jerusalem,(UTC+02:00) Juba,(UTC+02:00) Kaliningrad,(UTC+02:00) Khartoum,(UTC+02:00) Tripoli,(UTC+02:00) Windhoek,(UTC+03:00) Baghdad,(UTC+03:00) Istanbul,(UTC+03:00) Kuwait, Riyadh,(UTC+03:00) Minsk,(UTC+03:00) Moscow, St. Petersburg,(UTC+03:00) Nairobi,(UTC+03:00) Volgograd,(UTC+03:30) Tehran,(UTC+04:00) Abu Dhabi, Muscat,(UTC+04:00) Astrakhan, Ulyanovsk,(UTC+04:00) Baku,(UTC+04:00) Izhevsk, Samara,(UTC+04:00) Port Louis,(UTC+04:00) Saratov,(UTC+04:00) Tbilisi,(UTC+04:00) Yerevan,(UTC+04:30) Kabul,(UTC+05:00) Ashgabat, Tashkent,(UTC+05:00) Ekaterinburg,(UTC+05:00) Islamabad, Karachi,(UTC+05:00) Qyzylorda,(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi,(UTC+05:30) Sri Jayawardenepura,(UTC+05:45) Kathmandu,(UTC+06:00) Astana,(UTC+06:00) Dhaka,(UTC+06:00) Omsk,(UTC+06:30) Yangon (Rangoon),(UTC+07:00) Bangkok, Hanoi, Jakarta,(UTC+07:00) Barnaul, Gorno-Altaysk,(UTC+07:00) Hovd,(UTC+07:00) Krasnoyarsk,(UTC+07:00) Novosibirsk,(UTC+07:00) Tomsk,(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi,(UTC+08:00) Irkutsk,(UTC+08:00) Kuala Lumpur, Singapore,(UTC+08:00) Perth,(UTC+08:00) Taipei,(UTC+08:00) Ulaanbaatar,(UTC+08:45) Eucla,(UTC+09:00) Chita,(UTC+09:00) Osaka, Sapporo, Tokyo,(UTC+09:00) Pyongyang,(UTC+09:00) Seoul,(UTC+09:00) Yakutsk,(UTC+09:30) Adelaide,(UTC+09:30) Darwin,(UTC+10:00) Brisbane,(UTC+10:00) Canberra, Melbourne, Sydney,(UTC+10:00) Guam, Port Moresby,(UTC+10:00) Hobart,(UTC+10:00) Vladivostok,(UTC+10:30) Lord Howe Island,(UTC+11:00) Bougainville Island,(UTC+11:00) Chokurdakh,(UTC+11:00) Magadan,(UTC+11:00) Norfolk Island,(UTC+11:00) Sakhalin,(UTC+11:00) Solomon Is., New Caledonia,(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky,(UTC+12:00) Auckland, Wellington,(UTC+12:00) Coordinated Universal Time+12,(UTC+12:00) Fiji,(UTC+12:00) Petropavlovsk-Kamchatsky - Old,(UTC+12:45) Chatham Islands,(UTC+13:00) Coordinated Universal Time+13,(UTC+13:00) Nuku'alofa,(UTC+13:00) Samoa,(UTC+14:00) Kiritimati Island.
- branchFilters List<BuildDefinition Schedule Branch Filter> 
- A branch_filterblock as defined below.
- daysTo List<String>Builds 
- When to build. Possible values are: Mon,Tue,Wed,Thu,Fri,Sat,Sun.
- scheduleJob StringId 
- The ID of the schedule job
- scheduleOnly BooleanWith Changes 
- Schedule builds if the source or pipeline has changed. Defaults to true.
- startHours Integer
- Build start hour. Possible values are: 0 ~ 23. Defaults to0.
- startMinutes Integer
- Build start minute. Possible values are: 0 ~ 59. Defaults to0.
- timeZone String
- Build time zone. Defaults to (UTC) Coordinated Universal Time. Possible values are:(UTC-12:00) International Date Line West,(UTC-11:00) Coordinated Universal Time-11,(UTC-10:00) Aleutian Islands,(UTC-10:00) Hawaii,(UTC-09:30) Marquesas Islands,(UTC-09:00) Alaska,(UTC-09:00) Coordinated Universal Time-09,(UTC-08:00) Baja California,(UTC-08:00) Coordinated Universal Time-08,(UTC-08:00) Pacific Time (US &Canada),(UTC-07:00) Arizona,(UTC-07:00) Chihuahua, La Paz, Mazatlan,(UTC-07:00) Mountain Time (US &Canada),(UTC-07:00) Yukon,(UTC-06:00) Central America,(UTC-06:00) Central Time (US &Canada),(UTC-06:00) Easter Island,(UTC-06:00) Guadalajara, Mexico City, Monterrey,(UTC-06:00) Saskatchewan,(UTC-05:00) Bogota, Lima, Quito, Rio Branco,(UTC-05:00) Chetumal,(UTC-05:00) Eastern Time (US &Canada),(UTC-05:00) Haiti,(UTC-05:00) Havana,(UTC-05:00) Indiana (East),(UTC-05:00) Turks and Caicos,(UTC-04:00) Asuncion,(UTC-04:00) Atlantic Time (Canada),(UTC-04:00) Caracas,(UTC-04:00) Cuiaba,(UTC-04:00) Georgetown, La Paz, Manaus, San Juan,(UTC-04:00) Santiago,(UTC-03:30) Newfoundland,(UTC-03:00) Araguaina,(UTC-03:00) Brasilia,(UTC-03:00) Cayenne, Fortaleza,(UTC-03:00) City of Buenos Aires,(UTC-03:00) Greenland,(UTC-03:00) Montevideo,(UTC-03:00) Punta Arenas,(UTC-03:00) Saint Pierre and Miquelon,(UTC-03:00) Salvador,(UTC-02:00) Coordinated Universal Time-02,(UTC-02:00) Mid-Atlantic - Old,(UTC-01:00) Azores,(UTC-01:00) Cabo Verde Is.,(UTC) Coordinated Universal Time,(UTC+00:00) Dublin, Edinburgh, Lisbon, London,(UTC+00:00) Monrovia, Reykjavik,(UTC+00:00) Sao Tome,(UTC+01:00) Casablanca,(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna,(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague,(UTC+01:00) Brussels, Copenhagen, Madrid, Paris,(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb,(UTC+01:00) West Central Africa,(UTC+02:00) Amman,(UTC+02:00) Athens, Bucharest,(UTC+02:00) Beirut,(UTC+02:00) Cairo,(UTC+02:00) Chisinau,(UTC+02:00) Damascus,(UTC+02:00) Gaza, Hebron,(UTC+02:00) Harare, Pretoria,(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius,(UTC+02:00) Jerusalem,(UTC+02:00) Juba,(UTC+02:00) Kaliningrad,(UTC+02:00) Khartoum,(UTC+02:00) Tripoli,(UTC+02:00) Windhoek,(UTC+03:00) Baghdad,(UTC+03:00) Istanbul,(UTC+03:00) Kuwait, Riyadh,(UTC+03:00) Minsk,(UTC+03:00) Moscow, St. Petersburg,(UTC+03:00) Nairobi,(UTC+03:00) Volgograd,(UTC+03:30) Tehran,(UTC+04:00) Abu Dhabi, Muscat,(UTC+04:00) Astrakhan, Ulyanovsk,(UTC+04:00) Baku,(UTC+04:00) Izhevsk, Samara,(UTC+04:00) Port Louis,(UTC+04:00) Saratov,(UTC+04:00) Tbilisi,(UTC+04:00) Yerevan,(UTC+04:30) Kabul,(UTC+05:00) Ashgabat, Tashkent,(UTC+05:00) Ekaterinburg,(UTC+05:00) Islamabad, Karachi,(UTC+05:00) Qyzylorda,(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi,(UTC+05:30) Sri Jayawardenepura,(UTC+05:45) Kathmandu,(UTC+06:00) Astana,(UTC+06:00) Dhaka,(UTC+06:00) Omsk,(UTC+06:30) Yangon (Rangoon),(UTC+07:00) Bangkok, Hanoi, Jakarta,(UTC+07:00) Barnaul, Gorno-Altaysk,(UTC+07:00) Hovd,(UTC+07:00) Krasnoyarsk,(UTC+07:00) Novosibirsk,(UTC+07:00) Tomsk,(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi,(UTC+08:00) Irkutsk,(UTC+08:00) Kuala Lumpur, Singapore,(UTC+08:00) Perth,(UTC+08:00) Taipei,(UTC+08:00) Ulaanbaatar,(UTC+08:45) Eucla,(UTC+09:00) Chita,(UTC+09:00) Osaka, Sapporo, Tokyo,(UTC+09:00) Pyongyang,(UTC+09:00) Seoul,(UTC+09:00) Yakutsk,(UTC+09:30) Adelaide,(UTC+09:30) Darwin,(UTC+10:00) Brisbane,(UTC+10:00) Canberra, Melbourne, Sydney,(UTC+10:00) Guam, Port Moresby,(UTC+10:00) Hobart,(UTC+10:00) Vladivostok,(UTC+10:30) Lord Howe Island,(UTC+11:00) Bougainville Island,(UTC+11:00) Chokurdakh,(UTC+11:00) Magadan,(UTC+11:00) Norfolk Island,(UTC+11:00) Sakhalin,(UTC+11:00) Solomon Is., New Caledonia,(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky,(UTC+12:00) Auckland, Wellington,(UTC+12:00) Coordinated Universal Time+12,(UTC+12:00) Fiji,(UTC+12:00) Petropavlovsk-Kamchatsky - Old,(UTC+12:45) Chatham Islands,(UTC+13:00) Coordinated Universal Time+13,(UTC+13:00) Nuku'alofa,(UTC+13:00) Samoa,(UTC+14:00) Kiritimati Island.
- branchFilters BuildDefinition Schedule Branch Filter[] 
- A branch_filterblock as defined below.
- daysTo string[]Builds 
- When to build. Possible values are: Mon,Tue,Wed,Thu,Fri,Sat,Sun.
- scheduleJob stringId 
- The ID of the schedule job
- scheduleOnly booleanWith Changes 
- Schedule builds if the source or pipeline has changed. Defaults to true.
- startHours number
- Build start hour. Possible values are: 0 ~ 23. Defaults to0.
- startMinutes number
- Build start minute. Possible values are: 0 ~ 59. Defaults to0.
- timeZone string
- Build time zone. Defaults to (UTC) Coordinated Universal Time. Possible values are:(UTC-12:00) International Date Line West,(UTC-11:00) Coordinated Universal Time-11,(UTC-10:00) Aleutian Islands,(UTC-10:00) Hawaii,(UTC-09:30) Marquesas Islands,(UTC-09:00) Alaska,(UTC-09:00) Coordinated Universal Time-09,(UTC-08:00) Baja California,(UTC-08:00) Coordinated Universal Time-08,(UTC-08:00) Pacific Time (US &Canada),(UTC-07:00) Arizona,(UTC-07:00) Chihuahua, La Paz, Mazatlan,(UTC-07:00) Mountain Time (US &Canada),(UTC-07:00) Yukon,(UTC-06:00) Central America,(UTC-06:00) Central Time (US &Canada),(UTC-06:00) Easter Island,(UTC-06:00) Guadalajara, Mexico City, Monterrey,(UTC-06:00) Saskatchewan,(UTC-05:00) Bogota, Lima, Quito, Rio Branco,(UTC-05:00) Chetumal,(UTC-05:00) Eastern Time (US &Canada),(UTC-05:00) Haiti,(UTC-05:00) Havana,(UTC-05:00) Indiana (East),(UTC-05:00) Turks and Caicos,(UTC-04:00) Asuncion,(UTC-04:00) Atlantic Time (Canada),(UTC-04:00) Caracas,(UTC-04:00) Cuiaba,(UTC-04:00) Georgetown, La Paz, Manaus, San Juan,(UTC-04:00) Santiago,(UTC-03:30) Newfoundland,(UTC-03:00) Araguaina,(UTC-03:00) Brasilia,(UTC-03:00) Cayenne, Fortaleza,(UTC-03:00) City of Buenos Aires,(UTC-03:00) Greenland,(UTC-03:00) Montevideo,(UTC-03:00) Punta Arenas,(UTC-03:00) Saint Pierre and Miquelon,(UTC-03:00) Salvador,(UTC-02:00) Coordinated Universal Time-02,(UTC-02:00) Mid-Atlantic - Old,(UTC-01:00) Azores,(UTC-01:00) Cabo Verde Is.,(UTC) Coordinated Universal Time,(UTC+00:00) Dublin, Edinburgh, Lisbon, London,(UTC+00:00) Monrovia, Reykjavik,(UTC+00:00) Sao Tome,(UTC+01:00) Casablanca,(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna,(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague,(UTC+01:00) Brussels, Copenhagen, Madrid, Paris,(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb,(UTC+01:00) West Central Africa,(UTC+02:00) Amman,(UTC+02:00) Athens, Bucharest,(UTC+02:00) Beirut,(UTC+02:00) Cairo,(UTC+02:00) Chisinau,(UTC+02:00) Damascus,(UTC+02:00) Gaza, Hebron,(UTC+02:00) Harare, Pretoria,(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius,(UTC+02:00) Jerusalem,(UTC+02:00) Juba,(UTC+02:00) Kaliningrad,(UTC+02:00) Khartoum,(UTC+02:00) Tripoli,(UTC+02:00) Windhoek,(UTC+03:00) Baghdad,(UTC+03:00) Istanbul,(UTC+03:00) Kuwait, Riyadh,(UTC+03:00) Minsk,(UTC+03:00) Moscow, St. Petersburg,(UTC+03:00) Nairobi,(UTC+03:00) Volgograd,(UTC+03:30) Tehran,(UTC+04:00) Abu Dhabi, Muscat,(UTC+04:00) Astrakhan, Ulyanovsk,(UTC+04:00) Baku,(UTC+04:00) Izhevsk, Samara,(UTC+04:00) Port Louis,(UTC+04:00) Saratov,(UTC+04:00) Tbilisi,(UTC+04:00) Yerevan,(UTC+04:30) Kabul,(UTC+05:00) Ashgabat, Tashkent,(UTC+05:00) Ekaterinburg,(UTC+05:00) Islamabad, Karachi,(UTC+05:00) Qyzylorda,(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi,(UTC+05:30) Sri Jayawardenepura,(UTC+05:45) Kathmandu,(UTC+06:00) Astana,(UTC+06:00) Dhaka,(UTC+06:00) Omsk,(UTC+06:30) Yangon (Rangoon),(UTC+07:00) Bangkok, Hanoi, Jakarta,(UTC+07:00) Barnaul, Gorno-Altaysk,(UTC+07:00) Hovd,(UTC+07:00) Krasnoyarsk,(UTC+07:00) Novosibirsk,(UTC+07:00) Tomsk,(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi,(UTC+08:00) Irkutsk,(UTC+08:00) Kuala Lumpur, Singapore,(UTC+08:00) Perth,(UTC+08:00) Taipei,(UTC+08:00) Ulaanbaatar,(UTC+08:45) Eucla,(UTC+09:00) Chita,(UTC+09:00) Osaka, Sapporo, Tokyo,(UTC+09:00) Pyongyang,(UTC+09:00) Seoul,(UTC+09:00) Yakutsk,(UTC+09:30) Adelaide,(UTC+09:30) Darwin,(UTC+10:00) Brisbane,(UTC+10:00) Canberra, Melbourne, Sydney,(UTC+10:00) Guam, Port Moresby,(UTC+10:00) Hobart,(UTC+10:00) Vladivostok,(UTC+10:30) Lord Howe Island,(UTC+11:00) Bougainville Island,(UTC+11:00) Chokurdakh,(UTC+11:00) Magadan,(UTC+11:00) Norfolk Island,(UTC+11:00) Sakhalin,(UTC+11:00) Solomon Is., New Caledonia,(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky,(UTC+12:00) Auckland, Wellington,(UTC+12:00) Coordinated Universal Time+12,(UTC+12:00) Fiji,(UTC+12:00) Petropavlovsk-Kamchatsky - Old,(UTC+12:45) Chatham Islands,(UTC+13:00) Coordinated Universal Time+13,(UTC+13:00) Nuku'alofa,(UTC+13:00) Samoa,(UTC+14:00) Kiritimati Island.
- branch_filters Sequence[BuildDefinition Schedule Branch Filter] 
- A branch_filterblock as defined below.
- days_to_ Sequence[str]builds 
- When to build. Possible values are: Mon,Tue,Wed,Thu,Fri,Sat,Sun.
- schedule_job_ strid 
- The ID of the schedule job
- schedule_only_ boolwith_ changes 
- Schedule builds if the source or pipeline has changed. Defaults to true.
- start_hours int
- Build start hour. Possible values are: 0 ~ 23. Defaults to0.
- start_minutes int
- Build start minute. Possible values are: 0 ~ 59. Defaults to0.
- time_zone str
- Build time zone. Defaults to (UTC) Coordinated Universal Time. Possible values are:(UTC-12:00) International Date Line West,(UTC-11:00) Coordinated Universal Time-11,(UTC-10:00) Aleutian Islands,(UTC-10:00) Hawaii,(UTC-09:30) Marquesas Islands,(UTC-09:00) Alaska,(UTC-09:00) Coordinated Universal Time-09,(UTC-08:00) Baja California,(UTC-08:00) Coordinated Universal Time-08,(UTC-08:00) Pacific Time (US &Canada),(UTC-07:00) Arizona,(UTC-07:00) Chihuahua, La Paz, Mazatlan,(UTC-07:00) Mountain Time (US &Canada),(UTC-07:00) Yukon,(UTC-06:00) Central America,(UTC-06:00) Central Time (US &Canada),(UTC-06:00) Easter Island,(UTC-06:00) Guadalajara, Mexico City, Monterrey,(UTC-06:00) Saskatchewan,(UTC-05:00) Bogota, Lima, Quito, Rio Branco,(UTC-05:00) Chetumal,(UTC-05:00) Eastern Time (US &Canada),(UTC-05:00) Haiti,(UTC-05:00) Havana,(UTC-05:00) Indiana (East),(UTC-05:00) Turks and Caicos,(UTC-04:00) Asuncion,(UTC-04:00) Atlantic Time (Canada),(UTC-04:00) Caracas,(UTC-04:00) Cuiaba,(UTC-04:00) Georgetown, La Paz, Manaus, San Juan,(UTC-04:00) Santiago,(UTC-03:30) Newfoundland,(UTC-03:00) Araguaina,(UTC-03:00) Brasilia,(UTC-03:00) Cayenne, Fortaleza,(UTC-03:00) City of Buenos Aires,(UTC-03:00) Greenland,(UTC-03:00) Montevideo,(UTC-03:00) Punta Arenas,(UTC-03:00) Saint Pierre and Miquelon,(UTC-03:00) Salvador,(UTC-02:00) Coordinated Universal Time-02,(UTC-02:00) Mid-Atlantic - Old,(UTC-01:00) Azores,(UTC-01:00) Cabo Verde Is.,(UTC) Coordinated Universal Time,(UTC+00:00) Dublin, Edinburgh, Lisbon, London,(UTC+00:00) Monrovia, Reykjavik,(UTC+00:00) Sao Tome,(UTC+01:00) Casablanca,(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna,(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague,(UTC+01:00) Brussels, Copenhagen, Madrid, Paris,(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb,(UTC+01:00) West Central Africa,(UTC+02:00) Amman,(UTC+02:00) Athens, Bucharest,(UTC+02:00) Beirut,(UTC+02:00) Cairo,(UTC+02:00) Chisinau,(UTC+02:00) Damascus,(UTC+02:00) Gaza, Hebron,(UTC+02:00) Harare, Pretoria,(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius,(UTC+02:00) Jerusalem,(UTC+02:00) Juba,(UTC+02:00) Kaliningrad,(UTC+02:00) Khartoum,(UTC+02:00) Tripoli,(UTC+02:00) Windhoek,(UTC+03:00) Baghdad,(UTC+03:00) Istanbul,(UTC+03:00) Kuwait, Riyadh,(UTC+03:00) Minsk,(UTC+03:00) Moscow, St. Petersburg,(UTC+03:00) Nairobi,(UTC+03:00) Volgograd,(UTC+03:30) Tehran,(UTC+04:00) Abu Dhabi, Muscat,(UTC+04:00) Astrakhan, Ulyanovsk,(UTC+04:00) Baku,(UTC+04:00) Izhevsk, Samara,(UTC+04:00) Port Louis,(UTC+04:00) Saratov,(UTC+04:00) Tbilisi,(UTC+04:00) Yerevan,(UTC+04:30) Kabul,(UTC+05:00) Ashgabat, Tashkent,(UTC+05:00) Ekaterinburg,(UTC+05:00) Islamabad, Karachi,(UTC+05:00) Qyzylorda,(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi,(UTC+05:30) Sri Jayawardenepura,(UTC+05:45) Kathmandu,(UTC+06:00) Astana,(UTC+06:00) Dhaka,(UTC+06:00) Omsk,(UTC+06:30) Yangon (Rangoon),(UTC+07:00) Bangkok, Hanoi, Jakarta,(UTC+07:00) Barnaul, Gorno-Altaysk,(UTC+07:00) Hovd,(UTC+07:00) Krasnoyarsk,(UTC+07:00) Novosibirsk,(UTC+07:00) Tomsk,(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi,(UTC+08:00) Irkutsk,(UTC+08:00) Kuala Lumpur, Singapore,(UTC+08:00) Perth,(UTC+08:00) Taipei,(UTC+08:00) Ulaanbaatar,(UTC+08:45) Eucla,(UTC+09:00) Chita,(UTC+09:00) Osaka, Sapporo, Tokyo,(UTC+09:00) Pyongyang,(UTC+09:00) Seoul,(UTC+09:00) Yakutsk,(UTC+09:30) Adelaide,(UTC+09:30) Darwin,(UTC+10:00) Brisbane,(UTC+10:00) Canberra, Melbourne, Sydney,(UTC+10:00) Guam, Port Moresby,(UTC+10:00) Hobart,(UTC+10:00) Vladivostok,(UTC+10:30) Lord Howe Island,(UTC+11:00) Bougainville Island,(UTC+11:00) Chokurdakh,(UTC+11:00) Magadan,(UTC+11:00) Norfolk Island,(UTC+11:00) Sakhalin,(UTC+11:00) Solomon Is., New Caledonia,(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky,(UTC+12:00) Auckland, Wellington,(UTC+12:00) Coordinated Universal Time+12,(UTC+12:00) Fiji,(UTC+12:00) Petropavlovsk-Kamchatsky - Old,(UTC+12:45) Chatham Islands,(UTC+13:00) Coordinated Universal Time+13,(UTC+13:00) Nuku'alofa,(UTC+13:00) Samoa,(UTC+14:00) Kiritimati Island.
- branchFilters List<Property Map>
- A branch_filterblock as defined below.
- daysTo List<String>Builds 
- When to build. Possible values are: Mon,Tue,Wed,Thu,Fri,Sat,Sun.
- scheduleJob StringId 
- The ID of the schedule job
- scheduleOnly BooleanWith Changes 
- Schedule builds if the source or pipeline has changed. Defaults to true.
- startHours Number
- Build start hour. Possible values are: 0 ~ 23. Defaults to0.
- startMinutes Number
- Build start minute. Possible values are: 0 ~ 59. Defaults to0.
- timeZone String
- Build time zone. Defaults to (UTC) Coordinated Universal Time. Possible values are:(UTC-12:00) International Date Line West,(UTC-11:00) Coordinated Universal Time-11,(UTC-10:00) Aleutian Islands,(UTC-10:00) Hawaii,(UTC-09:30) Marquesas Islands,(UTC-09:00) Alaska,(UTC-09:00) Coordinated Universal Time-09,(UTC-08:00) Baja California,(UTC-08:00) Coordinated Universal Time-08,(UTC-08:00) Pacific Time (US &Canada),(UTC-07:00) Arizona,(UTC-07:00) Chihuahua, La Paz, Mazatlan,(UTC-07:00) Mountain Time (US &Canada),(UTC-07:00) Yukon,(UTC-06:00) Central America,(UTC-06:00) Central Time (US &Canada),(UTC-06:00) Easter Island,(UTC-06:00) Guadalajara, Mexico City, Monterrey,(UTC-06:00) Saskatchewan,(UTC-05:00) Bogota, Lima, Quito, Rio Branco,(UTC-05:00) Chetumal,(UTC-05:00) Eastern Time (US &Canada),(UTC-05:00) Haiti,(UTC-05:00) Havana,(UTC-05:00) Indiana (East),(UTC-05:00) Turks and Caicos,(UTC-04:00) Asuncion,(UTC-04:00) Atlantic Time (Canada),(UTC-04:00) Caracas,(UTC-04:00) Cuiaba,(UTC-04:00) Georgetown, La Paz, Manaus, San Juan,(UTC-04:00) Santiago,(UTC-03:30) Newfoundland,(UTC-03:00) Araguaina,(UTC-03:00) Brasilia,(UTC-03:00) Cayenne, Fortaleza,(UTC-03:00) City of Buenos Aires,(UTC-03:00) Greenland,(UTC-03:00) Montevideo,(UTC-03:00) Punta Arenas,(UTC-03:00) Saint Pierre and Miquelon,(UTC-03:00) Salvador,(UTC-02:00) Coordinated Universal Time-02,(UTC-02:00) Mid-Atlantic - Old,(UTC-01:00) Azores,(UTC-01:00) Cabo Verde Is.,(UTC) Coordinated Universal Time,(UTC+00:00) Dublin, Edinburgh, Lisbon, London,(UTC+00:00) Monrovia, Reykjavik,(UTC+00:00) Sao Tome,(UTC+01:00) Casablanca,(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna,(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague,(UTC+01:00) Brussels, Copenhagen, Madrid, Paris,(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb,(UTC+01:00) West Central Africa,(UTC+02:00) Amman,(UTC+02:00) Athens, Bucharest,(UTC+02:00) Beirut,(UTC+02:00) Cairo,(UTC+02:00) Chisinau,(UTC+02:00) Damascus,(UTC+02:00) Gaza, Hebron,(UTC+02:00) Harare, Pretoria,(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius,(UTC+02:00) Jerusalem,(UTC+02:00) Juba,(UTC+02:00) Kaliningrad,(UTC+02:00) Khartoum,(UTC+02:00) Tripoli,(UTC+02:00) Windhoek,(UTC+03:00) Baghdad,(UTC+03:00) Istanbul,(UTC+03:00) Kuwait, Riyadh,(UTC+03:00) Minsk,(UTC+03:00) Moscow, St. Petersburg,(UTC+03:00) Nairobi,(UTC+03:00) Volgograd,(UTC+03:30) Tehran,(UTC+04:00) Abu Dhabi, Muscat,(UTC+04:00) Astrakhan, Ulyanovsk,(UTC+04:00) Baku,(UTC+04:00) Izhevsk, Samara,(UTC+04:00) Port Louis,(UTC+04:00) Saratov,(UTC+04:00) Tbilisi,(UTC+04:00) Yerevan,(UTC+04:30) Kabul,(UTC+05:00) Ashgabat, Tashkent,(UTC+05:00) Ekaterinburg,(UTC+05:00) Islamabad, Karachi,(UTC+05:00) Qyzylorda,(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi,(UTC+05:30) Sri Jayawardenepura,(UTC+05:45) Kathmandu,(UTC+06:00) Astana,(UTC+06:00) Dhaka,(UTC+06:00) Omsk,(UTC+06:30) Yangon (Rangoon),(UTC+07:00) Bangkok, Hanoi, Jakarta,(UTC+07:00) Barnaul, Gorno-Altaysk,(UTC+07:00) Hovd,(UTC+07:00) Krasnoyarsk,(UTC+07:00) Novosibirsk,(UTC+07:00) Tomsk,(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi,(UTC+08:00) Irkutsk,(UTC+08:00) Kuala Lumpur, Singapore,(UTC+08:00) Perth,(UTC+08:00) Taipei,(UTC+08:00) Ulaanbaatar,(UTC+08:45) Eucla,(UTC+09:00) Chita,(UTC+09:00) Osaka, Sapporo, Tokyo,(UTC+09:00) Pyongyang,(UTC+09:00) Seoul,(UTC+09:00) Yakutsk,(UTC+09:30) Adelaide,(UTC+09:30) Darwin,(UTC+10:00) Brisbane,(UTC+10:00) Canberra, Melbourne, Sydney,(UTC+10:00) Guam, Port Moresby,(UTC+10:00) Hobart,(UTC+10:00) Vladivostok,(UTC+10:30) Lord Howe Island,(UTC+11:00) Bougainville Island,(UTC+11:00) Chokurdakh,(UTC+11:00) Magadan,(UTC+11:00) Norfolk Island,(UTC+11:00) Sakhalin,(UTC+11:00) Solomon Is., New Caledonia,(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky,(UTC+12:00) Auckland, Wellington,(UTC+12:00) Coordinated Universal Time+12,(UTC+12:00) Fiji,(UTC+12:00) Petropavlovsk-Kamchatsky - Old,(UTC+12:45) Chatham Islands,(UTC+13:00) Coordinated Universal Time+13,(UTC+13:00) Nuku'alofa,(UTC+13:00) Samoa,(UTC+14:00) Kiritimati Island.
BuildDefinitionScheduleBranchFilter, BuildDefinitionScheduleBranchFilterArgs          
BuildDefinitionVariable, BuildDefinitionVariableArgs      
- Name string
- The name of the variable.
- AllowOverride bool
- True if the variable can be overridden. Defaults to true.
- IsSecret bool
- True if the variable is a secret. Defaults to false.
- SecretValue string
- The secret value of the variable. Used when is_secretset totrue.
- Value string
- The value of the variable.
- Name string
- The name of the variable.
- AllowOverride bool
- True if the variable can be overridden. Defaults to true.
- IsSecret bool
- True if the variable is a secret. Defaults to false.
- SecretValue string
- The secret value of the variable. Used when is_secretset totrue.
- Value string
- The value of the variable.
- name String
- The name of the variable.
- allowOverride Boolean
- True if the variable can be overridden. Defaults to true.
- isSecret Boolean
- True if the variable is a secret. Defaults to false.
- secretValue String
- The secret value of the variable. Used when is_secretset totrue.
- value String
- The value of the variable.
- name string
- The name of the variable.
- allowOverride boolean
- True if the variable can be overridden. Defaults to true.
- isSecret boolean
- True if the variable is a secret. Defaults to false.
- secretValue string
- The secret value of the variable. Used when is_secretset totrue.
- value string
- The value of the variable.
- name str
- The name of the variable.
- allow_override bool
- True if the variable can be overridden. Defaults to true.
- is_secret bool
- True if the variable is a secret. Defaults to false.
- secret_value str
- The secret value of the variable. Used when is_secretset totrue.
- value str
- The value of the variable.
- name String
- The name of the variable.
- allowOverride Boolean
- True if the variable can be overridden. Defaults to true.
- isSecret Boolean
- True if the variable is a secret. Defaults to false.
- secretValue String
- The secret value of the variable. Used when is_secretset totrue.
- value String
- The value of the variable.
Import
Azure DevOps Build Definitions can be imported using the project name/definitions Id or by the project Guid/definitions Id, e.g.
$ pulumi import azuredevops:index/buildDefinition:BuildDefinition example "Example Project"/10
or
$ pulumi import azuredevops:index/buildDefinition:BuildDefinition example 00000000-0000-0000-0000-000000000000/0
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure DevOps pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azuredevopsTerraform Provider.