1. Packages
  2. Gitlab Provider
  3. API Docs
  4. GlobalLevelNotifications
GitLab v8.10.0 published on Friday, Mar 21, 2025 by Pulumi

gitlab.GlobalLevelNotifications

Explore with Pulumi AI

The gitlab.GlobalLevelNotifications resource allows to manage global notifications.

Upstream API: GitLab REST API docs

Create GlobalLevelNotifications Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new GlobalLevelNotifications(name: string, args?: GlobalLevelNotificationsArgs, opts?: CustomResourceOptions);
@overload
def GlobalLevelNotifications(resource_name: str,
                             args: Optional[GlobalLevelNotificationsArgs] = None,
                             opts: Optional[ResourceOptions] = None)

@overload
def GlobalLevelNotifications(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             close_issue: Optional[bool] = None,
                             close_merge_request: Optional[bool] = None,
                             failed_pipeline: Optional[bool] = None,
                             fixed_pipeline: Optional[bool] = None,
                             issue_due: Optional[bool] = None,
                             level: Optional[str] = None,
                             merge_merge_request: Optional[bool] = None,
                             merge_when_pipeline_succeeds: Optional[bool] = None,
                             moved_project: Optional[bool] = None,
                             new_issue: Optional[bool] = None,
                             new_merge_request: Optional[bool] = None,
                             new_note: Optional[bool] = None,
                             push_to_merge_request: Optional[bool] = None,
                             reassign_issue: Optional[bool] = None,
                             reassign_merge_request: Optional[bool] = None,
                             reopen_issue: Optional[bool] = None,
                             reopen_merge_request: Optional[bool] = None,
                             success_pipeline: Optional[bool] = None)
func NewGlobalLevelNotifications(ctx *Context, name string, args *GlobalLevelNotificationsArgs, opts ...ResourceOption) (*GlobalLevelNotifications, error)
public GlobalLevelNotifications(string name, GlobalLevelNotificationsArgs? args = null, CustomResourceOptions? opts = null)
public GlobalLevelNotifications(String name, GlobalLevelNotificationsArgs args)
public GlobalLevelNotifications(String name, GlobalLevelNotificationsArgs args, CustomResourceOptions options)
type: gitlab:GlobalLevelNotifications
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args GlobalLevelNotificationsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args GlobalLevelNotificationsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args GlobalLevelNotificationsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args GlobalLevelNotificationsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. GlobalLevelNotificationsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var globalLevelNotificationsResource = new GitLab.GlobalLevelNotifications("globalLevelNotificationsResource", new()
{
    CloseIssue = false,
    CloseMergeRequest = false,
    FailedPipeline = false,
    FixedPipeline = false,
    IssueDue = false,
    Level = "string",
    MergeMergeRequest = false,
    MergeWhenPipelineSucceeds = false,
    MovedProject = false,
    NewIssue = false,
    NewMergeRequest = false,
    NewNote = false,
    PushToMergeRequest = false,
    ReassignIssue = false,
    ReassignMergeRequest = false,
    ReopenIssue = false,
    ReopenMergeRequest = false,
    SuccessPipeline = false,
});
Copy
example, err := gitlab.NewGlobalLevelNotifications(ctx, "globalLevelNotificationsResource", &gitlab.GlobalLevelNotificationsArgs{
	CloseIssue:                pulumi.Bool(false),
	CloseMergeRequest:         pulumi.Bool(false),
	FailedPipeline:            pulumi.Bool(false),
	FixedPipeline:             pulumi.Bool(false),
	IssueDue:                  pulumi.Bool(false),
	Level:                     pulumi.String("string"),
	MergeMergeRequest:         pulumi.Bool(false),
	MergeWhenPipelineSucceeds: pulumi.Bool(false),
	MovedProject:              pulumi.Bool(false),
	NewIssue:                  pulumi.Bool(false),
	NewMergeRequest:           pulumi.Bool(false),
	NewNote:                   pulumi.Bool(false),
	PushToMergeRequest:        pulumi.Bool(false),
	ReassignIssue:             pulumi.Bool(false),
	ReassignMergeRequest:      pulumi.Bool(false),
	ReopenIssue:               pulumi.Bool(false),
	ReopenMergeRequest:        pulumi.Bool(false),
	SuccessPipeline:           pulumi.Bool(false),
})
Copy
var globalLevelNotificationsResource = new GlobalLevelNotifications("globalLevelNotificationsResource", GlobalLevelNotificationsArgs.builder()
    .closeIssue(false)
    .closeMergeRequest(false)
    .failedPipeline(false)
    .fixedPipeline(false)
    .issueDue(false)
    .level("string")
    .mergeMergeRequest(false)
    .mergeWhenPipelineSucceeds(false)
    .movedProject(false)
    .newIssue(false)
    .newMergeRequest(false)
    .newNote(false)
    .pushToMergeRequest(false)
    .reassignIssue(false)
    .reassignMergeRequest(false)
    .reopenIssue(false)
    .reopenMergeRequest(false)
    .successPipeline(false)
    .build());
