Viewing docs for GitLab v10.1.1
published on Thursday, Jul 23, 2026 by Pulumi
published on Thursday, Jul 23, 2026 by Pulumi
Viewing docs for GitLab v10.1.1
published on Thursday, Jul 23, 2026 by Pulumi
published on Thursday, Jul 23, 2026 by Pulumi
The gitlab.ProjectErrorTrackingSettings data source retrieves error tracking settings for a GitLab project.
Upstream API: GitLab REST API docs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const example = gitlab.getProjectErrorTrackingSettings({
project: "mygroup/myproject",
});
import pulumi
import pulumi_gitlab as gitlab
example = gitlab.get_project_error_tracking_settings(project="mygroup/myproject")
package main
import (
"github.com/pulumi/pulumi-gitlab/sdk/v10/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gitlab.GetProjectErrorTrackingSettings(ctx, &gitlab.LookupProjectErrorTrackingSettingsArgs{
Project: "mygroup/myproject",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using GitLab = Pulumi.GitLab;
return await Deployment.RunAsync(() =>
{
var example = GitLab.GetProjectErrorTrackingSettings.Invoke(new()
{
Project = "mygroup/myproject",
});
});
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.GetProjectErrorTrackingSettingsArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 = GitlabFunctions.getProjectErrorTrackingSettings(GetProjectErrorTrackingSettingsArgs.builder()
.project("mygroup/myproject")
.build());
}
}
variables:
example:
fn::invoke:
function: gitlab:getProjectErrorTrackingSettings
arguments:
project: mygroup/myproject
pulumi {
required_providers {
gitlab = {
source = "pulumi/gitlab"
}
}
}
data "gitlab_getprojecterrortrackingsettings" "example" {
project = "mygroup/myproject"
}
Using getProjectErrorTrackingSettings
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 getProjectErrorTrackingSettings(args: GetProjectErrorTrackingSettingsArgs, opts?: InvokeOptions): Promise<GetProjectErrorTrackingSettingsResult>
function getProjectErrorTrackingSettingsOutput(args: GetProjectErrorTrackingSettingsOutputArgs, opts?: InvokeOptions): Output<GetProjectErrorTrackingSettingsResult>def get_project_error_tracking_settings(project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectErrorTrackingSettingsResult
def get_project_error_tracking_settings_output(project: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectErrorTrackingSettingsResult]func LookupProjectErrorTrackingSettings(ctx *Context, args *LookupProjectErrorTrackingSettingsArgs, opts ...InvokeOption) (*LookupProjectErrorTrackingSettingsResult, error)
func LookupProjectErrorTrackingSettingsOutput(ctx *Context, args *LookupProjectErrorTrackingSettingsOutputArgs, opts ...InvokeOption) LookupProjectErrorTrackingSettingsResultOutput> Note: This function is named LookupProjectErrorTrackingSettings in the Go SDK.
public static class GetProjectErrorTrackingSettings
{
public static Task<GetProjectErrorTrackingSettingsResult> InvokeAsync(GetProjectErrorTrackingSettingsArgs args, InvokeOptions? opts = null)
public static Output<GetProjectErrorTrackingSettingsResult> Invoke(GetProjectErrorTrackingSettingsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProjectErrorTrackingSettingsResult> getProjectErrorTrackingSettings(GetProjectErrorTrackingSettingsArgs args, InvokeOptions options)
public static Output<GetProjectErrorTrackingSettingsResult> getProjectErrorTrackingSettings(GetProjectErrorTrackingSettingsArgs args, InvokeOptions options)
fn::invoke:
function: gitlab:index/getProjectErrorTrackingSettings:getProjectErrorTrackingSettings
arguments:
# arguments dictionarydata "gitlab_get_project_error_tracking_settings" "name" {
# arguments
}The following arguments are supported:
- Project string
- The ID or URL-encoded path of the project.
- Project string
- The ID or URL-encoded path of the project.
- project string
- The ID or URL-encoded path of the project.
- project String
- The ID or URL-encoded path of the project.
- project string
- The ID or URL-encoded path of the project.
- project str
- The ID or URL-encoded path of the project.
- project String
- The ID or URL-encoded path of the project.
getProjectErrorTrackingSettings Result
The following output properties are available:
- Active bool
- Whether error tracking is enabled for the project.
- Api
Url string - The API URL to the Sentry project.
- Id string
- The ID of this datasource. In the format
<project-id>. - Integrated bool
- Whether the integrated error tracking backend is enabled.
- Project string
- The ID or URL-encoded path of the project.
- Project
Name string - The Sentry project name.
- Sentry
External stringUrl - The external URL to the Sentry project.
- Active bool
- Whether error tracking is enabled for the project.
- Api
Url string - The API URL to the Sentry project.
- Id string
- The ID of this datasource. In the format
<project-id>. - Integrated bool
- Whether the integrated error tracking backend is enabled.
- Project string
- The ID or URL-encoded path of the project.
- Project
Name string - The Sentry project name.
- Sentry
External stringUrl - The external URL to the Sentry project.
- active bool
- Whether error tracking is enabled for the project.
- api_
url string - The API URL to the Sentry project.
- id string
- The ID of this datasource. In the format
<project-id>. - integrated bool
- Whether the integrated error tracking backend is enabled.
- project string
- The ID or URL-encoded path of the project.
- project_
name string - The Sentry project name.
- sentry_
external_ stringurl - The external URL to the Sentry project.
- active Boolean
- Whether error tracking is enabled for the project.
- api
Url String - The API URL to the Sentry project.
- id String
- The ID of this datasource. In the format
<project-id>. - integrated Boolean
- Whether the integrated error tracking backend is enabled.
- project String
- The ID or URL-encoded path of the project.
- project
Name String - The Sentry project name.
- sentry
External StringUrl - The external URL to the Sentry project.
- active boolean
- Whether error tracking is enabled for the project.
- api
Url string - The API URL to the Sentry project.
- id string
- The ID of this datasource. In the format
<project-id>. - integrated boolean
- Whether the integrated error tracking backend is enabled.
- project string
- The ID or URL-encoded path of the project.
- project
Name string - The Sentry project name.
- sentry
External stringUrl - The external URL to the Sentry project.
- active bool
- Whether error tracking is enabled for the project.
- api_
url str - The API URL to the Sentry project.
- id str
- The ID of this datasource. In the format
<project-id>. - integrated bool
- Whether the integrated error tracking backend is enabled.
- project str
- The ID or URL-encoded path of the project.
- project_
name str - The Sentry project name.
- sentry_
external_ strurl - The external URL to the Sentry project.
- active Boolean
- Whether error tracking is enabled for the project.
- api
Url String - The API URL to the Sentry project.
- id String
- The ID of this datasource. In the format
<project-id>. - integrated Boolean
- Whether the integrated error tracking backend is enabled.
- project String
- The ID or URL-encoded path of the project.
- project
Name String - The Sentry project name.
- sentry
External StringUrl - The external URL to the Sentry project.
Package Details
- Repository
- GitLab pulumi/pulumi-gitlab
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gitlabTerraform Provider.
Viewing docs for GitLab v10.1.1
published on Thursday, Jul 23, 2026 by Pulumi
published on Thursday, Jul 23, 2026 by Pulumi