pulumi-gitlab 9.5.0a1761172288__py3-none-any.whl → 9.8.1__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.
Files changed (81) hide show
  1. pulumi_gitlab/__init__.py +69 -0
  2. pulumi_gitlab/_inputs.py +557 -0
  3. pulumi_gitlab/branch.py +1 -1
  4. pulumi_gitlab/deploy_key_enable.py +4 -42
  5. pulumi_gitlab/get_artifact_file.py +266 -0
  6. pulumi_gitlab/get_group_billable_member_memberships.py +2 -2
  7. pulumi_gitlab/get_group_hook.py +15 -1
  8. pulumi_gitlab/get_group_membership.py +2 -2
  9. pulumi_gitlab/get_group_service_account.py +2 -2
  10. pulumi_gitlab/get_group_service_account_access_tokens.py +138 -0
  11. pulumi_gitlab/get_group_variable.py +1 -1
  12. pulumi_gitlab/get_instance_service_account.py +2 -2
  13. pulumi_gitlab/get_member_role.py +200 -0
  14. pulumi_gitlab/get_project.py +15 -1
  15. pulumi_gitlab/get_project_hook.py +17 -3
  16. pulumi_gitlab/get_project_issue_label_events.py +170 -0
  17. pulumi_gitlab/get_project_membership.py +2 -2
  18. pulumi_gitlab/get_project_protected_tag.py +2 -2
  19. pulumi_gitlab/get_project_secure_file.py +247 -0
  20. pulumi_gitlab/get_project_tag.py +2 -2
  21. pulumi_gitlab/get_project_tags.py +1 -1
  22. pulumi_gitlab/get_projects.py +3 -3
  23. pulumi_gitlab/get_release_link.py +5 -5
  24. pulumi_gitlab/get_release_links.py +3 -3
  25. pulumi_gitlab/get_security_policy_document.py +170 -0
  26. pulumi_gitlab/get_user.py +32 -0
  27. pulumi_gitlab/global_level_notifications.py +2 -2
  28. pulumi_gitlab/group.py +141 -0
  29. pulumi_gitlab/group_access_token.py +4 -4
  30. pulumi_gitlab/group_hook.py +163 -112
  31. pulumi_gitlab/group_label.py +7 -7
  32. pulumi_gitlab/group_level_mr_approvals.py +36 -0
  33. pulumi_gitlab/group_membership.py +2 -2
  34. pulumi_gitlab/group_service_account.py +2 -2
  35. pulumi_gitlab/group_service_account_access_token.py +92 -2
  36. pulumi_gitlab/group_share_group.py +2 -2
  37. pulumi_gitlab/instance_service_account.py +2 -2
  38. pulumi_gitlab/instance_variable.py +12 -12
  39. pulumi_gitlab/integration_emails_on_push.py +9 -7
  40. pulumi_gitlab/label.py +7 -7
  41. pulumi_gitlab/member_role.py +9 -9
  42. pulumi_gitlab/outputs.py +851 -15
  43. pulumi_gitlab/pages_domain.py +7 -7
  44. pulumi_gitlab/personal_access_token.py +2 -2
  45. pulumi_gitlab/pipeline_schedule_variable.py +2 -2
  46. pulumi_gitlab/project.py +54 -7
  47. pulumi_gitlab/project_access_token.py +2 -2
  48. pulumi_gitlab/project_approval_rule.py +120 -0
  49. pulumi_gitlab/project_cicd_catalog.py +314 -0
  50. pulumi_gitlab/project_deploy_token.py +2 -2
  51. pulumi_gitlab/project_hook.py +155 -102
  52. pulumi_gitlab/project_integration_emails_on_push.py +17 -7
  53. pulumi_gitlab/project_issue_link.py +502 -0
  54. pulumi_gitlab/project_job_token_scope.py +24 -4
  55. pulumi_gitlab/project_label.py +11 -11
  56. pulumi_gitlab/project_level_mr_approvals.py +2 -2
  57. pulumi_gitlab/project_level_notifications.py +2 -2
  58. pulumi_gitlab/project_membership.py +2 -2
  59. pulumi_gitlab/project_mirror.py +8 -6
  60. pulumi_gitlab/project_package_dependency_proxy.py +446 -0
  61. pulumi_gitlab/project_pull_mirror.py +837 -0
  62. pulumi_gitlab/project_push_mirror.py +547 -0
  63. pulumi_gitlab/project_secure_file.py +489 -0
  64. pulumi_gitlab/project_tag.py +3 -3
  65. pulumi_gitlab/project_target_branch_rule.py +2 -2
  66. pulumi_gitlab/project_variable.py +7 -7
  67. pulumi_gitlab/project_wiki_page.py +26 -0
  68. pulumi_gitlab/pulumi-plugin.json +1 -1
  69. pulumi_gitlab/release_link.py +19 -19
  70. pulumi_gitlab/runner.py +4 -4
  71. pulumi_gitlab/system_hook.py +7 -7
  72. pulumi_gitlab/user_avatar.py +386 -0
  73. pulumi_gitlab/user_gpg_key.py +2 -2
  74. pulumi_gitlab/user_impersonation_token.py +2 -2
  75. pulumi_gitlab/user_runner.py +14 -14
  76. pulumi_gitlab/user_ssh_key.py +2 -2
  77. pulumi_gitlab/value_stream_analytics.py +88 -0
  78. {pulumi_gitlab-9.5.0a1761172288.dist-info → pulumi_gitlab-9.8.1.dist-info}/METADATA +1 -1
  79. {pulumi_gitlab-9.5.0a1761172288.dist-info → pulumi_gitlab-9.8.1.dist-info}/RECORD +81 -68
  80. {pulumi_gitlab-9.5.0a1761172288.dist-info → pulumi_gitlab-9.8.1.dist-info}/WHEEL +0 -0
  81. {pulumi_gitlab-9.5.0a1761172288.dist-info → pulumi_gitlab-9.8.1.dist-info}/top_level.txt +0 -0
@@ -25,7 +25,7 @@ class GroupLabelArgs:
25
25
  name: Optional[pulumi.Input[_builtins.str]] = None):
26
26
  """
27
27
  The set of arguments for constructing a GroupLabel resource.
28
- :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
28
+ :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
29
29
  :param pulumi.Input[_builtins.str] group: The name or id of the group to add the label to.
30
30
  :param pulumi.Input[_builtins.str] description: The description of the label.
31
31
  :param pulumi.Input[_builtins.str] name: The name of the label.
@@ -41,7 +41,7 @@ class GroupLabelArgs:
41
41
  @pulumi.getter
42
42
  def color(self) -> pulumi.Input[_builtins.str]:
43
43
  """
44
- The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
44
+ The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
45
45
  """
46
46
  return pulumi.get(self, "color")
47
47
 
@@ -97,7 +97,7 @@ class _GroupLabelState:
97
97
  name: Optional[pulumi.Input[_builtins.str]] = None):
98
98
  """
99
99
  Input properties used for looking up and filtering GroupLabel resources.
100
- :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
100
+ :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
101
101
  :param pulumi.Input[_builtins.str] color_hex: Read-only, used by the provider to store the API response color. This is always in the 6-digit hex notation with leading '#' sign (e.g. #FFAABB). If `color` contains a color name, this attribute contains the hex notation equivalent. Otherwise, the value of this attribute is the same as `color`.
102
102
  :param pulumi.Input[_builtins.str] description: The description of the label.
103
103
  :param pulumi.Input[_builtins.str] group: The name or id of the group to add the label to.
@@ -121,7 +121,7 @@ class _GroupLabelState:
121
121
  @pulumi.getter
122
122
  def color(self) -> Optional[pulumi.Input[_builtins.str]]:
123
123
  """
124
- The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
124
+ The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
125
125
  """
126
126
  return pulumi.get(self, "color")
127
127
 
@@ -243,7 +243,7 @@ class GroupLabel(pulumi.CustomResource):
243
243
 
244
244
  :param str resource_name: The name of the resource.
245
245
  :param pulumi.ResourceOptions opts: Options for the resource.
246
- :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
246
+ :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
247
247
  :param pulumi.Input[_builtins.str] description: The description of the label.
248
248
  :param pulumi.Input[_builtins.str] group: The name or id of the group to add the label to.
249
249
  :param pulumi.Input[_builtins.str] name: The name of the label.
@@ -355,7 +355,7 @@ class GroupLabel(pulumi.CustomResource):
355
355
  :param str resource_name: The unique name of the resulting resource.
356
356
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
357
357
  :param pulumi.ResourceOptions opts: Options for the resource.
358
- :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
358
+ :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
359
359
  :param pulumi.Input[_builtins.str] color_hex: Read-only, used by the provider to store the API response color. This is always in the 6-digit hex notation with leading '#' sign (e.g. #FFAABB). If `color` contains a color name, this attribute contains the hex notation equivalent. Otherwise, the value of this attribute is the same as `color`.
360
360
  :param pulumi.Input[_builtins.str] description: The description of the label.
361
361
  :param pulumi.Input[_builtins.str] group: The name or id of the group to add the label to.
@@ -378,7 +378,7 @@ class GroupLabel(pulumi.CustomResource):
378
378
  @pulumi.getter
379
379
  def color(self) -> pulumi.Output[_builtins.str]:
380
380
  """
381
- The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
381
+ The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
382
382
  """
383
383
  return pulumi.get(self, "color")
384
384
 
@@ -264,6 +264,24 @@ class GroupLevelMrApprovals(pulumi.CustomResource):
264
264
  """
265
265
  ## Example Usage
266
266
 
267
+ ```python
268
+ import pulumi
269
+ import pulumi_gitlab as gitlab
270
+
271
+ foo = gitlab.Group("foo",
272
+ name="test_group",
273
+ path="test_group",
274
+ description="An example group")
275
+ foo_group_level_mr_approvals = gitlab.GroupLevelMrApprovals("foo",
276
+ group=foo.id,
277
+ allow_author_approval=True,
278
+ allow_committer_approval=True,
279
+ allow_overrides_to_approver_list_per_merge_request=True,
280
+ retain_approvals_on_push=True,
281
+ selective_code_owner_removals=False,
282
+ require_reauthentication_to_approve=True)
283
+ ```
284
+
267
285
  ## Import
268
286
 
269
287
  Starting in Terraform v1.5.0, you can use an import block to import `gitlab_group_level_mr_approvals`. For example:
@@ -308,6 +326,24 @@ class GroupLevelMrApprovals(pulumi.CustomResource):
308
326
  """
309
327
  ## Example Usage
310
328
 
329
+ ```python
330
+ import pulumi
331
+ import pulumi_gitlab as gitlab
332
+
333
+ foo = gitlab.Group("foo",
334
+ name="test_group",
335
+ path="test_group",
336
+ description="An example group")
337
+ foo_group_level_mr_approvals = gitlab.GroupLevelMrApprovals("foo",
338
+ group=foo.id,
339
+ allow_author_approval=True,
340
+ allow_committer_approval=True,
341
+ allow_overrides_to_approver_list_per_merge_request=True,
342
+ retain_approvals_on_push=True,
343
+ selective_code_owner_removals=False,
344
+ require_reauthentication_to_approve=True)
345
+ ```
346
+
311
347
  ## Import
312
348
 
313
349
  Starting in Terraform v1.5.0, you can use an import block to import `gitlab_group_level_mr_approvals`. For example:
@@ -272,7 +272,7 @@ class GroupMembership(pulumi.CustomResource):
272
272
 
273
273
  > If a group should grant membership to another group use the `GroupShareGroup` resource instead.
274
274
 
275
- **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/)
275
+ **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_members/)
276
276
 
