Viewing docs for GitLab v10.0.0
published on Friday, Jun 26, 2026 by Pulumi
published on Friday, Jun 26, 2026 by Pulumi
Viewing docs for GitLab v10.0.0
published on Friday, Jun 26, 2026 by Pulumi
published on Friday, Jun 26, 2026 by Pulumi
The gitlab.getSystemHooks data source retrieves details about all system hooks.
This data source requires administrator privileges.
Upstream API: GitLab REST API docs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const examples = gitlab.getSystemHooks({});
import pulumi
import pulumi_gitlab as gitlab
examples = gitlab.get_system_hooks()
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.GetSystemHooks(ctx, map[string]interface{}{}, 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 examples = GitLab.GetSystemHooks.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.GitlabFunctions;
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 examples = GitlabFunctions.getSystemHooks(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
}
}
variables:
examples:
fn::invoke:
function: gitlab:getSystemHooks
arguments: {}
pulumi {
required_providers {
gitlab = {
source = "pulumi/gitlab"
}
}
}
data "gitlab_getsystemhooks" "examples" {
}
Using getSystemHooks
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 getSystemHooks(opts?: InvokeOptions): Promise<GetSystemHooksResult>
function getSystemHooksOutput(opts?: InvokeOptions): Output<GetSystemHooksResult>def get_system_hooks(opts: Optional[InvokeOptions] = None) -> GetSystemHooksResult
def get_system_hooks_output(opts: Optional[InvokeOptions] = None) -> Output[GetSystemHooksResult]func GetSystemHooks(ctx *Context, opts ...InvokeOption) (*GetSystemHooksResult, error)
func GetSystemHooksOutput(ctx *Context, opts ...InvokeOption) GetSystemHooksResultOutput> Note: This function is named GetSystemHooks in the Go SDK.
public static class GetSystemHooks
{
public static Task<GetSystemHooksResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetSystemHooksResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetSystemHooksResult> getSystemHooks(InvokeOptions options)
public static Output<GetSystemHooksResult> getSystemHooks(InvokeOptions options)
fn::invoke:
function: gitlab:index/getSystemHooks:getSystemHooks
arguments:
# arguments dictionarydata "gitlab_getsystemhooks" "name" {
# arguments
}getSystemHooks Result
The following output properties are available:
- Hooks
List<Pulumi.
Git Lab. Outputs. Get System Hooks Hook> - The list of system hooks.
- Id string
- The ID of this data source.
- Hooks
[]Get
System Hooks Hook - The list of system hooks.
- Id string
- The ID of this data source.
- hooks list(object)
- The list of system hooks.
- id string
- The ID of this data source.
- hooks
List<Get
System Hooks Hook> - The list of system hooks.
- id String
- The ID of this data source.
- hooks
Get
System Hooks Hook[] - The list of system hooks.
- id string
- The ID of this data source.
- hooks
Sequence[Get
System Hooks Hook] - The list of system hooks.
- id str
- The ID of this data source.
- hooks List<Property Map>
- The list of system hooks.
- id String
- The ID of this data source.
Supporting Types
GetSystemHooksHook
- Created
At string - The date and time the hook was created in ISO8601 format.
- Description string
- The description of the hook.
- Enable
Ssl boolVerification - Do SSL verification when triggering the hook.
- Hook
Id int - The id of the system hook.
- Merge
Requests boolEvents - Trigger hook on merge requests events.
- Name string
- The name of the hook.
- Push
Events bool - When true, the hook fires on push events.
- Repository
Update boolEvents - Trigger hook on repository update events.
- Signing
Token boolPresent - Whether a
signingTokenis configured server-side. Reflects the value returned by the GitLab API. - Tag
Push boolEvents - When true, the hook fires on new tags being pushed.
- Url string
- The hook URL.
- Created
At string - The date and time the hook was created in ISO8601 format.
- Description string
- The description of the hook.
- Enable
Ssl boolVerification - Do SSL verification when triggering the hook.
- Hook
Id int - The id of the system hook.
- Merge
Requests boolEvents - Trigger hook on merge requests events.
- Name string
- The name of the hook.
- Push
Events bool - When true, the hook fires on push events.
- Repository
Update boolEvents - Trigger hook on repository update events.
- Signing
Token boolPresent - Whether a
signingTokenis configured server-side. Reflects the value returned by the GitLab API. - Tag
Push boolEvents - When true, the hook fires on new tags being pushed.
- Url string
- The hook URL.
- created_
at string - The date and time the hook was created in ISO8601 format.
- description string
- The description of the hook.
- enable_
ssl_ boolverification - Do SSL verification when triggering the hook.
- hook_
id number - The id of the system hook.
- merge_
requests_ boolevents - Trigger hook on merge requests events.
- name string
- The name of the hook.
- push_
events bool - When true, the hook fires on push events.
- repository_
update_ boolevents - Trigger hook on repository update events.
- signing_
token_ boolpresent - Whether a
signingTokenis configured server-side. Reflects the value returned by the GitLab API. - tag_
push_ boolevents - When true, the hook fires on new tags being pushed.
- url string
- The hook URL.
- created
At String - The date and time the hook was created in ISO8601 format.
- description String
- The description of the hook.
- enable
Ssl BooleanVerification - Do SSL verification when triggering the hook.
- hook
Id Integer - The id of the system hook.
- merge
Requests BooleanEvents - Trigger hook on merge requests events.
- name String
- The name of the hook.
- push
Events Boolean - When true, the hook fires on push events.
- repository
Update BooleanEvents - Trigger hook on repository update events.
- signing
Token BooleanPresent - Whether a
signingTokenis configured server-side. Reflects the value returned by the GitLab API. - tag
Push BooleanEvents - When true, the hook fires on new tags being pushed.
- url String
- The hook URL.
- created
At string - The date and time the hook was created in ISO8601 format.
- description string
- The description of the hook.
- enable
Ssl booleanVerification - Do SSL verification when triggering the hook.
- hook
Id number - The id of the system hook.
- merge
Requests booleanEvents - Trigger hook on merge requests events.
- name string
- The name of the hook.
- push
Events boolean - When true, the hook fires on push events.
- repository
Update booleanEvents - Trigger hook on repository update events.
- signing
Token booleanPresent - Whether a
signingTokenis configured server-side. Reflects the value returned by the GitLab API. - tag
Push booleanEvents - When true, the hook fires on new tags being pushed.
- url string
- The hook URL.
- created_
at str - The date and time the hook was created in ISO8601 format.
- description str
- The description of the hook.
- enable_
ssl_ boolverification - Do SSL verification when triggering the hook.
- hook_
id int - The id of the system hook.
- merge_
requests_ boolevents - Trigger hook on merge requests events.
- name str
- The name of the hook.
- push_
events bool - When true, the hook fires on push events.
- repository_
update_ boolevents - Trigger hook on repository update events.
- signing_
token_ boolpresent - Whether a
signingTokenis configured server-side. Reflects the value returned by the GitLab API. - tag_
push_ boolevents - When true, the hook fires on new tags being pushed.
- url str
- The hook URL.
- created
At String - The date and time the hook was created in ISO8601 format.
- description String
- The description of the hook.
- enable
Ssl BooleanVerification - Do SSL verification when triggering the hook.
- hook
Id Number - The id of the system hook.
- merge
Requests BooleanEvents - Trigger hook on merge requests events.
- name String
- The name of the hook.
- push
Events Boolean - When true, the hook fires on push events.
- repository
Update BooleanEvents - Trigger hook on repository update events.
- signing
Token BooleanPresent - Whether a
signingTokenis configured server-side. Reflects the value returned by the GitLab API. - tag
Push BooleanEvents - When true, the hook fires on new tags being pushed.
- url String
- The hook URL.
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.0.0
published on Friday, Jun 26, 2026 by Pulumi
published on Friday, Jun 26, 2026 by Pulumi