1. Packages
  2. GitLab
  3. API Docs
  4. GlobalLevelNotifications
GitLab v6.11.0 published on Friday, Apr 19, 2024 by Pulumi

gitlab.GlobalLevelNotifications

Explore with Pulumi AI

gitlab logo
GitLab v6.11.0 published on Friday, Apr 19, 2024 by Pulumi

    The gitlab.GlobalLevelNotifications resource allows to manage global notifications.

    Upstream API: GitLab REST API docs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gitlab from "@pulumi/gitlab";
    
    // Create Custom global level notification
    const foo = new gitlab.GlobalLevelNotifications("foo", {
        level: "custom",
        newMergeRequest: true,
    });
    
    import pulumi
    import pulumi_gitlab as gitlab
    
    # Create Custom global level notification
    foo = gitlab.GlobalLevelNotifications("foo",
        level="custom",
        new_merge_request=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gitlab/sdk/v6/go/gitlab"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create Custom global level notification
    		_, err := gitlab.NewGlobalLevelNotifications(ctx, "foo", &gitlab.GlobalLevelNotificationsArgs{
    			Level:           pulumi.String("custom"),
    			NewMergeRequest: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using GitLab = Pulumi.GitLab;
    
    return await Deployment.RunAsync(() => 
    {
        // Create Custom global level notification
        var foo = new GitLab.GlobalLevelNotifications("foo", new()
        {
            Level = "custom",
            NewMergeRequest = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gitlab.GlobalLevelNotifications;
    import com.pulumi.gitlab.GlobalLevelNotificationsArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            // Create Custom global level notification
            var foo = new GlobalLevelNotifications("foo", GlobalLevelNotificationsArgs.builder()        
                .level("custom")
                .newMergeRequest(true)
                .build());
    
        }
    }
    
    resources:
      # Create Custom global level notification
      foo:
        type: gitlab:GlobalLevelNotifications
        properties:
          level: custom
          newMergeRequest: true
    

    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 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 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 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 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 String
    The unique name of the resource.
    args GlobalLevelNotificationsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    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,
    });
    
    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),
    })
    
    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());
    
    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)
    
    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,
    });
    
    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
    

    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

    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)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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

    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
    

    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.
    gitlab logo
    GitLab v6.11.0 published on Friday, Apr 19, 2024 by Pulumi