pulumi-gitlab 9.6.0a1766428356__py3-none-any.whl → 9.7.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gitlab/__init__.py +13 -0
- pulumi_gitlab/_inputs.py +557 -0
- pulumi_gitlab/get_artifact_file.py +2 -2
- pulumi_gitlab/get_group_billable_member_memberships.py +2 -2
- pulumi_gitlab/get_group_membership.py +2 -2
- pulumi_gitlab/get_group_service_account.py +2 -2
- pulumi_gitlab/get_group_service_account_access_tokens.py +138 -0
- pulumi_gitlab/get_group_variable.py +1 -1
- pulumi_gitlab/get_instance_service_account.py +2 -2
- pulumi_gitlab/get_project.py +15 -1
- pulumi_gitlab/get_project_issue_label_events.py +170 -0
- pulumi_gitlab/get_project_membership.py +2 -2
- pulumi_gitlab/get_project_protected_tag.py +2 -2
- pulumi_gitlab/get_project_secure_file.py +247 -0
- pulumi_gitlab/get_projects.py +3 -3
- pulumi_gitlab/get_release_link.py +5 -5
- pulumi_gitlab/get_release_links.py +3 -3
- pulumi_gitlab/get_security_policy_document.py +170 -0
- pulumi_gitlab/global_level_notifications.py +2 -2
- pulumi_gitlab/group_access_token.py +4 -4
- pulumi_gitlab/group_label.py +7 -7
- pulumi_gitlab/group_membership.py +2 -2
- pulumi_gitlab/group_service_account.py +2 -2
- pulumi_gitlab/group_service_account_access_token.py +2 -2
- pulumi_gitlab/group_share_group.py +2 -2
- pulumi_gitlab/instance_service_account.py +2 -2
- pulumi_gitlab/instance_variable.py +12 -12
- pulumi_gitlab/label.py +7 -7
- pulumi_gitlab/member_role.py +9 -9
- pulumi_gitlab/outputs.py +770 -8
- pulumi_gitlab/pages_domain.py +7 -7
- pulumi_gitlab/personal_access_token.py +2 -2
- pulumi_gitlab/pipeline_schedule_variable.py +2 -2
- pulumi_gitlab/project.py +54 -7
- pulumi_gitlab/project_access_token.py +2 -2
- pulumi_gitlab/project_deploy_token.py +2 -2
- pulumi_gitlab/project_hook.py +2 -2
- pulumi_gitlab/project_label.py +11 -11
- pulumi_gitlab/project_level_mr_approvals.py +2 -2
- pulumi_gitlab/project_level_notifications.py +2 -2
- pulumi_gitlab/project_membership.py +2 -2
- pulumi_gitlab/project_target_branch_rule.py +2 -2
- pulumi_gitlab/project_variable.py +7 -7
- pulumi_gitlab/pulumi-plugin.json +1 -1
- pulumi_gitlab/release_link.py +18 -18
- pulumi_gitlab/runner.py +2 -2
- pulumi_gitlab/system_hook.py +7 -7
- pulumi_gitlab/user_avatar.py +386 -0
- pulumi_gitlab/user_gpg_key.py +2 -2
- pulumi_gitlab/user_impersonation_token.py +2 -2
- pulumi_gitlab/user_runner.py +2 -2
- pulumi_gitlab/user_ssh_key.py +2 -2
- {pulumi_gitlab-9.6.0a1766428356.dist-info → pulumi_gitlab-9.7.0.dist-info}/METADATA +1 -1
- {pulumi_gitlab-9.6.0a1766428356.dist-info → pulumi_gitlab-9.7.0.dist-info}/RECORD +56 -51
- {pulumi_gitlab-9.6.0a1766428356.dist-info → pulumi_gitlab-9.7.0.dist-info}/WHEEL +0 -0
- {pulumi_gitlab-9.6.0a1766428356.dist-info → pulumi_gitlab-9.7.0.dist-info}/top_level.txt +0 -0
pulumi_gitlab/pages_domain.py
CHANGED
|
@@ -28,7 +28,7 @@ class PagesDomainArgs:
|
|
|
28
28
|
"""
|
|
29
29
|
The set of arguments for constructing a PagesDomain resource.
|
|
30
30
|
:param pulumi.Input[_builtins.str] domain: The custom domain indicated by the user.
|
|
31
|
-
:param pulumi.Input[_builtins.str] project: The ID or
|
|
31
|
+
:param pulumi.Input[_builtins.str] project: The ID or Namespace path of the project owned by the authenticated user.
|
|
32
32
|
:param pulumi.Input[_builtins.bool] auto_ssl_enabled: Enables [automatic generation](https://docs.gitlab.com/user/project/pages/custom_domains_ssl_tls_certification/lets_encrypt_integration/) of SSL certificates issued by Let’s Encrypt for custom domains. When this is set to "true", certificate can't be provided.
|
|
33
33
|
:param pulumi.Input[_builtins.str] certificate: The certificate in PEM format with intermediates following in most specific to least specific order.
|
|
34
34
|
:param pulumi.Input[_builtins.bool] expired: Whether the certificate is expired.
|
|
@@ -61,7 +61,7 @@ class PagesDomainArgs:
|
|
|
61
61
|
@pulumi.getter
|
|
62
62
|
def project(self) -> pulumi.Input[_builtins.str]:
|
|
63
63
|
"""
|
|
64
|
-
The ID or
|
|
64
|
+
The ID or Namespace path of the project owned by the authenticated user.
|
|
65
65
|
"""
|
|
66
66
|
return pulumi.get(self, "project")
|
|
67
67
|
|
|
@@ -137,7 +137,7 @@ class _PagesDomainState:
|
|
|
137
137
|
:param pulumi.Input[_builtins.str] domain: The custom domain indicated by the user.
|
|
138
138
|
:param pulumi.Input[_builtins.bool] expired: Whether the certificate is expired.
|
|
139
139
|
:param pulumi.Input[_builtins.str] key: The certificate key in PEM format.
|
|
140
|
-
:param pulumi.Input[_builtins.str] project: The ID or
|
|
140
|
+
:param pulumi.Input[_builtins.str] project: The ID or Namespace path of the project owned by the authenticated user.
|
|
141
141
|
:param pulumi.Input[_builtins.str] url: The URL for the given domain.
|
|
142
142
|
:param pulumi.Input[_builtins.str] verification_code: The verification code for the domain.
|
|
143
143
|
:param pulumi.Input[_builtins.bool] verified: The certificate data.
|
|
@@ -225,7 +225,7 @@ class _PagesDomainState:
|
|
|
225
225
|
@pulumi.getter
|
|
226
226
|
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
227
227
|
"""
|
|
228
|
-
The ID or
|
|
228
|
+
The ID or Namespace path of the project owned by the authenticated user.
|
|
229
229
|
"""
|
|
230
230
|
return pulumi.get(self, "project")
|
|
231
231
|
|
|
@@ -317,7 +317,7 @@ class PagesDomain(pulumi.CustomResource):
|
|
|
317
317
|
:param pulumi.Input[_builtins.str] domain: The custom domain indicated by the user.
|
|
318
318
|
:param pulumi.Input[_builtins.bool] expired: Whether the certificate is expired.
|
|
319
319
|
:param pulumi.Input[_builtins.str] key: The certificate key in PEM format.
|
|
320
|
-
:param pulumi.Input[_builtins.str] project: The ID or
|
|
320
|
+
:param pulumi.Input[_builtins.str] project: The ID or Namespace path of the project owned by the authenticated user.
|
|
321
321
|
"""
|
|
322
322
|
...
|
|
323
323
|
@overload
|
|
@@ -428,7 +428,7 @@ class PagesDomain(pulumi.CustomResource):
|
|
|
428
428
|
:param pulumi.Input[_builtins.str] domain: The custom domain indicated by the user.
|
|
429
429
|
:param pulumi.Input[_builtins.bool] expired: Whether the certificate is expired.
|
|
430
430
|
:param pulumi.Input[_builtins.str] key: The certificate key in PEM format.
|
|
431
|
-
:param pulumi.Input[_builtins.str] project: The ID or
|
|
431
|
+
:param pulumi.Input[_builtins.str] project: The ID or Namespace path of the project owned by the authenticated user.
|
|
432
432
|
:param pulumi.Input[_builtins.str] url: The URL for the given domain.
|
|
433
433
|
:param pulumi.Input[_builtins.str] verification_code: The verification code for the domain.
|
|
434
434
|
:param pulumi.Input[_builtins.bool] verified: The certificate data.
|
|
@@ -492,7 +492,7 @@ class PagesDomain(pulumi.CustomResource):
|
|
|
492
492
|
@pulumi.getter
|
|
493
493
|
def project(self) -> pulumi.Output[_builtins.str]:
|
|
494
494
|
"""
|
|
495
|
-
The ID or
|
|
495
|
+
The ID or Namespace path of the project owned by the authenticated user.
|
|
496
496
|
"""
|
|
497
497
|
return pulumi.get(self, "project")
|
|
498
498
|
|
|
@@ -341,7 +341,7 @@ class PersonalAccessToken(pulumi.CustomResource):
|
|
|
341
341
|
|
|
342
342
|
> Use of the `timestamp()` function with expires_at will cause the resource to be re-created with every apply, it's recommended to use `plantimestamp()` or a static value instead.
|
|
343
343
|
|
|
344
|
-
> Observability scopes are in beta and may not work on all instances. See more details in [the documentation](https://docs.gitlab.com/
|
|
344
|
+
> Observability scopes are in beta and may not work on all instances. See more details in [the documentation](https://docs.gitlab.com/development/tracing/)
|
|
345
345
|
|
|
346
346
|
> Use `rotation_configuration` to automatically rotate tokens instead of using `timestamp()` as timestamp will cause changes with every plan. `pulumi up` must still be run to rotate the token.
|
|
347
347
|
|
|
@@ -413,7 +413,7 @@ class PersonalAccessToken(pulumi.CustomResource):
|
|
|
413
413
|
|
|
414
414
|
> Use of the `timestamp()` function with expires_at will cause the resource to be re-created with every apply, it's recommended to use `plantimestamp()` or a static value instead.
|
|
415
415
|
|
|
416
|
-
> Observability scopes are in beta and may not work on all instances. See more details in [the documentation](https://docs.gitlab.com/
|
|
416
|
+
> Observability scopes are in beta and may not work on all instances. See more details in [the documentation](https://docs.gitlab.com/development/tracing/)
|
|
417
417
|
|
|
418
418
|
> Use `rotation_configuration` to automatically rotate tokens instead of using `timestamp()` as timestamp will cause changes with every plan. `pulumi up` must still be run to rotate the token.
|
|
419
419
|
|
|
@@ -203,7 +203,7 @@ class PipelineScheduleVariable(pulumi.CustomResource):
|
|
|
203
203
|
"""
|
|
204
204
|
The `PipelineScheduleVariable` resource allows to manage the lifecycle of a variable for a pipeline schedule.
|
|
205
205
|
|
|
206
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/pipeline_schedules/#pipeline-schedule-
|
|
206
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/pipeline_schedules/#get-a-pipeline-schedule-variable)
|
|
207
207
|
|
|
208
208
|
## Example Usage
|
|
209
209
|
|
|
@@ -262,7 +262,7 @@ class PipelineScheduleVariable(pulumi.CustomResource):
|
|
|
262
262
|
"""
|
|
263
263
|
The `PipelineScheduleVariable` resource allows to manage the lifecycle of a variable for a pipeline schedule.
|
|
264
264
|
|
|
265
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/pipeline_schedules/#pipeline-schedule-
|
|
265
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/pipeline_schedules/#get-a-pipeline-schedule-variable)
|
|
266
266
|
|
|
267
267
|
## Example Usage
|
|
268
268
|
|
pulumi_gitlab/project.py
CHANGED
|
@@ -78,6 +78,7 @@ class ProjectArgs:
|
|
|
78
78
|
merge_requests_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
79
79
|
merge_requests_template: Optional[pulumi.Input[_builtins.str]] = None,
|
|
80
80
|
merge_trains_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
81
|
+
merge_trains_skip_train_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
81
82
|
mirror: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
82
83
|
mirror_overwrites_diverged_branches: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
83
84
|
mirror_trigger_builds: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -185,6 +186,7 @@ class ProjectArgs:
|
|
|
185
186
|
:param pulumi.Input[_builtins.bool] merge_requests_enabled: Enable merge requests for the project. Use `merge_requests_access_level` instead. To be removed in 19.0.
|
|
186
187
|
:param pulumi.Input[_builtins.str] merge_requests_template: Sets the template for new merge requests in the project.
|
|
187
188
|
:param pulumi.Input[_builtins.bool] merge_trains_enabled: Enable or disable merge trains. Requires `merge_pipelines_enabled` to be set to `true` to take effect.
|
|
189
|
+
:param pulumi.Input[_builtins.bool] merge_trains_skip_train_allowed: Allows merge train merge requests to be merged without waiting for pipelines to finish. Requires `merge_pipelines_enabled` to be set to `true` to take effect.
|
|
188
190
|
:param pulumi.Input[_builtins.bool] mirror: Enable project pull mirror.
|
|
189
191
|
:param pulumi.Input[_builtins.bool] mirror_overwrites_diverged_branches: Enable overwrite diverged branches for a mirrored project.
|
|
190
192
|
:param pulumi.Input[_builtins.bool] mirror_trigger_builds: Enable trigger builds on pushes for a mirrored project.
|
|
@@ -233,7 +235,7 @@ class ProjectArgs:
|
|
|
233
235
|
:param pulumi.Input[_builtins.int] template_project_id: When used with use*custom*template, project ID of a custom project template. This is preferable to using template*name since template*name may be ambiguous (enterprise edition). This option is mutually exclusive with `template_name`. See `GroupProjectFileTemplate` to set a project as a template project. If a project has not been set as a template, using it here will result in an error.
|
|
234
236
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] topics: The list of topics for the project.
|
|
235
237
|
:param pulumi.Input[_builtins.bool] use_custom_template: Use either custom instance or group (with group*with*project*templates*id) project template (enterprise edition).
|
|
236
|
-
> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/
|
|
238
|
+
> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/user/project/settings/import_export_troubleshooting/#import-using-the-rest-api-fails-when-using-a-group-access-token). You must use a real user's Personal Access Token.
|
|
237
239
|
:param pulumi.Input[_builtins.str] visibility_level: Set to `public` to create a public project. Valid values are `private`, `internal`, `public`.
|
|
238
240
|
:param pulumi.Input[_builtins.str] wiki_access_level: Set the wiki access level. Valid values are `disabled`, `private`, `enabled`.
|
|
239
241
|
:param pulumi.Input[_builtins.bool] wiki_enabled: Enable wiki for the project. Use `wiki_access_level` instead. To be removed in 19.0.
|
|
@@ -364,6 +366,8 @@ class ProjectArgs:
|
|
|
364
366
|
pulumi.set(__self__, "merge_requests_template", merge_requests_template)
|
|
365
367
|
if merge_trains_enabled is not None:
|
|
366
368
|
pulumi.set(__self__, "merge_trains_enabled", merge_trains_enabled)
|
|
369
|
+
if merge_trains_skip_train_allowed is not None:
|
|
370
|
+
pulumi.set(__self__, "merge_trains_skip_train_allowed", merge_trains_skip_train_allowed)
|
|
367
371
|
if mirror is not None:
|
|
368
372
|
pulumi.set(__self__, "mirror", mirror)
|
|
369
373
|
if mirror_overwrites_diverged_branches is not None:
|
|
@@ -1167,6 +1171,18 @@ class ProjectArgs:
|
|
|
1167
1171
|
def merge_trains_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1168
1172
|
pulumi.set(self, "merge_trains_enabled", value)
|
|
1169
1173
|
|
|
1174
|
+
@_builtins.property
|
|
1175
|
+
@pulumi.getter(name="mergeTrainsSkipTrainAllowed")
|
|
1176
|
+
def merge_trains_skip_train_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1177
|
+
"""
|
|
1178
|
+
Allows merge train merge requests to be merged without waiting for pipelines to finish. Requires `merge_pipelines_enabled` to be set to `true` to take effect.
|
|
1179
|
+
"""
|
|
1180
|
+
return pulumi.get(self, "merge_trains_skip_train_allowed")
|
|
1181
|
+
|
|
1182
|
+
@merge_trains_skip_train_allowed.setter
|
|
1183
|
+
def merge_trains_skip_train_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1184
|
+
pulumi.set(self, "merge_trains_skip_train_allowed", value)
|
|
1185
|
+
|
|
1170
1186
|
@_builtins.property
|
|
1171
1187
|
@pulumi.getter
|
|
1172
1188
|
def mirror(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -1708,7 +1724,7 @@ class ProjectArgs:
|
|
|
1708
1724
|
def use_custom_template(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1709
1725
|
"""
|
|
1710
1726
|
Use either custom instance or group (with group*with*project*templates*id) project template (enterprise edition).
|
|
1711
|
-
> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/
|
|
1727
|
+
> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/user/project/settings/import_export_troubleshooting/#import-using-the-rest-api-fails-when-using-a-group-access-token). You must use a real user's Personal Access Token.
|
|
1712
1728
|
"""
|
|
1713
1729
|
return pulumi.get(self, "use_custom_template")
|
|
1714
1730
|
|
|
@@ -1817,6 +1833,7 @@ class _ProjectState:
|
|
|
1817
1833
|
merge_requests_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1818
1834
|
merge_requests_template: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1819
1835
|
merge_trains_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1836
|
+
merge_trains_skip_train_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1820
1837
|
mirror: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1821
1838
|
mirror_overwrites_diverged_branches: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1822
1839
|
mirror_trigger_builds: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -1931,6 +1948,7 @@ class _ProjectState:
|
|
|
1931
1948
|
:param pulumi.Input[_builtins.bool] merge_requests_enabled: Enable merge requests for the project. Use `merge_requests_access_level` instead. To be removed in 19.0.
|
|
1932
1949
|
:param pulumi.Input[_builtins.str] merge_requests_template: Sets the template for new merge requests in the project.
|
|
1933
1950
|
:param pulumi.Input[_builtins.bool] merge_trains_enabled: Enable or disable merge trains. Requires `merge_pipelines_enabled` to be set to `true` to take effect.
|
|
1951
|
+
:param pulumi.Input[_builtins.bool] merge_trains_skip_train_allowed: Allows merge train merge requests to be merged without waiting for pipelines to finish. Requires `merge_pipelines_enabled` to be set to `true` to take effect.
|
|
1934
1952
|
:param pulumi.Input[_builtins.bool] mirror: Enable project pull mirror.
|
|
1935
1953
|
:param pulumi.Input[_builtins.bool] mirror_overwrites_diverged_branches: Enable overwrite diverged branches for a mirrored project.
|
|
1936
1954
|
:param pulumi.Input[_builtins.bool] mirror_trigger_builds: Enable trigger builds on pushes for a mirrored project.
|
|
@@ -1982,7 +2000,7 @@ class _ProjectState:
|
|
|
1982
2000
|
:param pulumi.Input[_builtins.int] template_project_id: When used with use*custom*template, project ID of a custom project template. This is preferable to using template*name since template*name may be ambiguous (enterprise edition). This option is mutually exclusive with `template_name`. See `GroupProjectFileTemplate` to set a project as a template project. If a project has not been set as a template, using it here will result in an error.
|
|
1983
2001
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] topics: The list of topics for the project.
|
|
1984
2002
|
:param pulumi.Input[_builtins.bool] use_custom_template: Use either custom instance or group (with group*with*project*templates*id) project template (enterprise edition).
|
|
1985
|
-
> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/
|
|
2003
|
+
> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/user/project/settings/import_export_troubleshooting/#import-using-the-rest-api-fails-when-using-a-group-access-token). You must use a real user's Personal Access Token.
|
|
1986
2004
|
:param pulumi.Input[_builtins.str] visibility_level: Set to `public` to create a public project. Valid values are `private`, `internal`, `public`.
|
|
1987
2005
|
:param pulumi.Input[_builtins.str] web_url: URL that can be used to find the project in a browser.
|
|
1988
2006
|
:param pulumi.Input[_builtins.str] wiki_access_level: Set the wiki access level. Valid values are `disabled`, `private`, `enabled`.
|
|
@@ -2120,6 +2138,8 @@ class _ProjectState:
|
|
|
2120
2138
|
pulumi.set(__self__, "merge_requests_template", merge_requests_template)
|
|
2121
2139
|
if merge_trains_enabled is not None:
|
|
2122
2140
|
pulumi.set(__self__, "merge_trains_enabled", merge_trains_enabled)
|
|
2141
|
+
if merge_trains_skip_train_allowed is not None:
|
|
2142
|
+
pulumi.set(__self__, "merge_trains_skip_train_allowed", merge_trains_skip_train_allowed)
|
|
2123
2143
|
if mirror is not None:
|
|
2124
2144
|
pulumi.set(__self__, "mirror", mirror)
|
|
2125
2145
|
if mirror_overwrites_diverged_branches is not None:
|
|
@@ -2967,6 +2987,18 @@ class _ProjectState:
|
|
|
2967
2987
|
def merge_trains_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
2968
2988
|
pulumi.set(self, "merge_trains_enabled", value)
|
|
2969
2989
|
|
|
2990
|
+
@_builtins.property
|
|
2991
|
+
@pulumi.getter(name="mergeTrainsSkipTrainAllowed")
|
|
2992
|
+
def merge_trains_skip_train_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
2993
|
+
"""
|
|
2994
|
+
Allows merge train merge requests to be merged without waiting for pipelines to finish. Requires `merge_pipelines_enabled` to be set to `true` to take effect.
|
|
2995
|
+
"""
|
|
2996
|
+
return pulumi.get(self, "merge_trains_skip_train_allowed")
|
|
2997
|
+
|
|
2998
|
+
@merge_trains_skip_train_allowed.setter
|
|
2999
|
+
def merge_trains_skip_train_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
3000
|
+
pulumi.set(self, "merge_trains_skip_train_allowed", value)
|
|
3001
|
+
|
|
2970
3002
|
@_builtins.property
|
|
2971
3003
|
@pulumi.getter
|
|
2972
3004
|
def mirror(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -3544,7 +3576,7 @@ class _ProjectState:
|
|
|
3544
3576
|
def use_custom_template(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
3545
3577
|
"""
|
|
3546
3578
|
Use either custom instance or group (with group*with*project*templates*id) project template (enterprise edition).
|
|
3547
|
-
> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/
|
|
3579
|
+
> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/user/project/settings/import_export_troubleshooting/#import-using-the-rest-api-fails-when-using-a-group-access-token). You must use a real user's Personal Access Token.
|
|
3548
3580
|
"""
|
|
3549
3581
|
return pulumi.get(self, "use_custom_template")
|
|
3550
3582
|
|
|
@@ -3665,6 +3697,7 @@ class Project(pulumi.CustomResource):
|
|
|
3665
3697
|
merge_requests_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
3666
3698
|
merge_requests_template: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3667
3699
|
merge_trains_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
3700
|
+
merge_trains_skip_train_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
3668
3701
|
mirror: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
3669
3702
|
mirror_overwrites_diverged_branches: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
3670
3703
|
mirror_trigger_builds: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -3806,6 +3839,7 @@ class Project(pulumi.CustomResource):
|
|
|
3806
3839
|
:param pulumi.Input[_builtins.bool] merge_requests_enabled: Enable merge requests for the project. Use `merge_requests_access_level` instead. To be removed in 19.0.
|
|
3807
3840
|
:param pulumi.Input[_builtins.str] merge_requests_template: Sets the template for new merge requests in the project.
|
|
3808
3841
|
:param pulumi.Input[_builtins.bool] merge_trains_enabled: Enable or disable merge trains. Requires `merge_pipelines_enabled` to be set to `true` to take effect.
|
|
3842
|
+
:param pulumi.Input[_builtins.bool] merge_trains_skip_train_allowed: Allows merge train merge requests to be merged without waiting for pipelines to finish. Requires `merge_pipelines_enabled` to be set to `true` to take effect.
|
|
3809
3843
|
:param pulumi.Input[_builtins.bool] mirror: Enable project pull mirror.
|
|
3810
3844
|
:param pulumi.Input[_builtins.bool] mirror_overwrites_diverged_branches: Enable overwrite diverged branches for a mirrored project.
|
|
3811
3845
|
:param pulumi.Input[_builtins.bool] mirror_trigger_builds: Enable trigger builds on pushes for a mirrored project.
|
|
@@ -3854,7 +3888,7 @@ class Project(pulumi.CustomResource):
|
|
|
3854
3888
|
:param pulumi.Input[_builtins.int] template_project_id: When used with use*custom*template, project ID of a custom project template. This is preferable to using template*name since template*name may be ambiguous (enterprise edition). This option is mutually exclusive with `template_name`. See `GroupProjectFileTemplate` to set a project as a template project. If a project has not been set as a template, using it here will result in an error.
|
|
3855
3889
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] topics: The list of topics for the project.
|
|
3856
3890
|
:param pulumi.Input[_builtins.bool] use_custom_template: Use either custom instance or group (with group*with*project*templates*id) project template (enterprise edition).
|
|
3857
|
-
> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/
|
|
3891
|
+
> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/user/project/settings/import_export_troubleshooting/#import-using-the-rest-api-fails-when-using-a-group-access-token). You must use a real user's Personal Access Token.
|
|
3858
3892
|
:param pulumi.Input[_builtins.str] visibility_level: Set to `public` to create a public project. Valid values are `private`, `internal`, `public`.
|
|
3859
3893
|
:param pulumi.Input[_builtins.str] wiki_access_level: Set the wiki access level. Valid values are `disabled`, `private`, `enabled`.
|
|
3860
3894
|
:param pulumi.Input[_builtins.bool] wiki_enabled: Enable wiki for the project. Use `wiki_access_level` instead. To be removed in 19.0.
|
|
@@ -3970,6 +4004,7 @@ class Project(pulumi.CustomResource):
|
|
|
3970
4004
|
merge_requests_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
3971
4005
|
merge_requests_template: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3972
4006
|
merge_trains_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
4007
|
+
merge_trains_skip_train_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
3973
4008
|
mirror: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
3974
4009
|
mirror_overwrites_diverged_branches: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
3975
4010
|
mirror_trigger_builds: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -4084,6 +4119,7 @@ class Project(pulumi.CustomResource):
|
|
|
4084
4119
|
__props__.__dict__["merge_requests_enabled"] = merge_requests_enabled
|
|
4085
4120
|
__props__.__dict__["merge_requests_template"] = merge_requests_template
|
|
4086
4121
|
__props__.__dict__["merge_trains_enabled"] = merge_trains_enabled
|
|
4122
|
+
__props__.__dict__["merge_trains_skip_train_allowed"] = merge_trains_skip_train_allowed
|
|
4087
4123
|
__props__.__dict__["mirror"] = mirror
|
|
4088
4124
|
__props__.__dict__["mirror_overwrites_diverged_branches"] = mirror_overwrites_diverged_branches
|
|
4089
4125
|
__props__.__dict__["mirror_trigger_builds"] = mirror_trigger_builds
|
|
@@ -4211,6 +4247,7 @@ class Project(pulumi.CustomResource):
|
|
|
4211
4247
|
merge_requests_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
4212
4248
|
merge_requests_template: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4213
4249
|
merge_trains_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
4250
|
+
merge_trains_skip_train_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
4214
4251
|
mirror: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
4215
4252
|
mirror_overwrites_diverged_branches: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
4216
4253
|
mirror_trigger_builds: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -4330,6 +4367,7 @@ class Project(pulumi.CustomResource):
|
|
|
4330
4367
|
:param pulumi.Input[_builtins.bool] merge_requests_enabled: Enable merge requests for the project. Use `merge_requests_access_level` instead. To be removed in 19.0.
|
|
4331
4368
|
:param pulumi.Input[_builtins.str] merge_requests_template: Sets the template for new merge requests in the project.
|
|
4332
4369
|
:param pulumi.Input[_builtins.bool] merge_trains_enabled: Enable or disable merge trains. Requires `merge_pipelines_enabled` to be set to `true` to take effect.
|
|
4370
|
+
:param pulumi.Input[_builtins.bool] merge_trains_skip_train_allowed: Allows merge train merge requests to be merged without waiting for pipelines to finish. Requires `merge_pipelines_enabled` to be set to `true` to take effect.
|
|
4333
4371
|
:param pulumi.Input[_builtins.bool] mirror: Enable project pull mirror.
|
|
4334
4372
|
:param pulumi.Input[_builtins.bool] mirror_overwrites_diverged_branches: Enable overwrite diverged branches for a mirrored project.
|
|
4335
4373
|
:param pulumi.Input[_builtins.bool] mirror_trigger_builds: Enable trigger builds on pushes for a mirrored project.
|
|
@@ -4381,7 +4419,7 @@ class Project(pulumi.CustomResource):
|
|
|
4381
4419
|
:param pulumi.Input[_builtins.int] template_project_id: When used with use*custom*template, project ID of a custom project template. This is preferable to using template*name since template*name may be ambiguous (enterprise edition). This option is mutually exclusive with `template_name`. See `GroupProjectFileTemplate` to set a project as a template project. If a project has not been set as a template, using it here will result in an error.
|
|
4382
4420
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] topics: The list of topics for the project.
|
|
4383
4421
|
:param pulumi.Input[_builtins.bool] use_custom_template: Use either custom instance or group (with group*with*project*templates*id) project template (enterprise edition).
|
|
4384
|
-
> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/
|
|
4422
|
+
> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/user/project/settings/import_export_troubleshooting/#import-using-the-rest-api-fails-when-using-a-group-access-token). You must use a real user's Personal Access Token.
|
|
4385
4423
|
:param pulumi.Input[_builtins.str] visibility_level: Set to `public` to create a public project. Valid values are `private`, `internal`, `public`.
|
|
4386
4424
|
:param pulumi.Input[_builtins.str] web_url: URL that can be used to find the project in a browser.
|
|
4387
4425
|
:param pulumi.Input[_builtins.str] wiki_access_level: Set the wiki access level. Valid values are `disabled`, `private`, `enabled`.
|
|
@@ -4451,6 +4489,7 @@ class Project(pulumi.CustomResource):
|
|
|
4451
4489
|
__props__.__dict__["merge_requests_enabled"] = merge_requests_enabled
|
|
4452
4490
|
__props__.__dict__["merge_requests_template"] = merge_requests_template
|
|
4453
4491
|
__props__.__dict__["merge_trains_enabled"] = merge_trains_enabled
|
|
4492
|
+
__props__.__dict__["merge_trains_skip_train_allowed"] = merge_trains_skip_train_allowed
|
|
4454
4493
|
__props__.__dict__["mirror"] = mirror
|
|
4455
4494
|
__props__.__dict__["mirror_overwrites_diverged_branches"] = mirror_overwrites_diverged_branches
|
|
4456
4495
|
__props__.__dict__["mirror_trigger_builds"] = mirror_trigger_builds
|
|
@@ -4989,6 +5028,14 @@ class Project(pulumi.CustomResource):
|
|
|
4989
5028
|
"""
|
|
4990
5029
|
return pulumi.get(self, "merge_trains_enabled")
|
|
4991
5030
|
|
|
5031
|
+
@_builtins.property
|
|
5032
|
+
@pulumi.getter(name="mergeTrainsSkipTrainAllowed")
|
|
5033
|
+
def merge_trains_skip_train_allowed(self) -> pulumi.Output[_builtins.bool]:
|
|
5034
|
+
"""
|
|
5035
|
+
Allows merge train merge requests to be merged without waiting for pipelines to finish. Requires `merge_pipelines_enabled` to be set to `true` to take effect.
|
|
5036
|
+
"""
|
|
5037
|
+
return pulumi.get(self, "merge_trains_skip_train_allowed")
|
|
5038
|
+
|
|
4992
5039
|
@_builtins.property
|
|
4993
5040
|
@pulumi.getter
|
|
4994
5041
|
def mirror(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
@@ -5378,7 +5425,7 @@ class Project(pulumi.CustomResource):
|
|
|
5378
5425
|
def use_custom_template(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
5379
5426
|
"""
|
|
5380
5427
|
Use either custom instance or group (with group*with*project*templates*id) project template (enterprise edition).
|
|
5381
|
-
> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/
|
|
5428
|
+
> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/user/project/settings/import_export_troubleshooting/#import-using-the-rest-api-fails-when-using-a-group-access-token). You must use a real user's Personal Access Token.
|
|
5382
5429
|
"""
|
|
5383
5430
|
return pulumi.get(self, "use_custom_template")
|
|
5384
5431
|
|
|
@@ -386,7 +386,7 @@ class ProjectAccessToken(pulumi.CustomResource):
|
|
|
386
386
|
"""
|
|
387
387
|
The `ProjectAccessToken` resource allows to manage the lifecycle of a project access token.
|
|
388
388
|
|
|
389
|
-
> Observability scopes are in beta and may not work on all instances. See more details in [the documentation](https://docs.gitlab.com/
|
|
389
|
+
> Observability scopes are in beta and may not work on all instances. See more details in [the documentation](https://docs.gitlab.com/development/tracing/)
|
|
390
390
|
|
|
391
391
|
> Use `rotation_configuration` to automatically rotate tokens instead of using `timestamp()` as timestamp will cause changes with every plan. `pulumi up` must still be run to rotate the token.
|
|
392
392
|
|
|
@@ -456,7 +456,7 @@ class ProjectAccessToken(pulumi.CustomResource):
|
|
|
456
456
|
"""
|
|
457
457
|
The `ProjectAccessToken` resource allows to manage the lifecycle of a project access token.
|
|
458
458
|
|
|
459
|
-
> Observability scopes are in beta and may not work on all instances. See more details in [the documentation](https://docs.gitlab.com/
|
|
459
|
+
> Observability scopes are in beta and may not work on all instances. See more details in [the documentation](https://docs.gitlab.com/development/tracing/)
|
|
460
460
|
|
|
461
461
|
> Use `rotation_configuration` to automatically rotate tokens instead of using `timestamp()` as timestamp will cause changes with every plan. `pulumi up` must still be run to rotate the token.
|
|
462
462
|
|
|
@@ -286,7 +286,7 @@ class ProjectDeployToken(pulumi.CustomResource):
|
|
|
286
286
|
"""
|
|
287
287
|
The `ProjectDeployToken` resource allows you to manage the lifecycle of deploy tokens on a project.
|
|
288
288
|
|
|
289
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/deploy_tokens
|
|
289
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/deploy_tokens/#project-deploy-tokens)
|
|
290
290
|
|
|
291
291
|
## Example Usage
|
|
292
292
|
|
|
@@ -358,7 +358,7 @@ class ProjectDeployToken(pulumi.CustomResource):
|
|
|
358
358
|
"""
|
|
359
359
|
The `ProjectDeployToken` resource allows you to manage the lifecycle of deploy tokens on a project.
|
|
360
360
|
|
|
361
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/deploy_tokens
|
|
361
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/deploy_tokens/#project-deploy-tokens)
|
|
362
362
|
|
|
363
363
|
## Example Usage
|
|
364
364
|
|
pulumi_gitlab/project_hook.py
CHANGED
|
@@ -800,7 +800,7 @@ class ProjectHook(pulumi.CustomResource):
|
|
|
800
800
|
"""
|
|
801
801
|
The `ProjectHook` resource allows to manage the lifecycle of a project hook.
|
|
802
802
|
|
|
803
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/
|
|
803
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_webhooks/)
|
|
804
804
|
|
|
805
805
|
## Example Usage
|
|
806
806
|
|
|
@@ -890,7 +890,7 @@ class ProjectHook(pulumi.CustomResource):
|
|
|
890
890
|
"""
|
|
891
891
|
The `ProjectHook` resource allows to manage the lifecycle of a project hook.
|
|
892
892
|
|
|
893
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/
|
|
893
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_webhooks/)
|
|
894
894
|
|
|
895
895
|
## Example Usage
|
|
896
896
|
|
pulumi_gitlab/project_label.py
CHANGED
|
@@ -25,7 +25,7 @@ class ProjectLabelArgs:
|
|
|
25
25
|
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
26
26
|
"""
|
|
27
27
|
The set of arguments for constructing a ProjectLabel 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 ProjectLabelArgs:
|
|
|
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 _ProjectLabelState:
|
|
|
97
97
|
project: Optional[pulumi.Input[_builtins.str]] = None):
|
|
98
98
|
"""
|
|
99
99
|
Input properties used for looking up and filtering ProjectLabel 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 _ProjectLabelState:
|
|
|
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
|
|
|
@@ -242,15 +242,15 @@ class ProjectLabel(pulumi.CustomResource):
|
|
|
242
242
|
|
|
243
243
|
Importing using the CLI is supported with the following syntax:
|
|
244
244
|
|
|
245
|
-
Gitlab Project labels can be imported using an id made up of `{project_id}:{
|
|
245
|
+
Gitlab Project labels can be imported using an id made up of `{project_id}:{label_id}`, e.g.
|
|
246
246
|
|
|
247
247
|
```sh
|
|
248
|
-
$ pulumi import gitlab:index/projectLabel:ProjectLabel example 12345:
|
|
248
|
+
$ pulumi import gitlab:index/projectLabel:ProjectLabel example 12345:101010
|
|
249
249
|
```
|
|
250
250
|
|
|
251
251
|
:param str resource_name: The name of the resource.
|
|
252
252
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
253
|
-
: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).
|
|
253
|
+
: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).
|
|
254
254
|
:param pulumi.Input[_builtins.str] description: The description of the label.
|
|
255
255
|
:param pulumi.Input[_builtins.str] name: The name of the label.
|
|
256
256
|
:param pulumi.Input[_builtins.str] project: The name or id of the project to add the label to.
|
|
@@ -302,10 +302,10 @@ class ProjectLabel(pulumi.CustomResource):
|
|
|
302
302
|
|
|
303
303
|
Importing using the CLI is supported with the following syntax:
|
|
304
304
|
|
|
305
|
-
Gitlab Project labels can be imported using an id made up of `{project_id}:{
|
|
305
|
+
Gitlab Project labels can be imported using an id made up of `{project_id}:{label_id}`, e.g.
|
|
306
306
|
|
|
307
307
|
```sh
|
|
308
|
-
$ pulumi import gitlab:index/projectLabel:ProjectLabel example 12345:
|
|
308
|
+
$ pulumi import gitlab:index/projectLabel:ProjectLabel example 12345:101010
|
|
309
309
|
```
|
|
310
310
|
|
|
311
311
|
:param str resource_name: The name of the resource.
|
|
@@ -369,7 +369,7 @@ class ProjectLabel(pulumi.CustomResource):
|
|
|
369
369
|
:param str resource_name: The unique name of the resulting resource.
|
|
370
370
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
371
371
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
372
|
-
: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).
|
|
372
|
+
: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).
|
|
373
373
|
: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`.
|
|
374
374
|
:param pulumi.Input[_builtins.str] description: The description of the label.
|
|
375
375
|
:param pulumi.Input[_builtins.int] label_id: The id of the project label.
|
|
@@ -392,7 +392,7 @@ class ProjectLabel(pulumi.CustomResource):
|
|
|
392
392
|
@pulumi.getter
|
|
393
393
|
def color(self) -> pulumi.Output[_builtins.str]:
|
|
394
394
|
"""
|
|
395
|
-
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).
|
|
395
|
+
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).
|
|
396
396
|
"""
|
|
397
397
|
return pulumi.get(self, "color")
|
|
398
398
|
|
|
@@ -274,7 +274,7 @@ class ProjectLevelMrApprovals(pulumi.CustomResource):
|
|
|
274
274
|
|
|
275
275
|
> This resource requires a GitLab Enterprise instance.
|
|
276
276
|
|
|
277
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/merge_request_approvals/#
|
|
277
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/merge_request_approvals/#approval-rules-for-a-merge-request)
|
|
278
278
|
|
|
279
279
|
## Example Usage
|
|
280
280
|
|
|
@@ -340,7 +340,7 @@ class ProjectLevelMrApprovals(pulumi.CustomResource):
|
|
|
340
340
|
|
|
341
341
|
> This resource requires a GitLab Enterprise instance.
|
|
342
342
|
|
|
343
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/merge_request_approvals/#
|
|
343
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/merge_request_approvals/#approval-rules-for-a-merge-request)
|
|
344
344
|
|
|
345
345
|
## Example Usage
|
|
346
346
|
|
|
@@ -670,7 +670,7 @@ class ProjectLevelNotifications(pulumi.CustomResource):
|
|
|
670
670
|
|
|
671
671
|
> While the API supports both groups and projects, this resource only supports projects currently.
|
|
672
672
|
|
|
673
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/notification_settings/#group
|
|
673
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/notification_settings/#get-group-or-project-notification-settings)
|
|
674
674
|
|
|
675
675
|
## Example Usage
|
|
676
676
|
|
|
@@ -748,7 +748,7 @@ class ProjectLevelNotifications(pulumi.CustomResource):
|
|
|
748
748
|
|
|
749
749
|
> While the API supports both groups and projects, this resource only supports projects currently.
|
|
750
750
|
|
|
751
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/notification_settings/#group
|
|
751
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/notification_settings/#get-group-or-project-notification-settings)
|
|
752
752
|
|
|
753
753
|
## Example Usage
|
|
754
754
|
|
|
@@ -206,7 +206,7 @@ class ProjectMembership(pulumi.CustomResource):
|
|
|
206
206
|
|
|
207
207
|
> If a project should grant membership to an entire group use the `ProjectShareGroup` resource instead.
|
|
208
208
|
|
|
209
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/
|
|
209
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_members/)
|
|
210
210
|
|
|
211
211
|
## Example Usage
|
|
212
212
|
|
|
@@ -266,7 +266,7 @@ class ProjectMembership(pulumi.CustomResource):
|
|
|
266
266
|
|
|
267
267
|
> If a project should grant membership to an entire group use the `ProjectShareGroup` resource instead.
|
|
268
268
|
|
|
269
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/
|
|
269
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_members/)
|
|
270
270
|
|
|
271
271
|
## Example Usage
|
|
272
272
|
|
|
@@ -138,7 +138,7 @@ class ProjectTargetBranchRule(pulumi.CustomResource):
|
|
|
138
138
|
"""
|
|
139
139
|
The `ProjectTargetBranchRule` resource manages default target branch rules when creating merge requests.
|
|
140
140
|
|
|
141
|
-
**Upstream API**: [GitLab GraphQL API docs](https://docs.gitlab.com/
|
|
141
|
+
**Upstream API**: [GitLab GraphQL API docs](https://docs.gitlab.com/api/graphql/reference/#mutationprojecttargetbranchrulecreate)
|
|
142
142
|
|
|
143
143
|
## Example Usage
|
|
144
144
|
|
|
@@ -194,7 +194,7 @@ class ProjectTargetBranchRule(pulumi.CustomResource):
|
|
|
194
194
|
"""
|
|
195
195
|
The `ProjectTargetBranchRule` resource manages default target branch rules when creating merge requests.
|
|
196
196
|
|
|
197
|
-
**Upstream API**: [GitLab GraphQL API docs](https://docs.gitlab.com/
|
|
197
|
+
**Upstream API**: [GitLab GraphQL API docs](https://docs.gitlab.com/api/graphql/reference/#mutationprojecttargetbranchrulecreate)
|
|
198
198
|
|
|
199
199
|
## Example Usage
|
|
200
200
|
|
|
@@ -37,7 +37,7 @@ class ProjectVariableArgs:
|
|
|
37
37
|
:param pulumi.Input[_builtins.str] description: The description of the variable.
|
|
38
38
|
:param pulumi.Input[_builtins.str] environment_scope: The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
|
|
39
39
|
:param pulumi.Input[_builtins.bool] hidden: If set to `true`, the value of the variable will be hidden in the CI/CD User Interface. The value must meet the [hidden requirements](https://docs.gitlab.com/ci/variables/#hide-a-cicd-variable).
|
|
40
|
-
:param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be masked in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/
|
|
40
|
+
:param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be masked in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable).
|
|
41
41
|
:param pulumi.Input[_builtins.bool] protected: If set to `true`, the variable will be passed only to pipelines running on protected branches and tags.
|
|
42
42
|
:param pulumi.Input[_builtins.bool] raw: Whether the variable is treated as a raw string. When true, variables in the value are not expanded.
|
|
43
43
|
:param pulumi.Input[_builtins.str] variable_type: The type of a variable. Valid values are: `env_var`, `file`.
|
|
@@ -136,7 +136,7 @@ class ProjectVariableArgs:
|
|
|
136
136
|
@pulumi.getter
|
|
137
137
|
def masked(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
138
138
|
"""
|
|
139
|
-
If set to `true`, the value of the variable will be masked in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/
|
|
139
|
+
If set to `true`, the value of the variable will be masked in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable).
|
|
140
140
|
"""
|
|
141
141
|
return pulumi.get(self, "masked")
|
|
142
142
|
|
|
@@ -200,7 +200,7 @@ class _ProjectVariableState:
|
|
|
200
200
|
:param pulumi.Input[_builtins.str] environment_scope: The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
|
|
201
201
|
:param pulumi.Input[_builtins.bool] hidden: If set to `true`, the value of the variable will be hidden in the CI/CD User Interface. The value must meet the [hidden requirements](https://docs.gitlab.com/ci/variables/#hide-a-cicd-variable).
|
|
202
202
|
:param pulumi.Input[_builtins.str] key: The name of the variable.
|
|
203
|
-
:param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be masked in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/
|
|
203
|
+
:param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be masked in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable).
|
|
204
204
|
:param pulumi.Input[_builtins.str] project: The name or id of the project.
|
|
205
205
|
:param pulumi.Input[_builtins.bool] protected: If set to `true`, the variable will be passed only to pipelines running on protected branches and tags.
|
|
206
206
|
:param pulumi.Input[_builtins.bool] raw: Whether the variable is treated as a raw string. When true, variables in the value are not expanded.
|
|
@@ -280,7 +280,7 @@ class _ProjectVariableState:
|
|
|
280
280
|
@pulumi.getter
|
|
281
281
|
def masked(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
282
282
|
"""
|
|
283
|
-
If set to `true`, the value of the variable will be masked in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/
|
|
283
|
+
If set to `true`, the value of the variable will be masked in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable).
|
|
284
284
|
"""
|
|
285
285
|
return pulumi.get(self, "masked")
|
|
286
286
|
|
|
@@ -412,7 +412,7 @@ class ProjectVariable(pulumi.CustomResource):
|
|
|
412
412
|
:param pulumi.Input[_builtins.str] environment_scope: The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
|
|
413
413
|
:param pulumi.Input[_builtins.bool] hidden: If set to `true`, the value of the variable will be hidden in the CI/CD User Interface. The value must meet the [hidden requirements](https://docs.gitlab.com/ci/variables/#hide-a-cicd-variable).
|
|
414
414
|
:param pulumi.Input[_builtins.str] key: The name of the variable.
|
|
415
|
-
:param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be masked in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/
|
|
415
|
+
:param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be masked in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable).
|
|
416
416
|
:param pulumi.Input[_builtins.str] project: The name or id of the project.
|
|
417
417
|
:param pulumi.Input[_builtins.bool] protected: If set to `true`, the variable will be passed only to pipelines running on protected branches and tags.
|
|
418
418
|
:param pulumi.Input[_builtins.bool] raw: Whether the variable is treated as a raw string. When true, variables in the value are not expanded.
|
|
@@ -546,7 +546,7 @@ class ProjectVariable(pulumi.CustomResource):
|
|
|
546
546
|
:param pulumi.Input[_builtins.str] environment_scope: The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
|
|
547
547
|
:param pulumi.Input[_builtins.bool] hidden: If set to `true`, the value of the variable will be hidden in the CI/CD User Interface. The value must meet the [hidden requirements](https://docs.gitlab.com/ci/variables/#hide-a-cicd-variable).
|
|
548
548
|
:param pulumi.Input[_builtins.str] key: The name of the variable.
|
|
549
|
-
:param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be masked in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/
|
|
549
|
+
:param pulumi.Input[_builtins.bool] masked: If set to `true`, the value of the variable will be masked in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable).
|
|
550
550
|
:param pulumi.Input[_builtins.str] project: The name or id of the project.
|
|
551
551
|
:param pulumi.Input[_builtins.bool] protected: If set to `true`, the variable will be passed only to pipelines running on protected branches and tags.
|
|
552
552
|
:param pulumi.Input[_builtins.bool] raw: Whether the variable is treated as a raw string. When true, variables in the value are not expanded.
|
|
@@ -605,7 +605,7 @@ class ProjectVariable(pulumi.CustomResource):
|
|
|
605
605
|
@pulumi.getter
|
|
606
606
|
def masked(self) -> pulumi.Output[_builtins.bool]:
|
|
607
607
|
"""
|
|
608
|
-
If set to `true`, the value of the variable will be masked in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/
|
|
608
|
+
If set to `true`, the value of the variable will be masked in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable).
|
|
609
609
|
"""
|
|
610
610
|
return pulumi.get(self, "masked")
|
|
611
611
|
|