Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
The gitlab.getGroupHooks data source retrieves details about hooks in a group.
Upstream API: GitLab REST API docs
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
example:
fn::invoke:
function: gitlab:getGroup
arguments:
id: foo/bar/baz
examples:
fn::invoke:
function: gitlab:getGroupHooks
arguments:
group: ${example.id}
Using getGroupHooks
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 getGroupHooks(args: GetGroupHooksArgs, opts?: InvokeOptions): Promise<GetGroupHooksResult>
function getGroupHooksOutput(args: GetGroupHooksOutputArgs, opts?: InvokeOptions): Output<GetGroupHooksResult>def get_group_hooks(group: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGroupHooksResult
def get_group_hooks_output(group: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGroupHooksResult]func GetGroupHooks(ctx *Context, args *GetGroupHooksArgs, opts ...InvokeOption) (*GetGroupHooksResult, error)
func GetGroupHooksOutput(ctx *Context, args *GetGroupHooksOutputArgs, opts ...InvokeOption) GetGroupHooksResultOutput> Note: This function is named GetGroupHooks in the Go SDK.
public static class GetGroupHooks
{
public static Task<GetGroupHooksResult> InvokeAsync(GetGroupHooksArgs args, InvokeOptions? opts = null)
public static Output<GetGroupHooksResult> Invoke(GetGroupHooksInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGroupHooksResult> getGroupHooks(GetGroupHooksArgs args, InvokeOptions options)
public static Output<GetGroupHooksResult> getGroupHooks(GetGroupHooksArgs args, InvokeOptions options)
fn::invoke:
function: gitlab:index/getGroupHooks:getGroupHooks
arguments:
# arguments dictionaryThe following arguments are supported:
- Group string
- The ID or full path of the group.
- Group string
- The ID or full path of the group.
- group String
- The ID or full path of the group.
- group string
- The ID or full path of the group.
- group str
- The ID or full path of the group.
- group String
- The ID or full path of the group.
getGroupHooks Result
The following output properties are available:
- Group string
- The ID or full path of the group.
- Hooks
List<Pulumi.
Git Lab. Outputs. Get Group Hooks Hook> - The list of hooks.
- Id string
- The ID of this data source. In the format
<group>.
- Group string
- The ID or full path of the group.
- Hooks
[]Get
Group Hooks Hook - The list of hooks.
- Id string
- The ID of this data source. In the format
<group>.
- group String
- The ID or full path of the group.
- hooks
List<Get
Group Hooks Hook> - The list of hooks.
- id String
- The ID of this data source. In the format
<group>.
- group string
- The ID or full path of the group.
- hooks
Get
Group Hooks Hook[] - The list of hooks.
- id string
- The ID of this data source. In the format
<group>.
- group str
- The ID or full path of the group.
- hooks
Sequence[Get
Group Hooks Hook] - The list of hooks.
- id str
- The ID of this data source. In the format
<group>.
- group String
- The ID or full path of the group.
- hooks List<Property Map>
- The list of hooks.
- id String
- The ID of this data source. In the format
<group>.
Supporting Types
GetGroupHooksHook
- Confidential
Issues boolEvents - Invoke the hook for confidential issues events.
- Confidential
Note boolEvents - Invoke the hook for confidential notes events.
- Custom
Webhook stringTemplate - Set a custom webhook template.
- Deployment
Events bool - Invoke the hook for deployment events.
- Emoji
Events bool - Invoke the hook for emoji events.
- Enable
Ssl boolVerification - Enable ssl verification when invoking the hook.
- Group string
- The ID or full path of the group.
- Group
Id int - The id of the group for the hook.
- Hook
Id int - The id of the group hook.
- Issues
Events bool - Invoke the hook for issues events.
- Job
Events bool - Invoke the hook for job events.
- Merge
Requests boolEvents - Invoke the hook for merge requests.
- Note
Events bool - Invoke the hook for notes events.
- Pipeline
Events bool - Invoke the hook for pipeline events.
- Push
Events bool - Invoke the hook for push events.
- Push
Events stringBranch Filter - Invoke the hook for push events on matching branches only.
- Releases
Events bool - Invoke the hook for releases events.
- Subgroup
Events bool - Invoke the hook for subgroup events.
- Tag
Push boolEvents - Invoke the hook for tag push events.
- Token string
- A token to present when invoking the hook. The token is only available on resource creation, not in this datasource. It will always be blank. To be removed in 19.0.
- Url string
- The url of the hook to invoke.
- Vulnerability
Events bool - Invoke the hook for vulnerability events.
- Wiki
Page boolEvents - Invoke the hook for wiki page events.
- Confidential
Issues boolEvents - Invoke the hook for confidential issues events.
- Confidential
Note boolEvents - Invoke the hook for confidential notes events.
- Custom
Webhook stringTemplate - Set a custom webhook template.
- Deployment
Events bool - Invoke the hook for deployment events.
- Emoji
Events bool - Invoke the hook for emoji events.
- Enable
Ssl boolVerification - Enable ssl verification when invoking the hook.
- Group string
- The ID or full path of the group.
- Group
Id int - The id of the group for the hook.
- Hook
Id int - The id of the group hook.
- Issues
Events bool - Invoke the hook for issues events.
- Job
Events bool - Invoke the hook for job events.
- Merge
Requests boolEvents - Invoke the hook for merge requests.
- Note
Events bool - Invoke the hook for notes events.
- Pipeline
Events bool - Invoke the hook for pipeline events.
- Push
Events bool - Invoke the hook for push events.
- Push
Events stringBranch Filter - Invoke the hook for push events on matching branches only.
- Releases
Events bool - Invoke the hook for releases events.
- Subgroup
Events bool - Invoke the hook for subgroup events.
- Tag
Push boolEvents - Invoke the hook for tag push events.
- Token string
- A token to present when invoking the hook. The token is only available on resource creation, not in this datasource. It will always be blank. To be removed in 19.0.
- Url string
- The url of the hook to invoke.
- Vulnerability
Events bool - Invoke the hook for vulnerability events.
- Wiki
Page boolEvents - Invoke the hook for wiki page events.
- confidential
Issues BooleanEvents - Invoke the hook for confidential issues events.
- confidential
Note BooleanEvents - Invoke the hook for confidential notes events.
- custom
Webhook StringTemplate - Set a custom webhook template.
- deployment
Events Boolean - Invoke the hook for deployment events.
- emoji
Events Boolean - Invoke the hook for emoji events.
- enable
Ssl BooleanVerification - Enable ssl verification when invoking the hook.
- group String
- The ID or full path of the group.
- group
Id Integer - The id of the group for the hook.
- hook
Id Integer - The id of the group hook.
- issues
Events Boolean - Invoke the hook for issues events.
- job
Events Boolean - Invoke the hook for job events.
- merge
Requests BooleanEvents - Invoke the hook for merge requests.
- note
Events Boolean - Invoke the hook for notes events.
- pipeline
Events Boolean - Invoke the hook for pipeline events.
- push
Events Boolean - Invoke the hook for push events.
- push
Events StringBranch Filter - Invoke the hook for push events on matching branches only.
- releases
Events Boolean - Invoke the hook for releases events.
- subgroup
Events Boolean - Invoke the hook for subgroup events.
- tag
Push BooleanEvents - Invoke the hook for tag push events.
- token String
- A token to present when invoking the hook. The token is only available on resource creation, not in this datasource. It will always be blank. To be removed in 19.0.
- url String
- The url of the hook to invoke.
- vulnerability
Events Boolean - Invoke the hook for vulnerability events.
- wiki
Page BooleanEvents - Invoke the hook for wiki page events.
- confidential
Issues booleanEvents - Invoke the hook for confidential issues events.
- confidential
Note booleanEvents - Invoke the hook for confidential notes events.
- custom
Webhook stringTemplate - Set a custom webhook template.
- deployment
Events boolean - Invoke the hook for deployment events.
- emoji
Events boolean - Invoke the hook for emoji events.
- enable
Ssl booleanVerification - Enable ssl verification when invoking the hook.
- group string
- The ID or full path of the group.
- group
Id number - The id of the group for the hook.
- hook
Id number - The id of the group hook.
- issues
Events boolean - Invoke the hook for issues events.
- job
Events boolean - Invoke the hook for job events.
- merge
Requests booleanEvents - Invoke the hook for merge requests.
- note
Events boolean - Invoke the hook for notes events.
- pipeline
Events boolean - Invoke the hook for pipeline events.
- push
Events boolean - Invoke the hook for push events.
- push
Events stringBranch Filter - Invoke the hook for push events on matching branches only.
- releases
Events boolean - Invoke the hook for releases events.
- subgroup
Events boolean - Invoke the hook for subgroup events.
- tag
Push booleanEvents - Invoke the hook for tag push events.
- token string
- A token to present when invoking the hook. The token is only available on resource creation, not in this datasource. It will always be blank. To be removed in 19.0.
- url string
- The url of the hook to invoke.
- vulnerability
Events boolean - Invoke the hook for vulnerability events.
- wiki
Page booleanEvents - Invoke the hook for wiki page events.
- confidential_
issues_ boolevents - Invoke the hook for confidential issues events.
- confidential_
note_ boolevents - Invoke the hook for confidential notes events.
- custom_
webhook_ strtemplate - Set a custom webhook template.
- deployment_
events bool - Invoke the hook for deployment events.
- emoji_
events bool - Invoke the hook for emoji events.
- enable_
ssl_ boolverification - Enable ssl verification when invoking the hook.
- group str
- The ID or full path of the group.
- group_
id int - The id of the group for the hook.
- hook_
id int - The id of the group hook.
- issues_
events bool - Invoke the hook for issues events.
- job_
events bool - Invoke the hook for job events.
- merge_
requests_ boolevents - Invoke the hook for merge requests.
- note_
events bool - Invoke the hook for notes events.
- pipeline_
events bool - Invoke the hook for pipeline events.
- push_
events bool - Invoke the hook for push events.
- push_
events_ strbranch_ filter - Invoke the hook for push events on matching branches only.
- releases_
events bool - Invoke the hook for releases events.
- subgroup_
events bool - Invoke the hook for subgroup events.
- tag_
push_ boolevents - Invoke the hook for tag push events.
- token str
- A token to present when invoking the hook. The token is only available on resource creation, not in this datasource. It will always be blank. To be removed in 19.0.
- url str
- The url of the hook to invoke.
- vulnerability_
events bool - Invoke the hook for vulnerability events.
- wiki_
page_ boolevents - Invoke the hook for wiki page events.
- confidential
Issues BooleanEvents - Invoke the hook for confidential issues events.
- confidential
Note BooleanEvents - Invoke the hook for confidential notes events.
- custom
Webhook StringTemplate - Set a custom webhook template.
- deployment
Events Boolean - Invoke the hook for deployment events.
- emoji
Events Boolean - Invoke the hook for emoji events.
- enable
Ssl BooleanVerification - Enable ssl verification when invoking the hook.
- group String
- The ID or full path of the group.
- group
Id Number - The id of the group for the hook.
- hook
Id Number - The id of the group hook.
- issues
Events Boolean - Invoke the hook for issues events.
- job
Events Boolean - Invoke the hook for job events.
- merge
Requests BooleanEvents - Invoke the hook for merge requests.
- note
Events Boolean - Invoke the hook for notes events.
- pipeline
Events Boolean - Invoke the hook for pipeline events.
- push
Events Boolean - Invoke the hook for push events.
- push
Events StringBranch Filter - Invoke the hook for push events on matching branches only.
- releases
Events Boolean - Invoke the hook for releases events.
- subgroup
Events Boolean - Invoke the hook for subgroup events.
- tag
Push BooleanEvents - Invoke the hook for tag push events.
- token String
- A token to present when invoking the hook. The token is only available on resource creation, not in this datasource. It will always be blank. To be removed in 19.0.
- url String
- The url of the hook to invoke.
- vulnerability
Events Boolean - Invoke the hook for vulnerability events.
- wiki
Page BooleanEvents - Invoke the hook for wiki page events.
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 v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
