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 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.
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,
});
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:
- Close
Issue bool - Enable notifications for closed issues. Can only be used when
level
iscustom
. - Close
Merge boolRequest - Enable notifications for closed merge requests. Can only be used when
level
iscustom
. - Failed
Pipeline bool - Enable notifications for failed pipelines. Can only be used when
level
iscustom
. - Fixed
Pipeline bool - Enable notifications for fixed pipelines. Can only be used when
level
iscustom
. - Issue
Due bool - Enable notifications for due issues. Can only be used when
level
iscustom
. - Level string
- The level of the notification. Valid values are:
disabled
,participating
,watch
,global
,mention
,custom
. - Merge
Merge boolRequest - Enable notifications for merged merge requests. Can only be used when
level
iscustom
. - Merge
When boolPipeline Succeeds - Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when
level
iscustom
. - Moved
Project bool - Enable notifications for moved projects. Can only be used when
level
iscustom
. - New
Issue bool - Enable notifications for new issues. Can only be used when
level
iscustom
. - New
Merge boolRequest - Enable notifications for new merge requests. Can only be used when
level
iscustom
. - New
Note bool - Enable notifications for new notes on merge requests. Can only be used when
level
iscustom
. - Push
To boolMerge Request - Enable notifications for push to merge request branches. Can only be used when
level
iscustom
. - Reassign
Issue bool - Enable notifications for issue reassignments. Can only be used when
level
iscustom
. - Reassign
Merge boolRequest - Enable notifications for merge request reassignments. Can only be used when
level
iscustom
. - Reopen
Issue bool - Enable notifications for reopened issues. Can only be used when
level
iscustom
. - Reopen
Merge boolRequest - Enable notifications for reopened merge requests. Can only be used when
level
iscustom
. - Success
Pipeline bool - Enable notifications for successful pipelines. Can only be used when
level
iscustom
.
- Close
Issue bool - Enable notifications for closed issues. Can only be used when
level
iscustom
. - Close
Merge boolRequest - Enable notifications for closed merge requests. Can only be used when
level
iscustom
. - Failed
Pipeline bool - Enable notifications for failed pipelines. Can only be used when
level
iscustom
. - Fixed
Pipeline bool - Enable notifications for fixed pipelines. Can only be used when
level
iscustom
. - Issue
Due bool - Enable notifications for due issues. Can only be used when
level
iscustom
. - Level string
- The level of the notification. Valid values are:
disabled
,participating
,watch
,global
,mention
,custom
. - Merge
Merge boolRequest - Enable notifications for merged merge requests. Can only be used when
level
iscustom
. - Merge
When boolPipeline Succeeds - Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when
level
iscustom
. - Moved
Project bool - Enable notifications for moved projects. Can only be used when
level
iscustom
. - New
Issue bool - Enable notifications for new issues. Can only be used when
level
iscustom
. - New
Merge boolRequest - Enable notifications for new merge requests. Can only be used when
level
iscustom
. - New
Note bool - Enable notifications for new notes on merge requests. Can only be used when
level
iscustom
. - Push
To boolMerge Request - Enable notifications for push to merge request branches. Can only be used when
level
iscustom
. - Reassign
Issue bool - Enable notifications for issue reassignments. Can only be used when
level
iscustom
. - Reassign
Merge boolRequest - Enable notifications for merge request reassignments. Can only be used when
level
iscustom
. - Reopen
Issue bool - Enable notifications for reopened issues. Can only be used when
level
iscustom
. - Reopen
Merge boolRequest - Enable notifications for reopened merge requests. Can only be used when
level
iscustom
. - Success
Pipeline bool - Enable notifications for successful pipelines. Can only be used when
level
iscustom
.
- close
Issue Boolean - Enable notifications for closed issues. Can only be used when
level
iscustom
. - close
Merge BooleanRequest - Enable notifications for closed merge requests. Can only be used when
level
iscustom
. - failed
Pipeline Boolean - Enable notifications for failed pipelines. Can only be used when
level
iscustom
. - fixed
Pipeline Boolean - Enable notifications for fixed pipelines. Can only be used when
level
iscustom
. - issue
Due Boolean - Enable notifications for due issues. Can only be used when
level
iscustom
. - level String
- The level of the notification. Valid values are:
disabled
,participating
,watch
,global
,mention
,custom
. - merge
Merge BooleanRequest - Enable notifications for merged merge requests. Can only be used when
level
iscustom
. - merge
When BooleanPipeline Succeeds - Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when
level
iscustom
. - moved
Project Boolean - Enable notifications for moved projects. Can only be used when
level
iscustom
. - new
Issue Boolean - Enable notifications for new issues. Can only be used when
level
iscustom
. - new
Merge BooleanRequest - Enable notifications for new merge requests. Can only be used when
level
iscustom
. - new
Note Boolean - Enable notifications for new notes on merge requests. Can only be used when
level
iscustom
. - push
To BooleanMerge Request - Enable notifications for push to merge request branches. Can only be used when
level
iscustom
. - reassign
Issue Boolean - Enable notifications for issue reassignments. Can only be used when
level
iscustom
. - reassign
Merge BooleanRequest - Enable notifications for merge request reassignments. Can only be used when
level
iscustom
. - reopen
Issue Boolean - Enable notifications for reopened issues. Can only be used when
level
iscustom
. - reopen
Merge BooleanRequest - Enable notifications for reopened merge requests. Can only be used when
level
iscustom
. - success
Pipeline Boolean - Enable notifications for successful pipelines. Can only be used when
level
iscustom
.
- close
Issue boolean - Enable notifications for closed issues. Can only be used when
level
iscustom
. - close
Merge booleanRequest - Enable notifications for closed merge requests. Can only be used when
level
iscustom
. - failed
Pipeline boolean - Enable notifications for failed pipelines. Can only be used when
level
iscustom
. - fixed
Pipeline boolean - Enable notifications for fixed pipelines. Can only be used when
level
iscustom
. - issue
Due boolean - Enable notifications for due issues. Can only be used when
level
iscustom
. - level string
- The level of the notification. Valid values are:
disabled
,participating
,watch
,global
,mention
,custom
. - merge
Merge booleanRequest - Enable notifications for merged merge requests. Can only be used when
level
iscustom
. - merge
When booleanPipeline Succeeds - Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when
level
iscustom
. - moved
Project boolean - Enable notifications for moved projects. Can only be used when
level
iscustom
. - new
Issue boolean - Enable notifications for new issues. Can only be used when
level
iscustom
. - new
Merge booleanRequest - Enable notifications for new merge requests. Can only be used when
level
iscustom
. - new
Note boolean - Enable notifications for new notes on merge requests. Can only be used when
level
iscustom
. - push
To booleanMerge Request - Enable notifications for push to merge request branches. Can only be used when
level
iscustom
. - reassign
Issue boolean - Enable notifications for issue reassignments. Can only be used when
level
iscustom
. - reassign
Merge booleanRequest - Enable notifications for merge request reassignments. Can only be used when
level
iscustom
. - reopen
Issue boolean - Enable notifications for reopened issues. Can only be used when
level
iscustom
. - reopen
Merge booleanRequest - Enable notifications for reopened merge requests. Can only be used when
level
iscustom
. - success
Pipeline boolean - Enable notifications for successful pipelines. Can only be used when
level
iscustom
.
- close_
issue bool - Enable notifications for closed issues. Can only be used when
level
iscustom
. - close_
merge_ boolrequest - Enable notifications for closed merge requests. Can only be used when
level
iscustom
. - failed_
pipeline bool - Enable notifications for failed pipelines. Can only be used when
level
iscustom
. - fixed_
pipeline bool - Enable notifications for fixed pipelines. Can only be used when
level
iscustom
. - issue_
due bool - Enable notifications for due issues. Can only be used when
level
iscustom
. - level str
- The level of the notification. Valid values are:
disabled
,participating
,watch
,global
,mention
,custom
. - merge_
merge_ boolrequest - Enable notifications for merged merge requests. Can only be used when
level
iscustom
. - merge_
when_ boolpipeline_ succeeds - Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when
level
iscustom
. - moved_
project bool - Enable notifications for moved projects. Can only be used when
level
iscustom
. - new_
issue bool - Enable notifications for new issues. Can only be used when
level
iscustom
. - new_
merge_ boolrequest - Enable notifications for new merge requests. Can only be used when
level
iscustom
. - new_
note bool - Enable notifications for new notes on merge requests. Can only be used when
level
iscustom
. - push_
to_ boolmerge_ request - Enable notifications for push to merge request branches. Can only be used when
level
iscustom
. - reassign_
issue bool - Enable notifications for issue reassignments. Can only be used when
level
iscustom
. - reassign_
merge_ boolrequest - Enable notifications for merge request reassignments. Can only be used when
level
iscustom
. - reopen_
issue bool - Enable notifications for reopened issues. Can only be used when
level
iscustom
. - reopen_
merge_ boolrequest - Enable notifications for reopened merge requests. Can only be used when
level
iscustom
. - success_
pipeline bool - Enable notifications for successful pipelines. Can only be used when
level
iscustom
.
- close
Issue Boolean - Enable notifications for closed issues. Can only be used when
level
iscustom
. - close
Merge BooleanRequest - Enable notifications for closed merge requests. Can only be used when
level
iscustom
. - failed
Pipeline Boolean - Enable notifications for failed pipelines. Can only be used when
level
iscustom
. - fixed
Pipeline Boolean - Enable notifications for fixed pipelines. Can only be used when
level
iscustom
. - issue
Due Boolean - Enable notifications for due issues. Can only be used when
level
iscustom
. - level String
- The level of the notification. Valid values are:
disabled
,participating
,watch
,global
,mention
,custom
. - merge
Merge BooleanRequest - Enable notifications for merged merge requests. Can only be used when
level
iscustom
. - merge
When BooleanPipeline Succeeds - Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when
level
iscustom
. - moved
Project Boolean - Enable notifications for moved projects. Can only be used when
level
iscustom
. - new
Issue Boolean - Enable notifications for new issues. Can only be used when
level
iscustom
. - new
Merge BooleanRequest - Enable notifications for new merge requests. Can only be used when
level
iscustom
. - new
Note Boolean - Enable notifications for new notes on merge requests. Can only be used when
level
iscustom
. - push
To BooleanMerge Request - Enable notifications for push to merge request branches. Can only be used when
level
iscustom
. - reassign
Issue Boolean - Enable notifications for issue reassignments. Can only be used when
level
iscustom
. - reassign
Merge BooleanRequest - Enable notifications for merge request reassignments. Can only be used when
level
iscustom
. - reopen
Issue Boolean - Enable notifications for reopened issues. Can only be used when
level
iscustom
. - reopen
Merge BooleanRequest - Enable notifications for reopened merge requests. Can only be used when
level
iscustom
. - success
Pipeline Boolean - Enable notifications for successful pipelines. Can only be used when
level
iscustom
.
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.
- Close
Issue bool - Enable notifications for closed issues. Can only be used when
level
iscustom
. - Close
Merge boolRequest - Enable notifications for closed merge requests. Can only be used when
level
iscustom
. - Failed
Pipeline bool - Enable notifications for failed pipelines. Can only be used when
level
iscustom
. - Fixed
Pipeline bool - Enable notifications for fixed pipelines. Can only be used when
level
iscustom
. - Issue
Due bool - Enable notifications for due issues. Can only be used when
level
iscustom
. - Level string
- The level of the notification. Valid values are:
disabled
,participating
,watch
,global
,mention
,custom
. - Merge
Merge boolRequest - Enable notifications for merged merge requests. Can only be used when
level
iscustom
. - Merge
When boolPipeline Succeeds - Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when
level
iscustom
. - Moved
Project bool - Enable notifications for moved projects. Can only be used when
level
iscustom
. - New
Issue bool - Enable notifications for new issues. Can only be used when
level
iscustom
. - New
Merge boolRequest - Enable notifications for new merge requests. Can only be used when
level
iscustom
. - New
Note bool - Enable notifications for new notes on merge requests. Can only be used when
level
iscustom
. - Push
To boolMerge Request - Enable notifications for push to merge request branches. Can only be used when
level
iscustom
. - Reassign
Issue bool - Enable notifications for issue reassignments. Can only be used when
level
iscustom
. - Reassign
Merge boolRequest - Enable notifications for merge request reassignments. Can only be used when
level
iscustom
. - Reopen
Issue bool - Enable notifications for reopened issues. Can only be used when
level
iscustom
. - Reopen
Merge boolRequest - Enable notifications for reopened merge requests. Can only be used when
level
iscustom
. - Success
Pipeline bool - Enable notifications for successful pipelines. Can only be used when
level
iscustom
.
- Close
Issue bool - Enable notifications for closed issues. Can only be used when
level
iscustom
. - Close
Merge boolRequest - Enable notifications for closed merge requests. Can only be used when
level
iscustom
. - Failed
Pipeline bool - Enable notifications for failed pipelines. Can only be used when
level
iscustom
. - Fixed
Pipeline bool - Enable notifications for fixed pipelines. Can only be used when
level
iscustom
. - Issue
Due bool - Enable notifications for due issues. Can only be used when
level
iscustom
. - Level string
- The level of the notification. Valid values are:
disabled
,participating
,watch
,global
,mention
,custom
. - Merge
Merge boolRequest - Enable notifications for merged merge requests. Can only be used when
level
iscustom
. - Merge
When boolPipeline Succeeds - Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when
level
iscustom
. - Moved
Project bool - Enable notifications for moved projects. Can only be used when
level
iscustom
. - New
Issue bool - Enable notifications for new issues. Can only be used when
level
iscustom
. - New
Merge boolRequest - Enable notifications for new merge requests. Can only be used when
level
iscustom
. - New
Note bool - Enable notifications for new notes on merge requests. Can only be used when
level
iscustom
. - Push
To boolMerge Request - Enable notifications for push to merge request branches. Can only be used when
level
iscustom
. - Reassign
Issue bool - Enable notifications for issue reassignments. Can only be used when
level
iscustom
. - Reassign
Merge boolRequest - Enable notifications for merge request reassignments. Can only be used when
level
iscustom
. - Reopen
Issue bool - Enable notifications for reopened issues. Can only be used when
level
iscustom
. - Reopen
Merge boolRequest - Enable notifications for reopened merge requests. Can only be used when
level
iscustom
. - Success
Pipeline bool - Enable notifications for successful pipelines. Can only be used when
level
iscustom
.
- close
Issue Boolean - Enable notifications for closed issues. Can only be used when
level
iscustom
. - close
Merge BooleanRequest - Enable notifications for closed merge requests. Can only be used when
level
iscustom
. - failed
Pipeline Boolean - Enable notifications for failed pipelines. Can only be used when
level
iscustom
. - fixed
Pipeline Boolean - Enable notifications for fixed pipelines. Can only be used when
level
iscustom
. - issue
Due Boolean - Enable notifications for due issues. Can only be used when
level
iscustom
. - level String
- The level of the notification. Valid values are:
disabled
,participating
,watch
,global
,mention
,custom
. - merge
Merge BooleanRequest - Enable notifications for merged merge requests. Can only be used when
level
iscustom
. - merge
When BooleanPipeline Succeeds - Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when
level
iscustom
. - moved
Project Boolean - Enable notifications for moved projects. Can only be used when
level
iscustom
. - new
Issue Boolean - Enable notifications for new issues. Can only be used when
level
iscustom
. - new
Merge BooleanRequest - Enable notifications for new merge requests. Can only be used when
level
iscustom
. - new
Note Boolean - Enable notifications for new notes on merge requests. Can only be used when
level
iscustom
. - push
To BooleanMerge Request - Enable notifications for push to merge request branches. Can only be used when
level
iscustom
. - reassign
Issue Boolean - Enable notifications for issue reassignments. Can only be used when
level
iscustom
. - reassign
Merge BooleanRequest - Enable notifications for merge request reassignments. Can only be used when
level
iscustom
. - reopen
Issue Boolean - Enable notifications for reopened issues. Can only be used when
level
iscustom
. - reopen
Merge BooleanRequest - Enable notifications for reopened merge requests. Can only be used when
level
iscustom
. - success
Pipeline Boolean - Enable notifications for successful pipelines. Can only be used when
level
iscustom
.
- close
Issue boolean - Enable notifications for closed issues. Can only be used when
level
iscustom
. - close
Merge booleanRequest - Enable notifications for closed merge requests. Can only be used when
level
iscustom
. - failed
Pipeline boolean - Enable notifications for failed pipelines. Can only be used when
level
iscustom
. - fixed
Pipeline boolean - Enable notifications for fixed pipelines. Can only be used when
level
iscustom
. - issue
Due boolean - Enable notifications for due issues. Can only be used when
level
iscustom
. - level string
- The level of the notification. Valid values are:
disabled
,participating
,watch
,global
,mention
,custom
. - merge
Merge booleanRequest - Enable notifications for merged merge requests. Can only be used when
level
iscustom
. - merge
When booleanPipeline Succeeds - Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when
level
iscustom
. - moved
Project boolean - Enable notifications for moved projects. Can only be used when
level
iscustom
. - new
Issue boolean - Enable notifications for new issues. Can only be used when
level
iscustom
. - new
Merge booleanRequest - Enable notifications for new merge requests. Can only be used when
level
iscustom
. - new
Note boolean - Enable notifications for new notes on merge requests. Can only be used when
level
iscustom
. - push
To booleanMerge Request - Enable notifications for push to merge request branches. Can only be used when
level
iscustom
. - reassign
Issue boolean - Enable notifications for issue reassignments. Can only be used when
level
iscustom
. - reassign
Merge booleanRequest - Enable notifications for merge request reassignments. Can only be used when
level
iscustom
. - reopen
Issue boolean - Enable notifications for reopened issues. Can only be used when
level
iscustom
. - reopen
Merge booleanRequest - Enable notifications for reopened merge requests. Can only be used when
level
iscustom
. - success
Pipeline boolean - Enable notifications for successful pipelines. Can only be used when
level
iscustom
.
- close_
issue bool - Enable notifications for closed issues. Can only be used when
level
iscustom
. - close_
merge_ boolrequest - Enable notifications for closed merge requests. Can only be used when
level
iscustom
. - failed_
pipeline bool - Enable notifications for failed pipelines. Can only be used when
level
iscustom
. - fixed_
pipeline bool - Enable notifications for fixed pipelines. Can only be used when
level
iscustom
. - issue_
due bool - Enable notifications for due issues. Can only be used when
level
iscustom
. - level str
- The level of the notification. Valid values are:
disabled
,participating
,watch
,global
,mention
,custom
. - merge_
merge_ boolrequest - Enable notifications for merged merge requests. Can only be used when
level
iscustom
. - merge_
when_ boolpipeline_ succeeds - Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when
level
iscustom
. - moved_
project bool - Enable notifications for moved projects. Can only be used when
level
iscustom
. - new_
issue bool - Enable notifications for new issues. Can only be used when
level
iscustom
. - new_
merge_ boolrequest - Enable notifications for new merge requests. Can only be used when
level
iscustom
. - new_
note bool - Enable notifications for new notes on merge requests. Can only be used when
level
iscustom
. - push_
to_ boolmerge_ request - Enable notifications for push to merge request branches. Can only be used when
level
iscustom
. - reassign_
issue bool - Enable notifications for issue reassignments. Can only be used when
level
iscustom
. - reassign_
merge_ boolrequest - Enable notifications for merge request reassignments. Can only be used when
level
iscustom
. - reopen_
issue bool - Enable notifications for reopened issues. Can only be used when
level
iscustom
. - reopen_
merge_ boolrequest - Enable notifications for reopened merge requests. Can only be used when
level
iscustom
. - success_
pipeline bool - Enable notifications for successful pipelines. Can only be used when
level
iscustom
.
- close
Issue Boolean - Enable notifications for closed issues. Can only be used when
level
iscustom
. - close
Merge BooleanRequest - Enable notifications for closed merge requests. Can only be used when
level
iscustom
. - failed
Pipeline Boolean - Enable notifications for failed pipelines. Can only be used when
level
iscustom
. - fixed
Pipeline Boolean - Enable notifications for fixed pipelines. Can only be used when
level
iscustom
. - issue
Due Boolean - Enable notifications for due issues. Can only be used when
level
iscustom
. - level String
- The level of the notification. Valid values are:
disabled
,participating
,watch
,global
,mention
,custom
. - merge
Merge BooleanRequest - Enable notifications for merged merge requests. Can only be used when
level
iscustom
. - merge
When BooleanPipeline Succeeds - Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when
level
iscustom
. - moved
Project Boolean - Enable notifications for moved projects. Can only be used when
level
iscustom
. - new
Issue Boolean - Enable notifications for new issues. Can only be used when
level
iscustom
. - new
Merge BooleanRequest - Enable notifications for new merge requests. Can only be used when
level
iscustom
. - new
Note Boolean - Enable notifications for new notes on merge requests. Can only be used when
level
iscustom
. - push
To BooleanMerge Request - Enable notifications for push to merge request branches. Can only be used when
level
iscustom
. - reassign
Issue Boolean - Enable notifications for issue reassignments. Can only be used when
level
iscustom
. - reassign
Merge BooleanRequest - Enable notifications for merge request reassignments. Can only be used when
level
iscustom
. - reopen
Issue Boolean - Enable notifications for reopened issues. Can only be used when
level
iscustom
. - reopen
Merge BooleanRequest - Enable notifications for reopened merge requests. Can only be used when
level
iscustom
. - success
Pipeline Boolean - Enable notifications for successful pipelines. Can only be used when
level
iscustom
.
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.