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
pulumi_gitlab/provider.py
CHANGED
|
@@ -23,7 +23,10 @@ class ProviderArgs:
|
|
|
23
23
|
cacert_file: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
24
|
client_cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
25
|
client_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
config_file: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
context: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
28
|
early_auth_check: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
29
|
+
enable_auto_ci_support: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
27
30
|
headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
28
31
|
insecure: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
29
32
|
retries: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -34,6 +37,9 @@ class ProviderArgs:
|
|
|
34
37
|
:param pulumi.Input[_builtins.str] cacert_file: This is a file containing the ca cert to verify the gitlab instance. This is available for use when working with GitLab CE or Gitlab Enterprise with a locally-issued or self-signed certificate chain.
|
|
35
38
|
:param pulumi.Input[_builtins.str] client_cert: File path to client certificate when GitLab instance is behind company proxy. File must contain PEM encoded data.
|
|
36
39
|
:param pulumi.Input[_builtins.str] client_key: File path to client key when GitLab instance is behind company proxy. File must contain PEM encoded data. Required when `client_cert` is set.
|
|
40
|
+
:param pulumi.Input[_builtins.str] config_file: The path to the configuration file to use. It may be sourced from the `GITLAB_CONFIG_FILE` environment variable.
|
|
41
|
+
:param pulumi.Input[_builtins.str] context: The context to use for authentication and configuration. The context must exist in the configuration file. It may be sourced from the `GITLAB_CONTEXT` environment variable.
|
|
42
|
+
:param pulumi.Input[_builtins.bool] enable_auto_ci_support: If automatic CI support should be enabled or not. This only works when not providing a token.
|
|
37
43
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] headers: A map of headers to append to all API request to the GitLab instance.
|
|
38
44
|
:param pulumi.Input[_builtins.bool] insecure: When set to true this disables SSL verification of the connection to the GitLab instance.
|
|
39
45
|
:param pulumi.Input[_builtins.int] retries: The number of retries to execute when receiving a 429 Rate Limit error. Each retry will exponentially back off.
|
|
@@ -47,8 +53,14 @@ class ProviderArgs:
|
|
|
47
53
|
pulumi.set(__self__, "client_cert", client_cert)
|
|
48
54
|
if client_key is not None:
|
|
49
55
|
pulumi.set(__self__, "client_key", client_key)
|
|
56
|
+
if config_file is not None:
|
|
57
|
+
pulumi.set(__self__, "config_file", config_file)
|
|
58
|
+
if context is not None:
|
|
59
|
+
pulumi.set(__self__, "context", context)
|
|
50
60
|
if early_auth_check is not None:
|
|
51
61
|
pulumi.set(__self__, "early_auth_check", early_auth_check)
|
|
62
|
+
if enable_auto_ci_support is not None:
|
|
63
|
+
pulumi.set(__self__, "enable_auto_ci_support", enable_auto_ci_support)
|
|
52
64
|
if headers is not None:
|
|
53
65
|
pulumi.set(__self__, "headers", headers)
|
|
54
66
|
if insecure is not None:
|
|
@@ -106,6 +118,30 @@ class ProviderArgs:
|
|
|
106
118
|
def client_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
107
119
|
pulumi.set(self, "client_key", value)
|
|
108
120
|
|
|
121
|
+
@_builtins.property
|
|
122
|
+
@pulumi.getter(name="configFile")
|
|
123
|
+
def config_file(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
124
|
+
"""
|
|
125
|
+
The path to the configuration file to use. It may be sourced from the `GITLAB_CONFIG_FILE` environment variable.
|
|
126
|
+
"""
|
|
127
|
+
return pulumi.get(self, "config_file")
|
|
128
|
+
|
|
129
|
+
@config_file.setter
|
|
130
|
+
def config_file(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
131
|
+
pulumi.set(self, "config_file", value)
|
|
132
|
+
|
|
133
|
+
@_builtins.property
|
|
134
|
+
@pulumi.getter
|
|
135
|
+
def context(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
136
|
+
"""
|
|
137
|
+
The context to use for authentication and configuration. The context must exist in the configuration file. It may be sourced from the `GITLAB_CONTEXT` environment variable.
|
|
138
|
+
"""
|
|
139
|
+
return pulumi.get(self, "context")
|
|
140
|
+
|
|
141
|
+
@context.setter
|
|
142
|
+
def context(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
143
|
+
pulumi.set(self, "context", value)
|
|
144
|
+
|
|
109
145
|
@_builtins.property
|
|
110
146
|
@pulumi.getter(name="earlyAuthCheck")
|
|
111
147
|
def early_auth_check(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -115,6 +151,18 @@ class ProviderArgs:
|
|
|
115
151
|
def early_auth_check(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
116
152
|
pulumi.set(self, "early_auth_check", value)
|
|
117
153
|
|
|
154
|
+
@_builtins.property
|
|
155
|
+
@pulumi.getter(name="enableAutoCiSupport")
|
|
156
|
+
def enable_auto_ci_support(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
157
|
+
"""
|
|
158
|
+
If automatic CI support should be enabled or not. This only works when not providing a token.
|
|
159
|
+
"""
|
|
160
|
+
return pulumi.get(self, "enable_auto_ci_support")
|
|
161
|
+
|
|
162
|
+
@enable_auto_ci_support.setter
|
|
163
|
+
def enable_auto_ci_support(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
164
|
+
pulumi.set(self, "enable_auto_ci_support", value)
|
|
165
|
+
|
|
118
166
|
@_builtins.property
|
|
119
167
|
@pulumi.getter
|
|
120
168
|
def headers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
@@ -174,7 +222,10 @@ class Provider(pulumi.ProviderResource):
|
|
|
174
222
|
cacert_file: Optional[pulumi.Input[_builtins.str]] = None,
|
|
175
223
|
client_cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
176
224
|
client_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
225
|
+
config_file: Optional[pulumi.Input[_builtins.str]] = None,
|
|
226
|
+
context: Optional[pulumi.Input[_builtins.str]] = None,
|
|
177
227
|
early_auth_check: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
228
|
+
enable_auto_ci_support: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
178
229
|
headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
179
230
|
insecure: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
180
231
|
retries: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -192,6 +243,9 @@ class Provider(pulumi.ProviderResource):
|
|
|
192
243
|
:param pulumi.Input[_builtins.str] cacert_file: This is a file containing the ca cert to verify the gitlab instance. This is available for use when working with GitLab CE or Gitlab Enterprise with a locally-issued or self-signed certificate chain.
|
|
193
244
|
:param pulumi.Input[_builtins.str] client_cert: File path to client certificate when GitLab instance is behind company proxy. File must contain PEM encoded data.
|
|
194
245
|
:param pulumi.Input[_builtins.str] client_key: File path to client key when GitLab instance is behind company proxy. File must contain PEM encoded data. Required when `client_cert` is set.
|
|
246
|
+
:param pulumi.Input[_builtins.str] config_file: The path to the configuration file to use. It may be sourced from the `GITLAB_CONFIG_FILE` environment variable.
|
|
247
|
+
:param pulumi.Input[_builtins.str] context: The context to use for authentication and configuration. The context must exist in the configuration file. It may be sourced from the `GITLAB_CONTEXT` environment variable.
|
|
248
|
+
:param pulumi.Input[_builtins.bool] enable_auto_ci_support: If automatic CI support should be enabled or not. This only works when not providing a token.
|
|
195
249
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] headers: A map of headers to append to all API request to the GitLab instance.
|
|
196
250
|
:param pulumi.Input[_builtins.bool] insecure: When set to true this disables SSL verification of the connection to the GitLab instance.
|
|
197
251
|
:param pulumi.Input[_builtins.int] retries: The number of retries to execute when receiving a 429 Rate Limit error. Each retry will exponentially back off.
|
|
@@ -228,7 +282,10 @@ class Provider(pulumi.ProviderResource):
|
|
|
228
282
|
cacert_file: Optional[pulumi.Input[_builtins.str]] = None,
|
|
229
283
|
client_cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
230
284
|
client_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
285
|
+
config_file: Optional[pulumi.Input[_builtins.str]] = None,
|
|
286
|
+
context: Optional[pulumi.Input[_builtins.str]] = None,
|
|
231
287
|
early_auth_check: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
288
|
+
enable_auto_ci_support: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
232
289
|
headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
233
290
|
insecure: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
234
291
|
retries: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -246,7 +303,10 @@ class Provider(pulumi.ProviderResource):
|
|
|
246
303
|
__props__.__dict__["cacert_file"] = cacert_file
|
|
247
304
|
__props__.__dict__["client_cert"] = client_cert
|
|
248
305
|
__props__.__dict__["client_key"] = client_key
|
|
306
|
+
__props__.__dict__["config_file"] = config_file
|
|
307
|
+
__props__.__dict__["context"] = context
|
|
249
308
|
__props__.__dict__["early_auth_check"] = pulumi.Output.from_input(early_auth_check).apply(pulumi.runtime.to_json) if early_auth_check is not None else None
|
|
309
|
+
__props__.__dict__["enable_auto_ci_support"] = pulumi.Output.from_input(enable_auto_ci_support).apply(pulumi.runtime.to_json) if enable_auto_ci_support is not None else None
|
|
250
310
|
__props__.__dict__["headers"] = pulumi.Output.from_input(headers).apply(pulumi.runtime.to_json) if headers is not None else None
|
|
251
311
|
__props__.__dict__["insecure"] = pulumi.Output.from_input(insecure).apply(pulumi.runtime.to_json) if insecure is not None else None
|
|
252
312
|
__props__.__dict__["retries"] = pulumi.Output.from_input(retries).apply(pulumi.runtime.to_json) if retries is not None else None
|
|
@@ -291,6 +351,22 @@ class Provider(pulumi.ProviderResource):
|
|
|
291
351
|
"""
|
|
292
352
|
return pulumi.get(self, "client_key")
|
|
293
353
|
|
|
354
|
+
@_builtins.property
|
|
355
|
+
@pulumi.getter(name="configFile")
|
|
356
|
+
def config_file(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
357
|
+
"""
|
|
358
|
+
The path to the configuration file to use. It may be sourced from the `GITLAB_CONFIG_FILE` environment variable.
|
|
359
|
+
"""
|
|
360
|
+
return pulumi.get(self, "config_file")
|
|
361
|
+
|
|
362
|
+
@_builtins.property
|
|
363
|
+
@pulumi.getter
|
|
364
|
+
def context(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
365
|
+
"""
|
|
366
|
+
The context to use for authentication and configuration. The context must exist in the configuration file. It may be sourced from the `GITLAB_CONTEXT` environment variable.
|
|
367
|
+
"""
|
|
368
|
+
return pulumi.get(self, "context")
|
|
369
|
+
|
|
294
370
|
@_builtins.property
|
|
295
371
|
@pulumi.getter
|
|
296
372
|
def token(self) -> pulumi.Output[Optional[_builtins.str]]:
|
pulumi_gitlab/pulumi-plugin.json
CHANGED
pulumi_gitlab/release_link.py
CHANGED
|
@@ -27,10 +27,10 @@ class ReleaseLinkArgs:
|
|
|
27
27
|
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
28
28
|
"""
|
|
29
29
|
The set of arguments for constructing a ReleaseLink resource.
|
|
30
|
-
:param pulumi.Input[_builtins.str] project: The ID or
|
|
30
|
+
:param pulumi.Input[_builtins.str] project: The ID or Namespace path of the project.
|
|
31
31
|
:param pulumi.Input[_builtins.str] tag_name: The tag associated with the Release.
|
|
32
32
|
:param pulumi.Input[_builtins.str] url: The URL of the link. Link URLs must be unique within the release.
|
|
33
|
-
:param pulumi.Input[_builtins.str] filepath: Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/
|
|
33
|
+
:param pulumi.Input[_builtins.str] filepath: Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-latest-release-assets).
|
|
34
34
|
:param pulumi.Input[_builtins.str] link_type: The type of the link. Valid values are `other`, `runbook`, `image`, `package`. Defaults to other.
|
|
35
35
|
:param pulumi.Input[_builtins.str] name: The name of the link. Link names must be unique within the release.
|
|
36
36
|
"""
|
|
@@ -48,7 +48,7 @@ class ReleaseLinkArgs:
|
|
|
48
48
|
@pulumi.getter
|
|
49
49
|
def project(self) -> pulumi.Input[_builtins.str]:
|
|
50
50
|
"""
|
|
51
|
-
The ID or
|
|
51
|
+
The ID or Namespace path of the project.
|
|
52
52
|
"""
|
|
53
53
|
return pulumi.get(self, "project")
|
|
54
54
|
|
|
@@ -84,7 +84,7 @@ class ReleaseLinkArgs:
|
|
|
84
84
|
@pulumi.getter
|
|
85
85
|
def filepath(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
86
86
|
"""
|
|
87
|
-
Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/
|
|
87
|
+
Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-latest-release-assets).
|
|
88
88
|
"""
|
|
89
89
|
return pulumi.get(self, "filepath")
|
|
90
90
|
|
|
@@ -131,13 +131,13 @@ class _ReleaseLinkState:
|
|
|
131
131
|
url: Optional[pulumi.Input[_builtins.str]] = None):
|
|
132
132
|
"""
|
|
133
133
|
Input properties used for looking up and filtering ReleaseLink resources.
|
|
134
|
-
:param pulumi.Input[_builtins.str] direct_asset_url: Full path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/
|
|
134
|
+
:param pulumi.Input[_builtins.str] direct_asset_url: Full path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-latest-release-assets).
|
|
135
135
|
:param pulumi.Input[_builtins.bool] external: External or internal link.
|
|
136
|
-
:param pulumi.Input[_builtins.str] filepath: Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/
|
|
136
|
+
:param pulumi.Input[_builtins.str] filepath: Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-latest-release-assets).
|
|
137
137
|
:param pulumi.Input[_builtins.int] link_id: The ID of the link.
|
|
138
138
|
:param pulumi.Input[_builtins.str] link_type: The type of the link. Valid values are `other`, `runbook`, `image`, `package`. Defaults to other.
|
|
139
139
|
:param pulumi.Input[_builtins.str] name: The name of the link. Link names must be unique within the release.
|
|
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.
|
|
141
141
|
:param pulumi.Input[_builtins.str] tag_name: The tag associated with the Release.
|
|
142
142
|
:param pulumi.Input[_builtins.str] url: The URL of the link. Link URLs must be unique within the release.
|
|
143
143
|
"""
|
|
@@ -164,7 +164,7 @@ class _ReleaseLinkState:
|
|
|
164
164
|
@pulumi.getter(name="directAssetUrl")
|
|
165
165
|
def direct_asset_url(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
166
166
|
"""
|
|
167
|
-
Full path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/
|
|
167
|
+
Full path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-latest-release-assets).
|
|
168
168
|
"""
|
|
169
169
|
return pulumi.get(self, "direct_asset_url")
|
|
170
170
|
|
|
@@ -188,7 +188,7 @@ class _ReleaseLinkState:
|
|
|
188
188
|
@pulumi.getter
|
|
189
189
|
def filepath(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
190
190
|
"""
|
|
191
|
-
Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/
|
|
191
|
+
Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-latest-release-assets).
|
|
192
192
|
"""
|
|
193
193
|
return pulumi.get(self, "filepath")
|
|
194
194
|
|
|
@@ -236,7 +236,7 @@ class _ReleaseLinkState:
|
|
|
236
236
|
@pulumi.getter
|
|
237
237
|
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
238
238
|
"""
|
|
239
|
-
The ID or
|
|
239
|
+
The ID or Namespace path of the project.
|
|
240
240
|
"""
|
|
241
241
|
return pulumi.get(self, "project")
|
|
242
242
|
|
|
@@ -329,10 +329,10 @@ class ReleaseLink(pulumi.CustomResource):
|
|
|
329
329
|
|
|
330
330
|
:param str resource_name: The name of the resource.
|
|
331
331
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
332
|
-
:param pulumi.Input[_builtins.str] filepath: Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/
|
|
332
|
+
:param pulumi.Input[_builtins.str] filepath: Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-latest-release-assets).
|
|
333
333
|
:param pulumi.Input[_builtins.str] link_type: The type of the link. Valid values are `other`, `runbook`, `image`, `package`. Defaults to other.
|
|
334
334
|
:param pulumi.Input[_builtins.str] name: The name of the link. Link names must be unique within the release.
|
|
335
|
-
:param pulumi.Input[_builtins.str] project: The ID or
|
|
335
|
+
:param pulumi.Input[_builtins.str] project: The ID or Namespace path of the project.
|
|
336
336
|
:param pulumi.Input[_builtins.str] tag_name: The tag associated with the Release.
|
|
337
337
|
:param pulumi.Input[_builtins.str] url: The URL of the link. Link URLs must be unique within the release.
|
|
338
338
|
"""
|
|
@@ -458,13 +458,13 @@ class ReleaseLink(pulumi.CustomResource):
|
|
|
458
458
|
:param str resource_name: The unique name of the resulting resource.
|
|
459
459
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
460
460
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
461
|
-
:param pulumi.Input[_builtins.str] direct_asset_url: Full path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/
|
|
461
|
+
:param pulumi.Input[_builtins.str] direct_asset_url: Full path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-latest-release-assets).
|
|
462
462
|
:param pulumi.Input[_builtins.bool] external: External or internal link.
|
|
463
|
-
:param pulumi.Input[_builtins.str] filepath: Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/
|
|
463
|
+
:param pulumi.Input[_builtins.str] filepath: Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-latest-release-assets).
|
|
464
464
|
:param pulumi.Input[_builtins.int] link_id: The ID of the link.
|
|
465
465
|
:param pulumi.Input[_builtins.str] link_type: The type of the link. Valid values are `other`, `runbook`, `image`, `package`. Defaults to other.
|
|
466
466
|
:param pulumi.Input[_builtins.str] name: The name of the link. Link names must be unique within the release.
|
|
467
|
-
:param pulumi.Input[_builtins.str] project: The ID or
|
|
467
|
+
:param pulumi.Input[_builtins.str] project: The ID or Namespace path of the project.
|
|
468
468
|
:param pulumi.Input[_builtins.str] tag_name: The tag associated with the Release.
|
|
469
469
|
:param pulumi.Input[_builtins.str] url: The URL of the link. Link URLs must be unique within the release.
|
|
470
470
|
"""
|
|
@@ -487,7 +487,7 @@ class ReleaseLink(pulumi.CustomResource):
|
|
|
487
487
|
@pulumi.getter(name="directAssetUrl")
|
|
488
488
|
def direct_asset_url(self) -> pulumi.Output[_builtins.str]:
|
|
489
489
|
"""
|
|
490
|
-
Full path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/
|
|
490
|
+
Full path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-latest-release-assets).
|
|
491
491
|
"""
|
|
492
492
|
return pulumi.get(self, "direct_asset_url")
|
|
493
493
|
|
|
@@ -503,7 +503,7 @@ class ReleaseLink(pulumi.CustomResource):
|
|
|
503
503
|
@pulumi.getter
|
|
504
504
|
def filepath(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
505
505
|
"""
|
|
506
|
-
Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/
|
|
506
|
+
Relative path for a [Direct Asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-latest-release-assets).
|
|
507
507
|
"""
|
|
508
508
|
return pulumi.get(self, "filepath")
|
|
509
509
|
|
|
@@ -517,7 +517,7 @@ class ReleaseLink(pulumi.CustomResource):
|
|
|
517
517
|
|
|
518
518
|
@_builtins.property
|
|
519
519
|
@pulumi.getter(name="linkType")
|
|
520
|
-
def link_type(self) -> pulumi.Output[
|
|
520
|
+
def link_type(self) -> pulumi.Output[_builtins.str]:
|
|
521
521
|
"""
|
|
522
522
|
The type of the link. Valid values are `other`, `runbook`, `image`, `package`. Defaults to other.
|
|
523
523
|
"""
|
|
@@ -535,7 +535,7 @@ class ReleaseLink(pulumi.CustomResource):
|
|
|
535
535
|
@pulumi.getter
|
|
536
536
|
def project(self) -> pulumi.Output[_builtins.str]:
|
|
537
537
|
"""
|
|
538
|
-
The ID or
|
|
538
|
+
The ID or Namespace path of the project.
|
|
539
539
|
"""
|
|
540
540
|
return pulumi.get(self, "project")
|
|
541
541
|
|
pulumi_gitlab/runner.py
CHANGED
|
@@ -372,13 +372,15 @@ class Runner(pulumi.CustomResource):
|
|
|
372
372
|
"""
|
|
373
373
|
The `Runner` resource allows to manage the lifecycle of a runner.
|
|
374
374
|
|
|
375
|
+
> This resource has been deprecated in favor of the `UserRunner` resource. Please use that resource, and the new registration flow, instead. To be removed in 19.0.
|
|
376
|
+
|
|
375
377
|
A runner can either be registered at an instance level or group level.
|
|
376
378
|
The runner will be registered at a group level if the token used is from a group, or at an instance level if the token used is for the instance.
|
|
377
379
|
|
|
378
|
-
|
|
380
|
+
> Using this resource will register a runner using the deprecated `registration_token` flow. To use the new `authentication_token` flow instead,
|
|
379
381
|
use the `UserRunner` resource!
|
|
380
382
|
|
|
381
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/runners
|
|
383
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/runners/)
|
|
382
384
|
|
|
383
385
|
## Import
|
|
384
386
|
|
|
@@ -423,13 +425,15 @@ class Runner(pulumi.CustomResource):
|
|
|
423
425
|
"""
|
|
424
426
|
The `Runner` resource allows to manage the lifecycle of a runner.
|
|
425
427
|
|
|
428
|
+
> This resource has been deprecated in favor of the `UserRunner` resource. Please use that resource, and the new registration flow, instead. To be removed in 19.0.
|
|
429
|
+
|
|
426
430
|
A runner can either be registered at an instance level or group level.
|
|
427
431
|
The runner will be registered at a group level if the token used is from a group, or at an instance level if the token used is for the instance.
|
|
428
432
|
|
|
429
|
-
|
|
433
|
+
> Using this resource will register a runner using the deprecated `registration_token` flow. To use the new `authentication_token` flow instead,
|
|
430
434
|
use the `UserRunner` resource!
|
|
431
435
|
|
|
432
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/runners
|
|
436
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/runners/)
|
|
433
437
|
|
|
434
438
|
## Import
|
|
435
439
|
|
pulumi_gitlab/system_hook.py
CHANGED
|
@@ -34,7 +34,7 @@ class SystemHookArgs:
|
|
|
34
34
|
:param pulumi.Input[_builtins.bool] push_events: When true, the hook fires on push events.
|
|
35
35
|
:param pulumi.Input[_builtins.bool] repository_update_events: Trigger hook on repository update events.
|
|
36
36
|
:param pulumi.Input[_builtins.bool] tag_push_events: When true, the hook fires on new tags being pushed.
|
|
37
|
-
:param pulumi.Input[_builtins.str] token: Secret token to validate received payloads; this isn
|
|
37
|
+
:param pulumi.Input[_builtins.str] token: Secret token to validate received payloads; this isn't returned in the response. This attribute is not available for imported resources.
|
|
38
38
|
"""
|
|
39
39
|
pulumi.set(__self__, "url", url)
|
|
40
40
|
if enable_ssl_verification is not None:
|
|
@@ -126,7 +126,7 @@ class SystemHookArgs:
|
|
|
126
126
|
@pulumi.getter
|
|
127
127
|
def token(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
128
128
|
"""
|
|
129
|
-
Secret token to validate received payloads; this isn
|
|
129
|
+
Secret token to validate received payloads; this isn't returned in the response. This attribute is not available for imported resources.
|
|
130
130
|
"""
|
|
131
131
|
return pulumi.get(self, "token")
|
|
132
132
|
|
|
@@ -154,7 +154,7 @@ class _SystemHookState:
|
|
|
154
154
|
:param pulumi.Input[_builtins.bool] push_events: When true, the hook fires on push events.
|
|
155
155
|
:param pulumi.Input[_builtins.bool] repository_update_events: Trigger hook on repository update events.
|
|
156
156
|
:param pulumi.Input[_builtins.bool] tag_push_events: When true, the hook fires on new tags being pushed.
|
|
157
|
-
:param pulumi.Input[_builtins.str] token: Secret token to validate received payloads; this isn
|
|
157
|
+
:param pulumi.Input[_builtins.str] token: Secret token to validate received payloads; this isn't returned in the response. This attribute is not available for imported resources.
|
|
158
158
|
:param pulumi.Input[_builtins.str] url: The hook URL.
|
|
159
159
|
"""
|
|
160
160
|
if created_at is not None:
|
|
@@ -250,7 +250,7 @@ class _SystemHookState:
|
|
|
250
250
|
@pulumi.getter
|
|
251
251
|
def token(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
252
252
|
"""
|
|
253
|
-
Secret token to validate received payloads; this isn
|
|
253
|
+
Secret token to validate received payloads; this isn't returned in the response. This attribute is not available for imported resources.
|
|
254
254
|
"""
|
|
255
255
|
return pulumi.get(self, "token")
|
|
256
256
|
|
|
@@ -337,7 +337,7 @@ class SystemHook(pulumi.CustomResource):
|
|
|
337
337
|
:param pulumi.Input[_builtins.bool] push_events: When true, the hook fires on push events.
|
|
338
338
|
:param pulumi.Input[_builtins.bool] repository_update_events: Trigger hook on repository update events.
|
|
339
339
|
:param pulumi.Input[_builtins.bool] tag_push_events: When true, the hook fires on new tags being pushed.
|
|
340
|
-
:param pulumi.Input[_builtins.str] token: Secret token to validate received payloads; this isn
|
|
340
|
+
:param pulumi.Input[_builtins.str] token: Secret token to validate received payloads; this isn't returned in the response. This attribute is not available for imported resources.
|
|
341
341
|
:param pulumi.Input[_builtins.str] url: The hook URL.
|
|
342
342
|
"""
|
|
343
343
|
...
|
|
@@ -465,7 +465,7 @@ class SystemHook(pulumi.CustomResource):
|
|
|
465
465
|
:param pulumi.Input[_builtins.bool] push_events: When true, the hook fires on push events.
|
|
466
466
|
:param pulumi.Input[_builtins.bool] repository_update_events: Trigger hook on repository update events.
|
|
467
467
|
:param pulumi.Input[_builtins.bool] tag_push_events: When true, the hook fires on new tags being pushed.
|
|
468
|
-
:param pulumi.Input[_builtins.str] token: Secret token to validate received payloads; this isn
|
|
468
|
+
:param pulumi.Input[_builtins.str] token: Secret token to validate received payloads; this isn't returned in the response. This attribute is not available for imported resources.
|
|
469
469
|
:param pulumi.Input[_builtins.str] url: The hook URL.
|
|
470
470
|
"""
|
|
471
471
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -534,7 +534,7 @@ class SystemHook(pulumi.CustomResource):
|
|
|
534
534
|
@pulumi.getter
|
|
535
535
|
def token(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
536
536
|
"""
|
|
537
|
-
Secret token to validate received payloads; this isn
|
|
537
|
+
Secret token to validate received payloads; this isn't returned in the response. This attribute is not available for imported resources.
|
|
538
538
|
"""
|
|
539
539
|
return pulumi.get(self, "token")
|
|
540
540
|
|