pulumi-gitlab 9.9.0a1768542389__py3-none-any.whl → 9.9.0a1769172954__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.py +15 -1
- pulumi_gitlab/get_group_hook.py +15 -1
- pulumi_gitlab/get_project_hook.py +15 -1
- pulumi_gitlab/group.py +47 -0
- pulumi_gitlab/group_hook.py +47 -0
- pulumi_gitlab/integration_emails_on_push.py +9 -7
- pulumi_gitlab/outputs.py +33 -0
- pulumi_gitlab/project.py +2 -2
- 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.9.0a1768542389.dist-info → pulumi_gitlab-9.9.0a1769172954.dist-info}/METADATA +1 -1
- {pulumi_gitlab-9.9.0a1768542389.dist-info → pulumi_gitlab-9.9.0a1769172954.dist-info}/RECORD +15 -15
- {pulumi_gitlab-9.9.0a1768542389.dist-info → pulumi_gitlab-9.9.0a1769172954.dist-info}/WHEEL +1 -1
- {pulumi_gitlab-9.9.0a1768542389.dist-info → pulumi_gitlab-9.9.0a1769172954.dist-info}/top_level.txt +0 -0
pulumi_gitlab/get_group.py
CHANGED
|
@@ -27,7 +27,7 @@ class GetGroupResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getGroup.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, default_branch=None, default_branch_protection=None, description=None, extra_shared_runners_minutes_limit=None, full_name=None, full_path=None, group_id=None, id=None, lfs_enabled=None, membership_lock=None, name=None, parent_id=None, path=None, prevent_forking_outside_group=None, request_access_enabled=None, runners_token=None, shared_runners_minutes_limit=None, shared_runners_setting=None, shared_with_groups=None, visibility_level=None, web_url=None, wiki_access_level=None):
|
|
30
|
+
def __init__(__self__, default_branch=None, default_branch_protection=None, description=None, extra_shared_runners_minutes_limit=None, full_name=None, full_path=None, group_id=None, id=None, lfs_enabled=None, membership_lock=None, name=None, parent_id=None, path=None, prevent_forking_outside_group=None, prevent_sharing_groups_outside_hierarchy=None, request_access_enabled=None, runners_token=None, shared_runners_minutes_limit=None, shared_runners_setting=None, shared_with_groups=None, visibility_level=None, web_url=None, wiki_access_level=None):
|
|
31
31
|
if default_branch and not isinstance(default_branch, str):
|
|
32
32
|
raise TypeError("Expected argument 'default_branch' to be a str")
|
|
33
33
|
pulumi.set(__self__, "default_branch", default_branch)
|
|
@@ -70,6 +70,9 @@ class GetGroupResult:
|
|
|
70
70
|
if prevent_forking_outside_group and not isinstance(prevent_forking_outside_group, bool):
|
|
71
71
|
raise TypeError("Expected argument 'prevent_forking_outside_group' to be a bool")
|
|
72
72
|
pulumi.set(__self__, "prevent_forking_outside_group", prevent_forking_outside_group)
|
|
73
|
+
if prevent_sharing_groups_outside_hierarchy and not isinstance(prevent_sharing_groups_outside_hierarchy, bool):
|
|
74
|
+
raise TypeError("Expected argument 'prevent_sharing_groups_outside_hierarchy' to be a bool")
|
|
75
|
+
pulumi.set(__self__, "prevent_sharing_groups_outside_hierarchy", prevent_sharing_groups_outside_hierarchy)
|
|
73
76
|
if request_access_enabled and not isinstance(request_access_enabled, bool):
|
|
74
77
|
raise TypeError("Expected argument 'request_access_enabled' to be a bool")
|
|
75
78
|
pulumi.set(__self__, "request_access_enabled", request_access_enabled)
|
|
@@ -207,6 +210,14 @@ class GetGroupResult:
|
|
|
207
210
|
"""
|
|
208
211
|
return pulumi.get(self, "prevent_forking_outside_group")
|
|
209
212
|
|
|
213
|
+
@_builtins.property
|
|
214
|
+
@pulumi.getter(name="preventSharingGroupsOutsideHierarchy")
|
|
215
|
+
def prevent_sharing_groups_outside_hierarchy(self) -> _builtins.bool:
|
|
216
|
+
"""
|
|
217
|
+
When enabled, users cannot invite other groups outside of the top-level group’s hierarchy. This option is only available for top-level groups.
|
|
218
|
+
"""
|
|
219
|
+
return pulumi.get(self, "prevent_sharing_groups_outside_hierarchy")
|
|
220
|
+
|
|
210
221
|
@_builtins.property
|
|
211
222
|
@pulumi.getter(name="requestAccessEnabled")
|
|
212
223
|
def request_access_enabled(self) -> _builtins.bool:
|
|
@@ -292,6 +303,7 @@ class AwaitableGetGroupResult(GetGroupResult):
|
|
|
292
303
|
parent_id=self.parent_id,
|
|
293
304
|
path=self.path,
|
|
294
305
|
prevent_forking_outside_group=self.prevent_forking_outside_group,
|
|
306
|
+
prevent_sharing_groups_outside_hierarchy=self.prevent_sharing_groups_outside_hierarchy,
|
|
295
307
|
request_access_enabled=self.request_access_enabled,
|
|
296
308
|
runners_token=self.runners_token,
|
|
297
309
|
shared_runners_minutes_limit=self.shared_runners_minutes_limit,
|
|
@@ -335,6 +347,7 @@ def get_group(full_path: Optional[_builtins.str] = None,
|
|
|
335
347
|
parent_id=pulumi.get(__ret__, 'parent_id'),
|
|
336
348
|
path=pulumi.get(__ret__, 'path'),
|
|
337
349
|
prevent_forking_outside_group=pulumi.get(__ret__, 'prevent_forking_outside_group'),
|
|
350
|
+
prevent_sharing_groups_outside_hierarchy=pulumi.get(__ret__, 'prevent_sharing_groups_outside_hierarchy'),
|
|
338
351
|
request_access_enabled=pulumi.get(__ret__, 'request_access_enabled'),
|
|
339
352
|
runners_token=pulumi.get(__ret__, 'runners_token'),
|
|
340
353
|
shared_runners_minutes_limit=pulumi.get(__ret__, 'shared_runners_minutes_limit'),
|
|
@@ -375,6 +388,7 @@ def get_group_output(full_path: Optional[pulumi.Input[Optional[_builtins.str]]]
|
|
|
375
388
|
parent_id=pulumi.get(__response__, 'parent_id'),
|
|
376
389
|
path=pulumi.get(__response__, 'path'),
|
|
377
390
|
prevent_forking_outside_group=pulumi.get(__response__, 'prevent_forking_outside_group'),
|
|
391
|
+
prevent_sharing_groups_outside_hierarchy=pulumi.get(__response__, 'prevent_sharing_groups_outside_hierarchy'),
|
|
378
392
|
request_access_enabled=pulumi.get(__response__, 'request_access_enabled'),
|
|
379
393
|
runners_token=pulumi.get(__response__, 'runners_token'),
|
|
380
394
|
shared_runners_minutes_limit=pulumi.get(__response__, 'shared_runners_minutes_limit'),
|
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.py
CHANGED
|
@@ -43,6 +43,7 @@ class GroupArgs:
|
|
|
43
43
|
parent_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
44
44
|
permanently_remove_on_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
45
45
|
prevent_forking_outside_group: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
46
|
+
prevent_sharing_groups_outside_hierarchy: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
46
47
|
project_creation_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
47
48
|
push_rules: Optional[pulumi.Input['GroupPushRulesArgs']] = None,
|
|
48
49
|
request_access_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -78,6 +79,7 @@ class GroupArgs:
|
|
|
78
79
|
:param pulumi.Input[_builtins.int] parent_id: Id of the parent group (creates a nested group).
|
|
79
80
|
:param pulumi.Input[_builtins.bool] permanently_remove_on_delete: Whether the group should be permanently removed during a `delete` operation. This only works with subgroups. Must be configured via an `apply` before the `destroy` is run.
|
|
80
81
|
:param pulumi.Input[_builtins.bool] prevent_forking_outside_group: Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
|
|
82
|
+
:param pulumi.Input[_builtins.bool] prevent_sharing_groups_outside_hierarchy: Defaults to false. When enabled, users cannot invite other groups outside of the top-level group’s hierarchy. This option is only available for top-level groups.
|
|
81
83
|
:param pulumi.Input[_builtins.str] project_creation_level: Determine if developers can create projects in the group. Valid values are: `noone`, `owner`, `maintainer`, `developer`, `administrator`
|
|
82
84
|
:param pulumi.Input['GroupPushRulesArgs'] push_rules: Push rules for the group.
|
|
83
85
|
:param pulumi.Input[_builtins.bool] request_access_enabled: Allow users to request member access.
|
|
@@ -136,6 +138,8 @@ class GroupArgs:
|
|
|
136
138
|
pulumi.set(__self__, "permanently_remove_on_delete", permanently_remove_on_delete)
|
|
137
139
|
if prevent_forking_outside_group is not None:
|
|
138
140
|
pulumi.set(__self__, "prevent_forking_outside_group", prevent_forking_outside_group)
|
|
141
|
+
if prevent_sharing_groups_outside_hierarchy is not None:
|
|
142
|
+
pulumi.set(__self__, "prevent_sharing_groups_outside_hierarchy", prevent_sharing_groups_outside_hierarchy)
|
|
139
143
|
if project_creation_level is not None:
|
|
140
144
|
pulumi.set(__self__, "project_creation_level", project_creation_level)
|
|
141
145
|
if push_rules is not None:
|
|
@@ -424,6 +428,18 @@ class GroupArgs:
|
|
|
424
428
|
def prevent_forking_outside_group(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
425
429
|
pulumi.set(self, "prevent_forking_outside_group", value)
|
|
426
430
|
|
|
431
|
+
@_builtins.property
|
|
432
|
+
@pulumi.getter(name="preventSharingGroupsOutsideHierarchy")
|
|
433
|
+
def prevent_sharing_groups_outside_hierarchy(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
434
|
+
"""
|
|
435
|
+
Defaults to false. When enabled, users cannot invite other groups outside of the top-level group’s hierarchy. This option is only available for top-level groups.
|
|
436
|
+
"""
|
|
437
|
+
return pulumi.get(self, "prevent_sharing_groups_outside_hierarchy")
|
|
438
|
+
|
|
439
|
+
@prevent_sharing_groups_outside_hierarchy.setter
|
|
440
|
+
def prevent_sharing_groups_outside_hierarchy(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
441
|
+
pulumi.set(self, "prevent_sharing_groups_outside_hierarchy", value)
|
|
442
|
+
|
|
427
443
|
@_builtins.property
|
|
428
444
|
@pulumi.getter(name="projectCreationLevel")
|
|
429
445
|
def project_creation_level(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -585,6 +601,7 @@ class _GroupState:
|
|
|
585
601
|
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
586
602
|
permanently_remove_on_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
587
603
|
prevent_forking_outside_group: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
604
|
+
prevent_sharing_groups_outside_hierarchy: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
588
605
|
project_creation_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
589
606
|
push_rules: Optional[pulumi.Input['GroupPushRulesArgs']] = None,
|
|
590
607
|
request_access_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -625,6 +642,7 @@ class _GroupState:
|
|
|
625
642
|
:param pulumi.Input[_builtins.str] path: The path of the group.
|
|
626
643
|
:param pulumi.Input[_builtins.bool] permanently_remove_on_delete: Whether the group should be permanently removed during a `delete` operation. This only works with subgroups. Must be configured via an `apply` before the `destroy` is run.
|
|
627
644
|
:param pulumi.Input[_builtins.bool] prevent_forking_outside_group: Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
|
|
645
|
+
:param pulumi.Input[_builtins.bool] prevent_sharing_groups_outside_hierarchy: Defaults to false. When enabled, users cannot invite other groups outside of the top-level group’s hierarchy. This option is only available for top-level groups.
|
|
628
646
|
:param pulumi.Input[_builtins.str] project_creation_level: Determine if developers can create projects in the group. Valid values are: `noone`, `owner`, `maintainer`, `developer`, `administrator`
|
|
629
647
|
:param pulumi.Input['GroupPushRulesArgs'] push_rules: Push rules for the group.
|
|
630
648
|
:param pulumi.Input[_builtins.bool] request_access_enabled: Allow users to request member access.
|
|
@@ -692,6 +710,8 @@ class _GroupState:
|
|
|
692
710
|
pulumi.set(__self__, "permanently_remove_on_delete", permanently_remove_on_delete)
|
|
693
711
|
if prevent_forking_outside_group is not None:
|
|
694
712
|
pulumi.set(__self__, "prevent_forking_outside_group", prevent_forking_outside_group)
|
|
713
|
+
if prevent_sharing_groups_outside_hierarchy is not None:
|
|
714
|
+
pulumi.set(__self__, "prevent_sharing_groups_outside_hierarchy", prevent_sharing_groups_outside_hierarchy)
|
|
695
715
|
if project_creation_level is not None:
|
|
696
716
|
pulumi.set(__self__, "project_creation_level", project_creation_level)
|
|
697
717
|
if push_rules is not None:
|
|
@@ -1020,6 +1040,18 @@ class _GroupState:
|
|
|
1020
1040
|
def prevent_forking_outside_group(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1021
1041
|
pulumi.set(self, "prevent_forking_outside_group", value)
|
|
1022
1042
|
|
|
1043
|
+
@_builtins.property
|
|
1044
|
+
@pulumi.getter(name="preventSharingGroupsOutsideHierarchy")
|
|
1045
|
+
def prevent_sharing_groups_outside_hierarchy(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1046
|
+
"""
|
|
1047
|
+
Defaults to false. When enabled, users cannot invite other groups outside of the top-level group’s hierarchy. This option is only available for top-level groups.
|
|
1048
|
+
"""
|
|
1049
|
+
return pulumi.get(self, "prevent_sharing_groups_outside_hierarchy")
|
|
1050
|
+
|
|
1051
|
+
@prevent_sharing_groups_outside_hierarchy.setter
|
|
1052
|
+
def prevent_sharing_groups_outside_hierarchy(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1053
|
+
pulumi.set(self, "prevent_sharing_groups_outside_hierarchy", value)
|
|
1054
|
+
|
|
1023
1055
|
@_builtins.property
|
|
1024
1056
|
@pulumi.getter(name="projectCreationLevel")
|
|
1025
1057
|
def project_creation_level(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -1205,6 +1237,7 @@ class Group(pulumi.CustomResource):
|
|
|
1205
1237
|
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1206
1238
|
permanently_remove_on_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1207
1239
|
prevent_forking_outside_group: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1240
|
+
prevent_sharing_groups_outside_hierarchy: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1208
1241
|
project_creation_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1209
1242
|
push_rules: Optional[pulumi.Input[Union['GroupPushRulesArgs', 'GroupPushRulesArgsDict']]] = None,
|
|
1210
1243
|
request_access_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -1329,6 +1362,7 @@ class Group(pulumi.CustomResource):
|
|
|
1329
1362
|
:param pulumi.Input[_builtins.str] path: The path of the group.
|
|
1330
1363
|
:param pulumi.Input[_builtins.bool] permanently_remove_on_delete: Whether the group should be permanently removed during a `delete` operation. This only works with subgroups. Must be configured via an `apply` before the `destroy` is run.
|
|
1331
1364
|
:param pulumi.Input[_builtins.bool] prevent_forking_outside_group: Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
|
|
1365
|
+
:param pulumi.Input[_builtins.bool] prevent_sharing_groups_outside_hierarchy: Defaults to false. When enabled, users cannot invite other groups outside of the top-level group’s hierarchy. This option is only available for top-level groups.
|
|
1332
1366
|
:param pulumi.Input[_builtins.str] project_creation_level: Determine if developers can create projects in the group. Valid values are: `noone`, `owner`, `maintainer`, `developer`, `administrator`
|
|
1333
1367
|
:param pulumi.Input[Union['GroupPushRulesArgs', 'GroupPushRulesArgsDict']] push_rules: Push rules for the group.
|
|
1334
1368
|
:param pulumi.Input[_builtins.bool] request_access_enabled: Allow users to request member access.
|
|
@@ -1472,6 +1506,7 @@ class Group(pulumi.CustomResource):
|
|
|
1472
1506
|
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1473
1507
|
permanently_remove_on_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1474
1508
|
prevent_forking_outside_group: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1509
|
+
prevent_sharing_groups_outside_hierarchy: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1475
1510
|
project_creation_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1476
1511
|
push_rules: Optional[pulumi.Input[Union['GroupPushRulesArgs', 'GroupPushRulesArgsDict']]] = None,
|
|
1477
1512
|
request_access_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -1516,6 +1551,7 @@ class Group(pulumi.CustomResource):
|
|
|
1516
1551
|
__props__.__dict__["path"] = path
|
|
1517
1552
|
__props__.__dict__["permanently_remove_on_delete"] = permanently_remove_on_delete
|
|
1518
1553
|
__props__.__dict__["prevent_forking_outside_group"] = prevent_forking_outside_group
|
|
1554
|
+
__props__.__dict__["prevent_sharing_groups_outside_hierarchy"] = prevent_sharing_groups_outside_hierarchy
|
|
1519
1555
|
__props__.__dict__["project_creation_level"] = project_creation_level
|
|
1520
1556
|
__props__.__dict__["push_rules"] = push_rules
|
|
1521
1557
|
__props__.__dict__["request_access_enabled"] = request_access_enabled
|
|
@@ -1569,6 +1605,7 @@ class Group(pulumi.CustomResource):
|
|
|
1569
1605
|
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1570
1606
|
permanently_remove_on_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1571
1607
|
prevent_forking_outside_group: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1608
|
+
prevent_sharing_groups_outside_hierarchy: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1572
1609
|
project_creation_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1573
1610
|
push_rules: Optional[pulumi.Input[Union['GroupPushRulesArgs', 'GroupPushRulesArgsDict']]] = None,
|
|
1574
1611
|
request_access_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -1614,6 +1651,7 @@ class Group(pulumi.CustomResource):
|
|
|
1614
1651
|
:param pulumi.Input[_builtins.str] path: The path of the group.
|
|
1615
1652
|
:param pulumi.Input[_builtins.bool] permanently_remove_on_delete: Whether the group should be permanently removed during a `delete` operation. This only works with subgroups. Must be configured via an `apply` before the `destroy` is run.
|
|
1616
1653
|
:param pulumi.Input[_builtins.bool] prevent_forking_outside_group: Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
|
|
1654
|
+
:param pulumi.Input[_builtins.bool] prevent_sharing_groups_outside_hierarchy: Defaults to false. When enabled, users cannot invite other groups outside of the top-level group’s hierarchy. This option is only available for top-level groups.
|
|
1617
1655
|
:param pulumi.Input[_builtins.str] project_creation_level: Determine if developers can create projects in the group. Valid values are: `noone`, `owner`, `maintainer`, `developer`, `administrator`
|
|
1618
1656
|
:param pulumi.Input[Union['GroupPushRulesArgs', 'GroupPushRulesArgsDict']] push_rules: Push rules for the group.
|
|
1619
1657
|
:param pulumi.Input[_builtins.bool] request_access_enabled: Allow users to request member access.
|
|
@@ -1657,6 +1695,7 @@ class Group(pulumi.CustomResource):
|
|
|
1657
1695
|
__props__.__dict__["path"] = path
|
|
1658
1696
|
__props__.__dict__["permanently_remove_on_delete"] = permanently_remove_on_delete
|
|
1659
1697
|
__props__.__dict__["prevent_forking_outside_group"] = prevent_forking_outside_group
|
|
1698
|
+
__props__.__dict__["prevent_sharing_groups_outside_hierarchy"] = prevent_sharing_groups_outside_hierarchy
|
|
1660
1699
|
__props__.__dict__["project_creation_level"] = project_creation_level
|
|
1661
1700
|
__props__.__dict__["push_rules"] = push_rules
|
|
1662
1701
|
__props__.__dict__["request_access_enabled"] = request_access_enabled
|
|
@@ -1873,6 +1912,14 @@ class Group(pulumi.CustomResource):
|
|
|
1873
1912
|
"""
|
|
1874
1913
|
return pulumi.get(self, "prevent_forking_outside_group")
|
|
1875
1914
|
|
|
1915
|
+
@_builtins.property
|
|
1916
|
+
@pulumi.getter(name="preventSharingGroupsOutsideHierarchy")
|
|
1917
|
+
def prevent_sharing_groups_outside_hierarchy(self) -> pulumi.Output[_builtins.bool]:
|
|
1918
|
+
"""
|
|
1919
|
+
Defaults to false. When enabled, users cannot invite other groups outside of the top-level group’s hierarchy. This option is only available for top-level groups.
|
|
1920
|
+
"""
|
|
1921
|
+
return pulumi.get(self, "prevent_sharing_groups_outside_hierarchy")
|
|
1922
|
+
|
|
1876
1923
|
@_builtins.property
|
|
1877
1924
|
@pulumi.getter(name="projectCreationLevel")
|
|
1878
1925
|
def project_creation_level(self) -> pulumi.Output[_builtins.str]:
|
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:
|
|
@@ -4838,6 +4849,7 @@ class GetGroupsGroupResult(dict):
|
|
|
4838
4849
|
parent_id: _builtins.int,
|
|
4839
4850
|
path: _builtins.str,
|
|
4840
4851
|
prevent_forking_outside_group: _builtins.bool,
|
|
4852
|
+
prevent_sharing_groups_outside_hierarchy: _builtins.bool,
|
|
4841
4853
|
request_access_enabled: _builtins.bool,
|
|
4842
4854
|
runners_token: _builtins.str,
|
|
4843
4855
|
shared_runners_setting: _builtins.str,
|
|
@@ -4855,6 +4867,7 @@ class GetGroupsGroupResult(dict):
|
|
|
4855
4867
|
:param _builtins.int parent_id: ID of the parent group.
|
|
4856
4868
|
:param _builtins.str path: The path of the group.
|
|
4857
4869
|
:param _builtins.bool prevent_forking_outside_group: When enabled, users can not fork projects from this group to external namespaces.
|
|
4870
|
+
:param _builtins.bool prevent_sharing_groups_outside_hierarchy: When enabled, users cannot invite other groups outside of the top-level group’s hierarchy. This option is only available for top-level groups.
|
|
4858
4871
|
:param _builtins.bool request_access_enabled: Is request for access enabled to the group.
|
|
4859
4872
|
:param _builtins.str runners_token: The group level registration token to use during runner setup.
|
|
4860
4873
|
:param _builtins.str shared_runners_setting: Enable or disable shared runners for a group's subgroups and projects. Valid values are: `enabled`, `disabled_and_overridable`, `disabled_and_unoverridable`, `disabled_with_override`.
|
|
@@ -4872,6 +4885,7 @@ class GetGroupsGroupResult(dict):
|
|
|
4872
4885
|
pulumi.set(__self__, "parent_id", parent_id)
|
|
4873
4886
|
pulumi.set(__self__, "path", path)
|
|
4874
4887
|
pulumi.set(__self__, "prevent_forking_outside_group", prevent_forking_outside_group)
|
|
4888
|
+
pulumi.set(__self__, "prevent_sharing_groups_outside_hierarchy", prevent_sharing_groups_outside_hierarchy)
|
|
4875
4889
|
pulumi.set(__self__, "request_access_enabled", request_access_enabled)
|
|
4876
4890
|
pulumi.set(__self__, "runners_token", runners_token)
|
|
4877
4891
|
pulumi.set(__self__, "shared_runners_setting", shared_runners_setting)
|
|
@@ -4960,6 +4974,14 @@ class GetGroupsGroupResult(dict):
|
|
|
4960
4974
|
"""
|
|
4961
4975
|
return pulumi.get(self, "prevent_forking_outside_group")
|
|
4962
4976
|
|
|
4977
|
+
@_builtins.property
|
|
4978
|
+
@pulumi.getter(name="preventSharingGroupsOutsideHierarchy")
|
|
4979
|
+
def prevent_sharing_groups_outside_hierarchy(self) -> _builtins.bool:
|
|
4980
|
+
"""
|
|
4981
|
+
When enabled, users cannot invite other groups outside of the top-level group’s hierarchy. This option is only available for top-level groups.
|
|
4982
|
+
"""
|
|
4983
|
+
return pulumi.get(self, "prevent_sharing_groups_outside_hierarchy")
|
|
4984
|
+
|
|
4963
4985
|
@_builtins.property
|
|
4964
4986
|
@pulumi.getter(name="requestAccessEnabled")
|
|
4965
4987
|
def request_access_enabled(self) -> _builtins.bool:
|
|
@@ -6362,6 +6384,7 @@ class GetProjectHooksHookResult(dict):
|
|
|
6362
6384
|
tag_push_events: _builtins.bool,
|
|
6363
6385
|
token: _builtins.str,
|
|
6364
6386
|
url: _builtins.str,
|
|
6387
|
+
vulnerability_events: _builtins.bool,
|
|
6365
6388
|
wiki_page_events: _builtins.bool):
|
|
6366
6389
|
"""
|
|
6367
6390
|
:param _builtins.bool confidential_issues_events: Invoke the hook for confidential issues events.
|
|
@@ -6383,6 +6406,7 @@ class GetProjectHooksHookResult(dict):
|
|
|
6383
6406
|
:param _builtins.bool tag_push_events: Invoke the hook for tag push events.
|
|
6384
6407
|
: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
6408
|
:param _builtins.str url: The url of the hook to invoke.
|
|
6409
|
+
:param _builtins.bool vulnerability_events: Invoke the hook for vulnerability events.
|
|
6386
6410
|
:param _builtins.bool wiki_page_events: Invoke the hook for wiki page events.
|
|
6387
6411
|
"""
|
|
6388
6412
|
pulumi.set(__self__, "confidential_issues_events", confidential_issues_events)
|
|
@@ -6404,6 +6428,7 @@ class GetProjectHooksHookResult(dict):
|
|
|
6404
6428
|
pulumi.set(__self__, "tag_push_events", tag_push_events)
|
|
6405
6429
|
pulumi.set(__self__, "token", token)
|
|
6406
6430
|
pulumi.set(__self__, "url", url)
|
|
6431
|
+
pulumi.set(__self__, "vulnerability_events", vulnerability_events)
|
|
6407
6432
|
pulumi.set(__self__, "wiki_page_events", wiki_page_events)
|
|
6408
6433
|
|
|
6409
6434
|
@_builtins.property
|
|
@@ -6559,6 +6584,14 @@ class GetProjectHooksHookResult(dict):
|
|
|
6559
6584
|
"""
|
|
6560
6585
|
return pulumi.get(self, "url")
|
|
6561
6586
|
|
|
6587
|
+
@_builtins.property
|
|
6588
|
+
@pulumi.getter(name="vulnerabilityEvents")
|
|
6589
|
+
def vulnerability_events(self) -> _builtins.bool:
|
|
6590
|
+
"""
|
|
6591
|
+
Invoke the hook for vulnerability events.
|
|
6592
|
+
"""
|
|
6593
|
+
return pulumi.get(self, "vulnerability_events")
|
|
6594
|
+
|
|
6562
6595
|
@_builtins.property
|
|
6563
6596
|
@pulumi.getter(name="wikiPageEvents")
|
|
6564
6597
|
def wiki_page_events(self) -> _builtins.bool:
|
pulumi_gitlab/project.py
CHANGED
|
@@ -4892,7 +4892,7 @@ class Project(pulumi.CustomResource):
|
|
|
4892
4892
|
|
|
4893
4893
|
@_builtins.property
|
|
4894
4894
|
@pulumi.getter(name="importUrl")
|
|
4895
|
-
def import_url(self) -> pulumi.Output[
|
|
4895
|
+
def import_url(self) -> pulumi.Output[_builtins.str]:
|
|
4896
4896
|
"""
|
|
4897
4897
|
Git URL to a repository to be imported. Together with `mirror = true` it will setup a Pull Mirror. This can also be used together with `forked_from_project_id` to setup a Pull Mirror for a fork. The fork takes precedence over the import. Make sure to provide the credentials in `import_url_username` and `import_url_password`. GitLab never returns the credentials, thus the provider cannot detect configuration drift in the credentials. They can also not be imported using `pulumi import`. See the examples section for how to properly use it.
|
|
4898
4898
|
"""
|
|
@@ -5038,7 +5038,7 @@ class Project(pulumi.CustomResource):
|
|
|
5038
5038
|
|
|
5039
5039
|
@_builtins.property
|
|
5040
5040
|
@pulumi.getter
|
|
5041
|
-
def mirror(self) -> pulumi.Output[
|
|
5041
|
+
def mirror(self) -> pulumi.Output[_builtins.bool]:
|
|
5042
5042
|
"""
|
|
5043
5043
|
Enable project pull mirror.
|
|
5044
5044
|
"""
|
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.9.0a1768542389.dist-info → pulumi_gitlab-9.9.0a1769172954.dist-info}/RECORD
RENAMED
|
@@ -19,10 +19,10 @@ pulumi_gitlab/get_cluster_agent.py,sha256=iwTqj8ZnCgX8nJTzcbrE6GPVErjv_HgENPgbCc
|
|
|
19
19
|
pulumi_gitlab/get_cluster_agents.py,sha256=_G242BH8y3zZuOILvlTaIXfYyCKzqEstVQt8rz7EaJc,4764
|
|
20
20
|
pulumi_gitlab/get_compliance_framework.py,sha256=7y9VD1LBEqmQrmxd5IVPKeRWhk8Z6cqub_s9UW3s0nM,8695
|
|
21
21
|
pulumi_gitlab/get_current_user.py,sha256=bViEaUXlbt63mH5IjGNKHAsifCm29P5QiM24xaUb3Ns,7832
|
|
22
|
-
pulumi_gitlab/get_group.py,sha256=
|
|
22
|
+
pulumi_gitlab/get_group.py,sha256=pARbh65K06KFEL3qn6INB_RuqaFDFxhuKDSsDLlPvws,18837
|
|
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
|
|
@@ -80,7 +80,7 @@ pulumi_gitlab/get_user.py,sha256=2rOWfEt-H4YtiIa2NrCH3vS7lAbXuNsB8QccAexVphE,232
|
|
|
80
80
|
pulumi_gitlab/get_user_sshkeys.py,sha256=scInXXnKt-97WzrjUXZWtVxlWaQIq6sgr8ga7xiMQDE,5097
|
|
81
81
|
pulumi_gitlab/get_users.py,sha256=auAZ02cMuSTO5jtWzEdtUwu8gk8knDJPAflH0ftJPjY,19393
|
|
82
82
|
pulumi_gitlab/global_level_notifications.py,sha256=5G94vzvat1k3cIPsCfc1yKxUkKfWVqDJRNfWR470_G4,53007
|
|
83
|
-
pulumi_gitlab/group.py,sha256=
|
|
83
|
+
pulumi_gitlab/group.py,sha256=WVByhq09jhSCXXnwzIp4vsi1amLELRT_UgTht1yRPgU,114788
|
|
84
84
|
pulumi_gitlab/group_access_token.py,sha256=hDMEo250e1r-h8gv-xod6Yr2Bheur4V6IEcCw4is7I8,35535
|
|
85
85
|
pulumi_gitlab/group_badge.py,sha256=WR9ThyUKTPh-1gjy7Z-xveuA905e22Tz8cWIwmASDrc,18949
|
|
86
86
|
pulumi_gitlab/group_cluster.py,sha256=iocCCOb_06u5WAbPKhIQqXTu4noiF3eXx2zCD3QSj7o,36943
|
|
@@ -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,13 +120,13 @@ 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=GmBMdXOrgbOuMTEhy52bzF9koWAYPQcS6Iiyq6hmQgI,475162
|
|
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
|
|
127
127
|
pulumi_gitlab/pipeline_schedule_variable.py,sha256=dZSQ8z2egOSHGeJ5wPJguGK-_e4U2zQq3-NCL9_0qh8,17398
|
|
128
128
|
pulumi_gitlab/pipeline_trigger.py,sha256=2HduK2DJqxsOyXsOYxGsiU-bxcI2BVM2LFIwIel2NWM,12682
|
|
129
|
-
pulumi_gitlab/project.py,sha256=
|
|
129
|
+
pulumi_gitlab/project.py,sha256=s5BO1I71zLv_jf6IVJL8fnHESQ_LjzYK5khxFvtukxo,337195
|
|
130
130
|
pulumi_gitlab/project_access_token.py,sha256=GtmRfxR3w52sYpicX_nMvzjW4dvhIrU8_jmJ0SWRpxc,35920
|
|
131
131
|
pulumi_gitlab/project_approval_rule.py,sha256=PGPoYugk-11ItJK6ah6U0kzFIA8rTotJkBIR08kKGEk,36738
|
|
132
132
|
pulumi_gitlab/project_badge.py,sha256=Hqr40R54NWDH0sGEzjZqERlpNglcuHg89npy53zcPM8,19105
|
|
@@ -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=vddNP1YT6_RRpKt4O-NsBp8jnHUqaiMcDs_FkILyvTg,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.9.
|
|
205
|
-
pulumi_gitlab-9.9.
|
|
206
|
-
pulumi_gitlab-9.9.
|
|
207
|
-
pulumi_gitlab-9.9.
|
|
204
|
+
pulumi_gitlab-9.9.0a1769172954.dist-info/METADATA,sha256=gT_hFQifz3TQCi7EVhJP_AhniPAtBX4p7Xdb262vj0E,3447
|
|
205
|
+
pulumi_gitlab-9.9.0a1769172954.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
|
|
206
|
+
pulumi_gitlab-9.9.0a1769172954.dist-info/top_level.txt,sha256=fl4bklikEmbp3mE-JWfvC3JROXPLQGxFaJd_j_qmjgE,14
|
|
207
|
+
pulumi_gitlab-9.9.0a1769172954.dist-info/RECORD,,
|
{pulumi_gitlab-9.9.0a1768542389.dist-info → pulumi_gitlab-9.9.0a1769172954.dist-info}/top_level.txt
RENAMED
|
File without changes
|