Viewing docs for Pulumi Delivery v0.2.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi
Pulumi Delivery
Viewing docs for Pulumi Delivery v0.2.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi
Declares an Azure DevOps repository and branch. See GitHubSource.
Create AzureDevOpsSource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AzureDevOpsSource(name: string, args: AzureDevOpsSourceArgs, opts?: ComponentResourceOptions);@overload
def AzureDevOpsSource(resource_name: str,
args: AzureDevOpsSourceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AzureDevOpsSource(resource_name: str,
opts: Optional[ResourceOptions] = None,
branch: Optional[str] = None,
repository: Optional[str] = None,
trigger: Optional[Union[bool, SourceTriggerArgs]] = None)func NewAzureDevOpsSource(ctx *Context, name string, args AzureDevOpsSourceArgs, opts ...ResourceOption) (*AzureDevOpsSource, error)public AzureDevOpsSource(string name, AzureDevOpsSourceArgs args, ComponentResourceOptions? opts = null)
public AzureDevOpsSource(String name, AzureDevOpsSourceArgs args)
public AzureDevOpsSource(String name, AzureDevOpsSourceArgs args, ComponentResourceOptions options)
type: delivery:AzureDevOpsSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "delivery_azure_dev_ops_source" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AzureDevOpsSourceArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AzureDevOpsSourceArgs
- 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 AzureDevOpsSourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AzureDevOpsSourceArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AzureDevOpsSourceArgs
- The arguments to resource properties.
- options ComponentResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var azureDevOpsSourceResource = new Delivery.AzureDevOpsSource("azureDevOpsSourceResource", new()
{
Branch = "string",
Repository = "string",
Trigger = false,
});
example, err := delivery.NewAzureDevOpsSource(ctx, "azureDevOpsSourceResource", &delivery.AzureDevOpsSourceArgs{
Branch: pulumi.String("string"),
Repository: pulumi.String("string"),
Trigger: pulumi.Any(false),
})
resource "delivery_azure_dev_ops_source" "azureDevOpsSourceResource" {
lifecycle {
create_before_destroy = true
}
branch = "string"
repository = "string"
trigger = false
}
var azureDevOpsSourceResource = new AzureDevOpsSource("azureDevOpsSourceResource", AzureDevOpsSourceArgs.builder()
.branch("string")
.repository("string")
.trigger(false)
.build());
azure_dev_ops_source_resource = delivery.AzureDevOpsSource("azureDevOpsSourceResource",
branch="string",
repository="string",
trigger=False)
const azureDevOpsSourceResource = new delivery.AzureDevOpsSource("azureDevOpsSourceResource", {
branch: "string",
repository: "string",
trigger: false,
});
type: delivery:AzureDevOpsSource
properties:
branch: string
repository: string
trigger: false
AzureDevOpsSource Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AzureDevOpsSource resource accepts the following input properties:
- Branch string
- Branch of the source.
- Repository string
- Repository of the source. Use
owner/repoon GitHub,group/subgroup/repo(the full path) on GitLab,workspace/repoon Bitbucket andorg/project/repoon Azure DevOps. Pulumi Cloud picks the integration of the organization whose account (GitHub), group (GitLab), workspace (Bitbucket) or organization and project (Azure DevOps) holds the repository. - Trigger
bool | Source
Trigger - Starts a run when someone pushes to the branch. Set true for every push, or { paths } for pushes that change a matching file. If you omit it, the source is part of the release but never starts a run.
- Branch string
- Branch of the source.
- Repository string
- Repository of the source. Use
owner/repoon GitHub,group/subgroup/repo(the full path) on GitLab,workspace/repoon Bitbucket andorg/project/repoon Azure DevOps. Pulumi Cloud picks the integration of the organization whose account (GitHub), group (GitLab), workspace (Bitbucket) or organization and project (Azure DevOps) holds the repository. - Trigger
bool | Source
Trigger Args - Starts a run when someone pushes to the branch. Set true for every push, or { paths } for pushes that change a matching file. If you omit it, the source is part of the release but never starts a run.
- branch string
- Branch of the source.
- repository string
- Repository of the source. Use
owner/repoon GitHub,group/subgroup/repo(the full path) on GitLab,workspace/repoon Bitbucket andorg/project/repoon Azure DevOps. Pulumi Cloud picks the integration of the organization whose account (GitHub), group (GitLab), workspace (Bitbucket) or organization and project (Azure DevOps) holds the repository. - trigger bool | object
- Starts a run when someone pushes to the branch. Set true for every push, or { paths } for pushes that change a matching file. If you omit it, the source is part of the release but never starts a run.
- branch String
- Branch of the source.
- repository String
- Repository of the source. Use
owner/repoon GitHub,group/subgroup/repo(the full path) on GitLab,workspace/repoon Bitbucket andorg/project/repoon Azure DevOps. Pulumi Cloud picks the integration of the organization whose account (GitHub), group (GitLab), workspace (Bitbucket) or organization and project (Azure DevOps) holds the repository. - trigger
Boolean | Source
Trigger - Starts a run when someone pushes to the branch. Set true for every push, or { paths } for pushes that change a matching file. If you omit it, the source is part of the release but never starts a run.
- branch string
- Branch of the source.
- repository string
- Repository of the source. Use
owner/repoon GitHub,group/subgroup/repo(the full path) on GitLab,workspace/repoon Bitbucket andorg/project/repoon Azure DevOps. Pulumi Cloud picks the integration of the organization whose account (GitHub), group (GitLab), workspace (Bitbucket) or organization and project (Azure DevOps) holds the repository. - trigger
boolean | Source
Trigger - Starts a run when someone pushes to the branch. Set true for every push, or { paths } for pushes that change a matching file. If you omit it, the source is part of the release but never starts a run.
- branch str
- Branch of the source.
- repository str
- Repository of the source. Use
owner/repoon GitHub,group/subgroup/repo(the full path) on GitLab,workspace/repoon Bitbucket andorg/project/repoon Azure DevOps. Pulumi Cloud picks the integration of the organization whose account (GitHub), group (GitLab), workspace (Bitbucket) or organization and project (Azure DevOps) holds the repository. - trigger
bool | Source
Trigger Args - Starts a run when someone pushes to the branch. Set true for every push, or { paths } for pushes that change a matching file. If you omit it, the source is part of the release but never starts a run.
- branch String
- Branch of the source.
- repository String
- Repository of the source. Use
owner/repoon GitHub,group/subgroup/repo(the full path) on GitLab,workspace/repoon Bitbucket andorg/project/repoon Azure DevOps. Pulumi Cloud picks the integration of the organization whose account (GitHub), group (GitLab), workspace (Bitbucket) or organization and project (Azure DevOps) holds the repository. - trigger Boolean | Property Map
- Starts a run when someone pushes to the branch. Set true for every push, or { paths } for pushes that change a matching file. If you omit it, the source is part of the release but never starts a run.
Outputs
All input properties are implicitly available as output properties. Additionally, the AzureDevOpsSource resource produces the following output properties:
- Commit string
- Commit of the run for this source. It is unknown during registration and preview.
- Commit string
- Commit of the run for this source. It is unknown during registration and preview.
- commit string
- Commit of the run for this source. It is unknown during registration and preview.
- commit String
- Commit of the run for this source. It is unknown during registration and preview.
- commit string
- Commit of the run for this source. It is unknown during registration and preview.
- commit str
- Commit of the run for this source. It is unknown during registration and preview.
- commit String
- Commit of the run for this source. It is unknown during registration and preview.
Supporting Types
SourceTrigger, SourceTriggerArgs
Limits the pushes that start a run.- Paths List<string>
- Glob patterns of changed files. A push starts a run only when it changes a file that matches one of them.
- Paths []string
- Glob patterns of changed files. A push starts a run only when it changes a file that matches one of them.
- paths list(string)
- Glob patterns of changed files. A push starts a run only when it changes a file that matches one of them.
- paths List<String>
- Glob patterns of changed files. A push starts a run only when it changes a file that matches one of them.
- paths string[]
- Glob patterns of changed files. A push starts a run only when it changes a file that matches one of them.
- paths Sequence[str]
- Glob patterns of changed files. A push starts a run only when it changes a file that matches one of them.
- paths List<String>
- Glob patterns of changed files. A push starts a run only when it changes a file that matches one of them.
Package Details
- Repository
- delivery pulumi/pulumi-delivery
- License
- Apache-2.0
Pulumi Delivery
Viewing docs for Pulumi Delivery v0.2.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi