pulumi-gitlab 9.3.0a1759182301__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.
- pulumi_gitlab/__init__.py +107 -0
- pulumi_gitlab/_inputs.py +795 -0
- pulumi_gitlab/application_settings.py +16 -7
- pulumi_gitlab/branch.py +1 -1
- pulumi_gitlab/cluster_agent_token.py +1 -1
- pulumi_gitlab/config/__init__.pyi +15 -0
- pulumi_gitlab/config/vars.py +21 -0
- pulumi_gitlab/deploy_key_enable.py +4 -42
- pulumi_gitlab/deploy_token.py +11 -7
- pulumi_gitlab/get_artifact_file.py +266 -0
- pulumi_gitlab/get_branch.py +1 -1
- pulumi_gitlab/get_cluster_agent.py +3 -3
- pulumi_gitlab/get_cluster_agents.py +6 -6
- pulumi_gitlab/get_current_user.py +1 -1
- pulumi_gitlab/get_group.py +2 -2
- pulumi_gitlab/get_group_billable_member_memberships.py +2 -2
- pulumi_gitlab/get_group_hook.py +22 -3
- pulumi_gitlab/get_group_hooks.py +7 -3
- pulumi_gitlab/get_group_membership.py +2 -2
- pulumi_gitlab/get_group_saml_links.py +114 -0
- pulumi_gitlab/get_group_service_account.py +6 -2
- pulumi_gitlab/get_group_service_account_access_tokens.py +138 -0
- pulumi_gitlab/get_group_subgroups.py +1 -1
- pulumi_gitlab/get_group_variable.py +1 -1
- pulumi_gitlab/get_groups.py +1 -1
- pulumi_gitlab/get_instance_deploy_keys.py +1 -1
- pulumi_gitlab/get_instance_service_account.py +2 -2
- pulumi_gitlab/get_instance_variable.py +7 -7
- pulumi_gitlab/get_instance_variables.py +4 -4
- pulumi_gitlab/get_member_role.py +200 -0
- pulumi_gitlab/get_project.py +27 -7
- pulumi_gitlab/get_project_approval_rules.py +137 -0
- pulumi_gitlab/get_project_branches.py +1 -1
- pulumi_gitlab/get_project_hook.py +20 -5
- pulumi_gitlab/get_project_hooks.py +1 -1
- pulumi_gitlab/get_project_issue_label_events.py +170 -0
- pulumi_gitlab/get_project_membership.py +34 -16
- pulumi_gitlab/get_project_milestone.py +1 -1
- pulumi_gitlab/get_project_milestones.py +1 -1
- pulumi_gitlab/get_project_protected_tag.py +2 -2
- pulumi_gitlab/get_project_secure_file.py +247 -0
- pulumi_gitlab/get_project_tag.py +2 -2
- pulumi_gitlab/get_project_tags.py +1 -1
- pulumi_gitlab/get_project_variable.py +12 -12
- pulumi_gitlab/get_project_variables.py +4 -4
- pulumi_gitlab/get_projects.py +3 -3
- pulumi_gitlab/get_release_link.py +9 -9
- pulumi_gitlab/get_release_links.py +4 -4
- pulumi_gitlab/get_repository_file.py +1 -1
- pulumi_gitlab/get_repository_tree.py +1 -1
- pulumi_gitlab/get_security_policy_document.py +170 -0
- pulumi_gitlab/get_user.py +33 -1
- pulumi_gitlab/get_users.py +22 -2
- pulumi_gitlab/global_level_notifications.py +2 -2
- pulumi_gitlab/group.py +148 -7
- pulumi_gitlab/group_access_token.py +54 -7
- pulumi_gitlab/group_deploy_token.py +582 -0
- pulumi_gitlab/group_hook.py +163 -112
- pulumi_gitlab/group_label.py +7 -7
- pulumi_gitlab/group_level_mr_approvals.py +509 -0
- pulumi_gitlab/group_membership.py +10 -10
- pulumi_gitlab/group_service_account.py +38 -2
- pulumi_gitlab/group_service_account_access_token.py +146 -5
- pulumi_gitlab/group_share_group.py +13 -9
- pulumi_gitlab/instance_service_account.py +3 -3
- pulumi_gitlab/instance_variable.py +12 -12
- pulumi_gitlab/integration_custom_issue_tracker.py +4 -0
- pulumi_gitlab/integration_emails_on_push.py +9 -7
- pulumi_gitlab/integration_harbor.py +4 -0
- pulumi_gitlab/integration_jenkins.py +4 -0
- pulumi_gitlab/integration_redmine.py +4 -2
- pulumi_gitlab/integration_telegram.py +4 -0
- pulumi_gitlab/label.py +11 -7
- pulumi_gitlab/member_role.py +9 -9
- pulumi_gitlab/outputs.py +1279 -112
- pulumi_gitlab/pages_domain.py +7 -7
- pulumi_gitlab/personal_access_token.py +52 -5
- pulumi_gitlab/pipeline_schedule_variable.py +2 -2
- pulumi_gitlab/project.py +241 -105
- pulumi_gitlab/project_access_token.py +52 -5
- pulumi_gitlab/project_approval_rule.py +120 -0
- pulumi_gitlab/project_cicd_catalog.py +314 -0
- pulumi_gitlab/project_deploy_token.py +582 -0
- pulumi_gitlab/project_environment.py +4 -4
- pulumi_gitlab/project_external_status_check.py +469 -0
- pulumi_gitlab/project_freeze_period.py +22 -22
- pulumi_gitlab/project_hook.py +162 -109
- pulumi_gitlab/project_integration_emails_on_push.py +17 -7
- pulumi_gitlab/project_issue_link.py +502 -0
- pulumi_gitlab/project_job_token_scope.py +24 -4
- pulumi_gitlab/project_job_token_scopes.py +14 -14
- 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 +9 -9
- pulumi_gitlab/project_mirror.py +8 -6
- pulumi_gitlab/project_package_dependency_proxy.py +446 -0
- pulumi_gitlab/project_protected_environment.py +14 -14
- pulumi_gitlab/project_pull_mirror.py +837 -0
- pulumi_gitlab/project_push_mirror.py +547 -0
- pulumi_gitlab/project_secure_file.py +489 -0
- pulumi_gitlab/project_tag.py +3 -3
- pulumi_gitlab/project_target_branch_rule.py +2 -2
- pulumi_gitlab/project_variable.py +7 -7
- pulumi_gitlab/project_wiki_page.py +30 -0
- pulumi_gitlab/provider.py +76 -0
- pulumi_gitlab/pulumi-plugin.json +1 -1
- pulumi_gitlab/release_link.py +19 -19
- pulumi_gitlab/runner.py +8 -4
- 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 +52 -5
- pulumi_gitlab/user_runner.py +14 -14
- pulumi_gitlab/user_ssh_key.py +2 -2
- pulumi_gitlab/value_stream_analytics.py +92 -0
- {pulumi_gitlab-9.3.0a1759182301.dist-info → pulumi_gitlab-9.8.1.dist-info}/METADATA +1 -1
- pulumi_gitlab-9.8.1.dist-info/RECORD +207 -0
- pulumi_gitlab-9.3.0a1759182301.dist-info/RECORD +0 -188
- {pulumi_gitlab-9.3.0a1759182301.dist-info → pulumi_gitlab-9.8.1.dist-info}/WHEEL +0 -0
- {pulumi_gitlab-9.3.0a1759182301.dist-info → pulumi_gitlab-9.8.1.dist-info}/top_level.txt +0 -0
|
@@ -74,7 +74,7 @@ class GetClusterAgentResult:
|
|
|
74
74
|
@pulumi.getter
|
|
75
75
|
def id(self) -> _builtins.str:
|
|
76
76
|
"""
|
|
77
|
-
The
|
|
77
|
+
The ID of this data source. In the format project:agent_id
|
|
78
78
|
"""
|
|
79
79
|
return pulumi.get(self, "id")
|
|
80
80
|
|
|
@@ -113,7 +113,7 @@ def get_cluster_agent(agent_id: Optional[_builtins.int] = None,
|
|
|
113
113
|
project: Optional[_builtins.str] = None,
|
|
114
114
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClusterAgentResult:
|
|
115
115
|
"""
|
|
116
|
-
The `ClusterAgent` data source
|
|
116
|
+
The `ClusterAgent` data source retrieves details about a GitLab Agent for Kubernetes.
|
|
117
117
|
|
|
118
118
|
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/cluster_agents/)
|
|
119
119
|
|
|
@@ -148,7 +148,7 @@ def get_cluster_agent_output(agent_id: Optional[pulumi.Input[_builtins.int]] = N
|
|
|
148
148
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
149
149
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetClusterAgentResult]:
|
|
150
150
|
"""
|
|
151
|
-
The `ClusterAgent` data source
|
|
151
|
+
The `ClusterAgent` data source retrieves details about a GitLab Agent for Kubernetes.
|
|
152
152
|
|
|
153
153
|
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/cluster_agents/)
|
|
154
154
|
|
|
@@ -50,7 +50,7 @@ class GetClusterAgentsResult:
|
|
|
50
50
|
@pulumi.getter
|
|
51
51
|
def id(self) -> _builtins.str:
|
|
52
52
|
"""
|
|
53
|
-
The
|
|
53
|
+
The ID of this data source. In the format \\n\\n
|
|
54
54
|
"""
|
|
55
55
|
return pulumi.get(self, "id")
|
|
56
56
|
|
|
@@ -58,7 +58,7 @@ class GetClusterAgentsResult:
|
|
|
58
58
|
@pulumi.getter
|
|
59
59
|
def project(self) -> _builtins.str:
|
|
60
60
|
"""
|
|
61
|
-
|
|
61
|
+
ID or full path of the project maintained by the authenticated user.
|
|
62
62
|
"""
|
|
63
63
|
return pulumi.get(self, "project")
|
|
64
64
|
|
|
@@ -77,7 +77,7 @@ class AwaitableGetClusterAgentsResult(GetClusterAgentsResult):
|
|
|
77
77
|
def get_cluster_agents(project: Optional[_builtins.str] = None,
|
|
78
78
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClusterAgentsResult:
|
|
79
79
|
"""
|
|
80
|
-
The `get_cluster_agents` data source
|
|
80
|
+
The `get_cluster_agents` data source retrieves details of GitLab Agents for Kubernetes in a project.
|
|
81
81
|
|
|
82
82
|
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/cluster_agents/)
|
|
83
83
|
|
|
@@ -91,7 +91,7 @@ def get_cluster_agents(project: Optional[_builtins.str] = None,
|
|
|
91
91
|
```
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
:param _builtins.str project:
|
|
94
|
+
:param _builtins.str project: ID or full path of the project maintained by the authenticated user.
|
|
95
95
|
"""
|
|
96
96
|
__args__ = dict()
|
|
97
97
|
__args__['project'] = project
|
|
@@ -105,7 +105,7 @@ def get_cluster_agents(project: Optional[_builtins.str] = None,
|
|
|
105
105
|
def get_cluster_agents_output(project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
106
106
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetClusterAgentsResult]:
|
|
107
107
|
"""
|
|
108
|
-
The `get_cluster_agents` data source
|
|
108
|
+
The `get_cluster_agents` data source retrieves details of GitLab Agents for Kubernetes in a project.
|
|
109
109
|
|
|
110
110
|
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/cluster_agents/)
|
|
111
111
|
|
|
@@ -119,7 +119,7 @@ def get_cluster_agents_output(project: Optional[pulumi.Input[_builtins.str]] = N
|
|
|
119
119
|
```
|
|
120
120
|
|
|
121
121
|
|
|
122
|
-
:param _builtins.str project:
|
|
122
|
+
:param _builtins.str project: ID or full path of the project maintained by the authenticated user.
|
|
123
123
|
"""
|
|
124
124
|
__args__ = dict()
|
|
125
125
|
__args__['project'] = project
|
pulumi_gitlab/get_group.py
CHANGED
|
@@ -155,7 +155,7 @@ class GetGroupResult:
|
|
|
155
155
|
@pulumi.getter
|
|
156
156
|
def id(self) -> _builtins.str:
|
|
157
157
|
"""
|
|
158
|
-
The
|
|
158
|
+
The ID of this datasource. In the format `<group-id>`.
|
|
159
159
|
"""
|
|
160
160
|
return pulumi.get(self, "id")
|
|
161
161
|
|
|
@@ -235,7 +235,7 @@ class GetGroupResult:
|
|
|
235
235
|
@pulumi.getter(name="sharedRunnersSetting")
|
|
236
236
|
def shared_runners_setting(self) -> _builtins.str:
|
|
237
237
|
"""
|
|
238
|
-
Enable or disable shared runners for a group
|
|
238
|
+
Enable or disable shared runners for a group's subgroups and projects. Valid values are: `enabled`, `disabled_and_overridable`, `disabled_and_unoverridable`, `disabled_with_override`.
|
|
239
239
|
"""
|
|
240
240
|
return pulumi.get(self, "shared_runners_setting")
|
|
241
241
|
|
|
@@ -97,7 +97,7 @@ def get_group_billable_member_memberships(group_id: Optional[_builtins.str] = No
|
|
|
97
97
|
> When using the `email` attribute, an exact match is not guaranteed. The most related match will be returned. Starting with GitLab 16.6,
|
|
98
98
|
the most related match will prioritize an exact match if one is available.
|
|
99
99
|
|
|
100
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/
|
|
100
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_members/#list-all-billable-members-of-a-group)
|
|
101
101
|
|
|
102
102
|
## Example Usage
|
|
103
103
|
|
|
@@ -135,7 +135,7 @@ def get_group_billable_member_memberships_output(group_id: Optional[pulumi.Input
|
|
|
135
135
|
> When using the `email` attribute, an exact match is not guaranteed. The most related match will be returned. Starting with GitLab 16.6,
|
|
136
136
|
the most related match will prioritize an exact match if one is available.
|
|
137
137
|
|
|
138
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/
|
|
138
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_members/#list-all-billable-members-of-a-group)
|
|
139
139
|
|
|
140
140
|
## Example Usage
|
|
141
141
|
|
pulumi_gitlab/get_group_hook.py
CHANGED
|
@@ -26,7 +26,7 @@ class GetGroupHookResult:
|
|
|
26
26
|
"""
|
|
27
27
|
A collection of values returned by getGroupHook.
|
|
28
28
|
"""
|
|
29
|
-
def __init__(__self__, confidential_issues_events=None, confidential_note_events=None, custom_webhook_template=None, deployment_events=None, emoji_events=None, enable_ssl_verification=None, group=None, group_id=None, hook_id=None, id=None, issues_events=None, job_events=None, merge_requests_events=None, note_events=None, pipeline_events=None, push_events=None, push_events_branch_filter=None, releases_events=None, subgroup_events=None, tag_push_events=None, token=None, url=None, wiki_page_events=None):
|
|
29
|
+
def __init__(__self__, confidential_issues_events=None, confidential_note_events=None, custom_webhook_template=None, deployment_events=None, emoji_events=None, enable_ssl_verification=None, group=None, group_id=None, hook_id=None, id=None, issues_events=None, job_events=None, merge_requests_events=None, note_events=None, pipeline_events=None, push_events=None, push_events_branch_filter=None, releases_events=None, subgroup_events=None, tag_push_events=None, token=None, url=None, vulnerability_events=None, wiki_page_events=None):
|
|
30
30
|
if confidential_issues_events and not isinstance(confidential_issues_events, bool):
|
|
31
31
|
raise TypeError("Expected argument 'confidential_issues_events' to be a bool")
|
|
32
32
|
pulumi.set(__self__, "confidential_issues_events", confidential_issues_events)
|
|
@@ -93,6 +93,9 @@ class GetGroupHookResult:
|
|
|
93
93
|
if url and not isinstance(url, str):
|
|
94
94
|
raise TypeError("Expected argument 'url' to be a str")
|
|
95
95
|
pulumi.set(__self__, "url", url)
|
|
96
|
+
if vulnerability_events and not isinstance(vulnerability_events, bool):
|
|
97
|
+
raise TypeError("Expected argument 'vulnerability_events' to be a bool")
|
|
98
|
+
pulumi.set(__self__, "vulnerability_events", vulnerability_events)
|
|
96
99
|
if wiki_page_events and not isinstance(wiki_page_events, bool):
|
|
97
100
|
raise TypeError("Expected argument 'wiki_page_events' to be a bool")
|
|
98
101
|
pulumi.set(__self__, "wiki_page_events", wiki_page_events)
|
|
@@ -173,7 +176,7 @@ class GetGroupHookResult:
|
|
|
173
176
|
@pulumi.getter
|
|
174
177
|
def id(self) -> _builtins.str:
|
|
175
178
|
"""
|
|
176
|
-
The
|
|
179
|
+
The ID of this data source. In the format `<group:hook_id>`.
|
|
177
180
|
"""
|
|
178
181
|
return pulumi.get(self, "id")
|
|
179
182
|
|
|
@@ -259,9 +262,10 @@ class GetGroupHookResult:
|
|
|
259
262
|
|
|
260
263
|
@_builtins.property
|
|
261
264
|
@pulumi.getter
|
|
265
|
+
@_utilities.deprecated("""The token is only available on resource creation, not in this datasource. It will always be blank. To be removed in 19.0.""")
|
|
262
266
|
def token(self) -> _builtins.str:
|
|
263
267
|
"""
|
|
264
|
-
A token to present when invoking the hook. The token is
|
|
268
|
+
A token to present when invoking the hook. The token is only available on resource creation, not in this datasource. It will always be blank. To be removed in 19.0.
|
|
265
269
|
"""
|
|
266
270
|
return pulumi.get(self, "token")
|
|
267
271
|
|
|
@@ -273,6 +277,14 @@ class GetGroupHookResult:
|
|
|
273
277
|
"""
|
|
274
278
|
return pulumi.get(self, "url")
|
|
275
279
|
|
|
280
|
+
@_builtins.property
|
|
281
|
+
@pulumi.getter(name="vulnerabilityEvents")
|
|
282
|
+
def vulnerability_events(self) -> _builtins.bool:
|
|
283
|
+
"""
|
|
284
|
+
Invoke the hook for vulnerability events.
|
|
285
|
+
"""
|
|
286
|
+
return pulumi.get(self, "vulnerability_events")
|
|
287
|
+
|
|
276
288
|
@_builtins.property
|
|
277
289
|
@pulumi.getter(name="wikiPageEvents")
|
|
278
290
|
def wiki_page_events(self) -> _builtins.bool:
|
|
@@ -310,6 +322,7 @@ class AwaitableGetGroupHookResult(GetGroupHookResult):
|
|
|
310
322
|
tag_push_events=self.tag_push_events,
|
|
311
323
|
token=self.token,
|
|
312
324
|
url=self.url,
|
|
325
|
+
vulnerability_events=self.vulnerability_events,
|
|
313
326
|
wiki_page_events=self.wiki_page_events)
|
|
314
327
|
|
|
315
328
|
|
|
@@ -321,6 +334,8 @@ def get_group_hook(group: Optional[_builtins.str] = None,
|
|
|
321
334
|
|
|
322
335
|
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_webhooks/#get-a-group-hook)
|
|
323
336
|
|
|
337
|
+
## Example Usage
|
|
338
|
+
|
|
324
339
|
|
|
325
340
|
:param _builtins.str group: The ID or full path of the group.
|
|
326
341
|
:param _builtins.int hook_id: The id of the group hook.
|
|
@@ -354,6 +369,7 @@ def get_group_hook(group: Optional[_builtins.str] = None,
|
|
|
354
369
|
tag_push_events=pulumi.get(__ret__, 'tag_push_events'),
|
|
355
370
|
token=pulumi.get(__ret__, 'token'),
|
|
356
371
|
url=pulumi.get(__ret__, 'url'),
|
|
372
|
+
vulnerability_events=pulumi.get(__ret__, 'vulnerability_events'),
|
|
357
373
|
wiki_page_events=pulumi.get(__ret__, 'wiki_page_events'))
|
|
358
374
|
def get_group_hook_output(group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
359
375
|
hook_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -363,6 +379,8 @@ def get_group_hook_output(group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
363
379
|
|
|
364
380
|
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_webhooks/#get-a-group-hook)
|
|
365
381
|
|
|
382
|
+
## Example Usage
|
|
383
|
+
|
|
366
384
|
|
|
367
385
|
:param _builtins.str group: The ID or full path of the group.
|
|
368
386
|
:param _builtins.int hook_id: The id of the group hook.
|
|
@@ -395,4 +413,5 @@ def get_group_hook_output(group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
395
413
|
tag_push_events=pulumi.get(__response__, 'tag_push_events'),
|
|
396
414
|
token=pulumi.get(__response__, 'token'),
|
|
397
415
|
url=pulumi.get(__response__, 'url'),
|
|
416
|
+
vulnerability_events=pulumi.get(__response__, 'vulnerability_events'),
|
|
398
417
|
wiki_page_events=pulumi.get(__response__, 'wiki_page_events')))
|
pulumi_gitlab/get_group_hooks.py
CHANGED
|
@@ -58,7 +58,7 @@ class GetGroupHooksResult:
|
|
|
58
58
|
@pulumi.getter
|
|
59
59
|
def id(self) -> _builtins.str:
|
|
60
60
|
"""
|
|
61
|
-
The
|
|
61
|
+
The ID of this data source. In the format `<group>`.
|
|
62
62
|
"""
|
|
63
63
|
return pulumi.get(self, "id")
|
|
64
64
|
|
|
@@ -77,10 +77,12 @@ class AwaitableGetGroupHooksResult(GetGroupHooksResult):
|
|
|
77
77
|
def get_group_hooks(group: Optional[_builtins.str] = None,
|
|
78
78
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGroupHooksResult:
|
|
79
79
|
"""
|
|
80
|
-
The `get_group_hooks` data source
|
|
80
|
+
The `get_group_hooks` data source retrieves details about hooks in a group.
|
|
81
81
|
|
|
82
82
|
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_webhooks/#list-group-hooks)
|
|
83
83
|
|
|
84
|
+
## Example Usage
|
|
85
|
+
|
|
84
86
|
|
|
85
87
|
:param _builtins.str group: The ID or full path of the group.
|
|
86
88
|
"""
|
|
@@ -96,10 +98,12 @@ def get_group_hooks(group: Optional[_builtins.str] = None,
|
|
|
96
98
|
def get_group_hooks_output(group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
97
99
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupHooksResult]:
|
|
98
100
|
"""
|
|
99
|
-
The `get_group_hooks` data source
|
|
101
|
+
The `get_group_hooks` data source retrieves details about hooks in a group.
|
|
100
102
|
|
|
101
103
|
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_webhooks/#list-group-hooks)
|
|
102
104
|
|
|
105
|
+
## Example Usage
|
|
106
|
+
|
|
103
107
|
|
|
104
108
|
:param _builtins.str group: The ID or full path of the group.
|
|
105
109
|
"""
|
|
@@ -118,7 +118,7 @@ def get_group_membership(access_level: Optional[_builtins.str] = None,
|
|
|
118
118
|
"""
|
|
119
119
|
The `GroupMembership` data source allows to list and filter all members of a group specified by either its id or full path.
|
|
120
120
|
|
|
121
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/
|
|
121
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_members/#list-all-members-of-a-group)
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
:param _builtins.str access_level: Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
|
|
@@ -149,7 +149,7 @@ def get_group_membership_output(access_level: Optional[pulumi.Input[Optional[_bu
|
|
|
149
149
|
"""
|
|
150
150
|
The `GroupMembership` data source allows to list and filter all members of a group specified by either its id or full path.
|
|
151
151
|
|
|
152
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/
|
|
152
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_members/#list-all-members-of-a-group)
|
|
153
153
|
|
|
154
154
|
|
|
155
155
|
:param _builtins.str access_level: Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetGroupSamlLinksResult',
|
|
20
|
+
'AwaitableGetGroupSamlLinksResult',
|
|
21
|
+
'get_group_saml_links',
|
|
22
|
+
'get_group_saml_links_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetGroupSamlLinksResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getGroupSamlLinks.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, group=None, id=None, saml_links=None):
|
|
31
|
+
if group and not isinstance(group, str):
|
|
32
|
+
raise TypeError("Expected argument 'group' to be a str")
|
|
33
|
+
pulumi.set(__self__, "group", group)
|
|
34
|
+
if id and not isinstance(id, str):
|
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "id", id)
|
|
37
|
+
if saml_links and not isinstance(saml_links, list):
|
|
38
|
+
raise TypeError("Expected argument 'saml_links' to be a list")
|
|
39
|
+
pulumi.set(__self__, "saml_links", saml_links)
|
|
40
|
+
|
|
41
|
+
@_builtins.property
|
|
42
|
+
@pulumi.getter
|
|
43
|
+
def group(self) -> _builtins.str:
|
|
44
|
+
"""
|
|
45
|
+
The name or id of the group.
|
|
46
|
+
"""
|
|
47
|
+
return pulumi.get(self, "group")
|
|
48
|
+
|
|
49
|
+
@_builtins.property
|
|
50
|
+
@pulumi.getter
|
|
51
|
+
def id(self) -> _builtins.str:
|
|
52
|
+
return pulumi.get(self, "id")
|
|
53
|
+
|
|
54
|
+
@_builtins.property
|
|
55
|
+
@pulumi.getter(name="samlLinks")
|
|
56
|
+
def saml_links(self) -> Sequence['outputs.GetGroupSamlLinksSamlLinkResult']:
|
|
57
|
+
"""
|
|
58
|
+
The list of group SAML links returned by the search
|
|
59
|
+
"""
|
|
60
|
+
return pulumi.get(self, "saml_links")
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
class AwaitableGetGroupSamlLinksResult(GetGroupSamlLinksResult):
|
|
64
|
+
# pylint: disable=using-constant-test
|
|
65
|
+
def __await__(self):
|
|
66
|
+
if False:
|
|
67
|
+
yield self
|
|
68
|
+
return GetGroupSamlLinksResult(
|
|
69
|
+
group=self.group,
|
|
70
|
+
id=self.id,
|
|
71
|
+
saml_links=self.saml_links)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
def get_group_saml_links(group: Optional[_builtins.str] = None,
|
|
75
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGroupSamlLinksResult:
|
|
76
|
+
"""
|
|
77
|
+
The `get_group_saml_links` data source retrieves all SAML links for a specified group.
|
|
78
|
+
|
|
79
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/saml/#saml-group-links)
|
|
80
|
+
|
|
81
|
+
## Example Usage
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
:param _builtins.str group: The name or id of the group.
|
|
85
|
+
"""
|
|
86
|
+
__args__ = dict()
|
|
87
|
+
__args__['group'] = group
|
|
88
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
89
|
+
__ret__ = pulumi.runtime.invoke('gitlab:index/getGroupSamlLinks:getGroupSamlLinks', __args__, opts=opts, typ=GetGroupSamlLinksResult).value
|
|
90
|
+
|
|
91
|
+
return AwaitableGetGroupSamlLinksResult(
|
|
92
|
+
group=pulumi.get(__ret__, 'group'),
|
|
93
|
+
id=pulumi.get(__ret__, 'id'),
|
|
94
|
+
saml_links=pulumi.get(__ret__, 'saml_links'))
|
|
95
|
+
def get_group_saml_links_output(group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
96
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupSamlLinksResult]:
|
|
97
|
+
"""
|
|
98
|
+
The `get_group_saml_links` data source retrieves all SAML links for a specified group.
|
|
99
|
+
|
|
100
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/saml/#saml-group-links)
|
|
101
|
+
|
|
102
|
+
## Example Usage
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
:param _builtins.str group: The name or id of the group.
|
|
106
|
+
"""
|
|
107
|
+
__args__ = dict()
|
|
108
|
+
__args__['group'] = group
|
|
109
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
110
|
+
__ret__ = pulumi.runtime.invoke_output('gitlab:index/getGroupSamlLinks:getGroupSamlLinks', __args__, opts=opts, typ=GetGroupSamlLinksResult)
|
|
111
|
+
return __ret__.apply(lambda __response__: GetGroupSamlLinksResult(
|
|
112
|
+
group=pulumi.get(__response__, 'group'),
|
|
113
|
+
id=pulumi.get(__response__, 'id'),
|
|
114
|
+
saml_links=pulumi.get(__response__, 'saml_links')))
|
|
@@ -100,7 +100,9 @@ def get_group_service_account(group: Optional[_builtins.str] = None,
|
|
|
100
100
|
"""
|
|
101
101
|
The `GroupServiceAccount` data source retrieves information about a GitLab service account in a group.
|
|
102
102
|
|
|
103
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/
|
|
103
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#list-all-group-service-accounts)
|
|
104
|
+
|
|
105
|
+
## Example Usage
|
|
104
106
|
|
|
105
107
|
|
|
106
108
|
:param _builtins.str group: The ID or URL-encoded path of the target group. Must be a top-level group.
|
|
@@ -124,7 +126,9 @@ def get_group_service_account_output(group: Optional[pulumi.Input[_builtins.str]
|
|
|
124
126
|
"""
|
|
125
127
|
The `GroupServiceAccount` data source retrieves information about a GitLab service account in a group.
|
|
126
128
|
|
|
127
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/
|
|
129
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#list-all-group-service-accounts)
|
|
130
|
+
|
|
131
|
+
## Example Usage
|
|
128
132
|
|
|
129
133
|
|
|
130
134
|
:param _builtins.str group: The ID or URL-encoded path of the target group. Must be a top-level group.
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetGroupServiceAccountAccessTokensResult',
|
|
20
|
+
'AwaitableGetGroupServiceAccountAccessTokensResult',
|
|
21
|
+
'get_group_service_account_access_tokens',
|
|
22
|
+
'get_group_service_account_access_tokens_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetGroupServiceAccountAccessTokensResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getGroupServiceAccountAccessTokens.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, access_tokens=None, group=None, id=None, service_account_id=None):
|
|
31
|
+
if access_tokens and not isinstance(access_tokens, list):
|
|
32
|
+
raise TypeError("Expected argument 'access_tokens' to be a list")
|
|
33
|
+
pulumi.set(__self__, "access_tokens", access_tokens)
|
|
34
|
+
if group and not isinstance(group, str):
|
|
35
|
+
raise TypeError("Expected argument 'group' to be a str")
|
|
36
|
+
pulumi.set(__self__, "group", group)
|
|
37
|
+
if id and not isinstance(id, str):
|
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "id", id)
|
|
40
|
+
if service_account_id and not isinstance(service_account_id, int):
|
|
41
|
+
raise TypeError("Expected argument 'service_account_id' to be a int")
|
|
42
|
+
pulumi.set(__self__, "service_account_id", service_account_id)
|
|
43
|
+
|
|
44
|
+
@_builtins.property
|
|
45
|
+
@pulumi.getter(name="accessTokens")
|
|
46
|
+
def access_tokens(self) -> Sequence['outputs.GetGroupServiceAccountAccessTokensAccessTokenResult']:
|
|
47
|
+
"""
|
|
48
|
+
The list of access tokens for the service account.
|
|
49
|
+
"""
|
|
50
|
+
return pulumi.get(self, "access_tokens")
|
|
51
|
+
|
|
52
|
+
@_builtins.property
|
|
53
|
+
@pulumi.getter
|
|
54
|
+
def group(self) -> _builtins.str:
|
|
55
|
+
"""
|
|
56
|
+
The ID or URL-encoded path of the group containing the service account. Must be a top level group.
|
|
57
|
+
"""
|
|
58
|
+
return pulumi.get(self, "group")
|
|
59
|
+
|
|
60
|
+
@_builtins.property
|
|
61
|
+
@pulumi.getter
|
|
62
|
+
def id(self) -> _builtins.str:
|
|
63
|
+
return pulumi.get(self, "id")
|
|
64
|
+
|
|
65
|
+
@_builtins.property
|
|
66
|
+
@pulumi.getter(name="serviceAccountId")
|
|
67
|
+
def service_account_id(self) -> _builtins.int:
|
|
68
|
+
"""
|
|
69
|
+
The ID of the service account user.
|
|
70
|
+
"""
|
|
71
|
+
return pulumi.get(self, "service_account_id")
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class AwaitableGetGroupServiceAccountAccessTokensResult(GetGroupServiceAccountAccessTokensResult):
|
|
75
|
+
# pylint: disable=using-constant-test
|
|
76
|
+
def __await__(self):
|
|
77
|
+
if False:
|
|
78
|
+
yield self
|
|
79
|
+
return GetGroupServiceAccountAccessTokensResult(
|
|
80
|
+
access_tokens=self.access_tokens,
|
|
81
|
+
group=self.group,
|
|
82
|
+
id=self.id,
|
|
83
|
+
service_account_id=self.service_account_id)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
def get_group_service_account_access_tokens(group: Optional[_builtins.str] = None,
|
|
87
|
+
service_account_id: Optional[_builtins.int] = None,
|
|
88
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGroupServiceAccountAccessTokensResult:
|
|
89
|
+
"""
|
|
90
|
+
The `get_group_service_account_access_tokens` data source allows to retrieve all access tokens for a group service account.
|
|
91
|
+
|
|
92
|
+
> **Note:** The data source returns the token metadata only. The token value is not available.
|
|
93
|
+
|
|
94
|
+
> **Permissions:** You must have administrator access or be an Owner of the group to list the tokens of a service account.
|
|
95
|
+
|
|
96
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/personal_access_tokens/#list-all-personal-access-tokens)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:param _builtins.str group: The ID or URL-encoded path of the group containing the service account. Must be a top level group.
|
|
100
|
+
:param _builtins.int service_account_id: The ID of the service account user.
|
|
101
|
+
"""
|
|
102
|
+
__args__ = dict()
|
|
103
|
+
__args__['group'] = group
|
|
104
|
+
__args__['serviceAccountId'] = service_account_id
|
|
105
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
106
|
+
__ret__ = pulumi.runtime.invoke('gitlab:index/getGroupServiceAccountAccessTokens:getGroupServiceAccountAccessTokens', __args__, opts=opts, typ=GetGroupServiceAccountAccessTokensResult).value
|
|
107
|
+
|
|
108
|
+
return AwaitableGetGroupServiceAccountAccessTokensResult(
|
|
109
|
+
access_tokens=pulumi.get(__ret__, 'access_tokens'),
|
|
110
|
+
group=pulumi.get(__ret__, 'group'),
|
|
111
|
+
id=pulumi.get(__ret__, 'id'),
|
|
112
|
+
service_account_id=pulumi.get(__ret__, 'service_account_id'))
|
|
113
|
+
def get_group_service_account_access_tokens_output(group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
114
|
+
service_account_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
115
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupServiceAccountAccessTokensResult]:
|
|
116
|
+
"""
|
|
117
|
+
The `get_group_service_account_access_tokens` data source allows to retrieve all access tokens for a group service account.
|
|
118
|
+
|
|
119
|
+
> **Note:** The data source returns the token metadata only. The token value is not available.
|
|
120
|
+
|
|
121
|
+
> **Permissions:** You must have administrator access or be an Owner of the group to list the tokens of a service account.
|
|
122
|
+
|
|
123
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/personal_access_tokens/#list-all-personal-access-tokens)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:param _builtins.str group: The ID or URL-encoded path of the group containing the service account. Must be a top level group.
|
|
127
|
+
:param _builtins.int service_account_id: The ID of the service account user.
|
|
128
|
+
"""
|
|
129
|
+
__args__ = dict()
|
|
130
|
+
__args__['group'] = group
|
|
131
|
+
__args__['serviceAccountId'] = service_account_id
|
|
132
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
133
|
+
__ret__ = pulumi.runtime.invoke_output('gitlab:index/getGroupServiceAccountAccessTokens:getGroupServiceAccountAccessTokens', __args__, opts=opts, typ=GetGroupServiceAccountAccessTokensResult)
|
|
134
|
+
return __ret__.apply(lambda __response__: GetGroupServiceAccountAccessTokensResult(
|
|
135
|
+
access_tokens=pulumi.get(__response__, 'access_tokens'),
|
|
136
|
+
group=pulumi.get(__response__, 'group'),
|
|
137
|
+
id=pulumi.get(__response__, 'id'),
|
|
138
|
+
service_account_id=pulumi.get(__response__, 'service_account_id')))
|
|
@@ -99,7 +99,7 @@ class GetGroupVariableResult:
|
|
|
99
99
|
@pulumi.getter
|
|
100
100
|
def masked(self) -> _builtins.bool:
|
|
101
101
|
"""
|
|
102
|
-
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/#
|
|
102
|
+
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).
|
|
103
103
|
"""
|
|
104
104
|
return pulumi.get(self, "masked")
|
|
105
105
|
|
pulumi_gitlab/get_groups.py
CHANGED
|
@@ -59,7 +59,7 @@ class GetGroupsResult:
|
|
|
59
59
|
@pulumi.getter
|
|
60
60
|
def id(self) -> _builtins.str:
|
|
61
61
|
"""
|
|
62
|
-
The
|
|
62
|
+
The ID of this datasource. In the format of a hash of the provided search attributes.
|
|
63
63
|
"""
|
|
64
64
|
return pulumi.get(self, "id")
|
|
65
65
|
|
|
@@ -101,7 +101,7 @@ def get_instance_service_account(service_account_id: Optional[_builtins.str] = N
|
|
|
101
101
|
|
|
102
102
|
> 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`
|
|
103
103
|
|
|
104
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/
|
|
104
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#instance-service-accounts)
|
|
105
105
|
|
|
106
106
|
## Example Usage
|
|
107
107
|
|
|
@@ -133,7 +133,7 @@ def get_instance_service_account_output(service_account_id: Optional[pulumi.Inpu
|
|
|
133
133
|
|
|
134
134
|
> 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`
|
|
135
135
|
|
|
136
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/
|
|
136
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#instance-service-accounts)
|
|
137
137
|
|
|
138
138
|
## Example Usage
|
|
139
139
|
|