pulumi-gitlab 9.8.0a1768501030__py3-none-any.whl → 9.8.0a1768535360__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.
@@ -47,26 +47,26 @@ class ProjectHookArgs:
47
47
  The set of arguments for constructing a ProjectHook resource.
48
48
  :param pulumi.Input[_builtins.str] project: The name or id of the project to add the hook to.
49
49
  :param pulumi.Input[_builtins.str] url: The url of the hook to invoke. Forces re-creation to preserve `token`.
50
- :param pulumi.Input[_builtins.bool] confidential_issues_events: Invoke the hook for confidential issues events.
51
- :param pulumi.Input[_builtins.bool] confidential_note_events: Invoke the hook for confidential note events.
50
+ :param pulumi.Input[_builtins.bool] confidential_issues_events: Invoke the hook for confidential issues events. Defaults to `false`.
51
+ :param pulumi.Input[_builtins.bool] confidential_note_events: Invoke the hook for confidential note events. Defaults to `false`.
52
52
  :param pulumi.Input[Sequence[pulumi.Input['ProjectHookCustomHeaderArgs']]] custom_headers: Custom headers for the project webhook. Available from GitLab 17.1 onwards.
53
53
  :param pulumi.Input[_builtins.str] custom_webhook_template: Custom webhook template.
54
- :param pulumi.Input[_builtins.bool] deployment_events: Invoke the hook for deployment events.
54
+ :param pulumi.Input[_builtins.bool] deployment_events: Invoke the hook for deployment events. Defaults to `false`.
55
55
  :param pulumi.Input[_builtins.str] description: Description of the webhook.
56
- :param pulumi.Input[_builtins.bool] enable_ssl_verification: Enable SSL verification when invoking the hook.
57
- :param pulumi.Input[_builtins.bool] issues_events: Invoke the hook for issues events.
58
- :param pulumi.Input[_builtins.bool] job_events: Invoke the hook for job events.
59
- :param pulumi.Input[_builtins.bool] merge_requests_events: Invoke the hook for merge requests events.
56
+ :param pulumi.Input[_builtins.bool] enable_ssl_verification: Enable SSL verification when invoking the hook. Defaults to `true`.
57
+ :param pulumi.Input[_builtins.bool] issues_events: Invoke the hook for issues events. Defaults to `false`.
58
+ :param pulumi.Input[_builtins.bool] job_events: Invoke the hook for job events. Defaults to `false`.
59
+ :param pulumi.Input[_builtins.bool] merge_requests_events: Invoke the hook for merge requests events. Defaults to `false`.
60
60
  :param pulumi.Input[_builtins.str] name: Name of the project webhook.
61
- :param pulumi.Input[_builtins.bool] note_events: Invoke the hook for note events.
62
- :param pulumi.Input[_builtins.bool] pipeline_events: Invoke the hook for pipeline events.
63
- :param pulumi.Input[_builtins.bool] push_events: Invoke the hook for push events.
61
+ :param pulumi.Input[_builtins.bool] note_events: Invoke the hook for note events. Defaults to `false`.
62
+ :param pulumi.Input[_builtins.bool] pipeline_events: Invoke the hook for pipeline events. Defaults to `false`.
63
+ :param pulumi.Input[_builtins.bool] push_events: Invoke the hook for push events. Defaults to `true`.
64
64
  :param pulumi.Input[_builtins.str] push_events_branch_filter: Invoke the hook for push events on matching branches only.
65
- :param pulumi.Input[_builtins.bool] releases_events: Invoke the hook for release events.
66
- :param pulumi.Input[_builtins.bool] resource_access_token_events: Invoke the hook for project access token expiry events.
67
- :param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events.
65
+ :param pulumi.Input[_builtins.bool] releases_events: Invoke the hook for release events. Defaults to `false`.
66
+ :param pulumi.Input[_builtins.bool] resource_access_token_events: Invoke the hook for project access token expiry events. Defaults to `false`.
67
+ :param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events. Defaults to `false`.
68
68
  :param pulumi.Input[_builtins.str] token: A token to present when invoking the hook. The token is not available for imported resources.
69
- :param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events.
69
+ :param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events. Defaults to `false`.
70
70
  """
71
71
  pulumi.set(__self__, "project", project)
72
72
  pulumi.set(__self__, "url", url)
@@ -139,7 +139,7 @@ class ProjectHookArgs:
139
139
  @pulumi.getter(name="confidentialIssuesEvents")
140
140
  def confidential_issues_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
141
141
  """
