pulumi-gitlab 9.8.0__py3-none-any.whl → 9.8.0a1766469107__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. Defaults to `false`.
51
- :param pulumi.Input[_builtins.bool] confidential_note_events: Invoke the hook for confidential note events. Defaults to `false`.
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.
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. Defaults to `false`.
54
+ :param pulumi.Input[_builtins.bool] deployment_events: Invoke the hook for deployment events.
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. 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`.
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.
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. 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`.
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.
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. 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`.
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.
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. Defaults to `false`.
69
+ :param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events.
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. Defaults to `false`.
142
+ Invoke the hook for confidential issues events.
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. Defaults to `false`.
154
+ Invoke the hook for confidential note events.
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. Defaults to `false`.
190
+ Invoke the hook for deployment events.
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. Defaults to `true`.
214
+ Enable SSL verification when invoking the hook.
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. Defaults to `false`.
226
+ Invoke the hook for issues events.
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. Defaults to `false`.
238
+ Invoke the hook for job events.
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. Defaults to `false`.
250
+ Invoke the hook for merge requests events.
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. Defaults to `false`.
274
+ Invoke the hook for note events.
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. Defaults to `false`.
286
+ Invoke the hook for pipeline events.
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. Defaults to `true`.
298
+ Invoke the hook for push events.
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. Defaults to `false`.
322
+ Invoke the hook for release events.
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. Defaults to `false`.
334
+ Invoke the hook for project access token expiry events.
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. Defaults to `false`.
346
+ Invoke the hook for tag push events.
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. Defaults to `false`.
370
+ Invoke the hook for wiki page events.
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. Defaults to `false`.
409
- :param pulumi.Input[_builtins.bool] confidential_note_events: Invoke the hook for confidential note events. Defaults to `false`.
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.
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. Defaults to `false`.
412
+ :param pulumi.Input[_builtins.bool] deployment_events: Invoke the hook for deployment events.
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. Defaults to `true`.
414
+ :param pulumi.Input[_builtins.bool] enable_ssl_verification: Enable SSL verification when invoking the hook.
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. 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`.
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.
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. Defaults to `false`.
421
- :param pulumi.Input[_builtins.bool] pipeline_events: Invoke the hook for pipeline events. Defaults to `false`.
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.
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. Defaults to `true`.
424
+ :param pulumi.Input[_builtins.bool] push_events: Invoke the hook for push events.
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. 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`.
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.
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. Defaults to `false`.
431
+ :param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events.
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. Defaults to `false`.
486
+ Invoke the hook for confidential issues events.
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. Defaults to `false`.
498
+ Invoke the hook for confidential note events.
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. Defaults to `false`.
534
+ Invoke the hook for deployment events.
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. Defaults to `true`.
558
+ Enable SSL verification when invoking the hook.
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. Defaults to `false`.
582
+ Invoke the hook for issues events.
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. Defaults to `false`.
594
+ Invoke the hook for job events.
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. Defaults to `false`.
606
+ Invoke the hook for merge requests events.
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. Defaults to `false`.
630
+ Invoke the hook for note events.
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. Defaults to `false`.
642
+ Invoke the hook for pipeline events.
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. Defaults to `true`.
678
+ Invoke the hook for push events.
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. Defaults to `false`.
702
+ Invoke the hook for release events.
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. Defaults to `false`.
714
+ Invoke the hook for project access token expiry events.
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. Defaults to `false`.
726
+ Invoke the hook for tag push events.
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. Defaults to `false`.
762
+ Invoke the hook for wiki page events.
763
763
  """
764
764
  return pulumi.get(self, "wiki_page_events")
765
765
 
@@ -800,8 +800,6 @@ 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
-
805
803
  **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_webhooks/)
806
804
 
807
805
  ## Example Usage
@@ -815,8 +813,7 @@ class ProjectHook(pulumi.CustomResource):
815
813
  url="https://example.com/hook/example",
816
814
  name="example",
817
815
  description="Example hook",
818
- merge_requests_events=True,
819
- push_events=False)
816
+ merge_requests_events=True)
820
817
  # Using Custom Headers
821
818
  # Values of headers can't be imported
822
819
  custom_headers = gitlab.ProjectHook("custom_headers",
@@ -861,28 +858,28 @@ class ProjectHook(pulumi.CustomResource):
861
858
 
862
859
  :param str resource_name: The name of the resource.
863
860
  :param pulumi.ResourceOptions opts: Options for the resource.
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`.
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.
866
863
  :param pulumi.Input[Sequence[pulumi.Input[Union['ProjectHookCustomHeaderArgs', 'ProjectHookCustomHeaderArgsDict']]]] custom_headers: Custom headers for the project webhook. Available from GitLab 17.1 onwards.
