Azure DevOps v3.4.0 published on Wednesday, Oct 30, 2024 by Pulumi
azuredevops.getBuildDefinition
Explore with Pulumi AI
Use this data source to access information about an existing Build Definition.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = azuredevops.getProject({
name: "Example Project",
});
const exampleGetBuildDefinition = example.then(example => azuredevops.getBuildDefinition({
projectId: example.id,
name: "existing",
}));
export const id = exampleGetBuildDefinition.then(exampleGetBuildDefinition => exampleGetBuildDefinition.id);
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.get_project(name="Example Project")
example_get_build_definition = azuredevops.get_build_definition(project_id=example.id,
name="existing")
pulumi.export("id", example_get_build_definition.id)
package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
Name: pulumi.StringRef("Example Project"),
}, nil)
if err != nil {
return err
}
exampleGetBuildDefinition, err := azuredevops.LookupBuildDefinition(ctx, &azuredevops.LookupBuildDefinitionArgs{
ProjectId: example.Id,
Name: "existing",
}, nil)
if err != nil {
return err
}
ctx.Export("id", exampleGetBuildDefinition.Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = AzureDevOps.GetProject.Invoke(new()
{
Name = "Example Project",
});
var exampleGetBuildDefinition = AzureDevOps.GetBuildDefinition.Invoke(new()
{
ProjectId = example.Apply(getProjectResult => getProjectResult.Id),
Name = "existing",
});
return new Dictionary<string, object?>
{
["id"] = exampleGetBuildDefinition.Apply(getBuildDefinitionResult => getBuildDefinitionResult.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.AzuredevopsFunctions;
import com.pulumi.azuredevops.inputs.GetProjectArgs;
import com.pulumi.azuredevops.inputs.GetBuildDefinitionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = AzuredevopsFunctions.getProject(GetProjectArgs.builder()
.name("Example Project")
.build());
final var exampleGetBuildDefinition = AzuredevopsFunctions.getBuildDefinition(GetBuildDefinitionArgs.builder()
.projectId(example.applyValue(getProjectResult -> getProjectResult.id()))
.name("existing")
.build());
ctx.export("id", exampleGetBuildDefinition.applyValue(getBuildDefinitionResult -> getBuildDefinitionResult.id()));
}
}
variables:
example:
fn::invoke:
Function: azuredevops:getProject
Arguments:
name: Example Project
exampleGetBuildDefinition:
fn::invoke:
Function: azuredevops:getBuildDefinition
Arguments:
projectId: ${example.id}
name: existing
outputs:
id: ${exampleGetBuildDefinition.id}
Using getBuildDefinition
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBuildDefinition(args: GetBuildDefinitionArgs, opts?: InvokeOptions): Promise<GetBuildDefinitionResult>
function getBuildDefinitionOutput(args: GetBuildDefinitionOutputArgs, opts?: InvokeOptions): Output<GetBuildDefinitionResult>
def get_build_definition(name: Optional[str] = None,
path: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBuildDefinitionResult
def get_build_definition_output(name: Optional[pulumi.Input[str]] = None,
path: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBuildDefinitionResult]
func LookupBuildDefinition(ctx *Context, args *LookupBuildDefinitionArgs, opts ...InvokeOption) (*LookupBuildDefinitionResult, error)
func LookupBuildDefinitionOutput(ctx *Context, args *LookupBuildDefinitionOutputArgs, opts ...InvokeOption) LookupBuildDefinitionResultOutput
> Note: This function is named LookupBuildDefinition
in the Go SDK.
public static class GetBuildDefinition
{
public static Task<GetBuildDefinitionResult> InvokeAsync(GetBuildDefinitionArgs args, InvokeOptions? opts = null)
public static Output<GetBuildDefinitionResult> Invoke(GetBuildDefinitionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBuildDefinitionResult> getBuildDefinition(GetBuildDefinitionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azuredevops:index/getBuildDefinition:getBuildDefinition
arguments:
# arguments dictionary
The following arguments are supported:
- name str
- The name of this Build Definition.
- project_
id str - The ID of the project.
- path str
- The path of the build definition. Default to
\
.
getBuildDefinition Result
The following output properties are available:
- Agent
Pool stringName - The agent pool that should execute the build.
- Ci
Triggers List<Pulumi.Azure Dev Ops. Outputs. Get Build Definition Ci Trigger> - A
ci_trigger
block as defined below. - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the variable.
- Project
Id string - Pull
Request List<Pulumi.Triggers Azure Dev Ops. Outputs. Get Build Definition Pull Request Trigger> - A
pull_request_trigger
block as defined below. - Queue
Status string - The queue status of the build definition.
- Repositories
List<Pulumi.
Azure Dev Ops. Outputs. Get Build Definition Repository> - A
repository
block as defined below. - Revision int
- The revision of the build definition.
- Schedules
List<Pulumi.
Azure Dev Ops. Outputs. Get Build Definition Schedule> - A
schedules
block as defined below. - Variable
Groups List<int> - A list of variable group IDs.
- Variables
List<Pulumi.
Azure Dev Ops. Outputs. Get Build Definition Variable> - A
variable
block as defined below. - Path string
- Agent
Pool stringName - The agent pool that should execute the build.
- Ci
Triggers []GetBuild Definition Ci Trigger - A
ci_trigger
block as defined below. - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the variable.
- Project
Id string - Pull
Request []GetTriggers Build Definition Pull Request Trigger - A
pull_request_trigger
block as defined below. - Queue
Status string - The queue status of the build definition.
- Repositories
[]Get
Build Definition Repository - A
repository
block as defined below. - Revision int
- The revision of the build definition.
- Schedules
[]Get
Build Definition Schedule - A
schedules
block as defined below. - Variable
Groups []int - A list of variable group IDs.
- Variables
[]Get
Build Definition Variable - A
variable
block as defined below. - Path string
- agent
Pool StringName - The agent pool that should execute the build.
- ci
Triggers List<GetBuild Definition Ci Trigger> - A
ci_trigger
block as defined below. - id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the variable.
- project
Id String - pull
Request List<GetTriggers Build Definition Pull Request Trigger> - A
pull_request_trigger
block as defined below. - queue
Status String - The queue status of the build definition.
- repositories
List<Get
Build Definition Repository> - A
repository
block as defined below. - revision Integer
- The revision of the build definition.
- schedules
List<Get
Build Definition Schedule> - A
schedules
block as defined below. - variable
Groups List<Integer> - A list of variable group IDs.
- variables
List<Get
Build Definition Variable> - A
variable
block as defined below. - path String
- agent
Pool stringName - The agent pool that should execute the build.
- ci
Triggers GetBuild Definition Ci Trigger[] - A
ci_trigger
block as defined below. - id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the variable.
- project
Id string - pull
Request GetTriggers Build Definition Pull Request Trigger[] - A
pull_request_trigger
block as defined below. - queue
Status string - The queue status of the build definition.
- repositories
Get
Build Definition Repository[] - A
repository
block as defined below. - revision number
- The revision of the build definition.
- schedules
Get
Build Definition Schedule[] - A
schedules
block as defined below. - variable
Groups number[] - A list of variable group IDs.
- variables
Get
Build Definition Variable[] - A
variable
block as defined below. - path string
- agent_
pool_ strname - The agent pool that should execute the build.
- ci_
triggers Sequence[GetBuild Definition Ci Trigger] - A
ci_trigger
block as defined below. - id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the variable.
- project_
id str - pull_
request_ Sequence[Gettriggers Build Definition Pull Request Trigger] - A
pull_request_trigger
block as defined below. - queue_
status str - The queue status of the build definition.
- repositories
Sequence[Get
Build Definition Repository] - A
repository
block as defined below. - revision int
- The revision of the build definition.
- schedules
Sequence[Get
Build Definition Schedule] - A
schedules
block as defined below. - variable_
groups Sequence[int] - A list of variable group IDs.
- variables
Sequence[Get
Build Definition Variable] - A
variable
block as defined below. - path str
- agent
Pool StringName - The agent pool that should execute the build.
- ci
Triggers List<Property Map> - A
ci_trigger
block as defined below. - id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the variable.
- project
Id String - pull
Request List<Property Map>Triggers - A
pull_request_trigger
block as defined below. - queue
Status String - The queue status of the build definition.
- repositories List<Property Map>
- A
repository
block as defined below. - revision Number
- The revision of the build definition.
- schedules List<Property Map>
- A
schedules
block as defined below. - variable
Groups List<Number> - A list of variable group IDs.
- variables List<Property Map>
- A
variable
block as defined below. - path String
Supporting Types
GetBuildDefinitionCiTrigger
- Overrides
List<Pulumi.
Azure Dev Ops. Inputs. Get Build Definition Ci Trigger Override> - A
override
block as defined below. - Use
Yaml bool - Use the azure-pipeline file for the build configuration.
- Overrides
[]Get
Build Definition Ci Trigger Override - A
override
block as defined below. - Use
Yaml bool - Use the azure-pipeline file for the build configuration.
- overrides
List<Get
Build Definition Ci Trigger Override> - A
override
block as defined below. - use
Yaml Boolean - Use the azure-pipeline file for the build configuration.
- overrides
Get
Build Definition Ci Trigger Override[] - A
override
block as defined below. - use
Yaml boolean - Use the azure-pipeline file for the build configuration.
- overrides
Sequence[Get
Build Definition Ci Trigger Override] - A
override
block as defined below. - use_
yaml bool - Use the azure-pipeline file for the build configuration.
- overrides List<Property Map>
- A
override
block as defined below. - use
Yaml Boolean - Use the azure-pipeline file for the build configuration.
GetBuildDefinitionCiTriggerOverride
- Batch bool
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- Branch
Filters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Ci Trigger Override Branch Filter> - A
branch_filter
block as defined above. - Max
Concurrent intBuilds Per Branch - The number of max builds per branch.
- Path
Filters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Ci Trigger Override Path Filter> - block supports the following:
- Polling
Interval int - How often the external repository is polled.
- Polling
Job stringId - This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- Batch bool
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- Branch
Filters []GetBuild Definition Ci Trigger Override Branch Filter - A
branch_filter
block as defined above. - Max
Concurrent intBuilds Per Branch - The number of max builds per branch.
- Path
Filters []GetBuild Definition Ci Trigger Override Path Filter - block supports the following:
- Polling
Interval int - How often the external repository is polled.
- Polling
Job stringId - This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- batch Boolean
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- branch
Filters List<GetBuild Definition Ci Trigger Override Branch Filter> - A
branch_filter
block as defined above. - max
Concurrent IntegerBuilds Per Branch - The number of max builds per branch.
- path
Filters List<GetBuild Definition Ci Trigger Override Path Filter> - block supports the following:
- polling
Interval Integer - How often the external repository is polled.
- polling
Job StringId - This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- batch boolean
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- branch
Filters GetBuild Definition Ci Trigger Override Branch Filter[] - A
branch_filter
block as defined above. - max
Concurrent numberBuilds Per Branch - The number of max builds per branch.
- path
Filters GetBuild Definition Ci Trigger Override Path Filter[] - block supports the following:
- polling
Interval number - How often the external repository is polled.
- polling
Job stringId - This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- batch bool
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- branch_
filters Sequence[GetBuild Definition Ci Trigger Override Branch Filter] - A
branch_filter
block as defined above. - max_
concurrent_ intbuilds_ per_ branch - The number of max builds per branch.
- path_
filters Sequence[GetBuild Definition Ci Trigger Override Path Filter] - block supports the following:
- polling_
interval int - How often the external repository is polled.
- polling_
job_ strid - This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- batch Boolean
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- branch
Filters List<Property Map> - A
branch_filter
block as defined above. - max
Concurrent NumberBuilds Per Branch - The number of max builds per branch.
- path
Filters List<Property Map> - block supports the following:
- polling
Interval Number - How often the external repository is polled.
- polling
Job StringId - This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
GetBuildDefinitionCiTriggerOverrideBranchFilter
GetBuildDefinitionCiTriggerOverridePathFilter
GetBuildDefinitionPullRequestTrigger
- Comment
Required string - Is a comment required on the PR?
- Forks
List<Pulumi.
Azure Dev Ops. Inputs. Get Build Definition Pull Request Trigger Fork> - A
forks
block as defined above. - Initial
Branch string - When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- Overrides
List<Pulumi.
Azure Dev Ops. Inputs. Get Build Definition Pull Request Trigger Override> - A
override
block as defined below. - Use
Yaml bool - Use the azure-pipeline file for the build configuration.
- Comment
Required string - Is a comment required on the PR?
- Forks
[]Get
Build Definition Pull Request Trigger Fork - A
forks
block as defined above. - Initial
Branch string - When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- Overrides
[]Get
Build Definition Pull Request Trigger Override - A
override
block as defined below. - Use
Yaml bool - Use the azure-pipeline file for the build configuration.
- comment
Required String - Is a comment required on the PR?
- forks
List<Get
Build Definition Pull Request Trigger Fork> - A
forks
block as defined above. - initial
Branch String - When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- overrides
List<Get
Build Definition Pull Request Trigger Override> - A
override
block as defined below. - use
Yaml Boolean - Use the azure-pipeline file for the build configuration.
- comment
Required string - Is a comment required on the PR?
- forks
Get
Build Definition Pull Request Trigger Fork[] - A
forks
block as defined above. - initial
Branch string - When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- overrides
Get
Build Definition Pull Request Trigger Override[] - A
override
block as defined below. - use
Yaml boolean - Use the azure-pipeline file for the build configuration.
- comment_
required str - Is a comment required on the PR?
- forks
Sequence[Get
Build Definition Pull Request Trigger Fork] - A
forks
block as defined above. - initial_
branch str - When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- overrides
Sequence[Get
Build Definition Pull Request Trigger Override] - A
override
block as defined below. - use_
yaml bool - Use the azure-pipeline file for the build configuration.
- comment
Required String - Is a comment required on the PR?
- forks List<Property Map>
- A
forks
block as defined above. - initial
Branch String - When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- overrides List<Property Map>
- A
override
block as defined below. - use
Yaml Boolean - Use the azure-pipeline file for the build configuration.
GetBuildDefinitionPullRequestTriggerFork
- Enabled bool
- Build pull requests from forks of this repository.
- bool
- Make secrets available to builds of forks.
- Enabled bool
- Build pull requests from forks of this repository.
- bool
- Make secrets available to builds of forks.
- enabled Boolean
- Build pull requests from forks of this repository.
- Boolean
- Make secrets available to builds of forks.
- enabled boolean
- Build pull requests from forks of this repository.
- boolean
- Make secrets available to builds of forks.
- enabled bool
- Build pull requests from forks of this repository.
- bool
- Make secrets available to builds of forks.
- enabled Boolean
- Build pull requests from forks of this repository.
- Boolean
- Make secrets available to builds of forks.
GetBuildDefinitionPullRequestTriggerOverride
- Auto
Cancel bool - Should further updates to a PR cancel an in progress validation?
- Branch
Filters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Pull Request Trigger Override Branch Filter> - A
branch_filter
block as defined above. - Path
Filters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Pull Request Trigger Override Path Filter> - block supports the following:
- Auto
Cancel bool - Should further updates to a PR cancel an in progress validation?
- Branch
Filters []GetBuild Definition Pull Request Trigger Override Branch Filter - A
branch_filter
block as defined above. - Path
Filters []GetBuild Definition Pull Request Trigger Override Path Filter - block supports the following:
- auto
Cancel Boolean - Should further updates to a PR cancel an in progress validation?
- branch
Filters List<GetBuild Definition Pull Request Trigger Override Branch Filter> - A
branch_filter
block as defined above. - path
Filters List<GetBuild Definition Pull Request Trigger Override Path Filter> - block supports the following:
- auto
Cancel boolean - Should further updates to a PR cancel an in progress validation?
- branch
Filters GetBuild Definition Pull Request Trigger Override Branch Filter[] - A
branch_filter
block as defined above. - path
Filters GetBuild Definition Pull Request Trigger Override Path Filter[] - block supports the following:
- auto_
cancel bool - Should further updates to a PR cancel an in progress validation?
- branch_
filters Sequence[GetBuild Definition Pull Request Trigger Override Branch Filter] - A
branch_filter
block as defined above. - path_
filters Sequence[GetBuild Definition Pull Request Trigger Override Path Filter] - block supports the following:
- auto
Cancel Boolean - Should further updates to a PR cancel an in progress validation?
- branch
Filters List<Property Map> - A
branch_filter
block as defined above. - path
Filters List<Property Map> - block supports the following:
GetBuildDefinitionPullRequestTriggerOverrideBranchFilter
GetBuildDefinitionPullRequestTriggerOverridePathFilter
GetBuildDefinitionRepository
- Branch
Name string - The branch name for which builds are triggered.
- Github
Enterprise stringUrl - The Github Enterprise URL.
- Repo
Id string - The id of the repository.
- Repo
Type string - The repository type.
- Report
Build boolStatus - Report build status.
- Service
Connection stringId - The service connection ID.
- Yml
Path string - The path of the Yaml file describing the build definition.
- Branch
Name string - The branch name for which builds are triggered.
- Github
Enterprise stringUrl - The Github Enterprise URL.
- Repo
Id string - The id of the repository.
- Repo
Type string - The repository type.
- Report
Build boolStatus - Report build status.
- Service
Connection stringId - The service connection ID.
- Yml
Path string - The path of the Yaml file describing the build definition.
- branch
Name String - The branch name for which builds are triggered.
- github
Enterprise StringUrl - The Github Enterprise URL.
- repo
Id String - The id of the repository.
- repo
Type String - The repository type.
- report
Build BooleanStatus - Report build status.
- service
Connection StringId - The service connection ID.
- yml
Path String - The path of the Yaml file describing the build definition.
- branch
Name string - The branch name for which builds are triggered.
- github
Enterprise stringUrl - The Github Enterprise URL.
- repo
Id string - The id of the repository.
- repo
Type string - The repository type.
- report
Build booleanStatus - Report build status.
- service
Connection stringId - The service connection ID.
- yml
Path string - The path of the Yaml file describing the build definition.
- branch_
name str - The branch name for which builds are triggered.
- github_
enterprise_ strurl - The Github Enterprise URL.
- repo_
id str - The id of the repository.
- repo_
type str - The repository type.
- report_
build_ boolstatus - Report build status.
- service_
connection_ strid - The service connection ID.
- yml_
path str - The path of the Yaml file describing the build definition.
- branch
Name String - The branch name for which builds are triggered.
- github
Enterprise StringUrl - The Github Enterprise URL.
- repo
Id String - The id of the repository.
- repo
Type String - The repository type.
- report
Build BooleanStatus - Report build status.
- service
Connection StringId - The service connection ID.
- yml
Path String - The path of the Yaml file describing the build definition.
GetBuildDefinitionSchedule
- Branch
Filters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Schedule Branch Filter> - A
branch_filter
block as defined above. - Days
To List<string>Builds - A list of days to build on.
- Schedule
Job stringId - The ID of the schedule job.
- Schedule
Only boolWith Changes - Schedule builds if the source or pipeline has changed.
- Start
Hours int - Build start hour.
- Start
Minutes int - Build start minute.
- Time
Zone string - Build time zone.
- Branch
Filters []GetBuild Definition Schedule Branch Filter - A
branch_filter
block as defined above. - Days
To []stringBuilds - A list of days to build on.
- Schedule
Job stringId - The ID of the schedule job.
- Schedule
Only boolWith Changes - Schedule builds if the source or pipeline has changed.
- Start
Hours int - Build start hour.
- Start
Minutes int - Build start minute.
- Time
Zone string - Build time zone.
- branch
Filters List<GetBuild Definition Schedule Branch Filter> - A
branch_filter
block as defined above. - days
To List<String>Builds - A list of days to build on.
- schedule
Job StringId - The ID of the schedule job.
- schedule
Only BooleanWith Changes - Schedule builds if the source or pipeline has changed.
- start
Hours Integer - Build start hour.
- start
Minutes Integer - Build start minute.
- time
Zone String - Build time zone.
- branch
Filters GetBuild Definition Schedule Branch Filter[] - A
branch_filter
block as defined above. - days
To string[]Builds - A list of days to build on.
- schedule
Job stringId - The ID of the schedule job.
- schedule
Only booleanWith Changes - Schedule builds if the source or pipeline has changed.
- start
Hours number - Build start hour.
- start
Minutes number - Build start minute.
- time
Zone string - Build time zone.
- branch_
filters Sequence[GetBuild Definition Schedule Branch Filter] - A
branch_filter
block as defined above. - days_
to_ Sequence[str]builds - A list of days to build on.
- schedule_
job_ strid - The ID of the schedule job.
- schedule_
only_ boolwith_ changes - Schedule builds if the source or pipeline has changed.
- start_
hours int - Build start hour.
- start_
minutes int - Build start minute.
- time_
zone str - Build time zone.
- branch
Filters List<Property Map> - A
branch_filter
block as defined above. - days
To List<String>Builds - A list of days to build on.
- schedule
Job StringId - The ID of the schedule job.
- schedule
Only BooleanWith Changes - Schedule builds if the source or pipeline has changed.
- start
Hours Number - Build start hour.
- start
Minutes Number - Build start minute.
- time
Zone String - Build time zone.
GetBuildDefinitionScheduleBranchFilter
GetBuildDefinitionVariable
- Allow
Override bool true
if the variable can be overridden.- Is
Secret bool true
if the variable is a secret.- Name string
- The name of this Build Definition.
- Secret
Value string - The secret value of the variable.
- Value string
- The value of the variable.
- Allow
Override bool true
if the variable can be overridden.- Is
Secret bool true
if the variable is a secret.- Name string
- The name of this Build Definition.
- Secret
Value string - The secret value of the variable.
- Value string
- The value of the variable.
- allow
Override Boolean true
if the variable can be overridden.- is
Secret Boolean true
if the variable is a secret.- name String
- The name of this Build Definition.
- secret
Value String - The secret value of the variable.
- value String
- The value of the variable.
- allow
Override boolean true
if the variable can be overridden.- is
Secret boolean true
if the variable is a secret.- name string
- The name of this Build Definition.
- secret
Value string - The secret value of the variable.
- value string
- The value of the variable.
- allow_
override bool true
if the variable can be overridden.- is_
secret bool true
if the variable is a secret.- name str
- The name of this Build Definition.
- secret_
value str - The secret value of the variable.
- value str
- The value of the variable.
- allow
Override Boolean true
if the variable can be overridden.- is
Secret Boolean true
if the variable is a secret.- name String
- The name of this Build Definition.
- secret
Value String - The secret value of the variable.
- value String
- The value of the variable.
Package Details
- Repository
- Azure DevOps pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azuredevops
Terraform Provider.