277
277
  ## Example Usage
278
278
 
@@ -330,7 +330,7 @@ class GroupMembership(pulumi.CustomResource):
330
330
 
331
331
  > If a group should grant membership to another group use the `GroupShareGroup` resource instead.
332
332
 
333
- **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/)
333
+ **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_members/)
334
334
 
335
335
  ## Example Usage
336
336
 
@@ -216,7 +216,7 @@ class GroupServiceAccount(pulumi.CustomResource):
216
216
  """
217
217
  The `GroupServiceAccount` resource allows creating a GitLab group service account.
218
218
 
219
- **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_service_accounts/)
219
+ **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#group-service-accounts)
220
220
 
221
221
  ## Example Usage
222
222
 
@@ -289,7 +289,7 @@ class GroupServiceAccount(pulumi.CustomResource):
289
289
  """
290
290
  The `GroupServiceAccount` resource allows creating a GitLab group service account.
291
291
 
292
- **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_service_accounts/)
292
+ **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#group-service-accounts)
293
293
 
294
294
  ## Example Usage
295
295
 
@@ -344,10 +344,55 @@ class GroupServiceAccountAccessToken(pulumi.CustomResource):
344
344
 
345
345
  > Due to a limitation in the API, the `rotation_configuration` is unable to set the new expiry date before GitLab 17.9. Instead, when the resource is created, it will default the expiry date to 7 days in the future. On each subsequent apply, the new expiry will be 7 days from the date of the apply.
346
346
 
347
- **Upstream API**: [GitLab API docs](https://docs.gitlab.com/api/group_service_accounts/#create-a-personal-access-token-for-a-service-account-user)
347
+ **Upstream API**: [GitLab API docs](https://docs.gitlab.com/api/service_accounts/#create-a-personal-access-token-for-a-group-service-account)
348
348
 
349
349
  ## Example Usage
350
350
 
351
+ ```python
352
+ import pulumi
353
+ import pulumi_gitlab as gitlab
354
+
355
+ # This must be a top-level group
356
+ example = gitlab.Group("example",
357
+ name="example",
358
+ path="example",
359
+ description="An example group")
360
+ # The service account against the top-level group
361
+ example_sa = gitlab.GroupServiceAccount("example_sa",
362
+ group=example.id,
363
+ name="example-name",
364
+ username="example-username")
365
+ # To assign the service account to a group
366
+ example_membership = gitlab.GroupMembership("example_membership",
367
+ group_id=example.id,
368
+ user_id=example_sa.service_account_id,
369
+ access_level="developer",
370
+ expires_at="2020-03-14")
371
+ # The service account access token with no expiry
372
+ example_sa_token_no_expiry = gitlab.GroupServiceAccountAccessToken("example_sa_token_no_expiry",
373
+ group=example.id,
374
+ user_id=example_sa.service_account_id,
375
+ name="Example service account access token",
376
+ scopes=["api"])
377
+ # The service account access token with expires at
378
+ example_sa_token_expires_at = gitlab.GroupServiceAccountAccessToken("example_sa_token_expires_at",
379
+ group=example.id,
380
+ user_id=example_sa.service_account_id,
381
+ name="Example service account access token",
382
+ expires_at="2020-03-14",
383
+ scopes=["api"])
384
+ # The service account access token with rotation configuration
385
+ example_sa_token_rotation_configuration = gitlab.GroupServiceAccountAccessToken("example_sa_token_rotation_configuration",
386
+ group=example.id,
387
+ user_id=example_sa.service_account_id,
388
+ name="Example service account access token",
389
+ rotation_configuration={
390
+ "rotate_before_days": 2,
391
+ "expiration_days": 7,
392
+ },
393
+ scopes=["api"])
394
+ ```
395
+
351
396
  ## Import
352
397
 
353
398
  Starting in Terraform v1.5.0, you can use an import block to import `gitlab_group_service_account_access_token`. For example:
@@ -403,10 +448,55 @@ class GroupServiceAccountAccessToken(pulumi.CustomResource):
403
448
 
404
449
  > Due to a limitation in the API, the `rotation_configuration` is unable to set the new expiry date before GitLab 17.9. Instead, when the resource is created, it will default the expiry date to 7 days in the future. On each subsequent apply, the new expiry will be 7 days from the date of the apply.
405
450
 
406
- **Upstream API**: [GitLab API docs](https://docs.gitlab.com/api/group_service_accounts/#create-a-personal-access-token-for-a-service-account-user)
451
+ **Upstream API**: [GitLab API docs](https://docs.gitlab.com/api/service_accounts/#create-a-personal-access-token-for-a-group-service-account)
407
452
 
408
453
  ## Example Usage
409
454
 
455
+ ```python
456
+ import pulumi
457
+ import pulumi_gitlab as gitlab
458
+
459
+ # This must be a top-level group
460
+ example = gitlab.Group("example",
461
+ name="example",
462
+ path="example",
463
+ description="An example group")
464
+ # The service account against the top-level group
465
+ example_sa = gitlab.GroupServiceAccount("example_sa",
466
+ group=example.id,
467
+ name="example-name",
468
+ username="example-username")
469
+ # To assign the service account to a group
470
+ example_membership = gitlab.GroupMembership("example_membership",
471
+ group_id=example.id,
472
+ user_id=example_sa.service_account_id,
473
+ access_level="developer",
474
+ expires_at="2020-03-14")
475
+ # The service account access token with no expiry
476
+ example_sa_token_no_expiry = gitlab.GroupServiceAccountAccessToken("example_sa_token_no_expiry",
477
+ group=example.id,
478
+ user_id=example_sa.service_account_id,
479
+ name="Example service account access token",
480
+ scopes=["api"])
481
+ # The service account access token with expires at
482
+ example_sa_token_expires_at = gitlab.GroupServiceAccountAccessToken("example_sa_token_expires_at",
483
+ group=example.id,
484
+ user_id=example_sa.service_account_id,
485
+ name="Example service account access token",
486
+ expires_at="2020-03-14",
487
+ scopes=["api"])
488
+ # The service account access token with rotation configuration
489
+ example_sa_token_rotation_configuration = gitlab.GroupServiceAccountAccessToken("example_sa_token_rotation_configuration",
490
+ group=example.id,
491
+ user_id=example_sa.service_account_id,
492
+ name="Example service account access token",
493
+ rotation_configuration={
494
+ "rotate_before_days": 2,
495
+ "expiration_days": 7,
496
+ },
497
+ scopes=["api"])
498
+ ```
499
+
410
500
  ## Import
411
501
 
412
502
  Starting in Terraform v1.5.0, you can use an import block to import `gitlab_group_service_account_access_token`. For example:
@@ -206,7 +206,7 @@ class GroupShareGroup(pulumi.CustomResource):
206
206
 
207
207
  > Note that `member_role_id` requires a feature flag enabled, see [this feature issue](https://gitlab.com/gitlab-org/gitlab/-/issues/443369) for details.
208
208
 
209
- **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/groups/#share-groups-with-groups)
209
+ **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/groups/#invite-groups)
210
210
 
211
211
  ## Example Usage
212
212
 
@@ -262,7 +262,7 @@ class GroupShareGroup(pulumi.CustomResource):
262
262
 
263
263
  > Note that `member_role_id` requires a feature flag enabled, see [this feature issue](https://gitlab.com/gitlab-org/gitlab/-/issues/443369) for details.
264
264
 
265
- **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/groups/#share-groups-with-groups)
265
+ **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/groups/#invite-groups)
266
266
 
267
267
  ## Example Usage
268
268
 
@@ -186,7 +186,7 @@ class InstanceServiceAccount(pulumi.CustomResource):
186
186
 
187
187
  > In order for a user to create a user account, they must have admin privileges at the instance level. This makes this feature unavailable on `gitlab.com`
188
188
 
189
- **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/user_service_accounts/)
189
+ **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#instance-service-accounts)
190
190
 
191
191
  ## Example Usage
192
192
 
@@ -252,7 +252,7 @@ class InstanceServiceAccount(pulumi.CustomResource):
252
252
 
253
253
  > In order for a user to create a user account, they must have admin privileges at the instance level. This makes this feature unavailable on `gitlab.com`
254
254
 
255
- **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/user_service_accounts/)
255
+ **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#instance-service-accounts)
256
256
 
257
257
  ## Example Usage
258
258
 
@@ -31,7 +31,7 @@ class InstanceVariableArgs:
31
31
  :param pulumi.Input[_builtins.str] key: The name of the variable.
32
32
  :param pulumi.Input[_builtins.str] value: The value of the variable.
33
33
  :param pulumi.Input[_builtins.str] description: The description of the variable. Maximum of 255 characters.
34
- :param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#masked-variables). Defaults to `false`.
34
+ :param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable). Defaults to `false`.
35
35
  :param pulumi.Input[_builtins.bool] protected: If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
36
36
  :param pulumi.Input[_builtins.bool] raw: Whether the variable is treated as a raw string. Default: false. When true, variables in the value are not expanded.
37
37
  :param pulumi.Input[_builtins.str] variable_type: The type of a variable. Valid values are: `env_var`, `file`. Default is `env_var`.
@@ -89,7 +89,7 @@ class InstanceVariableArgs:
89
89
  @pulumi.getter
90
90
  def masked(self) -> Optional[pulumi.Input[_builtins.bool]]:
91
91
  """
92
- If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#masked-variables). Defaults to `false`.
92
+ If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable). Defaults to `false`.
93
93
  """
94
94
  return pulumi.get(self, "masked")
95
95
 
@@ -148,7 +148,7 @@ class _InstanceVariableState:
148
148
  Input properties used for looking up and filtering InstanceVariable resources.
149
149
  :param pulumi.Input[_builtins.str] description: The description of the variable. Maximum of 255 characters.
150
150
  :param pulumi.Input[_builtins.str] key: The name of the variable.
151
- :param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#masked-variables). Defaults to `false`.
151
+ :param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable). Defaults to `false`.
152
152
  :param pulumi.Input[_builtins.bool] protected: If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
153
153
  :param pulumi.Input[_builtins.bool] raw: Whether the variable is treated as a raw string. Default: false. When true, variables in the value are not expanded.
154
154
  :param pulumi.Input[_builtins.str] value: The value of the variable.
@@ -197,7 +197,7 @@ class _InstanceVariableState:
197
197
  @pulumi.getter
198
198
  def masked(self) -> Optional[pulumi.Input[_builtins.bool]]:
199
199
  """
200
- If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#masked-variables). Defaults to `false`.
200
+ If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable). Defaults to `false`.
201
201
  """
202
202
  return pulumi.get(self, "masked")
203
203
 
@@ -312,7 +312,7 @@ class InstanceVariable(pulumi.CustomResource):
312
312
  :param pulumi.ResourceOptions opts: Options for the resource.
313
313
  :param pulumi.Input[_builtins.str] description: The description of the variable. Maximum of 255 characters.
314
314
  :param pulumi.Input[_builtins.str] key: The name of the variable.
315
- :param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#masked-variables). Defaults to `false`.
315
+ :param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable). Defaults to `false`.
316
316
  :param pulumi.Input[_builtins.bool] protected: If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
317
317
  :param pulumi.Input[_builtins.bool] raw: Whether the variable is treated as a raw string. Default: false. When true, variables in the value are not expanded.
318
318
  :param pulumi.Input[_builtins.str] value: The value of the variable.
@@ -432,7 +432,7 @@ class InstanceVariable(pulumi.CustomResource):
432
432
  :param pulumi.ResourceOptions opts: Options for the resource.
433
433
  :param pulumi.Input[_builtins.str] description: The description of the variable. Maximum of 255 characters.
434
434
  :param pulumi.Input[_builtins.str] key: The name of the variable.
435
- :param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#masked-variables). Defaults to `false`.
435
+ :param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable). Defaults to `false`.
436
436
  :param pulumi.Input[_builtins.bool] protected: If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