867
864
  :param pulumi.Input[_builtins.str] custom_webhook_template: Custom webhook template.
868
- :param pulumi.Input[_builtins.bool] deployment_events: Invoke the hook for deployment events. Defaults to `false`.
865
+ :param pulumi.Input[_builtins.bool] deployment_events: Invoke the hook for deployment events.
869
866
  :param pulumi.Input[_builtins.str] description: Description of the webhook.
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`.
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.
874
871
  :param pulumi.Input[_builtins.str] name: Name of the project webhook.
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`.
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.
877
874
  :param pulumi.Input[_builtins.str] project: The name or id of the project to add the hook to.
878
- :param pulumi.Input[_builtins.bool] push_events: Invoke the hook for push events. Defaults to `true`.
875
+ :param pulumi.Input[_builtins.bool] push_events: Invoke the hook for push events.
879
876
  :param pulumi.Input[_builtins.str] push_events_branch_filter: Invoke the hook for push events on matching branches only.
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`.
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.
883
880
  :param pulumi.Input[_builtins.str] token: A token to present when invoking the hook. The token is not available for imported resources.
884
881
  :param pulumi.Input[_builtins.str] url: The url of the hook to invoke. Forces re-creation to preserve `token`.
885
- :param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events. Defaults to `false`.
882
+ :param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events.
886
883
  """
887
884
  ...
888
885
  @overload
@@ -893,8 +890,6 @@ class ProjectHook(pulumi.CustomResource):
893
890
  """
894
891
  The `ProjectHook` resource allows to manage the lifecycle of a project hook.
895
892
 
896
- > Note that `push_events` defaults to `true`.
897
-
898
893
  **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_webhooks/)
899
894
 
900
895
  ## Example Usage
@@ -908,8 +903,7 @@ class ProjectHook(pulumi.CustomResource):
908
903
  url="https://example.com/hook/example",
909
904
  name="example",
910
905
  description="Example hook",
911
- merge_requests_events=True,
912
- push_events=False)
906
+ merge_requests_events=True)
913
907
  # Using Custom Headers
914
908
  # Values of headers can't be imported
915
909
  custom_headers = gitlab.ProjectHook("custom_headers",
@@ -1069,30 +1063,30 @@ class ProjectHook(pulumi.CustomResource):
1069
1063
  :param str resource_name: The unique name of the resulting resource.
1070
1064
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1071
1065
  :param pulumi.ResourceOptions opts: Options for the resource.
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`.
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.
1074
1068
  :param pulumi.Input[Sequence[pulumi.Input[Union['ProjectHookCustomHeaderArgs', 'ProjectHookCustomHeaderArgsDict']]]] custom_headers: Custom headers for the project webhook. Available from GitLab 17.1 onwards.
1075
1069
  :param pulumi.Input[_builtins.str] custom_webhook_template: Custom webhook template.
1076
- :param pulumi.Input[_builtins.bool] deployment_events: Invoke the hook for deployment events. Defaults to `false`.
1070
+ :param pulumi.Input[_builtins.bool] deployment_events: Invoke the hook for deployment events.
1077
1071
  :param pulumi.Input[_builtins.str] description: Description of the webhook.
1078
- :param pulumi.Input[_builtins.bool] enable_ssl_verification: Enable SSL verification when invoking the hook. Defaults to `true`.
1072
+ :param pulumi.Input[_builtins.bool] enable_ssl_verification: Enable SSL verification when invoking the hook.
1079
1073
  :param pulumi.Input[_builtins.int] hook_id: The id of the project hook.
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`.
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.
1083
1077
  :param pulumi.Input[_builtins.str] name: Name of the project webhook.
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`.
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.
1086
1080
  :param pulumi.Input[_builtins.str] project: The name or id of the project to add the hook to.
1087
1081
  :param pulumi.Input[_builtins.int] project_id: The id of the project for the hook.
