getBranch

The gitlab.Branch data source allows details of a repository branch to be retrieved by its name and project. Upstream API: GitLab REST API docs

Return

A collection of values returned by getBranch.

Parameters

argument

A collection of arguments for invoking getBranch.


suspend fun getBranch(name: String, project: String): GetBranchResult

Return

A collection of values returned by getBranch.

Parameters

name

The name of the branch.

project

The full path or id of the project.

See also


suspend fun getBranch(argument: suspend GetBranchPlainArgsBuilder.() -> Unit): GetBranchResult

Return

A collection of values returned by getBranch.

Parameters

argument

Builder for com.pulumi.gitlab.kotlin.inputs.GetBranchPlainArgs.

See also