get Project Tag
The gitlab.ProjectTag
data source allows details of a project tag to be retrieved by its name. Upstream API: GitLab API docs
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.GitlabFunctions;
import com.pulumi.gitlab.inputs.GetProjectTagArgs;
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 foo = GitlabFunctions.getProjectTag(GetProjectTagArgs.builder()
.name("example")
.project("foo/bar")
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getProjectTag.
Parameters
argument
A collection of arguments for invoking getProjectTag.
Return
A collection of values returned by getProjectTag.
Parameters
name
The name of a tag.
project
The ID or URL-encoded path of the project owned by the authenticated user.
See also
suspend fun getProjectTag(argument: suspend GetProjectTagPlainArgsBuilder.() -> Unit): GetProjectTagResult
Return
A collection of values returned by getProjectTag.
Parameters
argument
Builder for com.pulumi.gitlab.kotlin.inputs.GetProjectTagPlainArgs.