pulumi-gitlab 9.8.0a1768535360__py3-none-any.whl → 9.8.1a1768794741__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gitlab/get_group_hook.py +15 -1
- pulumi_gitlab/get_project_hook.py +15 -1
- pulumi_gitlab/group_hook.py +47 -0
- pulumi_gitlab/integration_emails_on_push.py +9 -7
- pulumi_gitlab/outputs.py +22 -0
- pulumi_gitlab/project_hook.py +47 -0
- pulumi_gitlab/project_integration_emails_on_push.py +17 -7
- pulumi_gitlab/pulumi-plugin.json +1 -1
- {pulumi_gitlab-9.8.0a1768535360.dist-info → pulumi_gitlab-9.8.1a1768794741.dist-info}/METADATA +1 -1
- {pulumi_gitlab-9.8.0a1768535360.dist-info → pulumi_gitlab-9.8.1a1768794741.dist-info}/RECORD +12 -12
- {pulumi_gitlab-9.8.0a1768535360.dist-info → pulumi_gitlab-9.8.1a1768794741.dist-info}/WHEEL +0 -0
- {pulumi_gitlab-9.8.0a1768535360.dist-info → pulumi_gitlab-9.8.1a1768794741.dist-info}/top_level.txt +0 -0
pulumi_gitlab/get_group_hook.py
CHANGED
|
@@ -26,7 +26,7 @@ class GetGroupHookResult:
|
|
|
26
26
|
"""
|
|
27
27
|
A collection of values returned by getGroupHook.
|
|
28
28
|
"""
|
|
29
|
-
def __init__(__self__, confidential_issues_events=None, confidential_note_events=None, custom_webhook_template=None, deployment_events=None, emoji_events=None, enable_ssl_verification=None, group=None, group_id=None, hook_id=None, id=None, issues_events=None, job_events=None, merge_requests_events=None, note_events=None, pipeline_events=None, push_events=None, push_events_branch_filter=None, releases_events=None, subgroup_events=None, tag_push_events=None, token=None, url=None, wiki_page_events=None):
|
|
29
|
+
def __init__(__self__, confidential_issues_events=None, confidential_note_events=None, custom_webhook_template=None, deployment_events=None, emoji_events=None, enable_ssl_verification=None, group=None, group_id=None, hook_id=None, id=None, issues_events=None, job_events=None, merge_requests_events=None, note_events=None, pipeline_events=None, push_events=None, push_events_branch_filter=None, releases_events=None, subgroup_events=None, tag_push_events=None, token=None, url=None, vulnerability_events=None, wiki_page_events=None):
|
|
30
30
|
if confidential_issues_events and not isinstance(confidential_issues_events, bool):
|
|
31
31
|
raise TypeError("Expected argument 'confidential_issues_events' to be a bool")
|
|
32
32
|
pulumi.set(__self__, "confidential_issues_events", confidential_issues_events)
|
|
@@ -93,6 +93,9 @@ class GetGroupHookResult:
|
|
|
93
93
|
if url and not isinstance(url, str):
|
|
94
94
|
raise TypeError("Expected argument 'url' to be a str")
|
|
95
95
|
pulumi.set(__self__, "url", url)
|
|
96
|
+
if vulnerability_events and not isinstance(vulnerability_events, bool):
|
|
97
|
+
raise TypeError("Expected argument 'vulnerability_events' to be a bool")
|
|
98
|
+
pulumi.set(__self__, "vulnerability_events", vulnerability_events)
|
|
96
99
|
if wiki_page_events and not isinstance(wiki_page_events, bool):
|
|
97
100
|
raise TypeError("Expected argument 'wiki_page_events' to be a bool")
|
|
98
101
|
pulumi.set(__self__, "wiki_page_events", wiki_page_events)
|
|
@@ -274,6 +277,14 @@ class GetGroupHookResult:
|
|
|
274
277
|
"""
|
|
275
278
|
return pulumi.get(self, "url")
|
|
276
279
|
|
|
280
|
+
@_builtins.property
|
|
281
|
+
@pulumi.getter(name="vulnerabilityEvents")
|
|
282
|
+
def vulnerability_events(self) -> _builtins.bool:
|
|
283
|
+
"""
|
|
284
|
+
Invoke the hook for vulnerability events.
|
|
285
|
+
"""
|
|
286
|
+
return pulumi.get(self, "vulnerability_events")
|
|
287
|
+
|
|
277
288
|
@_builtins.property
|
|
278
289
|
@pulumi.getter(name="wikiPageEvents")
|
|
279
290
|
def wiki_page_events(self) -> _builtins.bool:
|
|
@@ -311,6 +322,7 @@ class AwaitableGetGroupHookResult(GetGroupHookResult):
|
|
|
311
322
|
tag_push_events=self.tag_push_events,
|
|
312
323
|
token=self.token,
|
|
313
324
|
url=self.url,
|
|
325
|
+
vulnerability_events=self.vulnerability_events,
|
|
314
326
|
wiki_page_events=self.wiki_page_events)
|
|
315
327
|
|
|
316
328
|
|
|
@@ -357,6 +369,7 @@ def get_group_hook(group: Optional[_builtins.str] = None,
|
|
|
357
369
|
tag_push_events=pulumi.get(__ret__, 'tag_push_events'),
|
|
358
370
|
token=pulumi.get(__ret__, 'token'),
|
|
359
371
|
url=pulumi.get(__ret__, 'url'),
|
|
372
|
+
vulnerability_events=pulumi.get(__ret__, 'vulnerability_events'),
|
|
360
373
|
wiki_page_events=pulumi.get(__ret__, 'wiki_page_events'))
|
|
361
374
|
def get_group_hook_output(group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
362
375
|
hook_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -400,4 +413,5 @@ def get_group_hook_output(group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
400
413
|
tag_push_events=pulumi.get(__response__, 'tag_push_events'),
|
|
401
414
|
token=pulumi.get(__response__, 'token'),
|
|
402
415
|
url=pulumi.get(__response__, 'url'),
|
|
416
|
+
vulnerability_events=pulumi.get(__response__, 'vulnerability_events'),
|
|
403
417
|
wiki_page_events=pulumi.get(__response__, 'wiki_page_events')))
|
|
@@ -26,7 +26,7 @@ class GetProjectHookResult:
|
|
|
26
26
|
"""
|
|
27
27
|
A collection of values returned by getProjectHook.
|
|
28
28
|
"""
|
|
29
|
-
def __init__(__self__, confidential_issues_events=None, confidential_note_events=None, custom_webhook_template=None, deployment_events=None, enable_ssl_verification=None, hook_id=None, id=None, issues_events=None, job_events=None, merge_requests_events=None, note_events=None, pipeline_events=None, project=None, project_id=None, push_events=None, push_events_branch_filter=None, releases_events=None, tag_push_events=None, token=None, url=None, wiki_page_events=None):
|
|
29
|
+
def __init__(__self__, confidential_issues_events=None, confidential_note_events=None, custom_webhook_template=None, deployment_events=None, enable_ssl_verification=None, hook_id=None, id=None, issues_events=None, job_events=None, merge_requests_events=None, note_events=None, pipeline_events=None, project=None, project_id=None, push_events=None, push_events_branch_filter=None, releases_events=None, tag_push_events=None, token=None, url=None, vulnerability_events=None, wiki_page_events=None):
|
|
30
30
|
if confidential_issues_events and not isinstance(confidential_issues_events, bool):
|
|
31
31
|
raise TypeError("Expected argument 'confidential_issues_events' to be a bool")
|
|
32
32
|
pulumi.set(__self__, "confidential_issues_events", confidential_issues_events)
|
|
@@ -87,6 +87,9 @@ class GetProjectHookResult:
|
|
|
87
87
|
if url and not isinstance(url, str):
|
|
88
88
|
raise TypeError("Expected argument 'url' to be a str")
|
|
89
89
|
pulumi.set(__self__, "url", url)
|
|
90
|
+
if vulnerability_events and not isinstance(vulnerability_events, bool):
|
|
91
|
+
raise TypeError("Expected argument 'vulnerability_events' to be a bool")
|
|
92
|
+
pulumi.set(__self__, "vulnerability_events", vulnerability_events)
|
|
90
93
|
if wiki_page_events and not isinstance(wiki_page_events, bool):
|
|
91
94
|
raise TypeError("Expected argument 'wiki_page_events' to be a bool")
|
|
92
95
|
pulumi.set(__self__, "wiki_page_events", wiki_page_events)
|
|
@@ -252,6 +255,14 @@ class GetProjectHookResult:
|
|
|
252
255
|
"""
|
|
253
256
|
return pulumi.get(self, "url")
|
|
254
257
|
|
|
258
|
+
@_builtins.property
|
|
259
|
+
@pulumi.getter(name="vulnerabilityEvents")
|
|
260
|
+
def vulnerability_events(self) -> _builtins.bool:
|
|
261
|
+
"""
|
|
262
|
+
Invoke the hook for vulnerability events.
|
|
263
|
+
"""
|
|
264
|
+
return pulumi.get(self, "vulnerability_events")
|
|
265
|
+
|
|
255
266
|
@_builtins.property
|
|
256
267
|
@pulumi.getter(name="wikiPageEvents")
|
|
257
268
|
def wiki_page_events(self) -> _builtins.bool:
|
|
@@ -287,6 +298,7 @@ class AwaitableGetProjectHookResult(GetProjectHookResult):
|
|
|
287
298
|
tag_push_events=self.tag_push_events,
|
|
288
299
|
token=self.token,
|
|
289
300
|
url=self.url,
|
|
301
|
+
vulnerability_events=self.vulnerability_events,
|
|
290
302
|
wiki_page_events=self.wiki_page_events)
|
|
291
303
|
|
|
292
304
|
|
|
@@ -340,6 +352,7 @@ def get_project_hook(hook_id: Optional[_builtins.int] = None,
|
|
|
340
352
|
tag_push_events=pulumi.get(__ret__, 'tag_push_events'),
|
|
341
353
|
token=pulumi.get(__ret__, 'token'),
|
|
342
354
|
url=pulumi.get(__ret__, 'url'),
|
|
355
|
+
vulnerability_events=pulumi.get(__ret__, 'vulnerability_events'),
|
|
343
356
|
wiki_page_events=pulumi.get(__ret__, 'wiki_page_events'))
|
|
344
357
|
def get_project_hook_output(hook_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
345
358
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -390,4 +403,5 @@ def get_project_hook_output(hook_id: Optional[pulumi.Input[_builtins.int]] = Non
|
|
|
390
403
|
tag_push_events=pulumi.get(__response__, 'tag_push_events'),
|
|
391
404
|
token=pulumi.get(__response__, 'token'),
|
|
392
405
|
url=pulumi.get(__response__, 'url'),
|
|
406
|
+
vulnerability_events=pulumi.get(__response__, 'vulnerability_events'),
|
|
393
407
|
wiki_page_events=pulumi.get(__response__, 'wiki_page_events')))
|
pulumi_gitlab/group_hook.py
CHANGED
|
@@ -45,6 +45,7 @@ class GroupHookArgs:
|
|
|
45
45
|
subgroup_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
46
46
|
tag_push_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
47
47
|
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
48
|
+
vulnerability_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
48
49
|
wiki_page_events: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
49
50
|
"""
|
|
50
51
|
The set of arguments for constructing a GroupHook resource.
|
|
@@ -72,6 +73,7 @@ class GroupHookArgs:
|
|
|
72
73
|
:param pulumi.Input[_builtins.bool] subgroup_events: Invoke the hook for subgroup events. Defaults to `false`.
|
|
73
74
|
:param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events. Defaults to `false`.
|
|
74
75
|
:param pulumi.Input[_builtins.str] token: A token to present when invoking the hook. The token is not available for imported resources.
|
|
76
|
+
:param pulumi.Input[_builtins.bool] vulnerability_events: Invoke the hook for vulnerability events. Defaults to `false`.
|
|
75
77
|
:param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events. Defaults to `false`.
|
|
76
78
|
"""
|
|
77
79
|
pulumi.set(__self__, "group", group)
|
|
@@ -120,6 +122,8 @@ class GroupHookArgs:
|
|
|
120
122
|
pulumi.set(__self__, "tag_push_events", tag_push_events)
|
|
121
123
|
if token is not None:
|
|
122
124
|
pulumi.set(__self__, "token", token)
|
|
125
|
+
if vulnerability_events is not None:
|
|
126
|
+
pulumi.set(__self__, "vulnerability_events", vulnerability_events)
|
|
123
127
|
if wiki_page_events is not None:
|
|
124
128
|
pulumi.set(__self__, "wiki_page_events", wiki_page_events)
|
|
125
129
|
|
|
@@ -411,6 +415,18 @@ class GroupHookArgs:
|
|
|
411
415
|
def token(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
412
416
|
pulumi.set(self, "token", value)
|
|
413
417
|
|
|
418
|
+
@_builtins.property
|
|
419
|
+
@pulumi.getter(name="vulnerabilityEvents")
|
|
420
|
+
def vulnerability_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
421
|
+
"""
|
|
422
|
+
Invoke the hook for vulnerability events. Defaults to `false`.
|
|
423
|
+
"""
|
|
424
|
+
return pulumi.get(self, "vulnerability_events")
|
|
425
|
+
|
|
426
|
+
@vulnerability_events.setter
|
|
427
|
+
def vulnerability_events(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
428
|
+
pulumi.set(self, "vulnerability_events", value)
|
|
429
|
+
|
|
414
430
|
@_builtins.property
|
|
415
431
|
@pulumi.getter(name="wikiPageEvents")
|
|
416
432
|
def wiki_page_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -453,6 +469,7 @@ class _GroupHookState:
|
|
|
453
469
|
tag_push_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
454
470
|
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
455
471
|
url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
472
|
+
vulnerability_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
456
473
|
wiki_page_events: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
457
474
|
"""
|
|
458
475
|
Input properties used for looking up and filtering GroupHook resources.
|
|
@@ -482,6 +499,7 @@ class _GroupHookState:
|
|
|
482
499
|
:param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events. Defaults to `false`.
|
|
483
500
|
:param pulumi.Input[_builtins.str] token: A token to present when invoking the hook. The token is not available for imported resources.
|
|
484
501
|
:param pulumi.Input[_builtins.str] url: The url of the hook to invoke. Forces re-creation to preserve `token`.
|
|
502
|
+
:param pulumi.Input[_builtins.bool] vulnerability_events: Invoke the hook for vulnerability events. Defaults to `false`.
|
|
485
503
|
:param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events. Defaults to `false`.
|
|
486
504
|
"""
|
|
487
505
|
if branch_filter_strategy is not None:
|
|
@@ -536,6 +554,8 @@ class _GroupHookState:
|
|
|
536
554
|
pulumi.set(__self__, "token", token)
|
|
537
555
|
if url is not None:
|
|
538
556
|
pulumi.set(__self__, "url", url)
|
|
557
|
+
if vulnerability_events is not None:
|
|
558
|
+
pulumi.set(__self__, "vulnerability_events", vulnerability_events)
|
|
539
559
|
if wiki_page_events is not None:
|
|
540
560
|
pulumi.set(__self__, "wiki_page_events", wiki_page_events)
|
|
541
561
|
|
|
@@ -851,6 +871,18 @@ class _GroupHookState:
|
|
|
851
871
|
def url(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
852
872
|
pulumi.set(self, "url", value)
|
|
853
873
|
|
|
874
|
+
@_builtins.property
|
|
875
|
+
@pulumi.getter(name="vulnerabilityEvents")
|
|
876
|
+
def vulnerability_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
877
|
+
"""
|
|
878
|
+
Invoke the hook for vulnerability events. Defaults to `false`.
|
|
879
|
+
"""
|
|
880
|
+
return pulumi.get(self, "vulnerability_events")
|
|
881
|
+
|
|
882
|
+
@vulnerability_events.setter
|
|
883
|
+
def vulnerability_events(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
884
|
+
pulumi.set(self, "vulnerability_events", value)
|
|
885
|
+
|
|
854
886
|
@_builtins.property
|
|
855
887
|
@pulumi.getter(name="wikiPageEvents")
|
|
856
888
|
def wiki_page_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -894,6 +926,7 @@ class GroupHook(pulumi.CustomResource):
|
|
|
894
926
|
tag_push_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
895
927
|
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
896
928
|
url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
929
|
+
vulnerability_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
897
930
|
wiki_page_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
898
931
|
__props__=None):
|
|
899
932
|
"""
|
|
@@ -953,6 +986,7 @@ class GroupHook(pulumi.CustomResource):
|
|
|
953
986
|
:param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events. Defaults to `false`.
|
|
954
987
|
:param pulumi.Input[_builtins.str] token: A token to present when invoking the hook. The token is not available for imported resources.
|
|
955
988
|
:param pulumi.Input[_builtins.str] url: The url of the hook to invoke. Forces re-creation to preserve `token`.
|
|
989
|
+
:param pulumi.Input[_builtins.bool] vulnerability_events: Invoke the hook for vulnerability events. Defaults to `false`.
|
|
956
990
|
:param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events. Defaults to `false`.
|
|
957
991
|
"""
|
|
958
992
|
...
|
|
@@ -1031,6 +1065,7 @@ class GroupHook(pulumi.CustomResource):
|
|
|
1031
1065
|
tag_push_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1032
1066
|
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1033
1067
|
url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1068
|
+
vulnerability_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1034
1069
|
wiki_page_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1035
1070
|
__props__=None):
|
|
1036
1071
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -1069,6 +1104,7 @@ class GroupHook(pulumi.CustomResource):
|
|
|
1069
1104
|
if url is None and not opts.urn:
|
|
1070
1105
|
raise TypeError("Missing required property 'url'")
|
|
1071
1106
|
__props__.__dict__["url"] = url
|
|
1107
|
+
__props__.__dict__["vulnerability_events"] = vulnerability_events
|
|
1072
1108
|
__props__.__dict__["wiki_page_events"] = wiki_page_events
|
|
1073
1109
|
__props__.__dict__["group_id"] = None
|
|
1074
1110
|
__props__.__dict__["hook_id"] = None
|
|
@@ -1110,6 +1146,7 @@ class GroupHook(pulumi.CustomResource):
|
|
|
1110
1146
|
tag_push_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1111
1147
|
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1112
1148
|
url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1149
|
+
vulnerability_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1113
1150
|
wiki_page_events: Optional[pulumi.Input[_builtins.bool]] = None) -> 'GroupHook':
|
|
1114
1151
|
"""
|
|
1115
1152
|
Get an existing GroupHook resource's state with the given name, id, and optional extra
|
|
@@ -1144,6 +1181,7 @@ class GroupHook(pulumi.CustomResource):
|
|
|
1144
1181
|
:param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events. Defaults to `false`.
|
|
1145
1182
|
:param pulumi.Input[_builtins.str] token: A token to present when invoking the hook. The token is not available for imported resources.
|
|
1146
1183
|
:param pulumi.Input[_builtins.str] url: The url of the hook to invoke. Forces re-creation to preserve `token`.
|
|
1184
|
+
:param pulumi.Input[_builtins.bool] vulnerability_events: Invoke the hook for vulnerability events. Defaults to `false`.
|
|
1147
1185
|
:param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events. Defaults to `false`.
|
|
1148
1186
|
"""
|
|
1149
1187
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1176,6 +1214,7 @@ class GroupHook(pulumi.CustomResource):
|
|
|
1176
1214
|
__props__.__dict__["tag_push_events"] = tag_push_events
|
|
1177
1215
|
__props__.__dict__["token"] = token
|
|
1178
1216
|
__props__.__dict__["url"] = url
|
|
1217
|
+
__props__.__dict__["vulnerability_events"] = vulnerability_events
|
|
1179
1218
|
__props__.__dict__["wiki_page_events"] = wiki_page_events
|
|
1180
1219
|
return GroupHook(resource_name, opts=opts, __props__=__props__)
|
|
1181
1220
|
|
|
@@ -1387,6 +1426,14 @@ class GroupHook(pulumi.CustomResource):
|
|
|
1387
1426
|
"""
|
|
1388
1427
|
return pulumi.get(self, "url")
|
|
1389
1428
|
|
|
1429
|
+
@_builtins.property
|
|
1430
|
+
@pulumi.getter(name="vulnerabilityEvents")
|
|
1431
|
+
def vulnerability_events(self) -> pulumi.Output[_builtins.bool]:
|
|
1432
|
+
"""
|
|
1433
|
+
Invoke the hook for vulnerability events. Defaults to `false`.
|
|
1434
|
+
"""
|
|
1435
|
+
return pulumi.get(self, "vulnerability_events")
|
|
1436
|
+
|
|
1390
1437
|
@_builtins.property
|
|
1391
1438
|
@pulumi.getter(name="wikiPageEvents")
|
|
1392
1439
|
def wiki_page_events(self) -> pulumi.Output[_builtins.bool]:
|
|
@@ -351,7 +351,7 @@ class IntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
351
351
|
"""
|
|
352
352
|
The `IntegrationEmailsOnPush` resource manages the lifecycle of a project integration with the Emails on Push Service.
|
|
353
353
|
|
|
354
|
-
> This resource is deprecated and will be removed in 19.0. Use `ProjectIntegrationEmailsOnPush`instead
|
|
354
|
+
> This resource is deprecated and will be removed in 19.0. Use `ProjectIntegrationEmailsOnPush`instead.
|
|
355
355
|
|
|
356
356
|
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#emails-on-push)
|
|
357
357
|
|
|
@@ -361,6 +361,7 @@ class IntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
361
361
|
import pulumi
|
|
362
362
|
import pulumi_gitlab as gitlab
|
|
363
363
|
|
|
364
|
+
# This resource is deprecated and will be removed in version 19.0. Use gitlab_project_integration_emails_on_push instead.
|
|
364
365
|
awesome_project = gitlab.Project("awesome_project",
|
|
365
366
|
name="awesome_project",
|
|
366
367
|
description="My awesome project.",
|
|
@@ -411,7 +412,7 @@ class IntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
411
412
|
"""
|
|
412
413
|
The `IntegrationEmailsOnPush` resource manages the lifecycle of a project integration with the Emails on Push Service.
|
|
413
414
|
|
|
414
|
-
> This resource is deprecated and will be removed in 19.0. Use `ProjectIntegrationEmailsOnPush`instead
|
|
415
|
+
> This resource is deprecated and will be removed in 19.0. Use `ProjectIntegrationEmailsOnPush`instead.
|
|
415
416
|
|
|
416
417
|
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#emails-on-push)
|
|
417
418
|
|
|
@@ -421,6 +422,7 @@ class IntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
421
422
|
import pulumi
|
|
422
423
|
import pulumi_gitlab as gitlab
|
|
423
424
|
|
|
425
|
+
# This resource is deprecated and will be removed in version 19.0. Use gitlab_project_integration_emails_on_push instead.
|
|
424
426
|
awesome_project = gitlab.Project("awesome_project",
|
|
425
427
|
name="awesome_project",
|
|
426
428
|
description="My awesome project.",
|
|
@@ -569,7 +571,7 @@ class IntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
569
571
|
|
|
570
572
|
@_builtins.property
|
|
571
573
|
@pulumi.getter(name="branchesToBeNotified")
|
|
572
|
-
def branches_to_be_notified(self) -> pulumi.Output[
|
|
574
|
+
def branches_to_be_notified(self) -> pulumi.Output[_builtins.str]:
|
|
573
575
|
"""
|
|
574
576
|
Branches to send notifications for. Valid options are `all`, `default`, `protected`, `default_and_protected`. Notifications are always fired for tag pushes.
|
|
575
577
|
"""
|
|
@@ -585,7 +587,7 @@ class IntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
585
587
|
|
|
586
588
|
@_builtins.property
|
|
587
589
|
@pulumi.getter(name="disableDiffs")
|
|
588
|
-
def disable_diffs(self) -> pulumi.Output[
|
|
590
|
+
def disable_diffs(self) -> pulumi.Output[_builtins.bool]:
|
|
589
591
|
"""
|
|
590
592
|
Disable code diffs.
|
|
591
593
|
"""
|
|
@@ -601,7 +603,7 @@ class IntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
601
603
|
|
|
602
604
|
@_builtins.property
|
|
603
605
|
@pulumi.getter(name="pushEvents")
|
|
604
|
-
def push_events(self) -> pulumi.Output[
|
|
606
|
+
def push_events(self) -> pulumi.Output[_builtins.bool]:
|
|
605
607
|
"""
|
|
606
608
|
Enable notifications for push events.
|
|
607
609
|
"""
|
|
@@ -617,7 +619,7 @@ class IntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
617
619
|
|
|
618
620
|
@_builtins.property
|
|
619
621
|
@pulumi.getter(name="sendFromCommitterEmail")
|
|
620
|
-
def send_from_committer_email(self) -> pulumi.Output[
|
|
622
|
+
def send_from_committer_email(self) -> pulumi.Output[_builtins.bool]:
|
|
621
623
|
"""
|
|
622
624
|
Send from committer.
|
|
623
625
|
"""
|
|
@@ -633,7 +635,7 @@ class IntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
633
635
|
|
|
634
636
|
@_builtins.property
|
|
635
637
|
@pulumi.getter(name="tagPushEvents")
|
|
636
|
-
def tag_push_events(self) -> pulumi.Output[
|
|
638
|
+
def tag_push_events(self) -> pulumi.Output[_builtins.bool]:
|
|
637
639
|
"""
|
|
638
640
|
Enable notifications for tag push events.
|
|
639
641
|
"""
|
pulumi_gitlab/outputs.py
CHANGED
|
@@ -3632,6 +3632,7 @@ class GetGroupHooksHookResult(dict):
|
|
|
3632
3632
|
tag_push_events: _builtins.bool,
|
|
3633
3633
|
token: _builtins.str,
|
|
3634
3634
|
url: _builtins.str,
|
|
3635
|
+
vulnerability_events: _builtins.bool,
|
|
3635
3636
|
wiki_page_events: _builtins.bool):
|
|
3636
3637
|
"""
|
|
3637
3638
|
:param _builtins.bool confidential_issues_events: Invoke the hook for confidential issues events.
|
|
@@ -3655,6 +3656,7 @@ class GetGroupHooksHookResult(dict):
|
|
|
3655
3656
|
:param _builtins.bool tag_push_events: Invoke the hook for tag push events.
|
|
3656
3657
|
:param _builtins.str token: A token to present when invoking the hook. The token is only available on resource creation, not in this datasource. It will always be blank. To be removed in 19.0.
|
|
3657
3658
|
:param _builtins.str url: The url of the hook to invoke.
|
|
3659
|
+
:param _builtins.bool vulnerability_events: Invoke the hook for vulnerability events.
|
|
3658
3660
|
:param _builtins.bool wiki_page_events: Invoke the hook for wiki page events.
|
|
3659
3661
|
"""
|
|
3660
3662
|
pulumi.set(__self__, "confidential_issues_events", confidential_issues_events)
|
|
@@ -3678,6 +3680,7 @@ class GetGroupHooksHookResult(dict):
|
|
|
3678
3680
|
pulumi.set(__self__, "tag_push_events", tag_push_events)
|
|
3679
3681
|
pulumi.set(__self__, "token", token)
|
|
3680
3682
|
pulumi.set(__self__, "url", url)
|
|
3683
|
+
pulumi.set(__self__, "vulnerability_events", vulnerability_events)
|
|
3681
3684
|
pulumi.set(__self__, "wiki_page_events", wiki_page_events)
|
|
3682
3685
|
|
|
3683
3686
|
@_builtins.property
|
|
@@ -3849,6 +3852,14 @@ class GetGroupHooksHookResult(dict):
|
|
|
3849
3852
|
"""
|
|
3850
3853
|
return pulumi.get(self, "url")
|
|
3851
3854
|
|
|
3855
|
+
@_builtins.property
|
|
3856
|
+
@pulumi.getter(name="vulnerabilityEvents")
|
|
3857
|
+
def vulnerability_events(self) -> _builtins.bool:
|
|
3858
|
+
"""
|
|
3859
|
+
Invoke the hook for vulnerability events.
|
|
3860
|
+
"""
|
|
3861
|
+
return pulumi.get(self, "vulnerability_events")
|
|
3862
|
+
|
|
3852
3863
|
@_builtins.property
|
|
3853
3864
|
@pulumi.getter(name="wikiPageEvents")
|
|
3854
3865
|
def wiki_page_events(self) -> _builtins.bool:
|
|
@@ -6362,6 +6373,7 @@ class GetProjectHooksHookResult(dict):
|
|
|
6362
6373
|
tag_push_events: _builtins.bool,
|
|
6363
6374
|
token: _builtins.str,
|
|
6364
6375
|
url: _builtins.str,
|
|
6376
|
+
vulnerability_events: _builtins.bool,
|
|
6365
6377
|
wiki_page_events: _builtins.bool):
|
|
6366
6378
|
"""
|
|
6367
6379
|
:param _builtins.bool confidential_issues_events: Invoke the hook for confidential issues events.
|
|
@@ -6383,6 +6395,7 @@ class GetProjectHooksHookResult(dict):
|
|
|
6383
6395
|
:param _builtins.bool tag_push_events: Invoke the hook for tag push events.
|
|
6384
6396
|
:param _builtins.str token: A token to present when invoking the hook. The token is only available on resource creation, not in this datasource. It will always be blank. Will be removed in 19.0.
|
|
6385
6397
|
:param _builtins.str url: The url of the hook to invoke.
|
|
6398
|
+
:param _builtins.bool vulnerability_events: Invoke the hook for vulnerability events.
|
|
6386
6399
|
:param _builtins.bool wiki_page_events: Invoke the hook for wiki page events.
|
|
6387
6400
|
"""
|
|
6388
6401
|
pulumi.set(__self__, "confidential_issues_events", confidential_issues_events)
|
|
@@ -6404,6 +6417,7 @@ class GetProjectHooksHookResult(dict):
|
|
|
6404
6417
|
pulumi.set(__self__, "tag_push_events", tag_push_events)
|
|
6405
6418
|
pulumi.set(__self__, "token", token)
|
|
6406
6419
|
pulumi.set(__self__, "url", url)
|
|
6420
|
+
pulumi.set(__self__, "vulnerability_events", vulnerability_events)
|
|
6407
6421
|
pulumi.set(__self__, "wiki_page_events", wiki_page_events)
|
|
6408
6422
|
|
|
6409
6423
|
@_builtins.property
|
|
@@ -6559,6 +6573,14 @@ class GetProjectHooksHookResult(dict):
|
|
|
6559
6573
|
"""
|
|
6560
6574
|
return pulumi.get(self, "url")
|
|
6561
6575
|
|
|
6576
|
+
@_builtins.property
|
|
6577
|
+
@pulumi.getter(name="vulnerabilityEvents")
|
|
6578
|
+
def vulnerability_events(self) -> _builtins.bool:
|
|
6579
|
+
"""
|
|
6580
|
+
Invoke the hook for vulnerability events.
|
|
6581
|
+
"""
|
|
6582
|
+
return pulumi.get(self, "vulnerability_events")
|
|
6583
|
+
|
|
6562
6584
|
@_builtins.property
|
|
6563
6585
|
@pulumi.getter(name="wikiPageEvents")
|
|
6564
6586
|
def wiki_page_events(self) -> _builtins.bool:
|
pulumi_gitlab/project_hook.py
CHANGED
|
@@ -42,6 +42,7 @@ class ProjectHookArgs:
|
|
|
42
42
|
resource_access_token_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
43
43
|
tag_push_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
44
44
|
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
45
|
+
vulnerability_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
45
46
|
wiki_page_events: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
46
47
|
"""
|
|
47
48
|
The set of arguments for constructing a ProjectHook resource.
|
|
@@ -66,6 +67,7 @@ class ProjectHookArgs:
|
|
|
66
67
|
:param pulumi.Input[_builtins.bool] resource_access_token_events: Invoke the hook for project access token expiry events. Defaults to `false`.
|
|
67
68
|
:param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events. Defaults to `false`.
|
|
68
69
|
:param pulumi.Input[_builtins.str] token: A token to present when invoking the hook. The token is not available for imported resources.
|
|
70
|
+
:param pulumi.Input[_builtins.bool] vulnerability_events: Invoke the hook for vulnerability events. Defaults to `false`.
|
|
69
71
|
:param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events. Defaults to `false`.
|
|
70
72
|
"""
|
|
71
73
|
pulumi.set(__self__, "project", project)
|
|
@@ -108,6 +110,8 @@ class ProjectHookArgs:
|
|
|
108
110
|
pulumi.set(__self__, "tag_push_events", tag_push_events)
|
|
109
111
|
if token is not None:
|
|
110
112
|
pulumi.set(__self__, "token", token)
|
|
113
|
+
if vulnerability_events is not None:
|
|
114
|
+
pulumi.set(__self__, "vulnerability_events", vulnerability_events)
|
|
111
115
|
if wiki_page_events is not None:
|
|
112
116
|
pulumi.set(__self__, "wiki_page_events", wiki_page_events)
|
|
113
117
|
|
|
@@ -363,6 +367,18 @@ class ProjectHookArgs:
|
|
|
363
367
|
def token(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
364
368
|
pulumi.set(self, "token", value)
|
|
365
369
|
|
|
370
|
+
@_builtins.property
|
|
371
|
+
@pulumi.getter(name="vulnerabilityEvents")
|
|
372
|
+
def vulnerability_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
373
|
+
"""
|
|
374
|
+
Invoke the hook for vulnerability events. Defaults to `false`.
|
|
375
|
+
"""
|
|
376
|
+
return pulumi.get(self, "vulnerability_events")
|
|
377
|
+
|
|
378
|
+
@vulnerability_events.setter
|
|
379
|
+
def vulnerability_events(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
380
|
+
pulumi.set(self, "vulnerability_events", value)
|
|
381
|
+
|
|
366
382
|
@_builtins.property
|
|
367
383
|
@pulumi.getter(name="wikiPageEvents")
|
|
368
384
|
def wiki_page_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -402,6 +418,7 @@ class _ProjectHookState:
|
|
|
402
418
|
tag_push_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
403
419
|
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
404
420
|
url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
421
|
+
vulnerability_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
405
422
|
wiki_page_events: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
406
423
|
"""
|
|
407
424
|
Input properties used for looking up and filtering ProjectHook resources.
|
|
@@ -428,6 +445,7 @@ class _ProjectHookState:
|
|
|
428
445
|
:param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events. Defaults to `false`.
|
|
429
446
|
:param pulumi.Input[_builtins.str] token: A token to present when invoking the hook. The token is not available for imported resources.
|
|
430
447
|
:param pulumi.Input[_builtins.str] url: The url of the hook to invoke. Forces re-creation to preserve `token`.
|
|
448
|
+
:param pulumi.Input[_builtins.bool] vulnerability_events: Invoke the hook for vulnerability events. Defaults to `false`.
|
|
431
449
|
:param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events. Defaults to `false`.
|
|
432
450
|
"""
|
|
433
451
|
if confidential_issues_events is not None:
|
|
@@ -476,6 +494,8 @@ class _ProjectHookState:
|
|
|
476
494
|
pulumi.set(__self__, "token", token)
|
|
477
495
|
if url is not None:
|
|
478
496
|
pulumi.set(__self__, "url", url)
|
|
497
|
+
if vulnerability_events is not None:
|
|
498
|
+
pulumi.set(__self__, "vulnerability_events", vulnerability_events)
|
|
479
499
|
if wiki_page_events is not None:
|
|
480
500
|
pulumi.set(__self__, "wiki_page_events", wiki_page_events)
|
|
481
501
|
|
|
@@ -755,6 +775,18 @@ class _ProjectHookState:
|
|
|
755
775
|
def url(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
756
776
|
pulumi.set(self, "url", value)
|
|
757
777
|
|
|
778
|
+
@_builtins.property
|
|
779
|
+
@pulumi.getter(name="vulnerabilityEvents")
|
|
780
|
+
def vulnerability_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
781
|
+
"""
|
|
782
|
+
Invoke the hook for vulnerability events. Defaults to `false`.
|
|
783
|
+
"""
|
|
784
|
+
return pulumi.get(self, "vulnerability_events")
|
|
785
|
+
|
|
786
|
+
@vulnerability_events.setter
|
|
787
|
+
def vulnerability_events(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
788
|
+
pulumi.set(self, "vulnerability_events", value)
|
|
789
|
+
|
|
758
790
|
@_builtins.property
|
|
759
791
|
@pulumi.getter(name="wikiPageEvents")
|
|
760
792
|
def wiki_page_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -795,6 +827,7 @@ class ProjectHook(pulumi.CustomResource):
|
|
|
795
827
|
tag_push_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
796
828
|
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
797
829
|
url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
830
|
+
vulnerability_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
798
831
|
wiki_page_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
799
832
|
__props__=None):
|
|
800
833
|
"""
|
|
@@ -882,6 +915,7 @@ class ProjectHook(pulumi.CustomResource):
|
|
|
882
915
|
:param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events. Defaults to `false`.
|
|
883
916
|
:param pulumi.Input[_builtins.str] token: A token to present when invoking the hook. The token is not available for imported resources.
|
|
884
917
|
:param pulumi.Input[_builtins.str] url: The url of the hook to invoke. Forces re-creation to preserve `token`.
|
|
918
|
+
:param pulumi.Input[_builtins.bool] vulnerability_events: Invoke the hook for vulnerability events. Defaults to `false`.
|
|
885
919
|
:param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events. Defaults to `false`.
|
|
886
920
|
"""
|
|
887
921
|
...
|
|
@@ -988,6 +1022,7 @@ class ProjectHook(pulumi.CustomResource):
|
|
|
988
1022
|
tag_push_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
989
1023
|
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
990
1024
|
url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1025
|
+
vulnerability_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
991
1026
|
wiki_page_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
992
1027
|
__props__=None):
|
|
993
1028
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -1023,6 +1058,7 @@ class ProjectHook(pulumi.CustomResource):
|
|
|
1023
1058
|
if url is None and not opts.urn:
|
|
1024
1059
|
raise TypeError("Missing required property 'url'")
|
|
1025
1060
|
__props__.__dict__["url"] = url
|
|
1061
|
+
__props__.__dict__["vulnerability_events"] = vulnerability_events
|
|
1026
1062
|
__props__.__dict__["wiki_page_events"] = wiki_page_events
|
|
1027
1063
|
__props__.__dict__["hook_id"] = None
|
|
1028
1064
|
__props__.__dict__["project_id"] = None
|
|
@@ -1061,6 +1097,7 @@ class ProjectHook(pulumi.CustomResource):
|
|
|
1061
1097
|
tag_push_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1062
1098
|
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1063
1099
|
url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1100
|
+
vulnerability_events: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1064
1101
|
wiki_page_events: Optional[pulumi.Input[_builtins.bool]] = None) -> 'ProjectHook':
|
|
1065
1102
|
"""
|
|
1066
1103
|
Get an existing ProjectHook resource's state with the given name, id, and optional extra
|
|
@@ -1092,6 +1129,7 @@ class ProjectHook(pulumi.CustomResource):
|
|
|
1092
1129
|
:param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events. Defaults to `false`.
|
|
1093
1130
|
:param pulumi.Input[_builtins.str] token: A token to present when invoking the hook. The token is not available for imported resources.
|
|
1094
1131
|
:param pulumi.Input[_builtins.str] url: The url of the hook to invoke. Forces re-creation to preserve `token`.
|
|
1132
|
+
:param pulumi.Input[_builtins.bool] vulnerability_events: Invoke the hook for vulnerability events. Defaults to `false`.
|
|
1095
1133
|
:param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events. Defaults to `false`.
|
|
1096
1134
|
"""
|
|
1097
1135
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1121,6 +1159,7 @@ class ProjectHook(pulumi.CustomResource):
|
|
|
1121
1159
|
__props__.__dict__["tag_push_events"] = tag_push_events
|
|
1122
1160
|
__props__.__dict__["token"] = token
|
|
1123
1161
|
__props__.__dict__["url"] = url
|
|
1162
|
+
__props__.__dict__["vulnerability_events"] = vulnerability_events
|
|
1124
1163
|
__props__.__dict__["wiki_page_events"] = wiki_page_events
|
|
1125
1164
|
return ProjectHook(resource_name, opts=opts, __props__=__props__)
|
|
1126
1165
|
|
|
@@ -1308,6 +1347,14 @@ class ProjectHook(pulumi.CustomResource):
|
|
|
1308
1347
|
"""
|
|
1309
1348
|
return pulumi.get(self, "url")
|
|
1310
1349
|
|
|
1350
|
+
@_builtins.property
|
|
1351
|
+
@pulumi.getter(name="vulnerabilityEvents")
|
|
1352
|
+
def vulnerability_events(self) -> pulumi.Output[_builtins.bool]:
|
|
1353
|
+
"""
|
|
1354
|
+
Invoke the hook for vulnerability events. Defaults to `false`.
|
|
1355
|
+
"""
|
|
1356
|
+
return pulumi.get(self, "vulnerability_events")
|
|
1357
|
+
|
|
1311
1358
|
@_builtins.property
|
|
1312
1359
|
@pulumi.getter(name="wikiPageEvents")
|
|
1313
1360
|
def wiki_page_events(self) -> pulumi.Output[_builtins.bool]:
|
|
@@ -365,7 +365,12 @@ class ProjectIntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
365
365
|
visibility_level="public")
|
|
366
366
|
emails = gitlab.ProjectIntegrationEmailsOnPush("emails",
|
|
367
367
|
project=awesome_project.id,
|
|
368
|
-
recipients="myrecipient@example.com myotherrecipient@example.com"
|
|
368
|
+
recipients="myrecipient@example.com myotherrecipient@example.com",
|
|
369
|
+
disable_diffs=False,
|
|
370
|
+
send_from_committer_email=False,
|
|
371
|
+
push_events=True,
|
|
372
|
+
tag_push_events=True,
|
|
373
|
+
branches_to_be_notified="all")
|
|
369
374
|
```
|
|
370
375
|
|
|
371
376
|
## Import
|
|
@@ -423,7 +428,12 @@ class ProjectIntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
423
428
|
visibility_level="public")
|
|
424
429
|
emails = gitlab.ProjectIntegrationEmailsOnPush("emails",
|
|
425
430
|
project=awesome_project.id,
|
|
426
|
-
recipients="myrecipient@example.com myotherrecipient@example.com"
|
|
431
|
+
recipients="myrecipient@example.com myotherrecipient@example.com",
|
|
432
|
+
disable_diffs=False,
|
|
433
|
+
send_from_committer_email=False,
|
|
434
|
+
push_events=True,
|
|
435
|
+
tag_push_events=True,
|
|
436
|
+
branches_to_be_notified="all")
|
|
427
437
|
```
|
|
428
438
|
|
|
429
439
|
## Import
|
|
@@ -565,7 +575,7 @@ class ProjectIntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
565
575
|
|
|
566
576
|
@_builtins.property
|
|
567
577
|
@pulumi.getter(name="branchesToBeNotified")
|
|
568
|
-
def branches_to_be_notified(self) -> pulumi.Output[
|
|
578
|
+
def branches_to_be_notified(self) -> pulumi.Output[_builtins.str]:
|
|
569
579
|
"""
|
|
570
580
|
Branches to send notifications for. Valid options are `all`, `default`, `protected`, `default_and_protected`. Notifications are always fired for tag pushes.
|
|
571
581
|
"""
|
|
@@ -581,7 +591,7 @@ class ProjectIntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
581
591
|
|
|
582
592
|
@_builtins.property
|
|
583
593
|
@pulumi.getter(name="disableDiffs")
|
|
584
|
-
def disable_diffs(self) -> pulumi.Output[
|
|
594
|
+
def disable_diffs(self) -> pulumi.Output[_builtins.bool]:
|
|
585
595
|
"""
|
|
586
596
|
Disable code diffs.
|
|
587
597
|
"""
|
|
@@ -597,7 +607,7 @@ class ProjectIntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
597
607
|
|
|
598
608
|
@_builtins.property
|
|
599
609
|
@pulumi.getter(name="pushEvents")
|
|
600
|
-
def push_events(self) -> pulumi.Output[
|
|
610
|
+
def push_events(self) -> pulumi.Output[_builtins.bool]:
|
|
601
611
|
"""
|
|
602
612
|
Enable notifications for push events.
|
|
603
613
|
"""
|
|
@@ -613,7 +623,7 @@ class ProjectIntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
613
623
|
|
|
614
624
|
@_builtins.property
|
|
615
625
|
@pulumi.getter(name="sendFromCommitterEmail")
|
|
616
|
-
def send_from_committer_email(self) -> pulumi.Output[
|
|
626
|
+
def send_from_committer_email(self) -> pulumi.Output[_builtins.bool]:
|
|
617
627
|
"""
|
|
618
628
|
Send from committer.
|
|
619
629
|
"""
|
|
@@ -629,7 +639,7 @@ class ProjectIntegrationEmailsOnPush(pulumi.CustomResource):
|
|
|
629
639
|
|
|
630
640
|
@_builtins.property
|
|
631
641
|
@pulumi.getter(name="tagPushEvents")
|
|
632
|
-
def tag_push_events(self) -> pulumi.Output[
|
|
642
|
+
def tag_push_events(self) -> pulumi.Output[_builtins.bool]:
|
|
633
643
|
"""
|
|
634
644
|
Enable notifications for tag push events.
|
|
635
645
|
"""
|
pulumi_gitlab/pulumi-plugin.json
CHANGED
{pulumi_gitlab-9.8.0a1768535360.dist-info → pulumi_gitlab-9.8.1a1768794741.dist-info}/RECORD
RENAMED
|
@@ -22,7 +22,7 @@ pulumi_gitlab/get_current_user.py,sha256=bViEaUXlbt63mH5IjGNKHAsifCm29P5QiM24xaU
|
|
|
22
22
|
pulumi_gitlab/get_group.py,sha256=XrnaVL0aDidOMVTaHkI1Lc62Umojf9jeHy85j-D_U4c,17701
|
|
23
23
|
pulumi_gitlab/get_group_access_tokens.py,sha256=3ARMgU0EDOk8_9NcBzcq18jKvKGCIvFki_nR6gRKCv8,4651
|
|
24
24
|
pulumi_gitlab/get_group_billable_member_memberships.py,sha256=jeuM7xK0eexFbosqsGZdB-yBay0P3u6_E-1rqWyoVOA,6804
|
|
25
|
-
pulumi_gitlab/get_group_hook.py,sha256=
|
|
25
|
+
pulumi_gitlab/get_group_hook.py,sha256=Vln2cyMq1JVOBXHxbsMYqyatymPP-skDJTmFxVKw2M4,18649
|
|
26
26
|
pulumi_gitlab/get_group_hooks.py,sha256=nP98eVH04CkUP1kyp66Wi3SIq3W55PLTjh7PbeKRjKE,4097
|
|
27
27
|
pulumi_gitlab/get_group_ids.py,sha256=00AwhFanqKDX5EglZHzaEDvdAMp5Ld7pxsvLwIQkEaQ,6351
|
|
28
28
|
pulumi_gitlab/get_group_membership.py,sha256=QjNW2Jnh4FafMLS3v7omYep9e1Q0cEUmXudLiPp1Now,7676
|
|
@@ -47,7 +47,7 @@ pulumi_gitlab/get_project_access_tokens.py,sha256=dZqQOdQN_qx1zwVqgEVBSAT5q_472r
|
|
|
47
47
|
pulumi_gitlab/get_project_approval_rules.py,sha256=tMXq5S_pK7MSJsRNTV6vVhN2wwSPhyl_XdcsjCx5Zis,6002
|
|
48
48
|
pulumi_gitlab/get_project_branches.py,sha256=rYkIWuK26IF2VhIwpOSd1syjYiLbHXPdPYQYM3bBYU8,4473
|
|
49
49
|
pulumi_gitlab/get_project_environments.py,sha256=_OceJyjkKpn2nseAn2d0ZO4Y0XukjccNsizZEBGMpUs,8301
|
|
50
|
-
pulumi_gitlab/get_project_hook.py,sha256=
|
|
50
|
+
pulumi_gitlab/get_project_hook.py,sha256=3A-RI-XmVPI1jzGUwdJbfLColH0FkF0yCdbw4WqLOp8,18016
|
|
51
51
|
pulumi_gitlab/get_project_hooks.py,sha256=lc878gqd34e1Y5D1ATy9_93OcGC9w99jNZuQa90ySBU,4609
|
|
52
52
|
pulumi_gitlab/get_project_ids.py,sha256=NJ0nKGlZMpU0L8SSZT3cZnb9kpDj3-tX0P8FvCGr_1c,6413
|
|
53
53
|
pulumi_gitlab/get_project_issue.py,sha256=3mpqGTfUUf0QEG0udnql46pV4T0Axxp0cPAA-Wmtc2I,28756
|
|
@@ -88,7 +88,7 @@ pulumi_gitlab/group_custom_attribute.py,sha256=Fbfs2YjyORYk5BhBkDqmvhSMkfLGfKDXg
|
|
|
88
88
|
pulumi_gitlab/group_dependency_proxy.py,sha256=D3pmyCKDUUZrwV0UfSRf3B_8stlH9SN9gXp199LiKMg,16889
|
|
89
89
|
pulumi_gitlab/group_deploy_token.py,sha256=i5Zk1Go9tWQKF3JTkxMipP1OnFxMRxJSWKpIk6JayhQ,25579
|
|
90
90
|
pulumi_gitlab/group_epic_board.py,sha256=VXlQuenFczYFToWTj1szmYkdSXss79p_ULqzLxhlc6w,13384
|
|
91
|
-
pulumi_gitlab/group_hook.py,sha256=
|
|
91
|
+
pulumi_gitlab/group_hook.py,sha256=qt3cozLBcm2zyK1J-HlCRvUQePy5ch0J_AVCndJzRjs,70358
|
|
92
92
|
pulumi_gitlab/group_issue_board.py,sha256=rW8CE1JTljj--nLgwgLoG955nmm-bGnrRogxetT6mmA,16554
|
|
93
93
|
pulumi_gitlab/group_label.py,sha256=RqSDyK-0olrP3gFt3mmVvB5ERCI453la-bwkZn75jMY,17898
|
|
94
94
|
pulumi_gitlab/group_ldap_link.py,sha256=R-IiorP7cIydTFTT2t1VUBil-fz5PdEf0r3w_clGMro,26664
|
|
@@ -106,7 +106,7 @@ pulumi_gitlab/instance_cluster.py,sha256=R9yIDusyqTYSfjhGoQuireednDPDZOewyFocqdJ
|
|
|
106
106
|
pulumi_gitlab/instance_service_account.py,sha256=sC4Ox4bt2WkNNF59wMT49z7Nu3Dv5TsMllgn3vyU8bI,17127
|
|
107
107
|
pulumi_gitlab/instance_variable.py,sha256=488J1JjxE__x86n6I6bspY6CQi6i6gvDQL9ZlTtbqoc,22319
|
|
108
108
|
pulumi_gitlab/integration_custom_issue_tracker.py,sha256=73Zhuz1bO5PNWql_Rx3iglS8whxwPAqZwztdvIdeqU4,19226
|
|
109
|
-
pulumi_gitlab/integration_emails_on_push.py,sha256=
|
|
109
|
+
pulumi_gitlab/integration_emails_on_push.py,sha256=CY_EW60meOrO-DVXCskAucl_Lm6WejLvnaODtcvNr2g,29748
|
|
110
110
|
pulumi_gitlab/integration_external_wiki.py,sha256=XG4xLgtJVALMJNl42vBLnL1qotH3w5Qv88YQYQQfi4s,17464
|
|
111
111
|
pulumi_gitlab/integration_github.py,sha256=6SXZWy-wus9CKnTuXfMUMxZrlgpuEEwG7RZnCoygj0Q,20473
|
|
112
112
|
pulumi_gitlab/integration_harbor.py,sha256=ydbcExzBVmTWaGz2AmjLVp17eyyeRJf26lqSDQpF7aA,22660
|
|
@@ -120,7 +120,7 @@ pulumi_gitlab/integration_slack.py,sha256=-D_4aaoSleCEK4qI99XWuWzeh2QpAOQM-Ewq9Z
|
|
|
120
120
|
pulumi_gitlab/integration_telegram.py,sha256=wLKXDVepFB45HgeyCHsyS484jzhVz50ud7qHz1arzjI,41348
|
|
121
121
|
pulumi_gitlab/label.py,sha256=JcFf0z4ek_ZdX2F508mRbPmRfXvXJN_OIADbgiEUYto,16366
|
|
122
122
|
pulumi_gitlab/member_role.py,sha256=GRzgL3QmtVODXo4-RS50d-jyRePxQalthMIYYWTfhOY,27402
|
|
123
|
-
pulumi_gitlab/outputs.py,sha256=
|
|
123
|
+
pulumi_gitlab/outputs.py,sha256=Yi5rVvh0y__bZ9P0k8nNzTNCbih7IwoZycDBteTOsNA,474339
|
|
124
124
|
pulumi_gitlab/pages_domain.py,sha256=zrf6GcOcMDfzld1R-6v_nd_gfpLrjXvI_IMi0moNTxo,22937
|
|
125
125
|
pulumi_gitlab/personal_access_token.py,sha256=Y70b9bxV5Q8mxJrI3DRYNkca1O1SJWa0DEeVIjcL_OM,32593
|
|
126
126
|
pulumi_gitlab/pipeline_schedule.py,sha256=UcqpiWKBXWbDm491woCUjIEm_TcRg48Ihh93x8qHgNg,22808
|
|
@@ -139,9 +139,9 @@ pulumi_gitlab/project_deploy_token.py,sha256=gsjwwVFLMsa-hjnr6p07GmgmVGC35a_jwLy
|
|
|
139
139
|
pulumi_gitlab/project_environment.py,sha256=B1fx3lHPUohxkn1fgsr1TW0iDirCh_bfuZNEyhHLTqI,37495
|
|
140
140
|
pulumi_gitlab/project_external_status_check.py,sha256=JFBXrmqCjLd2WzHtz5iCZhg-bVIODL_8yU09Xjc11LM,20690
|
|
141
141
|
pulumi_gitlab/project_freeze_period.py,sha256=QEw2FMam93mutlvGDR7DYUrNO_4ZJih5aRGlFtbzBn8,15038
|
|
142
|
-
pulumi_gitlab/project_hook.py,sha256=
|
|
142
|
+
pulumi_gitlab/project_hook.py,sha256=1XC_MLgxZtEIJvt7L8S5pbNGsEz9FNt3-lgll2oJLj0,65728
|
|
143
143
|
pulumi_gitlab/project_integration_custom_issue_tracker.py,sha256=qZGs8NRs53KeWTB-hBqBEJDBu7RAmzi3absOO9Musxo,19246
|
|
144
|
-
pulumi_gitlab/project_integration_emails_on_push.py,sha256=
|
|
144
|
+
pulumi_gitlab/project_integration_emails_on_push.py,sha256=sewMFe5-fHl-Xl8Vdu4TtNJ7BMyRw9h728t5zkXUbr4,29890
|
|
145
145
|
pulumi_gitlab/project_integration_external_wiki.py,sha256=RWRxGVpxFnejDObzwoWIzviKdDkysVBBo_sGZZDDFY8,17496
|
|
146
146
|
pulumi_gitlab/project_integration_github.py,sha256=YIxxokn3zP1E1K8_xk01f9TFzrJ1P7W3gID6RXB9mPw,20543
|
|
147
147
|
pulumi_gitlab/project_integration_harbor.py,sha256=liyycpoeKYFnqmui8VS9kFN4kGWhZpGcrRdjAojMwwU,22394
|
|
@@ -180,7 +180,7 @@ pulumi_gitlab/project_target_branch_rule.py,sha256=pqtvi-K1mgd8CDNCSGkEjoc2ukKnE
|
|
|
180
180
|
pulumi_gitlab/project_variable.py,sha256=WIv9WN6OhKb8bOAODh9GreL-Pvk_UtdDq6gPwJ1t1ic,29672
|
|
181
181
|
pulumi_gitlab/project_wiki_page.py,sha256=_uJ0vbZO0P5pVp3xuvnBYBZYfZUY0KX6hnvHK5motfU,16558
|
|
182
182
|
pulumi_gitlab/provider.py,sha256=xszx1fRkM7_uck9iIfo2dNGa2JkXWThqRXi1wHsYtjY,23257
|
|
183
|
-
pulumi_gitlab/pulumi-plugin.json,sha256=
|
|
183
|
+
pulumi_gitlab/pulumi-plugin.json,sha256=WCbI-BZMxlFI3q3BDLfkZxaV16bGpqA7bhT9qUy2Ncg,82
|
|
184
184
|
pulumi_gitlab/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
185
185
|
pulumi_gitlab/release.py,sha256=nl-zDbU9uBrgSal-Q_hmgvucLEdRdVwzQaHznkzG064,36331
|
|
186
186
|
pulumi_gitlab/release_link.py,sha256=EjboeRdN6IM2LYb_BWljjHX-cBBfGdzQRI53hiYxLO0,23326
|
|
@@ -201,7 +201,7 @@ pulumi_gitlab/value_stream_analytics.py,sha256=qajoNI2VIT6EgVAN-V0YAMShve-D6jDQf
|
|
|
201
201
|
pulumi_gitlab/config/__init__.py,sha256=XWnQfVtc2oPapjSXXCdORFJvMpXt_SMJQASWdTRoPmc,296
|
|
202
202
|
pulumi_gitlab/config/__init__.pyi,sha256=ZtEaCpKCo4BZor-bBsDtf4j3yl7ym84dqhkIy_Keuvs,2671
|
|
203
203
|
pulumi_gitlab/config/vars.py,sha256=Rf2oVEIYf4vSaqK-7RmfAixxpaGEhQG9kXIeSCfIuJc,4073
|
|
204
|
-
pulumi_gitlab-9.8.
|
|
205
|
-
pulumi_gitlab-9.8.
|
|
206
|
-
pulumi_gitlab-9.8.
|
|
207
|
-
pulumi_gitlab-9.8.
|
|
204
|
+
pulumi_gitlab-9.8.1a1768794741.dist-info/METADATA,sha256=Y2oam6df5a9KIgjB1IogLy8IRaBnCAQYIw0qLy5s2EA,3447
|
|
205
|
+
pulumi_gitlab-9.8.1a1768794741.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
206
|
+
pulumi_gitlab-9.8.1a1768794741.dist-info/top_level.txt,sha256=fl4bklikEmbp3mE-JWfvC3JROXPLQGxFaJd_j_qmjgE,14
|
|
207
|
+
pulumi_gitlab-9.8.1a1768794741.dist-info/RECORD,,
|
|
File without changes
|
{pulumi_gitlab-9.8.0a1768535360.dist-info → pulumi_gitlab-9.8.1a1768794741.dist-info}/top_level.txt
RENAMED
|
File without changes
|