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.GroupHook data source allows to retrieve details about a hook 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
exampleGetGroupHook:
fn::invoke:
function: gitlab:getGroupHook
arguments:
group: ${example.id}
hookId: 1
pulumi {
required_providers {
gitlab = {
source = "pulumi/gitlab"
}
}
}
data "gitlab_getgroup" "example" {
id = "foo/bar/baz"
}
data "gitlab_getgrouphook" "exampleGetGroupHook" {
group = data.gitlab_getgroup.example.id
hook_id = 1
}
Using getGroupHook
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 getGroupHook(args: GetGroupHookArgs, opts?: InvokeOptions): Promise<GetGroupHookResult>
function getGroupHookOutput(args: GetGroupHookOutputArgs, opts?: InvokeOptions): Output<GetGroupHookResult>def get_group_hook(group: Optional[str] = None,
hook_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetGroupHookResult
def get_group_hook_output(group: pulumi.Input[Optional[str]] = None,
hook_id: pulumi.Input[Optional[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGroupHookResult]func LookupGroupHook(ctx *Context, args *LookupGroupHookArgs, opts ...InvokeOption) (*LookupGroupHookResult, error)
func LookupGroupHookOutput(ctx *Context, args *LookupGroupHookOutputArgs, opts ...InvokeOption) LookupGroupHookResultOutput> Note: This function is named LookupGroupHook in the Go SDK.
public static class GetGroupHook
{
public static Task<GetGroupHookResult> InvokeAsync(GetGroupHookArgs args, InvokeOptions? opts = null)
public static Output<GetGroupHookResult> Invoke(GetGroupHookInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGroupHookResult> getGroupHook(GetGroupHookArgs args, InvokeOptions options)
public static Output<GetGroupHookResult> getGroupHook(GetGroupHookArgs args, InvokeOptions options)
fn::invoke:
function: gitlab:index/getGroupHook:getGroupHook
arguments:
# arguments dictionarydata "gitlab_get_group_hook" "name" {
# arguments
}The following arguments are supported:
getGroupHook Result
The following output properties are available:
- Alert
Status string - Lifecycle status of the webhook. Values include
executableanddisabled. - Branch
Filter stringStrategy - Filter push events by branch.
- Confidential
Issues boolEvents - Invoke the hook for confidential issues events.
- Confidential
Note boolEvents - Invoke the hook for confidential notes events.
- Created
At string - The date and time the hook was created in ISO8601 format.
- Custom
Webhook stringTemplate - Set a custom webhook template.
- Deployment
Events bool - Invoke the hook for deployment events.
- Disabled
Until string - Time until the webhook is re-enabled after being automatically disabled due to failures, in ISO8601 format. Null when the webhook is enabled.
- Emoji
Events bool - Invoke the hook for emoji events.
- Enable
Ssl boolVerification - Enable ssl verification when invoking the hook.
- Feature
Flag boolEvents - Invoke the hook for feature flag events.
- 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.
- Id string
- The ID of this data source. In the format
<group:hook_id>. - Issues
Events bool - Invoke the hook for issues events.
- Job
Events bool - Invoke the hook for job events.
- Member
Events bool - Invoke the hook for member events.
- Merge
Requests boolEvents - Invoke the hook for merge requests.
- Milestone
Events bool - Invoke the hook for milestone events.
- Note
Events bool - Invoke the hook for notes events.
- Pipeline
Events bool - Invoke the hook for pipeline events.
- Project
Events bool - Invoke the hook for project 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.
- Resource
Access boolToken Events - Invoke the hook for resource access token expiry events.
- Signing
Token boolPresent - Whether a
signingTokenis configured server-side. Reflects the value returned by the GitLab API. - Subgroup
Events bool - Invoke the hook for subgroup events.
- Tag
Push boolEvents - Invoke the hook for tag push events.
- 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.
- Alert
Status string - Lifecycle status of the webhook. Values include
executableanddisabled. - Branch
Filter stringStrategy - Filter push events by branch.
- Confidential
Issues boolEvents - Invoke the hook for confidential issues events.
- Confidential
Note boolEvents - Invoke the hook for confidential notes events.
- Created
At string - The date and time the hook was created in ISO8601 format.
- Custom
Webhook stringTemplate - Set a custom webhook template.
- Deployment
Events bool - Invoke the hook for deployment events.
- Disabled
Until string - Time until the webhook is re-enabled after being automatically disabled due to failures, in ISO8601 format. Null when the webhook is enabled.
- Emoji
Events bool - Invoke the hook for emoji events.
- Enable
Ssl boolVerification - Enable ssl verification when invoking the hook.
- Feature
Flag boolEvents - Invoke the hook for feature flag events.
- 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.
- Id string
- The ID of this data source. In the format
<group:hook_id>. - Issues
Events bool - Invoke the hook for issues events.
- Job
Events bool - Invoke the hook for job events.
- Member
Events bool - Invoke the hook for member events.
- Merge
Requests boolEvents - Invoke the hook for merge requests.
- Milestone
Events bool - Invoke the hook for milestone events.
- Note
Events bool - Invoke the hook for notes events.
- Pipeline
Events bool - Invoke the hook for pipeline events.
- Project
Events bool - Invoke the hook for project 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.
- Resource
Access boolToken Events - Invoke the hook for resource access token expiry events.
- Signing
Token boolPresent - Whether a
signingTokenis configured server-side. Reflects the value returned by the GitLab API. - Subgroup
Events bool - Invoke the hook for subgroup events.
- Tag
Push boolEvents - Invoke the hook for tag push events.
- 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.
- alert_
status string - Lifecycle status of the webhook. Values include
executableanddisabled. - branch_
filter_ stringstrategy - Filter push events by branch.
- confidential_
issues_ boolevents - Invoke the hook for confidential issues events.
- confidential_
note_ boolevents - Invoke the hook for confidential notes events.
- created_
at string - The date and time the hook was created in ISO8601 format.
- custom_
webhook_ stringtemplate - Set a custom webhook template.
- deployment_
events bool - Invoke the hook for deployment events.
- disabled_
until string - Time until the webhook is re-enabled after being automatically disabled due to failures, in ISO8601 format. Null when the webhook is enabled.
- emoji_
events bool - Invoke the hook for emoji events.
- enable_
ssl_ boolverification - Enable ssl verification when invoking the hook.
- feature_
flag_ boolevents - Invoke the hook for feature flag events.
- 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.
- id string
- The ID of this data source. In the format
<group:hook_id>. - issues_
events bool - Invoke the hook for issues events.
- job_
events bool - Invoke the hook for job events.
- member_
events bool - Invoke the hook for member events.
- merge_
requests_ boolevents - Invoke the hook for merge requests.
- milestone_
events bool - Invoke the hook for milestone events.
- note_
events bool - Invoke the hook for notes events.
- pipeline_
events bool - Invoke the hook for pipeline events.
- project_
events bool - Invoke the hook for project 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.
- resource_
access_ booltoken_ events - Invoke the hook for resource access token expiry events.
- signing_
token_ boolpresent - Whether a
signingTokenis configured server-side. Reflects the value returned by the GitLab API. - subgroup_
events bool - Invoke the hook for subgroup events.
- tag_
push_ boolevents - Invoke the hook for tag push events.
- 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.
- alert
Status String - Lifecycle status of the webhook. Values include
executableanddisabled. - branch
Filter StringStrategy - Filter push events by branch.
- confidential
Issues BooleanEvents - Invoke the hook for confidential issues events.
- confidential
Note BooleanEvents - Invoke the hook for confidential notes events.
- created
At String - The date and time the hook was created in ISO8601 format.
- custom
Webhook StringTemplate - Set a custom webhook template.
- deployment
Events Boolean - Invoke the hook for deployment events.
- disabled
Until String - Time until the webhook is re-enabled after being automatically disabled due to failures, in ISO8601 format. Null when the webhook is enabled.
- emoji
Events Boolean - Invoke the hook for emoji events.
- enable
Ssl BooleanVerification - Enable ssl verification when invoking the hook.
- feature
Flag BooleanEvents - Invoke the hook for feature flag events.
- 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.
- id String
- The ID of this data source. In the format
<group:hook_id>. - issues
Events Boolean - Invoke the hook for issues events.
- job
Events Boolean - Invoke the hook for job events.
- member
Events Boolean - Invoke the hook for member events.
- merge
Requests BooleanEvents - Invoke the hook for merge requests.
- milestone
Events Boolean - Invoke the hook for milestone events.
- note
Events Boolean - Invoke the hook for notes events.
- pipeline
Events Boolean - Invoke the hook for pipeline events.
- project
Events Boolean - Invoke the hook for project 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.
- resource
Access BooleanToken Events - Invoke the hook for resource access token expiry events.
- signing
Token BooleanPresent - Whether a
signingTokenis configured server-side. Reflects the value returned by the GitLab API. - subgroup
Events Boolean - Invoke the hook for subgroup events.
- tag
Push BooleanEvents - Invoke the hook for tag push events.
- 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.
- alert
Status string - Lifecycle status of the webhook. Values include
executableanddisabled. - branch
Filter stringStrategy - Filter push events by branch.
- confidential
Issues booleanEvents - Invoke the hook for confidential issues events.
- confidential
Note booleanEvents - Invoke the hook for confidential notes events.
- created
At string - The date and time the hook was created in ISO8601 format.
- custom
Webhook stringTemplate - Set a custom webhook template.
- deployment
Events boolean - Invoke the hook for deployment events.
- disabled
Until string - Time until the webhook is re-enabled after being automatically disabled due to failures, in ISO8601 format. Null when the webhook is enabled.
- emoji
Events boolean - Invoke the hook for emoji events.
- enable
Ssl booleanVerification - Enable ssl verification when invoking the hook.
- feature
Flag booleanEvents - Invoke the hook for feature flag events.
- 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.
- id string
- The ID of this data source. In the format
<group:hook_id>. - issues
Events boolean - Invoke the hook for issues events.
- job
Events boolean - Invoke the hook for job events.
- member
Events boolean - Invoke the hook for member events.
- merge
Requests booleanEvents - Invoke the hook for merge requests.
- milestone
Events boolean - Invoke the hook for milestone events.
- note
Events boolean - Invoke the hook for notes events.
- pipeline
Events boolean - Invoke the hook for pipeline events.
- project
Events boolean - Invoke the hook for project 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.
- resource
Access booleanToken Events - Invoke the hook for resource access token expiry events.
- signing
Token booleanPresent - Whether a
signingTokenis configured server-side. Reflects the value returned by the GitLab API. - subgroup
Events boolean - Invoke the hook for subgroup events.
- tag
Push booleanEvents - Invoke the hook for tag push events.
- 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.
- alert_
status str - Lifecycle status of the webhook. Values include
executableanddisabled. - branch_
filter_ strstrategy - Filter push events by branch.
- confidential_
issues_ boolevents - Invoke the hook for confidential issues events.
- confidential_
note_ boolevents - Invoke the hook for confidential notes events.
- created_
at str - The date and time the hook was created in ISO8601 format.
- custom_
webhook_ strtemplate - Set a custom webhook template.
- deployment_
events bool - Invoke the hook for deployment events.
- disabled_
until str - Time until the webhook is re-enabled after being automatically disabled due to failures, in ISO8601 format. Null when the webhook is enabled.
- emoji_
events bool - Invoke the hook for emoji events.
- enable_
ssl_ boolverification - Enable ssl verification when invoking the hook.
- feature_
flag_ boolevents - Invoke the hook for feature flag events.
- 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.
- id str
- The ID of this data source. In the format
<group:hook_id>. - issues_
events bool - Invoke the hook for issues events.
- job_
events bool - Invoke the hook for job events.
- member_
events bool - Invoke the hook for member events.
- merge_
requests_ boolevents - Invoke the hook for merge requests.
- milestone_
events bool - Invoke the hook for milestone events.
- note_
events bool - Invoke the hook for notes events.
- pipeline_
events bool - Invoke the hook for pipeline events.
- project_
events bool - Invoke the hook for project 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.
- resource_
access_ booltoken_ events - Invoke the hook for resource access token expiry events.
- signing_
token_ boolpresent - Whether a
signingTokenis configured server-side. Reflects the value returned by the GitLab API. - subgroup_
events bool - Invoke the hook for subgroup events.
- tag_
push_ boolevents - Invoke the hook for tag push events.
- 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.
- alert
Status String - Lifecycle status of the webhook. Values include
executableanddisabled. - branch
Filter StringStrategy - Filter push events by branch.
- confidential
Issues BooleanEvents - Invoke the hook for confidential issues events.
- confidential
Note BooleanEvents - Invoke the hook for confidential notes events.
- created
At String - The date and time the hook was created in ISO8601 format.
- custom
Webhook StringTemplate - Set a custom webhook template.
- deployment
Events Boolean - Invoke the hook for deployment events.
- disabled
Until String - Time until the webhook is re-enabled after being automatically disabled due to failures, in ISO8601 format. Null when the webhook is enabled.
- emoji
Events Boolean - Invoke the hook for emoji events.
- enable
Ssl BooleanVerification - Enable ssl verification when invoking the hook.
- feature
Flag BooleanEvents - Invoke the hook for feature flag events.
- 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.
- id String
- The ID of this data source. In the format
<group:hook_id>. - issues
Events Boolean - Invoke the hook for issues events.
- job
Events Boolean - Invoke the hook for job events.
- member
Events Boolean - Invoke the hook for member events.
- merge
Requests BooleanEvents - Invoke the hook for merge requests.
- milestone
Events Boolean - Invoke the hook for milestone events.
- note
Events Boolean - Invoke the hook for notes events.
- pipeline
Events Boolean - Invoke the hook for pipeline events.
- project
Events Boolean - Invoke the hook for project 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.
- resource
Access BooleanToken Events - Invoke the hook for resource access token expiry events.
- signing
Token BooleanPresent - Whether a
signingTokenis configured server-side. Reflects the value returned by the GitLab API. - subgroup
Events Boolean - Invoke the hook for subgroup events.
- tag
Push BooleanEvents - Invoke the hook for tag push events.
- 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 v10.1.1
published on Thursday, Jul 23, 2026 by Pulumi
published on Thursday, Jul 23, 2026 by Pulumi