142
- Invoke the hook for confidential issues events.
142
+ Invoke the hook for confidential issues events. Defaults to `false`.
143
143
  """
144
144
  return pulumi.get(self, "confidential_issues_events")
145
145
 
@@ -151,7 +151,7 @@ class ProjectHookArgs:
151
151
  @pulumi.getter(name="confidentialNoteEvents")
152
152
  def confidential_note_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
153
153
  """
154
- Invoke the hook for confidential note events.
154
+ Invoke the hook for confidential note events. Defaults to `false`.
155
155
  """
156
156
  return pulumi.get(self, "confidential_note_events")
157
157
 
@@ -187,7 +187,7 @@ class ProjectHookArgs:
187
187
  @pulumi.getter(name="deploymentEvents")
188
188
  def deployment_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
189
189
  """
190
- Invoke the hook for deployment events.
190
+ Invoke the hook for deployment events. Defaults to `false`.
191
191
  """
192
192
  return pulumi.get(self, "deployment_events")
193
193
 
@@ -211,7 +211,7 @@ class ProjectHookArgs:
211
211
  @pulumi.getter(name="enableSslVerification")
212
212
  def enable_ssl_verification(self) -> Optional[pulumi.Input[_builtins.bool]]:
213
213
  """
214
- Enable SSL verification when invoking the hook.
214
+ Enable SSL verification when invoking the hook. Defaults to `true`.
215
215
  """
216
216
  return pulumi.get(self, "enable_ssl_verification")
217
217
 
@@ -223,7 +223,7 @@ class ProjectHookArgs:
223
223
  @pulumi.getter(name="issuesEvents")
224
224
  def issues_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
225
225
  """
226
- Invoke the hook for issues events.
226
+ Invoke the hook for issues events. Defaults to `false`.
227
227
  """
228
228
  return pulumi.get(self, "issues_events")
229
229
 
@@ -235,7 +235,7 @@ class ProjectHookArgs:
235
235
  @pulumi.getter(name="jobEvents")
236
236
  def job_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
237
237
  """
238
- Invoke the hook for job events.
238
+ Invoke the hook for job events. Defaults to `false`.
239
239
  """
240
240
  return pulumi.get(self, "job_events")
241
241
 
@@ -247,7 +247,7 @@ class ProjectHookArgs:
247
247
  @pulumi.getter(name="mergeRequestsEvents")
248
248
  def merge_requests_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
249
249
  """
250
- Invoke the hook for merge requests events.
250
+ Invoke the hook for merge requests events. Defaults to `false`.
251
251
  """
252
252
  return pulumi.get(self, "merge_requests_events")
253
253
 
@@ -271,7 +271,7 @@ class ProjectHookArgs:
271
271
  @pulumi.getter(name="noteEvents")
272
272
  def note_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
273
273
  """
274
- Invoke the hook for note events.
274
+ Invoke the hook for note events. Defaults to `false`.
275
275
  """
276
276
  return pulumi.get(self, "note_events")
277
277
 
@@ -283,7 +283,7 @@ class ProjectHookArgs:
283
283
  @pulumi.getter(name="pipelineEvents")
284
284
  def pipeline_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
285
285
  """
286
- Invoke the hook for pipeline events.
286
+ Invoke the hook for pipeline events. Defaults to `false`.
287
287
  """
288
288
  return pulumi.get(self, "pipeline_events")
289
289
 
@@ -295,7 +295,7 @@ class ProjectHookArgs:
295
295
  @pulumi.getter(name="pushEvents")
296
296
  def push_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
297
297
  """
298
- Invoke the hook for push events.
298
+ Invoke the hook for push events. Defaults to `true`.
299
299
  """
300
300
  return pulumi.get(self, "push_events")
301
301
 
@@ -319,7 +319,7 @@ class ProjectHookArgs:
319
319
  @pulumi.getter(name="releasesEvents")
320
320
  def releases_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
321
321
  """
322
- Invoke the hook for release events.
322
+ Invoke the hook for release events. Defaults to `false`.
323
323
  """
324
324
  return pulumi.get(self, "releases_events")
325
325
 
@@ -331,7 +331,7 @@ class ProjectHookArgs:
331
331
  @pulumi.getter(name="resourceAccessTokenEvents")
332
332
  def resource_access_token_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
333
333
  """
334
- Invoke the hook for project access token expiry events.
334
+ Invoke the hook for project access token expiry events. Defaults to `false`.
335
335
  """
336
336
  return pulumi.get(self, "resource_access_token_events")
337
337
 
@@ -343,7 +343,7 @@ class ProjectHookArgs:
343
343
  @pulumi.getter(name="tagPushEvents")
344
344
  def tag_push_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
345
345
  """
346
- Invoke the hook for tag push events.
346
+ Invoke the hook for tag push events. Defaults to `false`.
347
347
  """
348
348
  return pulumi.get(self, "tag_push_events")
349
349
 
@@ -367,7 +367,7 @@ class ProjectHookArgs:
367
367
  @pulumi.getter(name="wikiPageEvents")
368
368
  def wiki_page_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
369
369
  """
370
- Invoke the hook for wiki page events.
370
+ Invoke the hook for wiki page events. Defaults to `false`.
371
371
  """
372
372
  return pulumi.get(self, "wiki_page_events")
373
373
 
@@ -405,30 +405,30 @@ class _ProjectHookState:
405
405
  wiki_page_events: Optional[pulumi.Input[_builtins.bool]] = None):
406
406
  """
407
407
  Input properties used for looking up and filtering ProjectHook resources.
408
- :param pulumi.Input[_builtins.bool] confidential_issues_events: Invoke the hook for confidential issues events.
409
- :param pulumi.Input[_builtins.bool] confidential_note_events: Invoke the hook for confidential note events.
408
+ :param pulumi.Input[_builtins.bool] confidential_issues_events: Invoke the hook for confidential issues events. Defaults to `false`.
409
+ :param pulumi.Input[_builtins.bool] confidential_note_events: Invoke the hook for confidential note events. Defaults to `false`.
410
410
  :param pulumi.Input[Sequence[pulumi.Input['ProjectHookCustomHeaderArgs']]] custom_headers: Custom headers for the project webhook. Available from GitLab 17.1 onwards.
411
411
  :param pulumi.Input[_builtins.str] custom_webhook_template: Custom webhook template.
412
- :param pulumi.Input[_builtins.bool] deployment_events: Invoke the hook for deployment events.
412
+ :param pulumi.Input[_builtins.bool] deployment_events: Invoke the hook for deployment events. Defaults to `false`.
413
413
  :param pulumi.Input[_builtins.str] description: Description of the webhook.
414
- :param pulumi.Input[_builtins.bool] enable_ssl_verification: Enable SSL verification when invoking the hook.
414
+ :param pulumi.Input[_builtins.bool] enable_ssl_verification: Enable SSL verification when invoking the hook. Defaults to `true`.
415
415
  :param pulumi.Input[_builtins.int] hook_id: The id of the project hook.
416
- :param pulumi.Input[_builtins.bool] issues_events: Invoke the hook for issues events.
417
- :param pulumi.Input[_builtins.bool] job_events: Invoke the hook for job events.
418
- :param pulumi.Input[_builtins.bool] merge_requests_events: Invoke the hook for merge requests events.
416
+ :param pulumi.Input[_builtins.bool] issues_events: Invoke the hook for issues events. Defaults to `false`.
417
+ :param pulumi.Input[_builtins.bool] job_events: Invoke the hook for job events. Defaults to `false`.
418
+ :param pulumi.Input[_builtins.bool] merge_requests_events: Invoke the hook for merge requests events. Defaults to `false`.
419
419
  :param pulumi.Input[_builtins.str] name: Name of the project webhook.
420
- :param pulumi.Input[_builtins.bool] note_events: Invoke the hook for note events.
421
- :param pulumi.Input[_builtins.bool] pipeline_events: Invoke the hook for pipeline events.
420
+ :param pulumi.Input[_builtins.bool] note_events: Invoke the hook for note events. Defaults to `false`.
421
+ :param pulumi.Input[_builtins.bool] pipeline_events: Invoke the hook for pipeline events. Defaults to `false`.
422
422
  :param pulumi.Input[_builtins.str] project: The name or id of the project to add the hook to.
423
423
  :param pulumi.Input[_builtins.int] project_id: The id of the project for the hook.
424
- :param pulumi.Input[_builtins.bool] push_events: Invoke the hook for push events.
424
+ :param pulumi.Input[_builtins.bool] push_events: Invoke the hook for push events. Defaults to `true`.
425
425
  :param pulumi.Input[_builtins.str] push_events_branch_filter: Invoke the hook for push events on matching branches only.
426
- :param pulumi.Input[_builtins.bool] releases_events: Invoke the hook for release events.
427
- :param pulumi.Input[_builtins.bool] resource_access_token_events: Invoke the hook for project access token expiry events.
428
- :param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events.
426
+ :param pulumi.Input[_builtins.bool] releases_events: Invoke the hook for release events. Defaults to `false`.
427
+ :param pulumi.Input[_builtins.bool] resource_access_token_events: Invoke the hook for project access token expiry events. Defaults to `false`.
428
+ :param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events. Defaults to `false`.
429
429
  :param pulumi.Input[_builtins.str] token: A token to present when invoking the hook. The token is not available for imported resources.
430
430
  :param pulumi.Input[_builtins.str] url: The url of the hook to invoke. Forces re-creation to preserve `token`.
