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
|
@@ -0,0 +1,247 @@
|
|
|
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
|
+
'GetProjectSecureFileResult',
|
|
20
|
+
'AwaitableGetProjectSecureFileResult',
|
|
21
|
+
'get_project_secure_file',
|
|
22
|
+
'get_project_secure_file_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetProjectSecureFileResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getProjectSecureFile.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, checksum=None, checksum_algorithm=None, content=None, created_at=None, expires_at=None, id=None, metadata=None, name=None, project=None, secure_file_id=None):
|
|
31
|
+
if checksum and not isinstance(checksum, str):
|
|
32
|
+
raise TypeError("Expected argument 'checksum' to be a str")
|
|
33
|
+
pulumi.set(__self__, "checksum", checksum)
|
|
34
|
+
if checksum_algorithm and not isinstance(checksum_algorithm, str):
|
|
35
|
+
raise TypeError("Expected argument 'checksum_algorithm' to be a str")
|
|
36
|
+
pulumi.set(__self__, "checksum_algorithm", checksum_algorithm)
|
|
37
|
+
if content and not isinstance(content, str):
|
|
38
|
+
raise TypeError("Expected argument 'content' to be a str")
|
|
39
|
+
pulumi.set(__self__, "content", content)
|
|
40
|
+
if created_at and not isinstance(created_at, str):
|
|
41
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
42
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
43
|
+
if expires_at and not isinstance(expires_at, str):
|
|
44
|
+
raise TypeError("Expected argument 'expires_at' to be a str")
|
|
45
|
+
pulumi.set(__self__, "expires_at", expires_at)
|
|
46
|
+
if id and not isinstance(id, str):
|
|
47
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
48
|
+
pulumi.set(__self__, "id", id)
|
|
49
|
+
if metadata and not isinstance(metadata, dict):
|
|
50
|
+
raise TypeError("Expected argument 'metadata' to be a dict")
|
|
51
|
+
pulumi.set(__self__, "metadata", metadata)
|
|
52
|
+
if name and not isinstance(name, str):
|
|
53
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
54
|
+
pulumi.set(__self__, "name", name)
|
|
55
|
+
if project and not isinstance(project, str):
|
|
56
|
+
raise TypeError("Expected argument 'project' to be a str")
|
|
57
|
+
pulumi.set(__self__, "project", project)
|
|
58
|
+
if secure_file_id and not isinstance(secure_file_id, int):
|
|
59
|
+
raise TypeError("Expected argument 'secure_file_id' to be a int")
|
|
60
|
+
pulumi.set(__self__, "secure_file_id", secure_file_id)
|
|
61
|
+
|
|
62
|
+
@_builtins.property
|
|
63
|
+
@pulumi.getter
|
|
64
|
+
def checksum(self) -> _builtins.str:
|
|
65
|
+
"""
|
|
66
|
+
The checksum of the file
|
|
67
|
+
"""
|
|
68
|
+
return pulumi.get(self, "checksum")
|
|
69
|
+
|
|
70
|
+
@_builtins.property
|
|
71
|
+
@pulumi.getter(name="checksumAlgorithm")
|
|
72
|
+
def checksum_algorithm(self) -> _builtins.str:
|
|
73
|
+
"""
|
|
74
|
+
The checksum algorithm used
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "checksum_algorithm")
|
|
77
|
+
|
|
78
|
+
@_builtins.property
|
|
79
|
+
@pulumi.getter
|
|
80
|
+
def content(self) -> _builtins.str:
|
|
81
|
+
"""
|
|
82
|
+
The contents of the secure file
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "content")
|
|
85
|
+
|
|
86
|
+
@_builtins.property
|
|
87
|
+
@pulumi.getter(name="createdAt")
|
|
88
|
+
def created_at(self) -> _builtins.str:
|
|
89
|
+
"""
|
|
90
|
+
The time the secure file was uploaded
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "created_at")
|
|
93
|
+
|
|
94
|
+
@_builtins.property
|
|
95
|
+
@pulumi.getter(name="expiresAt")
|
|
96
|
+
def expires_at(self) -> _builtins.str:
|
|
97
|
+
"""
|
|
98
|
+
The time the secure file will expire
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "expires_at")
|
|
101
|
+
|
|
102
|
+
@_builtins.property
|
|
103
|
+
@pulumi.getter
|
|
104
|
+
def id(self) -> _builtins.str:
|
|
105
|
+
"""
|
|
106
|
+
The ID of this data source. In the format `<project:id>`
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "id")
|
|
109
|
+
|
|
110
|
+
@_builtins.property
|
|
111
|
+
@pulumi.getter
|
|
112
|
+
def metadata(self) -> 'outputs.GetProjectSecureFileMetadataResult':
|
|
113
|
+
"""
|
|
114
|
+
metadata returned by the gitlab api about the secure file
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "metadata")
|
|
117
|
+
|
|
118
|
+
@_builtins.property
|
|
119
|
+
@pulumi.getter
|
|
120
|
+
def name(self) -> Optional[_builtins.str]:
|
|
121
|
+
"""
|
|
122
|
+
The name for the secure file, unique per project
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "name")
|
|
125
|
+
|
|
126
|
+
@_builtins.property
|
|
127
|
+
@pulumi.getter
|
|
128
|
+
def project(self) -> _builtins.str:
|
|
129
|
+
"""
|
|
130
|
+
The ID or full path of the project the secure file resides.
|
|
131
|
+
"""
|
|
132
|
+
return pulumi.get(self, "project")
|
|
133
|
+
|
|
134
|
+
@_builtins.property
|
|
135
|
+
@pulumi.getter(name="secureFileId")
|
|
136
|
+
def secure_file_id(self) -> _builtins.int:
|
|
137
|
+
"""
|
|
138
|
+
The id of the secure file in gitlab
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "secure_file_id")
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
class AwaitableGetProjectSecureFileResult(GetProjectSecureFileResult):
|
|
144
|
+
# pylint: disable=using-constant-test
|
|
145
|
+
def __await__(self):
|
|
146
|
+
if False:
|
|
147
|
+
yield self
|
|
148
|
+
return GetProjectSecureFileResult(
|
|
149
|
+
checksum=self.checksum,
|
|
150
|
+
checksum_algorithm=self.checksum_algorithm,
|
|
151
|
+
content=self.content,
|
|
152
|
+
created_at=self.created_at,
|
|
153
|
+
expires_at=self.expires_at,
|
|
154
|
+
id=self.id,
|
|
155
|
+
metadata=self.metadata,
|
|
156
|
+
name=self.name,
|
|
157
|
+
project=self.project,
|
|
158
|
+
secure_file_id=self.secure_file_id)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
def get_project_secure_file(name: Optional[_builtins.str] = None,
|
|
162
|
+
project: Optional[_builtins.str] = None,
|
|
163
|
+
secure_file_id: Optional[_builtins.int] = None,
|
|
164
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectSecureFileResult:
|
|
165
|
+
"""
|
|
166
|
+
The `ProjectSecureFile` data source allows the contents of a secure file to be retrieved by either Name or ID.
|
|
167
|
+
|
|
168
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/secure_files/)
|
|
169
|
+
|
|
170
|
+
## Example Usage
|
|
171
|
+
|
|
172
|
+
```python
|
|
173
|
+
import pulumi
|
|
174
|
+
import pulumi_gitlab as gitlab
|
|
175
|
+
|
|
176
|
+
by_id = gitlab.get_project_secure_file(project="123",
|
|
177
|
+
secure_file_id=123)
|
|
178
|
+
by_name = gitlab.get_project_secure_file(project="123",
|
|
179
|
+
name="secret.pem")
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
:param _builtins.str name: The name for the secure file, unique per project
|
|
184
|
+
:param _builtins.str project: The ID or full path of the project the secure file resides.
|
|
185
|
+
:param _builtins.int secure_file_id: The id of the secure file in gitlab
|
|
186
|
+
"""
|
|
187
|
+
__args__ = dict()
|
|
188
|
+
__args__['name'] = name
|
|
189
|
+
__args__['project'] = project
|
|
190
|
+
__args__['secureFileId'] = secure_file_id
|
|
191
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
192
|
+
__ret__ = pulumi.runtime.invoke('gitlab:index/getProjectSecureFile:getProjectSecureFile', __args__, opts=opts, typ=GetProjectSecureFileResult).value
|
|
193
|
+
|
|
194
|
+
return AwaitableGetProjectSecureFileResult(
|
|
195
|
+
checksum=pulumi.get(__ret__, 'checksum'),
|
|
196
|
+
checksum_algorithm=pulumi.get(__ret__, 'checksum_algorithm'),
|
|
197
|
+
content=pulumi.get(__ret__, 'content'),
|
|
198
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
199
|
+
expires_at=pulumi.get(__ret__, 'expires_at'),
|
|
200
|
+
id=pulumi.get(__ret__, 'id'),
|
|
201
|
+
metadata=pulumi.get(__ret__, 'metadata'),
|
|
202
|
+
name=pulumi.get(__ret__, 'name'),
|
|
203
|
+
project=pulumi.get(__ret__, 'project'),
|
|
204
|
+
secure_file_id=pulumi.get(__ret__, 'secure_file_id'))
|
|
205
|
+
def get_project_secure_file_output(name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
206
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
207
|
+
secure_file_id: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
208
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectSecureFileResult]:
|
|
209
|
+
"""
|
|
210
|
+
The `ProjectSecureFile` data source allows the contents of a secure file to be retrieved by either Name or ID.
|
|
211
|
+
|
|
212
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/secure_files/)
|
|
213
|
+
|
|
214
|
+
## Example Usage
|
|
215
|
+
|
|
216
|
+
```python
|
|
217
|
+
import pulumi
|
|
218
|
+
import pulumi_gitlab as gitlab
|
|
219
|
+
|
|
220
|
+
by_id = gitlab.get_project_secure_file(project="123",
|
|
221
|
+
secure_file_id=123)
|
|
222
|
+
by_name = gitlab.get_project_secure_file(project="123",
|
|
223
|
+
name="secret.pem")
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
:param _builtins.str name: The name for the secure file, unique per project
|
|
228
|
+
:param _builtins.str project: The ID or full path of the project the secure file resides.
|
|
229
|
+
:param _builtins.int secure_file_id: The id of the secure file in gitlab
|
|
230
|
+
"""
|
|
231
|
+
__args__ = dict()
|
|
232
|
+
__args__['name'] = name
|
|
233
|
+
__args__['project'] = project
|
|
234
|
+
__args__['secureFileId'] = secure_file_id
|
|
235
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
236
|
+
__ret__ = pulumi.runtime.invoke_output('gitlab:index/getProjectSecureFile:getProjectSecureFile', __args__, opts=opts, typ=GetProjectSecureFileResult)
|
|
237
|
+
return __ret__.apply(lambda __response__: GetProjectSecureFileResult(
|
|
238
|
+
checksum=pulumi.get(__response__, 'checksum'),
|
|
239
|
+
checksum_algorithm=pulumi.get(__response__, 'checksum_algorithm'),
|
|
240
|
+
content=pulumi.get(__response__, 'content'),
|
|
241
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
242
|
+
expires_at=pulumi.get(__response__, 'expires_at'),
|
|
243
|
+
id=pulumi.get(__response__, 'id'),
|
|
244
|
+
metadata=pulumi.get(__response__, 'metadata'),
|
|
245
|
+
name=pulumi.get(__response__, 'name'),
|
|
246
|
+
project=pulumi.get(__response__, 'project'),
|
|
247
|
+
secure_file_id=pulumi.get(__response__, 'secure_file_id')))
|
pulumi_gitlab/get_project_tag.py
CHANGED
|
@@ -65,7 +65,7 @@ class GetProjectTagResult:
|
|
|
65
65
|
@pulumi.getter
|
|
66
66
|
def id(self) -> _builtins.str:
|
|
67
67
|
"""
|
|
68
|
-
The
|
|
68
|
+
The ID of this datasource. In the format `<project:name>`.
|
|
69
69
|
"""
|
|
70
70
|
return pulumi.get(self, "id")
|
|
71
71
|
|
|
@@ -97,7 +97,7 @@ class GetProjectTagResult:
|
|
|
97
97
|
@pulumi.getter
|
|
98
98
|
def protected(self) -> _builtins.bool:
|
|
99
99
|
"""
|
|
100
|
-
|
|
100
|
+
True if tag has tag protection.
|
|
101
101
|
"""
|
|
102
102
|
return pulumi.get(self, "protected")
|
|
103
103
|
|
|
@@ -51,7 +51,7 @@ class GetProjectTagsResult:
|
|
|
51
51
|
@pulumi.getter
|
|
52
52
|
def id(self) -> _builtins.str:
|
|
53
53
|
"""
|
|
54
|
-
The
|
|
54
|
+
The ID of this datasource. In the format `<project:hash-of-other-options>`.
|
|
55
55
|
"""
|
|
56
56
|
return pulumi.get(self, "id")
|
|
57
57
|
|
|
@@ -62,7 +62,7 @@ class GetProjectVariableResult:
|
|
|
62
62
|
@pulumi.getter
|
|
63
63
|
def description(self) -> _builtins.str:
|
|
64
64
|
"""
|
|
65
|
-
The description of the variable.
|
|
65
|
+
The description of the variable. Maximum of 255 characters.
|
|
66
66
|
"""
|
|
67
67
|
return pulumi.get(self, "description")
|
|
68
68
|
|
|
@@ -70,7 +70,7 @@ class GetProjectVariableResult:
|
|
|
70
70
|
@pulumi.getter(name="environmentScope")
|
|
71
71
|
def environment_scope(self) -> _builtins.str:
|
|
72
72
|
"""
|
|
73
|
-
The environment scope of the variable. Defaults to all environment (`*`).
|
|
73
|
+
The environment scope of the variable. Defaults to all environment (`*`).
|
|
74
74
|
"""
|
|
75
75
|
return pulumi.get(self, "environment_scope")
|
|
76
76
|
|
|
@@ -78,7 +78,7 @@ class GetProjectVariableResult:
|
|
|
78
78
|
@pulumi.getter
|
|
79
79
|
def id(self) -> _builtins.str:
|
|
80
80
|
"""
|
|
81
|
-
The
|
|
81
|
+
The ID of this datasource. In the format `<project:key:environment-scope>`.
|
|
82
82
|
"""
|
|
83
83
|
return pulumi.get(self, "id")
|
|
84
84
|
|
|
@@ -94,7 +94,7 @@ class GetProjectVariableResult:
|
|
|
94
94
|
@pulumi.getter
|
|
95
95
|
def masked(self) -> _builtins.bool:
|
|
96
96
|
"""
|
|
97
|
-
If set to `true`, the value of the variable will be hidden in job logs.
|
|
97
|
+
If set to `true`, the value of the variable will be hidden in job logs.
|
|
98
98
|
"""
|
|
99
99
|
return pulumi.get(self, "masked")
|
|
100
100
|
|
|
@@ -102,7 +102,7 @@ class GetProjectVariableResult:
|
|
|
102
102
|
@pulumi.getter
|
|
103
103
|
def project(self) -> _builtins.str:
|
|
104
104
|
"""
|
|
105
|
-
The name or
|
|
105
|
+
The name or path of the project.
|
|
106
106
|
"""
|
|
107
107
|
return pulumi.get(self, "project")
|
|
108
108
|
|
|
@@ -110,7 +110,7 @@ class GetProjectVariableResult:
|
|
|
110
110
|
@pulumi.getter
|
|
111
111
|
def protected(self) -> _builtins.bool:
|
|
112
112
|
"""
|
|
113
|
-
If set to `true`, the variable will be passed only to pipelines running on protected branches and tags.
|
|
113
|
+
If set to `true`, the variable will be passed only to pipelines running on protected branches and tags.
|
|
114
114
|
"""
|
|
115
115
|
return pulumi.get(self, "protected")
|
|
116
116
|
|
|
@@ -118,7 +118,7 @@ class GetProjectVariableResult:
|
|
|
118
118
|
@pulumi.getter
|
|
119
119
|
def raw(self) -> _builtins.bool:
|
|
120
120
|
"""
|
|
121
|
-
|
|
121
|
+
If set to `true`, the variable will be treated as a raw string.
|
|
122
122
|
"""
|
|
123
123
|
return pulumi.get(self, "raw")
|
|
124
124
|
|
|
@@ -134,7 +134,7 @@ class GetProjectVariableResult:
|
|
|
134
134
|
@pulumi.getter(name="variableType")
|
|
135
135
|
def variable_type(self) -> _builtins.str:
|
|
136
136
|
"""
|
|
137
|
-
The type of
|
|
137
|
+
The type of the variable, either `env_var` or `file`.
|
|
138
138
|
"""
|
|
139
139
|
return pulumi.get(self, "variable_type")
|
|
140
140
|
|
|
@@ -181,9 +181,9 @@ def get_project_variable(environment_scope: Optional[_builtins.str] = None,
|
|
|
181
181
|
```
|
|
182
182
|
|
|
183
183
|
|
|
184
|
-
:param _builtins.str environment_scope: The environment scope of the variable. Defaults to all environment (`*`).
|
|
184
|
+
:param _builtins.str environment_scope: The environment scope of the variable. Defaults to all environment (`*`).
|
|
185
185
|
:param _builtins.str key: The name of the variable.
|
|
186
|
-
:param _builtins.str project: The name or
|
|
186
|
+
:param _builtins.str project: The name or path of the project.
|
|
187
187
|
"""
|
|
188
188
|
__args__ = dict()
|
|
189
189
|
__args__['environmentScope'] = environment_scope
|
|
@@ -227,9 +227,9 @@ def get_project_variable_output(environment_scope: Optional[pulumi.Input[Optiona
|
|
|
227
227
|
```
|
|
228
228
|
|
|
229
229
|
|
|
230
|
-
:param _builtins.str environment_scope: The environment scope of the variable. Defaults to all environment (`*`).
|
|
230
|
+
:param _builtins.str environment_scope: The environment scope of the variable. Defaults to all environment (`*`).
|
|
231
231
|
:param _builtins.str key: The name of the variable.
|
|
232
|
-
:param _builtins.str project: The name or
|
|
232
|
+
:param _builtins.str project: The name or path of the project.
|
|
233
233
|
"""
|
|
234
234
|
__args__ = dict()
|
|
235
235
|
__args__['environmentScope'] = environment_scope
|
|
@@ -53,7 +53,7 @@ class GetProjectVariablesResult:
|
|
|
53
53
|
@pulumi.getter
|
|
54
54
|
def id(self) -> _builtins.str:
|
|
55
55
|
"""
|
|
56
|
-
The
|
|
56
|
+
The ID of this datasource. In the format `<project:environment-scope>`.
|
|
57
57
|
"""
|
|
58
58
|
return pulumi.get(self, "id")
|
|
59
59
|
|
|
@@ -61,7 +61,7 @@ class GetProjectVariablesResult:
|
|
|
61
61
|
@pulumi.getter
|
|
62
62
|
def project(self) -> _builtins.str:
|
|
63
63
|
"""
|
|
64
|
-
The name or
|
|
64
|
+
The name or path of the project.
|
|
65
65
|
"""
|
|
66
66
|
return pulumi.get(self, "project")
|
|
67
67
|
|
|
@@ -108,7 +108,7 @@ def get_project_variables(environment_scope: Optional[_builtins.str] = None,
|
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
:param _builtins.str environment_scope: The environment scope of the variable. Defaults to all environment (`*`).
|
|
111
|
-
:param _builtins.str project: The name or
|
|
111
|
+
:param _builtins.str project: The name or path of the project.
|
|
112
112
|
"""
|
|
113
113
|
__args__ = dict()
|
|
114
114
|
__args__['environmentScope'] = environment_scope
|
|
@@ -143,7 +143,7 @@ def get_project_variables_output(environment_scope: Optional[pulumi.Input[Option
|
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
:param _builtins.str environment_scope: The environment scope of the variable. Defaults to all environment (`*`).
|
|
146
|
-
:param _builtins.str project: The name or
|
|
146
|
+
:param _builtins.str project: The name or path of the project.
|
|
147
147
|
"""
|
|
148
148
|
__args__ = dict()
|
|
149
149
|
__args__['environmentScope'] = environment_scope
|
pulumi_gitlab/get_projects.py
CHANGED
|
@@ -153,7 +153,7 @@ class GetProjectsResult:
|
|
|
153
153
|
@pulumi.getter(name="minAccessLevel")
|
|
154
154
|
def min_access_level(self) -> Optional[_builtins.int]:
|
|
155
155
|
"""
|
|
156
|
-
Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/
|
|
156
|
+
Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/user/permissions/#default-roles) for values. Cannot be used with `group_id`.
|
|
157
157
|
"""
|
|
158
158
|
return pulumi.get(self, "min_access_level")
|
|
159
159
|
|
|
@@ -381,7 +381,7 @@ def get_projects(archived: Optional[_builtins.bool] = None,
|
|
|
381
381
|
:param _builtins.bool include_subgroups: Include projects in subgroups of this group. Default is `false`. Needs `group_id`.
|
|
382
382
|
:param _builtins.int max_queryable_pages: The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
|
|
383
383
|
:param _builtins.bool membership: Limit by projects that the current user is a member of.
|
|
384
|
-
:param _builtins.int min_access_level: Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/
|
|
384
|
+
:param _builtins.int min_access_level: Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/user/permissions/#default-roles) for values. Cannot be used with `group_id`.
|
|
385
385
|
:param _builtins.str order_by: Return projects ordered ordered by: `id`, `name`, `path`, `created_at`, `updated_at`, `last_activity_at`, `similarity`, `repository_size`, `storage_size`, `packages_size`, `wiki_size`. Some values or only available in certain circumstances. See [upstream docs](https://docs.gitlab.com/api/projects/#list-all-projects) for details.
|
|
386
386
|
:param _builtins.bool owned: Limit by projects owned by the current user.
|
|
387
387
|
:param _builtins.int page: The first page to begin the query on.
|
|
@@ -505,7 +505,7 @@ def get_projects_output(archived: Optional[pulumi.Input[Optional[_builtins.bool]
|
|
|
505
505
|
:param _builtins.bool include_subgroups: Include projects in subgroups of this group. Default is `false`. Needs `group_id`.
|
|
506
506
|
:param _builtins.int max_queryable_pages: The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
|
|
507
507
|
:param _builtins.bool membership: Limit by projects that the current user is a member of.
|
|
508
|
-
:param _builtins.int min_access_level: Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/
|
|
508
|
+
:param _builtins.int min_access_level: Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/user/permissions/#default-roles) for values. Cannot be used with `group_id`.
|
|
509
509
|
:param _builtins.str order_by: Return projects ordered ordered by: `id`, `name`, `path`, `created_at`, `updated_at`, `last_activity_at`, `similarity`, `repository_size`, `storage_size`, `packages_size`, `wiki_size`. Some values or only available in certain circumstances. See [upstream docs](https://docs.gitlab.com/api/projects/#list-all-projects) for details.
|
|
510
510
|
:param _builtins.bool owned: Limit by projects owned by the current user.
|
|
511
511
|
:param _builtins.int page: The first page to begin the query on.
|
|
@@ -62,7 +62,7 @@ class GetReleaseLinkResult:
|
|
|
62
62
|
@pulumi.getter(name="directAssetUrl")
|
|
63
63
|
def direct_asset_url(self) -> _builtins.str:
|
|
64
64
|
"""
|
|
65
|
-
Full path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/
|
|
65
|
+
Full path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-latest-release-assets).
|
|
66
66
|
"""
|
|
67
67
|
return pulumi.get(self, "direct_asset_url")
|
|
68
68
|
|
|
@@ -78,7 +78,7 @@ class GetReleaseLinkResult:
|
|
|
78
78
|
@pulumi.getter
|
|
79
79
|
def filepath(self) -> _builtins.str:
|
|
80
80
|
"""
|
|
81
|
-
Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/
|
|
81
|
+
Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-latest-release-assets).
|
|
82
82
|
"""
|
|
83
83
|
return pulumi.get(self, "filepath")
|
|
84
84
|
|
|
@@ -86,7 +86,7 @@ class GetReleaseLinkResult:
|
|
|
86
86
|
@pulumi.getter
|
|
87
87
|
def id(self) -> _builtins.str:
|
|
88
88
|
"""
|
|
89
|
-
The
|
|
89
|
+
The ID of this data source.
|
|
90
90
|
"""
|
|
91
91
|
return pulumi.get(self, "id")
|
|
92
92
|
|
|
@@ -102,7 +102,7 @@ class GetReleaseLinkResult:
|
|
|
102
102
|
@pulumi.getter(name="linkType")
|
|
103
103
|
def link_type(self) -> _builtins.str:
|
|
104
104
|
"""
|
|
105
|
-
The type of the link. Valid values are `other`, `runbook`, `image`, `package`.
|
|
105
|
+
The type of the link. Valid values are `other`, `runbook`, `image`, `package`.
|
|
106
106
|
"""
|
|
107
107
|
return pulumi.get(self, "link_type")
|
|
108
108
|
|
|
@@ -118,7 +118,7 @@ class GetReleaseLinkResult:
|
|
|
118
118
|
@pulumi.getter
|
|
119
119
|
def project(self) -> _builtins.str:
|
|
120
120
|
"""
|
|
121
|
-
The ID or
|
|
121
|
+
The ID or Namespace path of the project.
|
|
122
122
|
"""
|
|
123
123
|
return pulumi.get(self, "project")
|
|
124
124
|
|
|
@@ -162,13 +162,13 @@ def get_release_link(link_id: Optional[_builtins.int] = None,
|
|
|
162
162
|
tag_name: Optional[_builtins.str] = None,
|
|
163
163
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetReleaseLinkResult:
|
|
164
164
|
"""
|
|
165
|
-
The `ReleaseLink` data source allows get details of a release link.
|
|
165
|
+
The `ReleaseLink` data source allows you to get details of a release link.
|
|
166
166
|
|
|
167
167
|
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/releases/links/)
|
|
168
168
|
|
|
169
169
|
|
|
170
170
|
:param _builtins.int link_id: The ID of the link.
|
|
171
|
-
:param _builtins.str project: The ID or
|
|
171
|
+
:param _builtins.str project: The ID or Namespace path of the project.
|
|
172
172
|
:param _builtins.str tag_name: The tag associated with the Release.
|
|
173
173
|
"""
|
|
174
174
|
__args__ = dict()
|
|
@@ -194,13 +194,13 @@ def get_release_link_output(link_id: Optional[pulumi.Input[_builtins.int]] = Non
|
|
|
194
194
|
tag_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
195
195
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetReleaseLinkResult]:
|
|
196
196
|
"""
|
|
197
|
-
The `ReleaseLink` data source allows get details of a release link.
|
|
197
|
+
The `ReleaseLink` data source allows you to get details of a release link.
|
|
198
198
|
|
|
199
199
|
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/releases/links/)
|
|
200
200
|
|
|
201
201
|
|
|
202
202
|
:param _builtins.int link_id: The ID of the link.
|
|
203
|
-
:param _builtins.str project: The ID or
|
|
203
|
+
:param _builtins.str project: The ID or Namespace path of the project.
|
|
204
204
|
:param _builtins.str tag_name: The tag associated with the Release.
|
|
205
205
|
"""
|
|
206
206
|
__args__ = dict()
|
|
@@ -45,7 +45,7 @@ class GetReleaseLinksResult:
|
|
|
45
45
|
@pulumi.getter
|
|
46
46
|
def id(self) -> _builtins.str:
|
|
47
47
|
"""
|
|
48
|
-
The
|
|
48
|
+
The ID of this data source.
|
|
49
49
|
"""
|
|
50
50
|
return pulumi.get(self, "id")
|
|
51
51
|
|
|
@@ -53,7 +53,7 @@ class GetReleaseLinksResult:
|
|
|
53
53
|
@pulumi.getter
|
|
54
54
|
def project(self) -> _builtins.str:
|
|
55
55
|
"""
|
|
56
|
-
The ID or
|
|
56
|
+
The ID or Namespace path of the project.
|
|
57
57
|
"""
|
|
58
58
|
return pulumi.get(self, "project")
|
|
59
59
|
|
|
@@ -95,7 +95,7 @@ def get_release_links(project: Optional[_builtins.str] = None,
|
|
|
95
95
|
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/releases/links/)
|
|
96
96
|
|
|
97
97
|
|
|
98
|
-
:param _builtins.str project: The ID or
|
|
98
|
+
:param _builtins.str project: The ID or Namespace path of the project.
|
|
99
99
|
:param _builtins.str tag_name: The tag associated with the Release.
|
|
100
100
|
"""
|
|
101
101
|
__args__ = dict()
|
|
@@ -118,7 +118,7 @@ def get_release_links_output(project: Optional[pulumi.Input[_builtins.str]] = No
|
|
|
118
118
|
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/releases/links/)
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
:param _builtins.str project: The ID or
|
|
121
|
+
:param _builtins.str project: The ID or Namespace path of the project.
|
|
122
122
|
:param _builtins.str tag_name: The tag associated with the Release.
|
|
123
123
|
"""
|
|
124
124
|
__args__ = dict()
|
|
@@ -135,7 +135,7 @@ class GetRepositoryFileResult:
|
|
|
135
135
|
@pulumi.getter
|
|
136
136
|
def id(self) -> _builtins.str:
|
|
137
137
|
"""
|
|
138
|
-
The
|
|
138
|
+
The ID of this datasource. In the format `<project:ref:file_path>`.
|
|
139
139
|
"""
|
|
140
140
|
return pulumi.get(self, "id")
|
|
141
141
|
|
|
@@ -51,7 +51,7 @@ class GetRepositoryTreeResult:
|
|
|
51
51
|
@pulumi.getter
|
|
52
52
|
def id(self) -> _builtins.str:
|
|
53
53
|
"""
|
|
54
|
-
The
|
|
54
|
+
The ID of this datasource. A hash of project and ref, with path and recursive if set.
|
|
55
55
|
"""
|
|
56
56
|
return pulumi.get(self, "id")
|
|
57
57
|
|