Copy
global_level_notifications_resource = gitlab.GlobalLevelNotifications("globalLevelNotificationsResource",
    close_issue=False,
    close_merge_request=False,
    failed_pipeline=False,
    fixed_pipeline=False,
    issue_due=False,
    level="string",
    merge_merge_request=False,
    merge_when_pipeline_succeeds=False,
    moved_project=False,
    new_issue=False,
    new_merge_request=False,
    new_note=False,
    push_to_merge_request=False,
    reassign_issue=False,
    reassign_merge_request=False,
    reopen_issue=False,
    reopen_merge_request=False,
    success_pipeline=False)
Copy
const globalLevelNotificationsResource = new gitlab.GlobalLevelNotifications("globalLevelNotificationsResource", {
    closeIssue: false,
    closeMergeRequest: false,
    failedPipeline: false,
    fixedPipeline: false,
    issueDue: false,
    level: "string",
    mergeMergeRequest: false,
    mergeWhenPipelineSucceeds: false,
    movedProject: false,
    newIssue: false,
    newMergeRequest: false,
    newNote: false,
    pushToMergeRequest: false,
    reassignIssue: false,
    reassignMergeRequest: false,
    reopenIssue: false,
    reopenMergeRequest: false,
    successPipeline: false,
});
Copy
type: gitlab:GlobalLevelNotifications
properties:
    closeIssue: false
    closeMergeRequest: false
    failedPipeline: false
    fixedPipeline: false
    issueDue: false
    level: string
    mergeMergeRequest: false
    mergeWhenPipelineSucceeds: false
    movedProject: false
    newIssue: false
    newMergeRequest: false
    newNote: false
    pushToMergeRequest: false
    reassignIssue: false
    reassignMergeRequest: false
    reopenIssue: false
    reopenMergeRequest: false
    successPipeline: false
Copy

GlobalLevelNotifications Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The GlobalLevelNotifications resource accepts the following input properties:

CloseIssue bool
Enable notifications for closed issues. Can only be used when level is custom.
CloseMergeRequest bool
Enable notifications for closed merge requests. Can only be used when level is custom.
FailedPipeline bool
Enable notifications for failed pipelines. Can only be used when level is custom.
FixedPipeline bool
Enable notifications for fixed pipelines. Can only be used when level is custom.
IssueDue bool
Enable notifications for due issues. Can only be used when level is custom.
Level string
The level of the notification. Valid values are: disabled, participating, watch, global, mention, custom.
MergeMergeRequest bool
Enable notifications for merged merge requests. Can only be used when level is custom.
MergeWhenPipelineSucceeds bool
Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when level is custom.
MovedProject bool
Enable notifications for moved projects. Can only be used when level is custom.
NewIssue bool
Enable notifications for new issues. Can only be used when level is custom.
NewMergeRequest bool
Enable notifications for new merge requests. Can only be used when level is custom.
NewNote bool
Enable notifications for new notes on merge requests. Can only be used when level is custom.
PushToMergeRequest bool
Enable notifications for push to merge request branches. Can only be used when level is custom.
ReassignIssue bool
Enable notifications for issue reassignments. Can only be used when level is custom.
ReassignMergeRequest bool
Enable notifications for merge request reassignments. Can only be used when level is custom.
ReopenIssue bool
Enable notifications for reopened issues. Can only be used when level is custom.
ReopenMergeRequest bool
Enable notifications for reopened merge requests. Can only be used when level is custom.
SuccessPipeline bool
Enable notifications for successful pipelines. Can only be used when level is custom.
CloseIssue bool
Enable notifications for closed issues. Can only be used when level is custom.
CloseMergeRequest bool
Enable notifications for closed merge requests. Can only be used when level is custom.
FailedPipeline bool
Enable notifications for failed pipelines. Can only be used when level is custom.
FixedPipeline bool
Enable notifications for fixed pipelines. Can only be used when level is custom.
IssueDue bool
Enable notifications for due issues. Can only be used when level is custom.
Level string
The level of the notification. Valid values are: disabled, participating, watch, global, mention, custom.
MergeMergeRequest bool
Enable notifications for merged merge requests. Can only be used when level is custom.
MergeWhenPipelineSucceeds bool
Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when level is custom.
MovedProject bool
Enable notifications for moved projects. Can only be used when level is custom.
NewIssue bool
Enable notifications for new issues. Can only be used when level is custom.
NewMergeRequest bool
Enable notifications for new merge requests. Can only be used when level is custom.
NewNote bool
Enable notifications for new notes on merge requests. Can only be used when level is custom.
PushToMergeRequest bool
Enable notifications for push to merge request branches. Can only be used when level is custom.
ReassignIssue bool
Enable notifications for issue reassignments. Can only be used when level is custom.
ReassignMergeRequest bool
Enable notifications for merge request reassignments. Can only be used when level is custom.
ReopenIssue bool
Enable notifications for reopened issues. Can only be used when level is custom.
ReopenMergeRequest bool
Enable notifications for reopened merge requests. Can only be used when level is custom.
SuccessPipeline bool
Enable notifications for successful pipelines. Can only be used when level is custom.
closeIssue Boolean
Enable notifications for closed issues. Can only be used when level is custom.
closeMergeRequest Boolean
Enable notifications for closed merge requests. Can only be used when level is custom.
failedPipeline Boolean
Enable notifications for failed pipelines. Can only be used when level is custom.
fixedPipeline Boolean
Enable notifications for fixed pipelines. Can only be used when level is custom.
issueDue Boolean
Enable notifications for due issues. Can only be used when level is custom.
level String
The level of the notification. Valid values are: disabled, participating, watch, global, mention, custom.
mergeMergeRequest Boolean
Enable notifications for merged merge requests. Can only be used when level is custom.
mergeWhenPipelineSucceeds Boolean
Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when level is custom.
movedProject Boolean
Enable notifications for moved projects. Can only be used when level is custom.
newIssue Boolean
Enable notifications for new issues. Can only be used when level is custom.
newMergeRequest Boolean
Enable notifications for new merge requests. Can only be used when level is custom.
newNote Boolean
Enable notifications for new notes on merge requests. Can only be used when level is custom.
pushToMergeRequest Boolean
Enable notifications for push to merge request branches. Can only be used when level is custom.
reassignIssue Boolean
Enable notifications for issue reassignments. Can only be used when level is custom.
reassignMergeRequest Boolean
Enable notifications for merge request reassignments. Can only be used when level is custom.
reopenIssue Boolean
Enable notifications for reopened issues. Can only be used when level is custom.
reopenMergeRequest Boolean
Enable notifications for reopened merge requests. Can only be used when level is custom.
successPipeline Boolean
Enable notifications for successful pipelines. Can only be used when level is custom.
closeIssue boolean
Enable notifications for closed issues. Can only be used when level is custom.
closeMergeRequest boolean
Enable notifications for closed merge requests. Can only be used when level is custom.
failedPipeline boolean
Enable notifications for failed pipelines. Can only be used when level is custom.
fixedPipeline boolean
Enable notifications for fixed pipelines. Can only be used when level is custom.
issueDue boolean
Enable notifications for due issues. Can only be used when level is custom.
level string
The level of the notification. Valid values are: disabled, participating, watch, global, mention, custom.
mergeMergeRequest boolean
Enable notifications for merged merge requests. Can only be used when level is custom.
mergeWhenPipelineSucceeds boolean
Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when level is custom.
movedProject boolean
Enable notifications for moved projects. Can only be used when level is custom.
newIssue boolean
Enable notifications for new issues. Can only be used when level is custom.
newMergeRequest boolean
Enable notifications for new merge requests. Can only be used when level is custom.
newNote boolean
Enable notifications for new notes on merge requests. Can only be used when level is custom.
pushToMergeRequest boolean
Enable notifications for push to merge request branches. Can only be used when level is custom.
reassignIssue boolean
Enable notifications for issue reassignments. Can only be used when level is custom.
reassignMergeRequest boolean
Enable notifications for merge request reassignments. Can only be used when level is custom.
reopenIssue boolean
Enable notifications for reopened issues. Can only be used when level is custom.
reopenMergeRequest boolean
Enable notifications for reopened merge requests. Can only be used when level is custom.
successPipeline boolean
Enable notifications for successful pipelines. Can only be used when level is custom.
close_issue bool
Enable notifications for closed issues. Can only be used when level is custom.
close_merge_request bool
Enable notifications for closed merge requests. Can only be used when level is custom.
failed_pipeline bool
Enable notifications for failed pipelines. Can only be used when level is custom.
fixed_pipeline bool
Enable notifications for fixed pipelines. Can only be used when level is custom.
issue_due bool
Enable notifications for due issues. Can only be used when level is custom.
level str
The level of the notification. Valid values are: disabled, participating, watch, global, mention, custom.
merge_merge_request bool
Enable notifications for merged merge requests. Can only be used when level is custom.
merge_when_pipeline_succeeds bool
Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when level is custom.
moved_project bool
Enable notifications for moved projects. Can only be used when level is custom.
new_issue bool
Enable notifications for new issues. Can only be used when level is custom.
new_merge_request bool
Enable notifications for new merge requests. Can only be used when level is custom.
new_note bool
Enable notifications for new notes on merge requests. Can only be used when level is custom.
push_to_merge_request bool
Enable notifications for push to merge request branches. Can only be used when level is custom.
reassign_issue bool
Enable notifications for issue reassignments. Can only be used when level is custom.
reassign_merge_request bool
Enable notifications for merge request reassignments. Can only be used when level is custom.
reopen_issue bool
Enable notifications for reopened issues. Can only be used when level is custom.
reopen_merge_request bool
Enable notifications for reopened merge requests. Can only be used when level is custom.
success_pipeline bool
Enable notifications for successful pipelines. Can only be used when level is custom.
closeIssue Boolean
Enable notifications for closed issues. Can only be used when level is custom.
closeMergeRequest Boolean
Enable notifications for closed merge requests. Can only be used when level is custom.
failedPipeline Boolean
Enable notifications for failed pipelines. Can only be used when level is custom.
fixedPipeline Boolean
Enable notifications for fixed pipelines. Can only be used when level is custom.
issueDue Boolean
Enable notifications for due issues. Can only be used when level is custom.
level String
The level of the notification. Valid values are: disabled, participating, watch, global, mention, custom.
mergeMergeRequest Boolean
Enable notifications for merged merge requests. Can only be used when level is custom.
mergeWhenPipelineSucceeds Boolean
Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when level is custom.
movedProject Boolean
Enable notifications for moved projects. Can only be used when level is custom.
newIssue Boolean
Enable notifications for new issues. Can only be used when level is custom.
newMergeRequest Boolean
Enable notifications for new merge requests. Can only be used when level is custom.
newNote Boolean
Enable notifications for new notes on merge requests. Can only be used when level is custom.
pushToMergeRequest Boolean
Enable notifications for push to merge request branches. Can only be used when level is custom.
reassignIssue Boolean
Enable notifications for issue reassignments. Can only be used when level is custom.
reassignMergeRequest Boolean
Enable notifications for merge request reassignments. Can only be used when level is custom.
reopenIssue Boolean
Enable notifications for reopened issues. Can only be used when level is custom.
reopenMergeRequest Boolean
Enable notifications for reopened merge requests. Can only be used when level is custom.
successPipeline Boolean
Enable notifications for successful pipelines. Can only be used when level is custom.

