1. Packages
  2. Azuredevops Provider
  3. API Docs
  4. BuildDefinition
Azure DevOps v3.3.0 published on Wednesday, Sep 4, 2024 by Pulumi

azuredevops.BuildDefinition

Explore with Pulumi AI

azuredevops logo
Azure DevOps v3.3.0 published on Wednesday, Sep 4, 2024 by Pulumi

    Manages a Build Definition within Azure DevOps.

    Example Usage

    Tfs

    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 Terraform",
        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 Terraform",
        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 Terraform"),
    			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 Terraform",
            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 Terraform")
                .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 Terraform
          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 Terraform",
        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 Terraform",
        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 Terraform"),
    			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 Terraform",
            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 Terraform")
                .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 Terraform
          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
    

    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.

    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,
                        agent_pool_name: Optional[str] = None,
                        ci_trigger: Optional[BuildDefinitionCiTriggerArgs] = None,
                        features: Optional[Sequence[BuildDefinitionFeatureArgs]] = None,
                        name: Optional[str] = None,
                        path: Optional[str] = None,
                        pull_request_trigger: Optional[BuildDefinitionPullRequestTriggerArgs] = None,
                        queue_status: 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",
            YmlPath = "string",
            BranchName = "string",
            GithubEnterpriseUrl = "string",
            ReportBuildStatus = false,
            ServiceConnectionId = "string",
        },
        AgentPoolName = "string",
        CiTrigger = new AzureDevOps.Inputs.BuildDefinitionCiTriggerArgs
        {
            Override = new AzureDevOps.Inputs.BuildDefinitionCiTriggerOverrideArgs
            {
                Batch = false,
                BranchFilters = new[]
                {
                    new AzureDevOps.Inputs.BuildDefinitionCiTriggerOverrideBranchFilterArgs
                    {
                        Excludes = new[]
                        {
                            "string",
                        },
                        Includes = new[]
                        {
                            "string",
                        },
                    },
                },
                MaxConcurrentBuildsPerBranch = 0,
                PathFilters = new[]
                {
                    new AzureDevOps.Inputs.BuildDefinitionCiTriggerOverridePathFilterArgs
                    {
                        Excludes = new[]
                        {
                            "string",
                        },
                        Includes = new[]
                        {
                            "string",
                        },
                    },
                },
                PollingInterval = 0,
                PollingJobId = "string",
            },
            UseYaml = false,
        },
        Features = new[]
        {
            new AzureDevOps.Inputs.BuildDefinitionFeatureArgs
            {
                SkipFirstRun = false,
            },
        },
        Name = "string",
        Path = "string",
        PullRequestTrigger = new AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerArgs
        {
            Forks = new AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerForksArgs
            {
                Enabled = false,
                ShareSecrets = false,
            },
            CommentRequired = "string",
            InitialBranch = "string",
            Override = new AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerOverrideArgs
            {
                AutoCancel = false,
                BranchFilters = new[]
                {
                    new AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs
                    {
                        Excludes = new[]
                        {
                            "string",
                        },
                        Includes = new[]
                        {
                            "string",
                        },
                    },
                },
                PathFilters = new[]
                {
                    new AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerOverridePathFilterArgs
                    {
                        Excludes = new[]
                        {
                            "string",
                        },
                        Includes = new[]
                        {
                            "string",
                        },
                    },
                },
            },
            UseYaml = false,
        },
        QueueStatus = "string",
        Schedules = new[]
        {
            new AzureDevOps.Inputs.BuildDefinitionScheduleArgs
            {
                DaysToBuilds = new[]
                {
                    "string",
                },
                BranchFilters = new[]
                {
                    new AzureDevOps.Inputs.BuildDefinitionScheduleBranchFilterArgs
                    {
                        Excludes = new[]
                        {
                            "string",
                        },
                        Includes = 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"),
    		YmlPath:             pulumi.String("string"),
    		BranchName:          pulumi.String("string"),
    		GithubEnterpriseUrl: pulumi.String("string"),
    		ReportBuildStatus:   pulumi.Bool(false),
    		ServiceConnectionId: pulumi.String("string"),
    	},
    	AgentPoolName: pulumi.String("string"),
    	CiTrigger: &azuredevops.BuildDefinitionCiTriggerArgs{
    		Override: &azuredevops.BuildDefinitionCiTriggerOverrideArgs{
    			Batch: pulumi.Bool(false),
    			BranchFilters: azuredevops.BuildDefinitionCiTriggerOverrideBranchFilterArray{
    				&azuredevops.BuildDefinitionCiTriggerOverrideBranchFilterArgs{
    					Excludes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Includes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    			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),
    	},
    	Features: azuredevops.BuildDefinitionFeatureArray{
    		&azuredevops.BuildDefinitionFeatureArgs{
    			SkipFirstRun: pulumi.Bool(false),
    		},
    	},
    	Name: pulumi.String("string"),
    	Path: pulumi.String("string"),
    	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{
    			AutoCancel: pulumi.Bool(false),
    			BranchFilters: azuredevops.BuildDefinitionPullRequestTriggerOverrideBranchFilterArray{
    				&azuredevops.BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs{
    					Excludes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Includes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    			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"),
    	Schedules: azuredevops.BuildDefinitionScheduleArray{
    		&azuredevops.BuildDefinitionScheduleArgs{
    			DaysToBuilds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			BranchFilters: azuredevops.BuildDefinitionScheduleBranchFilterArray{
    				&azuredevops.BuildDefinitionScheduleBranchFilterArgs{
    					Excludes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Includes: 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")
            .ymlPath("string")
            .branchName("string")
            .githubEnterpriseUrl("string")
            .reportBuildStatus(false)
            .serviceConnectionId("string")
            .build())
        .agentPoolName("string")
        .ciTrigger(BuildDefinitionCiTriggerArgs.builder()
            .override(BuildDefinitionCiTriggerOverrideArgs.builder()
                .batch(false)
                .branchFilters(BuildDefinitionCiTriggerOverrideBranchFilterArgs.builder()
                    .excludes("string")
                    .includes("string")
                    .build())
                .maxConcurrentBuildsPerBranch(0)
                .pathFilters(BuildDefinitionCiTriggerOverridePathFilterArgs.builder()
                    .excludes("string")
                    .includes("string")
                    .build())
                .pollingInterval(0)
                .pollingJobId("string")
                .build())
            .useYaml(false)
            .build())
        .features(BuildDefinitionFeatureArgs.builder()
            .skipFirstRun(false)
            .build())
        .name("string")
        .path("string")
        .pullRequestTrigger(BuildDefinitionPullRequestTriggerArgs.builder()
            .forks(BuildDefinitionPullRequestTriggerForksArgs.builder()
                .enabled(false)
                .shareSecrets(false)
                .build())
            .commentRequired("string")
            .initialBranch("string")
            .override(BuildDefinitionPullRequestTriggerOverrideArgs.builder()
                .autoCancel(false)
                .branchFilters(BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs.builder()
                    .excludes("string")
                    .includes("string")
                    .build())
                .pathFilters(BuildDefinitionPullRequestTriggerOverridePathFilterArgs.builder()
                    .excludes("string")
                    .includes("string")
                    .build())
                .build())
            .useYaml(false)
            .build())
        .queueStatus("string")
        .schedules(BuildDefinitionScheduleArgs.builder()
            .daysToBuilds("string")
            .branchFilters(BuildDefinitionScheduleBranchFilterArgs.builder()
                .excludes("string")
                .includes("string")
                .build())
            .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={
            "repoId": "string",
            "repoType": "string",
            "ymlPath": "string",
            "branchName": "string",
            "githubEnterpriseUrl": "string",
            "reportBuildStatus": False,
            "serviceConnectionId": "string",
        },
        agent_pool_name="string",
        ci_trigger={
            "override": {
                "batch": False,
                "branchFilters": [{
                    "excludes": ["string"],
                    "includes": ["string"],
                }],
                "maxConcurrentBuildsPerBranch": 0,
                "pathFilters": [{
                    "excludes": ["string"],
                    "includes": ["string"],
                }],
                "pollingInterval": 0,
                "pollingJobId": "string",
            },
            "useYaml": False,
        },
        features=[{
            "skipFirstRun": False,
        }],
        name="string",
        path="string",
        pull_request_trigger={
            "forks": {
                "enabled": False,
                "shareSecrets": False,
            },
            "commentRequired": "string",
            "initialBranch": "string",
            "override": {
                "autoCancel": False,
                "branchFilters": [{
                    "excludes": ["string"],
                    "includes": ["string"],
                }],
                "pathFilters": [{
                    "excludes": ["string"],
                    "includes": ["string"],
                }],
            },
            "useYaml": False,
        },
        queue_status="string",
        schedules=[{
            "daysToBuilds": ["string"],
            "branchFilters": [{
                "excludes": ["string"],
                "includes": ["string"],
            }],
            "scheduleJobId": "string",
            "scheduleOnlyWithChanges": False,
            "startHours": 0,
            "startMinutes": 0,
            "timeZone": "string",
        }],
        variable_groups=[0],
        variables=[{
            "name": "string",
            "allowOverride": False,
            "isSecret": False,
            "secretValue": "string",
            "value": "string",
        }])
    
    const buildDefinitionResource = new azuredevops.BuildDefinition("buildDefinitionResource", {
        projectId: "string",
        repository: {
            repoId: "string",
            repoType: "string",
            ymlPath: "string",
            branchName: "string",
            githubEnterpriseUrl: "string",
            reportBuildStatus: false,
            serviceConnectionId: "string",
        },
        agentPoolName: "string",
        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,
        }],
        name: "string",
        path: "string",
        pullRequestTrigger: {
            forks: {
                enabled: false,
                shareSecrets: false,
            },
            commentRequired: "string",
            initialBranch: "string",
            override: {
                autoCancel: false,
                branchFilters: [{
                    excludes: ["string"],
                    includes: ["string"],
                }],
                pathFilters: [{
                    excludes: ["string"],
                    includes: ["string"],
                }],
            },
            useYaml: false,
        },
        queueStatus: "string",
        schedules: [{
            daysToBuilds: ["string"],
            branchFilters: [{
                excludes: ["string"],
                includes: ["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
        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
        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
            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

    The BuildDefinition resource accepts the following input properties:

    ProjectId string
    The project ID or project name.
    Repository Pulumi.AzureDevOps.Inputs.BuildDefinitionRepository
    A repository block as documented below.
    AgentPoolName string
    The agent pool that should execute the build. Defaults to Azure Pipelines.
    CiTrigger Pulumi.AzureDevOps.Inputs.BuildDefinitionCiTrigger
    Continuous Integration trigger.
    Features List<Pulumi.AzureDevOps.Inputs.BuildDefinitionFeature>
    A features blocks as documented below.
    Name string
    The name of the build definition.
    Path string
    The folder path of the build definition.
    PullRequestTrigger Pulumi.AzureDevOps.Inputs.BuildDefinitionPullRequestTrigger
    Pull Request Integration trigger.
    QueueStatus string
    The queue status of the build definition. Valid values: enabled or paused or disabled. Defaults to enabled.
    Schedules List<Pulumi.AzureDevOps.Inputs.BuildDefinitionSchedule>
    VariableGroups List<int>
    A list of variable group IDs (integers) to link to the build definition.
    Variables List<Pulumi.AzureDevOps.Inputs.BuildDefinitionVariable>
    A list of variable blocks, as documented below.
    ProjectId string
    The project ID or project name.
    Repository BuildDefinitionRepositoryArgs
    A repository block as documented below.
    AgentPoolName string
    The agent pool that should execute the build. Defaults to Azure Pipelines.
    CiTrigger BuildDefinitionCiTriggerArgs
    Continuous Integration trigger.
    Features []BuildDefinitionFeatureArgs
    A features blocks as documented below.
    Name string
    The name of the build definition.
    Path string
    The folder path of the build definition.
    PullRequestTrigger BuildDefinitionPullRequestTriggerArgs
    Pull Request Integration trigger.
    QueueStatus string
    The queue status of the build definition. Valid values: enabled or paused or disabled. Defaults to enabled.
    Schedules []BuildDefinitionScheduleArgs
    VariableGroups []int
    A list of variable group IDs (integers) to link to the build definition.
    Variables []BuildDefinitionVariableArgs
    A list of variable blocks, as documented below.
    projectId String
    The project ID or project name.
    repository BuildDefinitionRepository
    A repository block as documented below.
    agentPoolName String
    The agent pool that should execute the build. Defaults to Azure Pipelines.
    ciTrigger BuildDefinitionCiTrigger
    Continuous Integration trigger.
    features List<BuildDefinitionFeature>
    A features blocks as documented below.
    name String
    The name of the build definition.
    path String
    The folder path of the build definition.
    pullRequestTrigger BuildDefinitionPullRequestTrigger
    Pull Request Integration trigger.
    queueStatus String
    The queue status of the build definition. Valid values: enabled or paused or disabled. Defaults to enabled.
    schedules List<BuildDefinitionSchedule>
    variableGroups List<Integer>
    A list of variable group IDs (integers) to link to the build definition.
    variables List<BuildDefinitionVariable>
    A list of variable blocks, as documented below.
    projectId string
    The project ID or project name.
    repository BuildDefinitionRepository
    A repository block as documented below.
    agentPoolName string
    The agent pool that should execute the build. Defaults to Azure Pipelines.
    ciTrigger BuildDefinitionCiTrigger
    Continuous Integration trigger.
    features BuildDefinitionFeature[]
    A features blocks as documented below.
    name string
    The name of the build definition.
    path string
    The folder path of the build definition.
    pullRequestTrigger BuildDefinitionPullRequestTrigger
    Pull Request Integration trigger.
    queueStatus string
    The queue status of the build definition. Valid values: enabled or paused or disabled. Defaults to enabled.
    schedules BuildDefinitionSchedule[]
    variableGroups number[]
    A list of variable group IDs (integers) to link to the build definition.
    variables BuildDefinitionVariable[]
    A list of variable blocks, as documented below.
    project_id str
    The project ID or project name.
    repository BuildDefinitionRepositoryArgs
    A repository block as documented below.
    agent_pool_name str
    The agent pool that should execute the build. Defaults to Azure Pipelines.
    ci_trigger BuildDefinitionCiTriggerArgs
    Continuous Integration trigger.
    features Sequence[BuildDefinitionFeatureArgs]
    A features blocks as documented below.
    name str
    The name of the build definition.
    path str
    The folder path of the build definition.
    pull_request_trigger BuildDefinitionPullRequestTriggerArgs
    Pull Request Integration trigger.
    queue_status str
    The queue status of the build definition. Valid values: enabled or paused or disabled. Defaults to enabled.
    schedules Sequence[BuildDefinitionScheduleArgs]
    variable_groups Sequence[int]
    A list of variable group IDs (integers) to link to the build definition.
    variables Sequence[BuildDefinitionVariableArgs]
    A list of variable blocks, as documented below.
    projectId String
    The project ID or project name.
    repository Property Map
    A repository block as documented below.
    agentPoolName String
    The agent pool that should execute the build. Defaults to Azure Pipelines.
    ciTrigger Property Map
    Continuous Integration trigger.
    features List<Property Map>
    A features blocks as documented below.
    name String
    The name of the build definition.
    path String
    The folder path of the build definition.
    pullRequestTrigger Property Map
    Pull Request Integration trigger.
    queueStatus String
    The queue status of the build definition. Valid values: enabled or paused or disabled. Defaults to enabled.
    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 variable blocks, as documented below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BuildDefinition resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Revision int
    The revision of the build definition
    Id string
    The provider-assigned unique ID for this managed resource.
    Revision int
    The revision of the build definition
    id String
    The provider-assigned unique ID for this managed resource.
    revision Integer
    The revision of the build definition
    id string
    The provider-assigned unique ID for this managed resource.
    revision number
    The revision of the build definition
    id str
    The provider-assigned unique ID for this managed resource.
    revision int
    The revision of the build definition
    id String
    The provider-assigned unique ID for this managed resource.
    revision Number
    The revision of the build definition

    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,
            ci_trigger: Optional[BuildDefinitionCiTriggerArgs] = None,
            features: Optional[Sequence[BuildDefinitionFeatureArgs]] = 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) -> BuildDefinition
    func 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)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AgentPoolName string
    The agent pool that should execute the build. Defaults to Azure Pipelines.
    CiTrigger Pulumi.AzureDevOps.Inputs.BuildDefinitionCiTrigger
    Continuous Integration trigger.
    Features List<Pulumi.AzureDevOps.Inputs.BuildDefinitionFeature>
    A features blocks as documented below.
    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.
    PullRequestTrigger Pulumi.AzureDevOps.Inputs.BuildDefinitionPullRequestTrigger
    Pull Request Integration trigger.
    QueueStatus string
    The queue status of the build definition. Valid values: enabled or paused or disabled. Defaults to enabled.
    Repository Pulumi.AzureDevOps.Inputs.BuildDefinitionRepository
    A repository block as documented below.
    Revision int
    The revision of the build definition
    Schedules List<Pulumi.AzureDevOps.Inputs.BuildDefinitionSchedule>
    VariableGroups List<int>
    A list of variable group IDs (integers) to link to the build definition.
    Variables List<Pulumi.AzureDevOps.Inputs.BuildDefinitionVariable>
    A list of variable blocks, as documented below.
    AgentPoolName string
    The agent pool that should execute the build. Defaults to Azure Pipelines.
    CiTrigger BuildDefinitionCiTriggerArgs
    Continuous Integration trigger.
    Features []BuildDefinitionFeatureArgs
    A features blocks as documented below.
    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.
    PullRequestTrigger BuildDefinitionPullRequestTriggerArgs
    Pull Request Integration trigger.
    QueueStatus string
    The queue status of the build definition. Valid values: enabled or paused or disabled. Defaults to enabled.
    Repository BuildDefinitionRepositoryArgs
    A repository block as documented below.
    Revision int
    The revision of the build definition
    Schedules []BuildDefinitionScheduleArgs
    VariableGroups []int
    A list of variable group IDs (integers) to link to the build definition.
    Variables []BuildDefinitionVariableArgs
    A list of variable blocks, as documented below.
    agentPoolName String
    The agent pool that should execute the build. Defaults to Azure Pipelines.
    ciTrigger BuildDefinitionCiTrigger
    Continuous Integration trigger.
    features List<BuildDefinitionFeature>
    A features blocks as documented below.
    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.
    pullRequestTrigger BuildDefinitionPullRequestTrigger
    Pull Request Integration trigger.
    queueStatus String
    The queue status of the build definition. Valid values: enabled or paused or disabled. Defaults to enabled.
    repository BuildDefinitionRepository
    A repository block as documented below.
    revision Integer
    The revision of the build definition
    schedules List<BuildDefinitionSchedule>
    variableGroups List<Integer>
    A list of variable group IDs (integers) to link to the build definition.
    variables List<BuildDefinitionVariable>
    A list of variable blocks, as documented below.
    agentPoolName string
    The agent pool that should execute the build. Defaults to Azure Pipelines.
    ciTrigger BuildDefinitionCiTrigger
    Continuous Integration trigger.
    features BuildDefinitionFeature[]
    A features blocks as documented below.
    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.
    pullRequestTrigger BuildDefinitionPullRequestTrigger
    Pull Request Integration trigger.
    queueStatus string
    The queue status of the build definition. Valid values: enabled or paused or disabled. Defaults to enabled.
    repository BuildDefinitionRepository
    A repository block as documented below.
    revision number
    The revision of the build definition
    schedules BuildDefinitionSchedule[]
    variableGroups number[]
    A list of variable group IDs (integers) to link to the build definition.
    variables BuildDefinitionVariable[]
    A list of variable blocks, as documented below.
    agent_pool_name str
    The agent pool that should execute the build. Defaults to Azure Pipelines.
    ci_trigger BuildDefinitionCiTriggerArgs
    Continuous Integration trigger.
    features Sequence[BuildDefinitionFeatureArgs]
    A features blocks as documented below.
    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_trigger BuildDefinitionPullRequestTriggerArgs
    Pull Request Integration trigger.
    queue_status str
    The queue status of the build definition. Valid values: enabled or paused or disabled. Defaults to enabled.
    repository BuildDefinitionRepositoryArgs
    A repository block as documented below.
    revision int
    The revision of the build definition
    schedules Sequence[BuildDefinitionScheduleArgs]
    variable_groups Sequence[int]
    A list of variable group IDs (integers) to link to the build definition.
    variables Sequence[BuildDefinitionVariableArgs]
    A list of variable blocks, as documented below.
    agentPoolName String
    The agent pool that should execute the build. Defaults to Azure Pipelines.
    ciTrigger Property Map
    Continuous Integration trigger.
    features List<Property Map>
    A features blocks as documented below.
    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.
    pullRequestTrigger Property Map
    Pull Request Integration trigger.
    queueStatus String
    The queue status of the build definition. Valid values: enabled or paused or disabled. Defaults to enabled.
    repository Property Map
    A repository block 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 variable blocks, as documented below.

    Supporting Types

    BuildDefinitionCiTrigger, BuildDefinitionCiTriggerArgs

    Override Pulumi.AzureDevOps.Inputs.BuildDefinitionCiTriggerOverride
    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 BuildDefinitionCiTriggerOverride
    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 BuildDefinitionCiTriggerOverride
    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 BuildDefinitionCiTriggerOverride
    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 BuildDefinitionCiTriggerOverride
    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

    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.
    BranchFilters List<Pulumi.AzureDevOps.Inputs.BuildDefinitionCiTriggerOverrideBranchFilter>
    The branches to include and exclude from the trigger.
    MaxConcurrentBuildsPerBranch int
    The number of max builds per branch. Defaults to 1.
    PathFilters List<Pulumi.AzureDevOps.Inputs.BuildDefinitionCiTriggerOverridePathFilter>
    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.
    PollingJobId string
    This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
    Batch bool
    If 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.
    BranchFilters []BuildDefinitionCiTriggerOverrideBranchFilter
    The branches to include and exclude from the trigger.
    MaxConcurrentBuildsPerBranch int
    The number of max builds per branch. Defaults to 1.
    PathFilters []BuildDefinitionCiTriggerOverridePathFilter
    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.
    PollingJobId string
    This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
    batch Boolean
    If 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.
    branchFilters List<BuildDefinitionCiTriggerOverrideBranchFilter>
    The branches to include and exclude from the trigger.
    maxConcurrentBuildsPerBranch Integer
    The number of max builds per branch. Defaults to 1.
    pathFilters List<BuildDefinitionCiTriggerOverridePathFilter>
    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.
    pollingJobId String
    This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
    batch boolean
    If 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.
    branchFilters BuildDefinitionCiTriggerOverrideBranchFilter[]
    The branches to include and exclude from the trigger.
    maxConcurrentBuildsPerBranch number
    The number of max builds per branch. Defaults to 1.
    pathFilters BuildDefinitionCiTriggerOverridePathFilter[]
    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.
    pollingJobId string
    This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
    batch bool
    If 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.
    branch_filters Sequence[BuildDefinitionCiTriggerOverrideBranchFilter]
    The branches to include and exclude from the trigger.
    max_concurrent_builds_per_branch int
    The number of max builds per branch. Defaults to 1.
    path_filters Sequence[BuildDefinitionCiTriggerOverridePathFilter]
    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_id str
    This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
    batch Boolean
    If 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.
    branchFilters List<Property Map>
    The branches to include and exclude from the trigger.
    maxConcurrentBuildsPerBranch Number
    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.
    pollingJobId String
    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

    Excludes List<string>
    List of branch patterns to exclude.
    Includes List<string>
    List of branch patterns to include.
    Excludes []string
    List of branch patterns to exclude.
    Includes []string
    List of branch patterns to include.
    excludes List<String>
    List of branch patterns to exclude.
    includes List<String>
    List of branch patterns to include.
    excludes string[]
    List of branch patterns to exclude.
    includes string[]
    List of branch patterns to include.
    excludes Sequence[str]
    List of branch patterns to exclude.
    includes Sequence[str]
    List of branch patterns to include.
    excludes List<String>
    List of branch patterns to exclude.
    includes List<String>
    List of branch patterns to include.

    BuildDefinitionCiTriggerOverridePathFilter, BuildDefinitionCiTriggerOverridePathFilterArgs

    Excludes List<string>
    List of path patterns to exclude.
    Includes List<string>
    List of path patterns to include.
    Excludes []string
    List of path patterns to exclude.
    Includes []string
    List of path patterns to include.
    excludes List<String>
    List of path patterns to exclude.
    includes List<String>
    List of path patterns to include.
    excludes string[]
    List of path patterns to exclude.
    includes string[]
    List of path patterns to include.
    excludes Sequence[str]
    List of path patterns to exclude.
    includes Sequence[str]
    List of path patterns to include.
    excludes List<String>
    List of path patterns to exclude.
    includes List<String>
    List of path patterns to include.

    BuildDefinitionFeature, BuildDefinitionFeatureArgs

    SkipFirstRun bool

    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.

    SkipFirstRun bool

    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.

    skipFirstRun Boolean

    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.

    skipFirstRun boolean

    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_run bool

    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.

    skipFirstRun Boolean

    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.

    BuildDefinitionPullRequestTrigger, BuildDefinitionPullRequestTriggerArgs

    Forks Pulumi.AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerForks
    Set permissions for Forked repositories.
    CommentRequired string
    InitialBranch string
    Override Pulumi.AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerOverride
    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 BuildDefinitionPullRequestTriggerForks
    Set permissions for Forked repositories.
    CommentRequired string
    InitialBranch string
    Override BuildDefinitionPullRequestTriggerOverride
    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 BuildDefinitionPullRequestTriggerForks
    Set permissions for Forked repositories.
    commentRequired String
    initialBranch String
    override BuildDefinitionPullRequestTriggerOverride
    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 BuildDefinitionPullRequestTriggerForks
    Set permissions for Forked repositories.
    commentRequired string
    initialBranch string
    override BuildDefinitionPullRequestTriggerOverride
    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 BuildDefinitionPullRequestTriggerForks
    Set permissions for Forked repositories.
    comment_required str
    initial_branch str
    override BuildDefinitionPullRequestTriggerOverride
    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.
    ShareSecrets bool
    Make secrets available to builds of forks.
    Enabled bool
    Build pull requests from forks of this repository.
    ShareSecrets bool
    Make secrets available to builds of forks.
    enabled Boolean
    Build pull requests from forks of this repository.
    shareSecrets Boolean
    Make secrets available to builds of forks.
    enabled boolean
    Build pull requests from forks of this repository.
    shareSecrets boolean
    Make secrets available to builds of forks.
    enabled bool
    Build pull requests from forks of this repository.
    share_secrets bool
    Make secrets available to builds of forks.
    enabled Boolean
    Build pull requests from forks of this repository.
    shareSecrets Boolean
    Make secrets available to builds of forks.

    BuildDefinitionPullRequestTriggerOverride, BuildDefinitionPullRequestTriggerOverrideArgs

    AutoCancel bool
    . Defaults to true.
    BranchFilters List<Pulumi.AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerOverrideBranchFilter>
    The branches to include and exclude from the trigger.
    PathFilters List<Pulumi.AzureDevOps.Inputs.BuildDefinitionPullRequestTriggerOverridePathFilter>
    Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
    AutoCancel bool
    . Defaults to true.
    BranchFilters []BuildDefinitionPullRequestTriggerOverrideBranchFilter
    The branches to include and exclude from the trigger.
    PathFilters []BuildDefinitionPullRequestTriggerOverridePathFilter
    Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
    autoCancel Boolean
    . Defaults to true.
    branchFilters List<BuildDefinitionPullRequestTriggerOverrideBranchFilter>
    The branches to include and exclude from the trigger.
    pathFilters List<BuildDefinitionPullRequestTriggerOverridePathFilter>
    Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
    autoCancel boolean
    . Defaults to true.
    branchFilters BuildDefinitionPullRequestTriggerOverrideBranchFilter[]
    The branches to include and exclude from the trigger.
    pathFilters BuildDefinitionPullRequestTriggerOverridePathFilter[]
    Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
    auto_cancel bool
    . Defaults to true.
    branch_filters Sequence[BuildDefinitionPullRequestTriggerOverrideBranchFilter]
    The branches to include and exclude from the trigger.
    path_filters Sequence[BuildDefinitionPullRequestTriggerOverridePathFilter]
    Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
    autoCancel Boolean
    . Defaults to true.
    branchFilters List<Property Map>
    The branches to include and exclude from the trigger.
    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

    Excludes List<string>
    List of branch patterns to exclude.
    Includes List<string>
    List of branch patterns to include.
    Excludes []string
    List of branch patterns to exclude.
    Includes []string
    List of branch patterns to include.
    excludes List<String>
    List of branch patterns to exclude.
    includes List<String>
    List of branch patterns to include.
    excludes string[]
    List of branch patterns to exclude.
    includes string[]
    List of branch patterns to include.
    excludes Sequence[str]
    List of branch patterns to exclude.
    includes Sequence[str]
    List of branch patterns to include.
    excludes List<String>
    List of branch patterns to exclude.
    includes List<String>
    List of branch patterns to include.

    BuildDefinitionPullRequestTriggerOverridePathFilter, BuildDefinitionPullRequestTriggerOverridePathFilterArgs

    Excludes List<string>
    List of path patterns to exclude.
    Includes List<string>
    List of path patterns to include.
    Excludes []string
    List of path patterns to exclude.
    Includes []string
    List of path patterns to include.
    excludes List<String>
    List of path patterns to exclude.
    includes List<String>
    List of path patterns to include.
    excludes string[]
    List of path patterns to exclude.
    includes string[]
    List of path patterns to include.
    excludes Sequence[str]
    List of path patterns to exclude.
    includes Sequence[str]
    List of path patterns to include.
    excludes List<String>
    List of path patterns to exclude.
    includes List<String>
    List of path patterns to include.

    BuildDefinitionRepository, BuildDefinitionRepositoryArgs

    RepoId string
    The id of the repository. For TfsGit repos, this is simply the ID of the repository. For Github repos, this will take the form of <GitHub Org>/<Repo Name>. For Bitbucket repos, this will take the form of <Workspace ID>/<Repo Name>.
    RepoType string
    The repository type. Valid values: GitHub or TfsGit or Bitbucket or GitHub Enterprise. Defaults to GitHub. If repo_type is GitHubEnterprise, must use existing project and GitHub Enterprise service connection.
    YmlPath string
    The path of the Yaml file describing the build definition.
    BranchName string
    The branch name for which builds are triggered. Defaults to master.
    GithubEnterpriseUrl string
    The Github Enterprise URL. Used if repo_type is GithubEnterprise.
    ReportBuildStatus bool
    Report build status. Default is true.
    ServiceConnectionId string
    The service connection ID. Used if the repo_type is GitHub or GitHubEnterprise.
    RepoId string
    The id of the repository. For TfsGit repos, this is simply the ID of the repository. For Github repos, this will take the form of <GitHub Org>/<Repo Name>. For Bitbucket repos, this will take the form of <Workspace ID>/<Repo Name>.
    RepoType string
    The repository type. Valid values: GitHub or TfsGit or Bitbucket or GitHub Enterprise. Defaults to GitHub. If repo_type is GitHubEnterprise, must use existing project and GitHub Enterprise service connection.
    YmlPath string
    The path of the Yaml file describing the build definition.
    BranchName string
    The branch name for which builds are triggered. Defaults to master.
    GithubEnterpriseUrl string
    The Github Enterprise URL. Used if repo_type is GithubEnterprise.
    ReportBuildStatus bool
    Report build status. Default is true.
    ServiceConnectionId string
    The service connection ID. Used if the repo_type is GitHub or GitHubEnterprise.
    repoId String
    The id of the repository. For TfsGit repos, this is simply the ID of the repository. For Github repos, this will take the form of <GitHub Org>/<Repo Name>. For Bitbucket repos, this will take the form of <Workspace ID>/<Repo Name>.
    repoType String
    The repository type. Valid values: GitHub or TfsGit or Bitbucket or GitHub Enterprise. Defaults to GitHub. If repo_type is GitHubEnterprise, must use existing project and GitHub Enterprise service connection.
    ymlPath String
    The path of the Yaml file describing the build definition.
    branchName String
    The branch name for which builds are triggered. Defaults to master.
    githubEnterpriseUrl String
    The Github Enterprise URL. Used if repo_type is GithubEnterprise.
    reportBuildStatus Boolean
    Report build status. Default is true.
    serviceConnectionId String
    The service connection ID. Used if the repo_type is GitHub or GitHubEnterprise.
    repoId string
    The id of the repository. For TfsGit repos, this is simply the ID of the repository. For Github repos, this will take the form of <GitHub Org>/<Repo Name>. For Bitbucket repos, this will take the form of <Workspace ID>/<Repo Name>.
    repoType string
    The repository type. Valid values: GitHub or TfsGit or Bitbucket or GitHub Enterprise. Defaults to GitHub. If repo_type is GitHubEnterprise, must use existing project and GitHub Enterprise service connection.
    ymlPath string
    The path of the Yaml file describing the build definition.
    branchName string
    The branch name for which builds are triggered. Defaults to master.
    githubEnterpriseUrl string
    The Github Enterprise URL. Used if repo_type is GithubEnterprise.
    reportBuildStatus boolean
    Report build status. Default is true.
    serviceConnectionId string
    The service connection ID. Used if the repo_type is GitHub or GitHubEnterprise.
    repo_id str
    The id of the repository. For TfsGit repos, this is simply the ID of the repository. For Github repos, this will take the form of <GitHub Org>/<Repo Name>. For Bitbucket repos, this will take the form of <Workspace ID>/<Repo Name>.
    repo_type str
    The repository type. Valid values: GitHub or TfsGit or Bitbucket or GitHub Enterprise. Defaults to GitHub. If repo_type is GitHubEnterprise, must use existing project and GitHub Enterprise service connection.
    yml_path str
    The path of the Yaml file describing the build definition.
    branch_name str
    The branch name for which builds are triggered. Defaults to master.
    github_enterprise_url str
    The Github Enterprise URL. Used if repo_type is GithubEnterprise.
    report_build_status bool
    Report build status. Default is true.
    service_connection_id str
    The service connection ID. Used if the repo_type is GitHub or GitHubEnterprise.
    repoId String
    The id of the repository. For TfsGit repos, this is simply the ID of the repository. For Github repos, this will take the form of <GitHub Org>/<Repo Name>. For Bitbucket repos, this will take the form of <Workspace ID>/<Repo Name>.
    repoType String
    The repository type. Valid values: GitHub or TfsGit or Bitbucket or GitHub Enterprise. Defaults to GitHub. If repo_type is GitHubEnterprise, must use existing project and GitHub Enterprise service connection.
    ymlPath String
    The path of the Yaml file describing the build definition.
    branchName String
    The branch name for which builds are triggered. Defaults to master.
    githubEnterpriseUrl String
    The Github Enterprise URL. Used if repo_type is GithubEnterprise.
    reportBuildStatus Boolean
    Report build status. Default is true.
    serviceConnectionId String
    The service connection ID. Used if the repo_type is GitHub or GitHubEnterprise.

    BuildDefinitionSchedule, BuildDefinitionScheduleArgs

    DaysToBuilds List<string>
    When to build. Valid values: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
    BranchFilters List<Pulumi.AzureDevOps.Inputs.BuildDefinitionScheduleBranchFilter>
    block supports the following:
    ScheduleJobId string
    The ID of the schedule job
    ScheduleOnlyWithChanges bool
    Schedule builds if the source or pipeline has changed. Defaults to true.
    StartHours int
    Build start hour. Defaults to 0. Valid values: 0 ~ 23.
    StartMinutes int
    Build start minute. Defaults to 0. Valid values: 0 ~ 59.
    TimeZone string
    Build time zone. Defaults to (UTC) Coordinated Universal Time. Valid values: (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.
    DaysToBuilds []string
    When to build. Valid values: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
    BranchFilters []BuildDefinitionScheduleBranchFilter
    block supports the following:
    ScheduleJobId string
    The ID of the schedule job
    ScheduleOnlyWithChanges bool
    Schedule builds if the source or pipeline has changed. Defaults to true.
    StartHours int
    Build start hour. Defaults to 0. Valid values: 0 ~ 23.
    StartMinutes int
    Build start minute. Defaults to 0. Valid values: 0 ~ 59.
    TimeZone string
    Build time zone. Defaults to (UTC) Coordinated Universal Time. Valid values: (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.
    daysToBuilds List<String>
    When to build. Valid values: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
    branchFilters List<BuildDefinitionScheduleBranchFilter>
    block supports the following:
    scheduleJobId String
    The ID of the schedule job
    scheduleOnlyWithChanges Boolean
    Schedule builds if the source or pipeline has changed. Defaults to true.
    startHours Integer
    Build start hour. Defaults to 0. Valid values: 0 ~ 23.
    startMinutes Integer
    Build start minute. Defaults to 0. Valid values: 0 ~ 59.
    timeZone String
    Build time zone. Defaults to (UTC) Coordinated Universal Time. Valid values: (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.
    daysToBuilds string[]
    When to build. Valid values: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
    branchFilters BuildDefinitionScheduleBranchFilter[]
    block supports the following:
    scheduleJobId string
    The ID of the schedule job
    scheduleOnlyWithChanges boolean
    Schedule builds if the source or pipeline has changed. Defaults to true.
    startHours number
    Build start hour. Defaults to 0. Valid values: 0 ~ 23.
    startMinutes number
    Build start minute. Defaults to 0. Valid values: 0 ~ 59.
    timeZone string
    Build time zone. Defaults to (UTC) Coordinated Universal Time. Valid values: (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.
    days_to_builds Sequence[str]
    When to build. Valid values: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
    branch_filters Sequence[BuildDefinitionScheduleBranchFilter]
    block supports the following:
    schedule_job_id str
    The ID of the schedule job
    schedule_only_with_changes bool
    Schedule builds if the source or pipeline has changed. Defaults to true.
    start_hours int
    Build start hour. Defaults to 0. Valid values: 0 ~ 23.
    start_minutes int
    Build start minute. Defaults to 0. Valid values: 0 ~ 59.
    time_zone str
    Build time zone. Defaults to (UTC) Coordinated Universal Time. Valid values: (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.
    daysToBuilds List<String>
    When to build. Valid values: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
    branchFilters List<Property Map>
    block supports the following:
    scheduleJobId String
    The ID of the schedule job
    scheduleOnlyWithChanges Boolean
    Schedule builds if the source or pipeline has changed. Defaults to true.
    startHours Number
    Build start hour. Defaults to 0. Valid values: 0 ~ 23.
    startMinutes Number
    Build start minute. Defaults to 0. Valid values: 0 ~ 59.
    timeZone String
    Build time zone. Defaults to (UTC) Coordinated Universal Time. Valid values: (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

    Excludes List<string>
    List of branch patterns to exclude.
    Includes List<string>
    List of branch patterns to include.
    Excludes []string
    List of branch patterns to exclude.
    Includes []string
    List of branch patterns to include.
    excludes List<String>
    List of branch patterns to exclude.
    includes List<String>
    List of branch patterns to include.
    excludes string[]
    List of branch patterns to exclude.
    includes string[]
    List of branch patterns to include.
    excludes Sequence[str]
    List of branch patterns to exclude.
    includes Sequence[str]
    List of branch patterns to include.
    excludes List<String>
    List of branch patterns to exclude.
    includes List<String>
    List of branch patterns to include.

    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_secret set to true.
    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_secret set to true.
    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_secret set to true.
    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_secret set to true.
    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_secret set to true.
    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_secret set to true.
    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 azuredevops Terraform Provider.
    azuredevops logo
    Azure DevOps v3.3.0 published on Wednesday, Sep 4, 2024 by Pulumi