431
- :param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events.
431
+ :param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events. Defaults to `false`.
432
432
  """
433
433
  if confidential_issues_events is not None:
434
434
  pulumi.set(__self__, "confidential_issues_events", confidential_issues_events)
@@ -483,7 +483,7 @@ class _ProjectHookState:
483
483
  @pulumi.getter(name="confidentialIssuesEvents")
484
484
  def confidential_issues_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
485
485
  """
486
- Invoke the hook for confidential issues events.
486
+ Invoke the hook for confidential issues events. Defaults to `false`.
487
487
  """
488
488
  return pulumi.get(self, "confidential_issues_events")
489
489
 
@@ -495,7 +495,7 @@ class _ProjectHookState:
495
495
  @pulumi.getter(name="confidentialNoteEvents")
496
496
  def confidential_note_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
497
497
  """
498
- Invoke the hook for confidential note events.
498
+ Invoke the hook for confidential note events. Defaults to `false`.
499
499
  """
500
500
  return pulumi.get(self, "confidential_note_events")
501
501
 
@@ -531,7 +531,7 @@ class _ProjectHookState:
531
531
  @pulumi.getter(name="deploymentEvents")
532
532
  def deployment_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
533
533
  """
534
- Invoke the hook for deployment events.
534
+ Invoke the hook for deployment events. Defaults to `false`.
535
535
  """
536
536
  return pulumi.get(self, "deployment_events")
537
537
 
@@ -555,7 +555,7 @@ class _ProjectHookState:
555
555
  @pulumi.getter(name="enableSslVerification")
556
556
  def enable_ssl_verification(self) -> Optional[pulumi.Input[_builtins.bool]]:
557
557
  """
558
- Enable SSL verification when invoking the hook.
558
+ Enable SSL verification when invoking the hook. Defaults to `true`.
559
559
  """
560
560
  return pulumi.get(self, "enable_ssl_verification")
561
561
 
@@ -579,7 +579,7 @@ class _ProjectHookState:
579
579
  @pulumi.getter(name="issuesEvents")
580
580
  def issues_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
581
581
  """
582
- Invoke the hook for issues events.
582
+ Invoke the hook for issues events. Defaults to `false`.
583
583
  """
584
584
  return pulumi.get(self, "issues_events")
585
585
 
@@ -591,7 +591,7 @@ class _ProjectHookState:
591
591
  @pulumi.getter(name="jobEvents")
592
592
  def job_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
593
593
  """
594
- Invoke the hook for job events.
594
+ Invoke the hook for job events. Defaults to `false`.
595
595
  """
596
596
  return pulumi.get(self, "job_events")
597
597
 
@@ -603,7 +603,7 @@ class _ProjectHookState:
603
603
  @pulumi.getter(name="mergeRequestsEvents")
604
604
  def merge_requests_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
605
605
  """
606
- Invoke the hook for merge requests events.
606
+ Invoke the hook for merge requests events. Defaults to `false`.
607
607
  """
608
608
  return pulumi.get(self, "merge_requests_events")
609
609
 
@@ -627,7 +627,7 @@ class _ProjectHookState:
627
627
  @pulumi.getter(name="noteEvents")
628
628
  def note_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
629
629
  """
630
- Invoke the hook for note events.
630
+ Invoke the hook for note events. Defaults to `false`.
631
631
  """
632
632
  return pulumi.get(self, "note_events")
633
633
 
@@ -639,7 +639,7 @@ class _ProjectHookState:
639
639
  @pulumi.getter(name="pipelineEvents")
640
640
  def pipeline_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
641
641
  """
642
- Invoke the hook for pipeline events.
642
+ Invoke the hook for pipeline events. Defaults to `false`.
643
643
  """
644
644
  return pulumi.get(self, "pipeline_events")
645
645
 
@@ -675,7 +675,7 @@ class _ProjectHookState:
675
675
  @pulumi.getter(name="pushEvents")
676
676
  def push_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
677
677
  """
678
- Invoke the hook for push events.
678
+ Invoke the hook for push events. Defaults to `true`.
679
679
  """
680
680
  return pulumi.get(self, "push_events")
681
681
 
@@ -699,7 +699,7 @@ class _ProjectHookState:
699
699
  @pulumi.getter(name="releasesEvents")
700
700
  def releases_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
701
701
  """
702
- Invoke the hook for release events.
702
+ Invoke the hook for release events. Defaults to `false`.
703
703
  """
704
704
  return pulumi.get(self, "releases_events")
705
705
 
@@ -711,7 +711,7 @@ class _ProjectHookState:
711
711
  @pulumi.getter(name="resourceAccessTokenEvents")
712
712
  def resource_access_token_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
713
713
  """