1088
- :param pulumi.Input[_builtins.bool] push_events: Invoke the hook for push events. Defaults to `true`.
1082
+ :param pulumi.Input[_builtins.bool] push_events: Invoke the hook for push events.
1089
1083
  :param pulumi.Input[_builtins.str] push_events_branch_filter: Invoke the hook for push events on matching branches only.
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`.
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.
1093
1087
  :param pulumi.Input[_builtins.str] token: A token to present when invoking the hook. The token is not available for imported resources.
1094
1088
  :param pulumi.Input[_builtins.str] url: The url of the hook to invoke. Forces re-creation to preserve `token`.
1095
- :param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events. Defaults to `false`.
1089
+ :param pulumi.Input[_builtins.bool] wiki_page_events: Invoke the hook for wiki page events.
1096
1090
  """
1097
1091
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1098
1092
 
@@ -1128,7 +1122,7 @@ class ProjectHook(pulumi.CustomResource):
1128
1122
  @pulumi.getter(name="confidentialIssuesEvents")
1129
1123
  def confidential_issues_events(self) -> pulumi.Output[_builtins.bool]:
1130
1124
  """
1131
- Invoke the hook for confidential issues events. Defaults to `false`.
1125
+ Invoke the hook for confidential issues events.
1132
1126
  """
1133
1127
  return pulumi.get(self, "confidential_issues_events")
1134
1128
 
@@ -1136,7 +1130,7 @@ class ProjectHook(pulumi.CustomResource):
1136
1130
  @pulumi.getter(name="confidentialNoteEvents")
1137
1131
  def confidential_note_events(self) -> pulumi.Output[_builtins.bool]:
1138
1132
  """
1139
- Invoke the hook for confidential note events. Defaults to `false`.
1133
+ Invoke the hook for confidential note events.
1140
1134
  """
1141
1135
  return pulumi.get(self, "confidential_note_events")
1142
1136
 
@@ -1160,7 +1154,7 @@ class ProjectHook(pulumi.CustomResource):
1160
1154
  @pulumi.getter(name="deploymentEvents")
1161
1155
  def deployment_events(self) -> pulumi.Output[_builtins.bool]:
1162
1156
  """
1163
- Invoke the hook for deployment events. Defaults to `false`.
1157
+ Invoke the hook for deployment events.
1164
1158
  """
1165
1159
  return pulumi.get(self, "deployment_events")
1166
1160
 
@@ -1176,7 +1170,7 @@ class ProjectHook(pulumi.CustomResource):
1176
1170
  @pulumi.getter(name="enableSslVerification")
1177
1171
  def enable_ssl_verification(self) -> pulumi.Output[_builtins.bool]:
1178
1172
  """
1179
- Enable SSL verification when invoking the hook. Defaults to `true`.
1173
+ Enable SSL verification when invoking the hook.
1180
1174
  """
1181
1175
  return pulumi.get(self, "enable_ssl_verification")
1182
1176
 
@@ -1192,7 +1186,7 @@ class ProjectHook(pulumi.CustomResource):
1192
1186
  @pulumi.getter(name="issuesEvents")
1193
1187
  def issues_events(self) -> pulumi.Output[_builtins.bool]:
1194
1188
  """
1195
- Invoke the hook for issues events. Defaults to `false`.
1189
+ Invoke the hook for issues events.
1196
1190
  """
1197
1191
  return pulumi.get(self, "issues_events")
1198
1192
 
@@ -1200,7 +1194,7 @@ class ProjectHook(pulumi.CustomResource):
1200
1194
  @pulumi.getter(name="jobEvents")
1201
1195
  def job_events(self) -> pulumi.Output[_builtins.bool]:
1202
1196
  """
1203
- Invoke the hook for job events. Defaults to `false`.
1197
+ Invoke the hook for job events.
1204
1198
  """
1205
1199
  return pulumi.get(self, "job_events")
1206
1200
 
@@ -1208,7 +1202,7 @@ class ProjectHook(pulumi.CustomResource):
1208
1202
  @pulumi.getter(name="mergeRequestsEvents")
1209
1203
  def merge_requests_events(self) -> pulumi.Output[_builtins.bool]:
1210
1204
  """
1211
- Invoke the hook for merge requests events. Defaults to `false`.
1205
+ Invoke the hook for merge requests events.
1212
1206
  """
1213
1207
  return pulumi.get(self, "merge_requests_events")
1214
1208
 
@@ -1224,7 +1218,7 @@ class ProjectHook(pulumi.CustomResource):
1224
1218
  @pulumi.getter(name="noteEvents")
1225
1219
  def note_events(self) -> pulumi.Output[_builtins.bool]:
1226
1220
  """
1227
- Invoke the hook for note events. Defaults to `false`.
1221
+ Invoke the hook for note events.
1228
1222
  """
1229
1223
  return pulumi.get(self, "note_events")
1230
1224
 
@@ -1232,7 +1226,7 @@ class ProjectHook(pulumi.CustomResource):
1232
1226
  @pulumi.getter(name="pipelineEvents")
1233
1227
  def pipeline_events(self) -> pulumi.Output[_builtins.bool]:
1234
1228
  """
1235
- Invoke the hook for pipeline events. Defaults to `false`.
1229
+ Invoke the hook for pipeline events.
1236
1230
  """
1237
1231
  return pulumi.get(self, "pipeline_events")
1238
1232
 
@@ -1256,7 +1250,7 @@ class ProjectHook(pulumi.CustomResource):
1256
1250
  @pulumi.getter(name="pushEvents")
1257
1251
  def push_events(self) -> pulumi.Output[_builtins.bool]:
1258
1252
  """
1259
- Invoke the hook for push events. Defaults to `true`.
1253
+ Invoke the hook for push events.
1260
1254
  """
1261
1255
  return pulumi.get(self, "push_events")
1262
1256
 
@@ -1272,7 +1266,7 @@ class ProjectHook(pulumi.CustomResource):
1272
1266
  @pulumi.getter(name="releasesEvents")
1273
1267
  def releases_events(self) -> pulumi.Output[_builtins.bool]:
1274
1268
  """
1275
- Invoke the hook for release events. Defaults to `false`.
1269
+ Invoke the hook for release events.
1276
1270
  """
1277
1271
  return pulumi.get(self, "releases_events")
1278
1272
 
@@ -1280,7 +1274,7 @@ class ProjectHook(pulumi.CustomResource):
1280
1274
  @pulumi.getter(name="resourceAccessTokenEvents")
1281
1275
  def resource_access_token_events(self) -> pulumi.Output[_builtins.bool]:
1282
1276
  """
1283
- Invoke the hook for project access token expiry events. Defaults to `false`.
1277
+ Invoke the hook for project access token expiry events.
1284
1278
  """
1285
1279
  return pulumi.get(self, "resource_access_token_events")
1286
1280
 
@@ -1288,7 +1282,7 @@ class ProjectHook(pulumi.CustomResource):
1288
1282
  @pulumi.getter(name="tagPushEvents")
1289
1283
  def tag_push_events(self) -> pulumi.Output[_builtins.bool]:
1290
1284
  """
1291
- Invoke the hook for tag push events. Defaults to `false`.
1285
+ Invoke the hook for tag push events.
1292
1286
  """
1293
1287
  return pulumi.get(self, "tag_push_events")
1294
1288
 
@@ -1312,7 +1306,7 @@ class ProjectHook(pulumi.CustomResource):
1312
1306
  @pulumi.getter(name="wikiPageEvents")
1313
1307
  def wiki_page_events(self) -> pulumi.Output[_builtins.bool]:
1314
1308
  """
1315
- Invoke the hook for wiki page events. Defaults to `false`.
1309
+ Invoke the hook for wiki page events.
1316
1310
  """
1317
1311
  return pulumi.get(self, "wiki_page_events")
1318
1312
 
@@ -163,18 +163,10 @@ class ProjectJobTokenScope(pulumi.CustomResource):
163
163
 
164
164
  Importing using the CLI is supported with the following syntax:
165
165
 
166
- GitLab project job token scopes can be imported using an id made up of `projectId:type:targetId`, e.g.
167
-
168
- For target_project_id:
169
-
170
- ```sh
171
- $ pulumi import gitlab:index/projectJobTokenScope:ProjectJobTokenScope bar 123:project:321
172
- ```
173
-
174
- For target_group_id:
166
+ GitLab project job token scopes can be imported using an id made up of `projectId:targetProjectId`, e.g.
175
167
 
176
168
  ```sh