Outputs

All input properties are implicitly available as output properties. Additionally, the GlobalLevelNotifications resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing GlobalLevelNotifications Resource

Get an existing GlobalLevelNotifications resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: GlobalLevelNotificationsState, opts?: CustomResourceOptions): GlobalLevelNotifications
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        close_issue: Optional[bool] = None,
        close_merge_request: Optional[bool] = None,
        failed_pipeline: Optional[bool] = None,
        fixed_pipeline: Optional[bool] = None,
        issue_due: Optional[bool] = None,
        level: Optional[str] = None,
        merge_merge_request: Optional[bool] = None,
        merge_when_pipeline_succeeds: Optional[bool] = None,
        moved_project: Optional[bool] = None,
        new_issue: Optional[bool] = None,
        new_merge_request: Optional[bool] = None,
        new_note: Optional[bool] = None,
        push_to_merge_request: Optional[bool] = None,
        reassign_issue: Optional[bool] = None,
        reassign_merge_request: Optional[bool] = None,
        reopen_issue: Optional[bool] = None,
        reopen_merge_request: Optional[bool] = None,
        success_pipeline: Optional[bool] = None) -> GlobalLevelNotifications
func GetGlobalLevelNotifications(ctx *Context, name string, id IDInput, state *GlobalLevelNotificationsState, opts ...ResourceOption) (*GlobalLevelNotifications, error)
public static GlobalLevelNotifications Get(string name, Input<string> id, GlobalLevelNotificationsState? state, CustomResourceOptions? opts = null)
public static GlobalLevelNotifications get(String name, Output<String> id, GlobalLevelNotificationsState state, CustomResourceOptions options)
resources:  _:    type: gitlab:GlobalLevelNotifications    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CloseIssue bool
Enable notifications for closed issues. Can only be used when level is custom.
CloseMergeRequest bool
Enable notifications for closed merge requests. Can only be used when level is custom.
FailedPipeline bool
Enable notifications for failed pipelines. Can only be used when level is custom.
FixedPipeline bool
Enable notifications for fixed pipelines. Can only be used when level is custom.
IssueDue bool
Enable notifications for due issues. Can only be used when level is custom.
Level string
The level of the notification. Valid values are: disabled, participating, watch, global, mention, custom.
MergeMergeRequest bool
Enable notifications for merged merge requests. Can only be used when level is custom.
MergeWhenPipelineSucceeds bool
Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when level is custom.
MovedProject bool
Enable notifications for moved projects. Can only be used when level is custom.
NewIssue bool
Enable notifications for new issues. Can only be used when level is custom.
NewMergeRequest bool
Enable notifications for new merge requests. Can only be used when level is custom.
NewNote bool
Enable notifications for new notes on merge requests. Can only be used when level is custom.
PushToMergeRequest bool
Enable notifications for push to merge request branches. Can only be used when level is custom.
ReassignIssue bool
Enable notifications for issue reassignments. Can only be used when level is custom.
ReassignMergeRequest bool
Enable notifications for merge request reassignments. Can only be used when level is custom.
ReopenIssue bool
Enable notifications for reopened issues. Can only be used when level is custom.
ReopenMergeRequest bool
Enable notifications for reopened merge requests. Can only be used when level is custom.
SuccessPipeline bool
Enable notifications for successful pipelines. Can only be used when level is custom.
CloseIssue bool
Enable notifications for closed issues. Can only be used when level is custom.
CloseMergeRequest bool
Enable notifications for closed merge requests. Can only be used when level is custom.
FailedPipeline bool
Enable notifications for failed pipelines. Can only be used when level is custom.
FixedPipeline bool
Enable notifications for fixed pipelines. Can only be used when level is custom.
IssueDue bool
Enable notifications for due issues. Can only be used when level is custom.
Level string
The level of the notification. Valid values are: disabled, participating, watch, global, mention, custom.
MergeMergeRequest bool
Enable notifications for merged merge requests. Can only be used when level is custom.
MergeWhenPipelineSucceeds bool
Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when level is custom.
MovedProject bool
Enable notifications for moved projects. Can only be used when level is custom.
NewIssue bool
Enable notifications for new issues. Can only be used when level is custom.
NewMergeRequest bool
Enable notifications for new merge requests. Can only be used when level is custom.
NewNote bool
Enable notifications for new notes on merge requests. Can only be used when level is custom.
PushToMergeRequest bool
Enable notifications for push to merge request branches. Can only be used when level is custom.
ReassignIssue bool
Enable notifications for issue reassignments. Can only be used when level is custom.
ReassignMergeRequest bool
Enable notifications for merge request reassignments. Can only be used when level is custom.
ReopenIssue bool
Enable notifications for reopened issues. Can only be used when level is custom.
ReopenMergeRequest bool
Enable notifications for reopened merge requests. Can only be used when level is custom.
SuccessPipeline bool
Enable notifications for successful pipelines. Can only be used when level is custom.
closeIssue Boolean
Enable notifications for closed issues. Can only be used when level is custom.
closeMergeRequest Boolean
Enable notifications for closed merge requests. Can only be used when level is custom.
failedPipeline Boolean
Enable notifications for failed pipelines. Can only be used when level is custom.
fixedPipeline Boolean
Enable notifications for fixed pipelines. Can only be used when level is custom.
issueDue Boolean
Enable notifications for due issues. Can only be used when level is custom.
level String
The level of the notification. Valid values are: disabled, participating, watch, global, mention, custom.
mergeMergeRequest Boolean
Enable notifications for merged merge requests. Can only be used when level is custom.
mergeWhenPipelineSucceeds Boolean
Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when level is custom.
movedProject Boolean
Enable notifications for moved projects. Can only be used when level is custom.
newIssue Boolean
Enable notifications for new issues. Can only be used when level is custom.
newMergeRequest Boolean
Enable notifications for new merge requests. Can only be used when level is custom.
newNote Boolean
Enable notifications for new notes on merge requests. Can only be used when level is custom.
pushToMergeRequest Boolean
Enable notifications for push to merge request branches. Can only be used when level is custom.
reassignIssue Boolean
Enable notifications for issue reassignments. Can only be used when level is custom.
reassignMergeRequest Boolean
Enable notifications for merge request reassignments. Can only be used when level is custom.
reopenIssue Boolean
Enable notifications for reopened issues. Can only be used when level is custom.
reopenMergeRequest Boolean
Enable notifications for reopened merge requests. Can only be used when level is custom.
successPipeline Boolean
Enable notifications for successful pipelines. Can only be used when level is custom.
closeIssue boolean
Enable notifications for closed issues. Can only be used when level is custom.
closeMergeRequest boolean
Enable notifications for closed merge requests. Can only be used when level is custom.
failedPipeline boolean
Enable notifications for failed pipelines. Can only be used when level is custom.
fixedPipeline boolean
Enable notifications for fixed pipelines. Can only be used when level is custom.
issueDue boolean
Enable notifications for due issues. Can only be used when level is custom.
level string
The level of the notification. Valid values are: disabled, participating, watch, global, mention, custom.
mergeMergeRequest boolean
Enable notifications for merged merge requests. Can only be used when level is custom.
mergeWhenPipelineSucceeds boolean
Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when level is custom.
movedProject boolean
Enable notifications for moved projects. Can only be used when level is custom.
newIssue boolean
Enable notifications for new issues. Can only be used when level is custom.
newMergeRequest boolean
Enable notifications for new merge requests. Can only be used when level is custom.
newNote boolean
Enable notifications for new notes on merge requests. Can only be used when level is custom.
pushToMergeRequest boolean
Enable notifications for push to merge request branches. Can only be used when level is custom.
reassignIssue boolean
Enable notifications for issue reassignments. Can only be used when level is custom.
reassignMergeRequest boolean
Enable notifications for merge request reassignments. Can only be used when level is custom.
reopenIssue boolean
Enable notifications for reopened issues. Can only be used when level is custom.
reopenMergeRequest boolean
Enable notifications for reopened merge requests. Can only be used when level is custom.
successPipeline boolean
Enable notifications for successful pipelines. Can only be used when level is custom.
close_issue bool
Enable notifications for closed issues. Can only be used when level is custom.
close_merge_request bool
Enable notifications for closed merge requests. Can only be used when level is custom.
failed_pipeline bool
Enable notifications for failed pipelines. Can only be used when level is custom.
fixed_pipeline bool
Enable notifications for fixed pipelines. Can only be used when level is custom.
issue_due bool
Enable notifications for due issues. Can only be used when level is custom.
level str
The level of the notification. Valid values are: disabled, participating, watch, global, mention, custom.
merge_merge_request bool
Enable notifications for merged merge requests. Can only be used when level is custom.
merge_when_pipeline_succeeds bool
Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when level is custom.
moved_project bool
Enable notifications for moved projects. Can only be used when level is custom.
new_issue bool
Enable notifications for new issues. Can only be used when level is custom.
new_merge_request bool
Enable notifications for new merge requests. Can only be used when level is custom.
new_note bool
Enable notifications for new notes on merge requests. Can only be used when level is custom.
push_to_merge_request bool
Enable notifications for push to merge request branches. Can only be used when level is custom.
reassign_issue bool
Enable notifications for issue reassignments. Can only be used when level is custom.
reassign_merge_request bool
Enable notifications for merge request reassignments. Can only be used when level is custom.
reopen_issue bool
Enable notifications for reopened issues. Can only be used when level is custom.
reopen_merge_request bool
Enable notifications for reopened merge requests. Can only be used when level is custom.
success_pipeline bool
Enable notifications for successful pipelines. Can only be used when level is custom.
closeIssue Boolean
Enable notifications for closed issues. Can only be used when level is custom.
closeMergeRequest Boolean
Enable notifications for closed merge requests. Can only be used when level is custom.
failedPipeline Boolean
Enable notifications for failed pipelines. Can only be used when level is custom.
fixedPipeline Boolean
Enable notifications for fixed pipelines. Can only be used when level is custom.
issueDue Boolean
Enable notifications for due issues. Can only be used when level is custom.
level String
The level of the notification. Valid values are: disabled, participating, watch, global, mention, custom.
mergeMergeRequest Boolean
Enable notifications for merged merge requests. Can only be used when level is custom.
mergeWhenPipelineSucceeds Boolean
Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when level is custom.
movedProject Boolean
Enable notifications for moved projects. Can only be used when level is custom.
newIssue Boolean
Enable notifications for new issues. Can only be used when level is custom.
newMergeRequest Boolean
Enable notifications for new merge requests. Can only be used when level is custom.
newNote Boolean
Enable notifications for new notes on merge requests. Can only be used when level is custom.
pushToMergeRequest Boolean
Enable notifications for push to merge request branches. Can only be used when level is custom.
reassignIssue Boolean
Enable notifications for issue reassignments. Can only be used when level is custom.
reassignMergeRequest Boolean
Enable notifications for merge request reassignments. Can only be used when level is custom.
reopenIssue Boolean
Enable notifications for reopened issues. Can only be used when level is custom.
reopenMergeRequest Boolean
Enable notifications for reopened merge requests. Can only be used when level is custom.
successPipeline Boolean
Enable notifications for successful pipelines. Can only be used when level is custom.

Import

Starting in Terraform v1.5.0 you can use an import block to import gitlab_global_level_notifications. For example:

terraform

import {

to = gitlab_global_level_notifications.example

id = “see CLI command below for ID”

}

Import using the CLI is supported using the following syntax:

Note: You can import a global notification state using “gitlab” as the ID.

The ID will always be gitlab, because the global notificatio only exists

once per user

$ pulumi import gitlab:index/globalLevelNotifications:GlobalLevelNotifications example gitlab
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
GitLab pulumi/pulumi-gitlab
License
Apache-2.0
Notes
This Pulumi package is based on the gitlab Terraform Provider.