437
437
  :param pulumi.Input[_builtins.bool] raw: Whether the variable is treated as a raw string. Default: false. When true, variables in the value are not expanded.
438
438
  :param pulumi.Input[_builtins.str] value: The value of the variable.
@@ -453,7 +453,7 @@ class InstanceVariable(pulumi.CustomResource):
453
453
 
454
454
  @_builtins.property
455
455
  @pulumi.getter
456
- def description(self) -> pulumi.Output[Optional[_builtins.str]]:
456
+ def description(self) -> pulumi.Output[_builtins.str]:
457
457
  """
458
458
  The description of the variable. Maximum of 255 characters.
459
459
  """
@@ -469,15 +469,15 @@ class InstanceVariable(pulumi.CustomResource):
469
469
 
470
470
  @_builtins.property
471
471
  @pulumi.getter
472
- def masked(self) -> pulumi.Output[Optional[_builtins.bool]]:
472
+ def masked(self) -> pulumi.Output[_builtins.bool]:
473
473
  """
474
- If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#masked-variables). Defaults to `false`.
474
+ If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable). Defaults to `false`.
475
475
  """
476
476
  return pulumi.get(self, "masked")
477
477
 
478
478
  @_builtins.property
479
479
  @pulumi.getter
480
- def protected(self) -> pulumi.Output[Optional[_builtins.bool]]:
480
+ def protected(self) -> pulumi.Output[_builtins.bool]:
481
481
  """
482
482
  If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
483
483
  """
@@ -485,7 +485,7 @@ class InstanceVariable(pulumi.CustomResource):
485
485
 
486
486
  @_builtins.property
487
487
  @pulumi.getter
488
- def raw(self) -> pulumi.Output[Optional[_builtins.bool]]:
488
+ def raw(self) -> pulumi.Output[_builtins.bool]:
489
489
  """
490
490
  Whether the variable is treated as a raw string. Default: false. When true, variables in the value are not expanded.
491
491
  """
@@ -501,7 +501,7 @@ class InstanceVariable(pulumi.CustomResource):
501
501
 
502
502
  @_builtins.property
503
503
  @pulumi.getter(name="variableType")
504
- def variable_type(self) -> pulumi.Output[Optional[_builtins.str]]:
504
+ def variable_type(self) -> pulumi.Output[_builtins.str]:
505
505
  """
506
506
  The type of a variable. Valid values are: `env_var`, `file`. Default is `env_var`.
507
507
  """
@@ -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[Optional[_builtins.str]]:
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[Optional[_builtins.bool]]:
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[Optional[_builtins.bool]]:
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[Optional[_builtins.bool]]:
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[Optional[_builtins.bool]]:
638
+ def tag_push_events(self) -> pulumi.Output[_builtins.bool]:
637
639
  """
638
640
  Enable notifications for tag push events.
639
641
  """