177
- $ pulumi import gitlab:index/projectJobTokenScope:ProjectJobTokenScope bar 123:group:321
169
+ $ pulumi import gitlab:index/projectJobTokenScope:ProjectJobTokenScope bar 123:321
178
170
  ```
179
171
 
180
172
  :param str resource_name: The name of the resource.
@@ -215,18 +207,10 @@ class ProjectJobTokenScope(pulumi.CustomResource):
215
207
 
216
208
  Importing using the CLI is supported with the following syntax:
217
209
 
218
- GitLab project job token scopes can be imported using an id made up of `projectId:type:targetId`, e.g.
219
-
220
- For target_project_id:
221
-
222
- ```sh
223
- $ pulumi import gitlab:index/projectJobTokenScope:ProjectJobTokenScope bar 123:project:321
224
- ```
225
-
226
- For target_group_id:
210
+ GitLab project job token scopes can be imported using an id made up of `projectId:targetProjectId`, e.g.
227
211
 
228
212
  ```sh
229
- $ pulumi import gitlab:index/projectJobTokenScope:ProjectJobTokenScope bar 123:group:321
213
+ $ pulumi import gitlab:index/projectJobTokenScope:ProjectJobTokenScope bar 123:321
230
214
  ```
231
215
 
232
216
  :param str resource_name: The name of the resource.