714
- Invoke the hook for project access token expiry events.
714
+ Invoke the hook for project access token expiry events. Defaults to `false`.
715
715
  """
716
716
  return pulumi.get(self, "resource_access_token_events")
717
717
 
@@ -723,7 +723,7 @@ class _ProjectHookState:
723
723
  @pulumi.getter(name="tagPushEvents")
724
724
  def tag_push_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
725
725
  """
726
- Invoke the hook for tag push events.
726
+ Invoke the hook for tag push events. Defaults to `false`.
727
727
  """
728
728
  return pulumi.get(self, "tag_push_events")
729
729
 
@@ -759,7 +759,7 @@ class _ProjectHookState:
759
759
  @pulumi.getter(name="wikiPageEvents")
760
760
  def wiki_page_events(self) -> Optional[pulumi.Input[_builtins.bool]]:
761
761
  """
762
- Invoke the hook for wiki page events.
762
+ Invoke the hook for wiki page events. Defaults to `false`.
763
763
  """
764
764
  return pulumi.get(self, "wiki_page_events")
765
765
 
@@ -800,6 +800,8 @@ class ProjectHook(pulumi.CustomResource):
800
800
  """
801
801
  The `ProjectHook` resource allows to manage the lifecycle of a project hook.
802
802
 
803
+ > Note that `push_events` defaults to `true`.
804
+
803
805
  **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_webhooks/)
804
806
 
805
807
  ## Example Usage
@@ -813,7 +815,8 @@ class ProjectHook(pulumi.CustomResource):
813
815
  url="https://example.com/hook/example",
814
816
  name="example",
815
817
  description="Example hook",
816
- merge_requests_events=True)
818
+ merge_requests_events=True,
819
+ push_events=False)
817
820
  # Using Custom Headers
818
821
  # Values of headers can't be imported
819
822
  custom_headers = gitlab.ProjectHook("custom_headers",
@@ -858,28 +861,28 @@ class ProjectHook(pulumi.CustomResource):
858
861
 
859
862
  :param str resource_name: The name of the resource.
860
863
  :param pulumi.ResourceOptions opts: Options for the resource.
861
- :param pulumi.Input[_builtins.bool] confidential_issues_events: Invoke the hook for confidential issues events.
862
- :param pulumi.Input[_builtins.bool] confidential_note_events: Invoke the hook for confidential note events.
864
+ :param pulumi.Input[_builtins.bool] confidential_issues_events: Invoke the hook for confidential issues events. Defaults to `false`.
865
+ :param pulumi.Input[_builtins.bool] confidential_note_events: Invoke the hook for confidential note events. Defaults to `false`.
863
866
  :param pulumi.Input[Sequence[pulumi.Input[Union['ProjectHookCustomHeaderArgs', 'ProjectHookCustomHeaderArgsDict']]]] custom_headers: Custom headers for the project webhook. Available from GitLab 17.1 onwards.
864
867
  :param pulumi.Input[_builtins.str] custom_webhook_template: Custom webhook template.
865
- :param pulumi.Input[_builtins.bool] deployment_events: Invoke the hook for deployment events.
868
+ :param pulumi.Input[_builtins.bool] deployment_events: Invoke the hook for deployment events. Defaults to `false`.
866
869
  :param pulumi.Input[_builtins.str] description: Description of the webhook.
867
- :param pulumi.Input[_builtins.bool] enable_ssl_verification: Enable SSL verification when invoking the hook.
868
- :param pulumi.Input[_builtins.bool] issues_events: Invoke the hook for issues events.
869
- :param pulumi.Input[_builtins.bool] job_events: Invoke the hook for job events.
870
- :param pulumi.Input[_builtins.bool] merge_requests_events: Invoke the hook for merge requests events.
870
+ :param pulumi.Input[_builtins.bool] enable_ssl_verification: Enable SSL verification when invoking the hook. Defaults to `true`.
871
+ :param pulumi.Input[_builtins.bool] issues_events: Invoke the hook for issues events. Defaults to `false`.
872
+ :param pulumi.Input[_builtins.bool] job_events: Invoke the hook for job events. Defaults to `false`.
873
+ :param pulumi.Input[_builtins.bool] merge_requests_events: Invoke the hook for merge requests events. Defaults to `false`.
871
874
  :param pulumi.Input[_builtins.str] name: Name of the project webhook.
872
- :param pulumi.Input[_builtins.bool] note_events: Invoke the hook for note events.
873
- :param pulumi.Input[_builtins.bool] pipeline_events: Invoke the hook for pipeline events.
875
+ :param pulumi.Input[_builtins.bool] note_events: Invoke the hook for note events. Defaults to `false`.
876
+ :param pulumi.Input[_builtins.bool] pipeline_events: Invoke the hook for pipeline events. Defaults to `false`.
874
877
  :param pulumi.Input[_builtins.str] project: The name or id of the project to add the hook to.
875
- :param pulumi.Input[_builtins.bool] push_events: Invoke the hook for push events.
878
+ :param pulumi.Input[_builtins.bool] push_events: Invoke the hook for push events. Defaults to `true`.
876
879
  :param pulumi.Input[_builtins.str] push_events_branch_filter: Invoke the hook for push events on matching branches only.
877
- :param pulumi.Input[_builtins.bool] releases_events: Invoke the hook for release events.
878
- :param pulumi.Input[_builtins.bool] resource_access_token_events: Invoke the hook for project access token expiry events.
879
- :param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events.
880
+ :param pulumi.Input[_builtins.bool] releases_events: Invoke the hook for release events. Defaults to `false`.
881
+ :param pulumi.Input[_builtins.bool] resource_access_token_events: Invoke the hook for project access token expiry events. Defaults to `false`.
882
+ :param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events. Defaults to `false`.
880
883
  :param pulumi.Input[_builtins.str] token: A token to present when invoking the hook. The token is not available for imported resources.
881
884
  :param pulumi.Input[_builtins.str] url: The url of the hook to invoke. Forces re-creation to preserve `token`.
882
- :param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events.
885
+ :param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events. Defaults to `false`.
883
886
  """
884
887
  ...
885
888
  @overload
@@ -890,6 +893,8 @@ class ProjectHook(pulumi.CustomResource):
890
893
  """
891
894
  The `ProjectHook` resource allows to manage the lifecycle of a project hook.
892
895
 
896
+ > Note that `push_events` defaults to `true`.
897
+
893
898
  **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_webhooks/)