pulumi_gitlab/label.py CHANGED
@@ -25,7 +25,7 @@ class LabelArgs:
25
25
  name: Optional[pulumi.Input[_builtins.str]] = None):
26
26
  """
27
27
  The set of arguments for constructing a Label resource.
28
- :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
28
+ :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
29
29
  :param pulumi.Input[_builtins.str] project: The name or id of the project to add the label to.
30
30
  :param pulumi.Input[_builtins.str] description: The description of the label.
31
31
  :param pulumi.Input[_builtins.str] name: The name of the label.
@@ -41,7 +41,7 @@ class LabelArgs:
41
41
  @pulumi.getter
42
42
  def color(self) -> pulumi.Input[_builtins.str]:
43
43
  """
44
- The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
44
+ The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
45
45
  """
46
46
  return pulumi.get(self, "color")
47
47
 
@@ -97,7 +97,7 @@ class _LabelState:
97
97
  project: Optional[pulumi.Input[_builtins.str]] = None):
98
98
  """
99
99
  Input properties used for looking up and filtering Label resources.
100
- :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
100
+ :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
101
101
  :param pulumi.Input[_builtins.str] color_hex: Read-only, used by the provider to store the API response color. This is always in the 6-digit hex notation with leading '#' sign (e.g. #FFAABB). If `color` contains a color name, this attribute contains the hex notation equivalent. Otherwise, the value of this attribute is the same as `color`.
102
102
  :param pulumi.Input[_builtins.str] description: The description of the label.
103
103
  :param pulumi.Input[_builtins.int] label_id: The id of the project label.
@@ -121,7 +121,7 @@ class _LabelState:
121
121
  @pulumi.getter
122
122
  def color(self) -> Optional[pulumi.Input[_builtins.str]]:
123
123
  """
124
- The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
124
+ The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
125
125
  """
126
126
  return pulumi.get(self, "color")
127
127
 
@@ -210,7 +210,7 @@ class Label(pulumi.CustomResource):
210
210
 
211
211
  :param str resource_name: The name of the resource.
212
212
  :param pulumi.ResourceOptions opts: Options for the resource.
213
- :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
213
+ :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
214
214
  :param pulumi.Input[_builtins.str] description: The description of the label.
215
215
  :param pulumi.Input[_builtins.str] name: The name of the label.
216
216
  :param pulumi.Input[_builtins.str] project: The name or id of the project to add the label to.
@@ -289,7 +289,7 @@ class Label(pulumi.CustomResource):
289
289
  :param str resource_name: The unique name of the resulting resource.
290
290
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
291
291
  :param pulumi.ResourceOptions opts: Options for the resource.
292
- :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
292
+ :param pulumi.Input[_builtins.str] color: The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
293
293
  :param pulumi.Input[_builtins.str] color_hex: Read-only, used by the provider to store the API response color. This is always in the 6-digit hex notation with leading '#' sign (e.g. #FFAABB). If `color` contains a color name, this attribute contains the hex notation equivalent. Otherwise, the value of this attribute is the same as `color`.
294
294
  :param pulumi.Input[_builtins.str] description: The description of the label.
295
295
  :param pulumi.Input[_builtins.int] label_id: The id of the project label.
@@ -312,7 +312,7 @@ class Label(pulumi.CustomResource):
312
312
  @pulumi.getter
313
313
  def color(self) -> pulumi.Output[_builtins.str]:
314
314
  """
315
- The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
315
+ The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
316
316
  """
317
317
  return pulumi.get(self, "color")
318
318