894
899
 
895
900
  ## Example Usage
@@ -903,7 +908,8 @@ class ProjectHook(pulumi.CustomResource):
903
908
  url="https://example.com/hook/example",
904
909
  name="example",
905
910
  description="Example hook",
906
- merge_requests_events=True)
911
+ merge_requests_events=True,
912
+ push_events=False)
907
913
  # Using Custom Headers
908
914
  # Values of headers can't be imported
909
915
  custom_headers = gitlab.ProjectHook("custom_headers",
@@ -1063,30 +1069,30 @@ class ProjectHook(pulumi.CustomResource):
1063
1069
  :param str resource_name: The unique name of the resulting resource.
1064
1070
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1065
1071
  :param pulumi.ResourceOptions opts: Options for the resource.
1066
- :param pulumi.Input[_builtins.bool] confidential_issues_events: Invoke the hook for confidential issues events.
1067
- :param pulumi.Input[_builtins.bool] confidential_note_events: Invoke the hook for confidential note events.
1072
+ :param pulumi.Input[_builtins.bool] confidential_issues_events: Invoke the hook for confidential issues events. Defaults to `false`.
1073
+ :param pulumi.Input[_builtins.bool] confidential_note_events: Invoke the hook for confidential note events. Defaults to `false`.
1068
1074
  :param pulumi.Input[Sequence[pulumi.Input[Union['ProjectHookCustomHeaderArgs', 'ProjectHookCustomHeaderArgsDict']]]] custom_headers: Custom headers for the project webhook. Available from GitLab 17.1 onwards.
1069
1075
  :param pulumi.Input[_builtins.str] custom_webhook_template: Custom webhook template.
1070
- :param pulumi.Input[_builtins.bool] deployment_events: Invoke the hook for deployment events.
1076
+ :param pulumi.Input[_builtins.bool] deployment_events: Invoke the hook for deployment events. Defaults to `false`.
1071
1077
  :param pulumi.Input[_builtins.str] description: Description of the webhook.
1072
- :param pulumi.Input[_builtins.bool] enable_ssl_verification: Enable SSL verification when invoking the hook.
1078
+ :param pulumi.Input[_builtins.bool] enable_ssl_verification: Enable SSL verification when invoking the hook. Defaults to `true`.
1073
1079
  :param pulumi.Input[_builtins.int] hook_id: The id of the project hook.
1074
- :param pulumi.Input[_builtins.bool] issues_events: Invoke the hook for issues events.
1075
- :param pulumi.Input[_builtins.bool] job_events: Invoke the hook for job events.
1076
- :param pulumi.Input[_builtins.bool] merge_requests_events: Invoke the hook for merge requests events.
1080
+ :param pulumi.Input[_builtins.bool] issues_events: Invoke the hook for issues events. Defaults to `false`.
1081
+ :param pulumi.Input[_builtins.bool] job_events: Invoke the hook for job events. Defaults to `false`.
1082
+ :param pulumi.Input[_builtins.bool] merge_requests_events: Invoke the hook for merge requests events. Defaults to `false`.
1077
1083
  :param pulumi.Input[_builtins.str] name: Name of the project webhook.
1078
- :param pulumi.Input[_builtins.bool] note_events: Invoke the hook for note events.
1079
- :param pulumi.Input[_builtins.bool] pipeline_events: Invoke the hook for pipeline events.
1084
+ :param pulumi.Input[_builtins.bool] note_events: Invoke the hook for note events. Defaults to `false`.
1085
+ :param pulumi.Input[_builtins.bool] pipeline_events: Invoke the hook for pipeline events. Defaults to `false`.
1080
1086
  :param pulumi.Input[_builtins.str] project: The name or id of the project to add the hook to.
1081
1087
  :param pulumi.Input[_builtins.int] project_id: The id of the project for the hook.
1082
- :param pulumi.Input[_builtins.bool] push_events: Invoke the hook for push events.
1088
+ :param pulumi.Input[_builtins.bool] push_events: Invoke the hook for push events. Defaults to `true`.
1083
1089
  :param pulumi.Input[_builtins.str] push_events_branch_filter: Invoke the hook for push events on matching branches only.
1084
- :param pulumi.Input[_builtins.bool] releases_events: Invoke the hook for release events.
1085
- :param pulumi.Input[_builtins.bool] resource_access_token_events: Invoke the hook for project access token expiry events.
1086
- :param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events.
1090
+ :param pulumi.Input[_builtins.bool] releases_events: Invoke the hook for release events. Defaults to `false`.
1091
+ :param pulumi.Input[_builtins.bool] resource_access_token_events: Invoke the hook for project access token expiry events. Defaults to `false`.
1092
+ :param pulumi.Input[_builtins.bool] tag_push_events: Invoke the hook for tag push events. Defaults to `false`.
1087
1093
  :param pulumi.Input[_builtins.str] token: A token to present when invoking the hook. The token is not available for imported resources.
1088
1094
  :param pulumi.Input[_builtins.str] url: The url of the hook to invoke. Forces re-creation to preserve `token`.
1089
- :param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events.
1095
+ :param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events. Defaults to `false`.
1090
1096
  """
1091
1097
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1092
1098
 
@@ -1122,7 +1128,7 @@ class ProjectHook(pulumi.CustomResource):
1122
1128
  @pulumi.getter(name="confidentialIssuesEvents")
1123
1129
  def confidential_issues_events(self) -> pulumi.Output[_builtins.bool]:
1124
1130
  """
1125
- Invoke the hook for confidential issues events.
1131
+ Invoke the hook for confidential issues events. Defaults to `false`.
1126
1132
  """
1127
1133
  return pulumi.get(self, "confidential_issues_events")
1128
1134
 
@@ -1130,7 +1136,7 @@ class ProjectHook(pulumi.CustomResource):
1130
1136
  @pulumi.getter(name="confidentialNoteEvents")
1131
1137
  def confidential_note_events(self) -> pulumi.Output[_builtins.bool]:
1132
1138
  """
1133
- Invoke the hook for confidential note events.
1139
+ Invoke the hook for confidential note events. Defaults to `false`.
1134
1140
  """
1135
1141
  return pulumi.get(self, "confidential_note_events")
1136
1142
 
@@ -1154,7 +1160,7 @@ class ProjectHook(pulumi.CustomResource):
1154
1160
  @pulumi.getter(name="deploymentEvents")
1155
1161
  def deployment_events(self) -> pulumi.Output[_builtins.bool]:
1156
1162
  """
1157
- Invoke the hook for deployment events.
1163
+ Invoke the hook for deployment events. Defaults to `false`.
1158
1164
  """
1159
1165
  return pulumi.get(self, "deployment_events")
1160
1166
 
@@ -1170,7 +1176,7 @@ class ProjectHook(pulumi.CustomResource):
1170
1176
  @pulumi.getter(name="enableSslVerification")
1171
1177
  def enable_ssl_verification(self) -> pulumi.Output[_builtins.bool]:
1172
1178
  """
1173
- Enable SSL verification when invoking the hook.
1179
+ Enable SSL verification when invoking the hook. Defaults to `true`.
1174
1180
  """
1175
1181
  return pulumi.get(self, "enable_ssl_verification")
1176
1182
 
@@ -1186,7 +1192,7 @@ class ProjectHook(pulumi.CustomResource):
1186
1192
  @pulumi.getter(name="issuesEvents")
1187
1193
  def issues_events(self) -> pulumi.Output[_builtins.bool]:
1188
1194
  """
1189
- Invoke the hook for issues events.
1195
+ Invoke the hook for issues events. Defaults to `false`.
1190
1196
  """
1191
1197
  return pulumi.get(self, "issues_events")
1192
1198
 
@@ -1194,7 +1200,7 @@ class ProjectHook(pulumi.CustomResource):
1194
1200
  @pulumi.getter(name="jobEvents")
1195
1201
  def job_events(self) -> pulumi.Output[_builtins.bool]:
1196
1202
  """
1197
- Invoke the hook for job events.
1203
+ Invoke the hook for job events. Defaults to `false`.
1198
1204
  """
1199
1205
  return pulumi.get(self, "job_events")
1200
1206
 
@@ -1202,7 +1208,7 @@ class ProjectHook(pulumi.CustomResource):
1202
1208
  @pulumi.getter(name="mergeRequestsEvents")
1203
1209
  def merge_requests_events(self) -> pulumi.Output[_builtins.bool]:
1204
1210
  """
1205
- Invoke the hook for merge requests events.
1211
+ Invoke the hook for merge requests events. Defaults to `false`.
1206
1212
  """
1207
1213
  return pulumi.get(self, "merge_requests_events")
1208
1214
 
@@ -1218,7 +1224,7 @@ class ProjectHook(pulumi.CustomResource):
1218
1224
  @pulumi.getter(name="noteEvents")
1219
1225
  def note_events(self) -> pulumi.Output[_builtins.bool]:
1220
1226
  """
1221
- Invoke the hook for note events.
1227
+ Invoke the hook for note events. Defaults to `false`.
1222
1228
  """
1223
1229
  return pulumi.get(self, "note_events")
1224
1230
 
@@ -1226,7 +1232,7 @@ class ProjectHook(pulumi.CustomResource):
1226
1232
  @pulumi.getter(name="pipelineEvents")
1227
1233
  def pipeline_events(self) -> pulumi.Output[_builtins.bool]:
1228
1234
  """
1229
- Invoke the hook for pipeline events.
1235
+ Invoke the hook for pipeline events. Defaults to `false`.
1230
1236
  """
1231
1237
  return pulumi.get(self, "pipeline_events")
1232
1238
 
@@ -1250,7 +1256,7 @@ class ProjectHook(pulumi.CustomResource):
1250
1256
  @pulumi.getter(name="pushEvents")
1251
1257
  def push_events(self) -> pulumi.Output[_builtins.bool]:
1252
1258
  """
1253
- Invoke the hook for push events.
1259
+ Invoke the hook for push events. Defaults to `true`.
1254
1260
  """
1255
1261
  return pulumi.get(self, "push_events")
1256
1262
 
@@ -1266,7 +1272,7 @@ class ProjectHook(pulumi.CustomResource):
1266
1272
  @pulumi.getter(name="releasesEvents")
1267
1273
  def releases_events(self) -> pulumi.Output[_builtins.bool]:
1268
1274
  """
1269
- Invoke the hook for release events.
1275
+ Invoke the hook for release events. Defaults to `false`.
1270
1276
  """
1271
1277
  return pulumi.get(self, "releases_events")
1272
1278
 
@@ -1274,7 +1280,7 @@ class ProjectHook(pulumi.CustomResource):
1274
1280
  @pulumi.getter(name="resourceAccessTokenEvents")
1275
1281
  def resource_access_token_events(self) -> pulumi.Output[_builtins.bool]:
1276
1282
  """
1277
- Invoke the hook for project access token expiry events.
1283
+ Invoke the hook for project access token expiry events. Defaults to `false`.
1278
1284
  """
1279
1285
  return pulumi.get(self, "resource_access_token_events")
1280
1286
 
@@ -1282,7 +1288,7 @@ class ProjectHook(pulumi.CustomResource):
1282
1288
  @pulumi.getter(name="tagPushEvents")
1283
1289
  def tag_push_events(self) -> pulumi.Output[_builtins.bool]:
1284
1290
  """
1285
- Invoke the hook for tag push events.
1291
+ Invoke the hook for tag push events. Defaults to `false`.
1286
1292
  """
1287
1293
  return pulumi.get(self, "tag_push_events")
1288
1294
 
@@ -1306,7 +1312,7 @@ class ProjectHook(pulumi.CustomResource):
1306
1312
  @pulumi.getter(name="wikiPageEvents")
1307
1313
  def wiki_page_events(self) -> pulumi.Output[_builtins.bool]:
1308
1314
  """
1309
- Invoke the hook for wiki page events.
1315
+ Invoke the hook for wiki page events. Defaults to `false`.
1310
1316
  """
1311
1317
  return pulumi.get(self, "wiki_page_events")
1312
1318