pulumi-gitlab 9.6.0a1766428356__py3-none-any.whl → 9.6.0a1766429294__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gitlab/__init__.py +13 -0
- pulumi_gitlab/_inputs.py +557 -0
- pulumi_gitlab/get_artifact_file.py +2 -2
- pulumi_gitlab/get_group_billable_member_memberships.py +2 -2
- pulumi_gitlab/get_group_membership.py +2 -2
- pulumi_gitlab/get_group_service_account.py +2 -2
- pulumi_gitlab/get_group_service_account_access_tokens.py +138 -0
- pulumi_gitlab/get_group_variable.py +1 -1
- pulumi_gitlab/get_instance_service_account.py +2 -2
- pulumi_gitlab/get_project.py +15 -1
- pulumi_gitlab/get_project_issue_label_events.py +170 -0
- pulumi_gitlab/get_project_membership.py +2 -2
- pulumi_gitlab/get_project_protected_tag.py +2 -2
- pulumi_gitlab/get_project_secure_file.py +247 -0
- pulumi_gitlab/get_projects.py +3 -3
- pulumi_gitlab/get_release_link.py +5 -5
- pulumi_gitlab/get_release_links.py +3 -3
- pulumi_gitlab/get_security_policy_document.py +170 -0
- pulumi_gitlab/global_level_notifications.py +2 -2
- pulumi_gitlab/group_access_token.py +4 -4
- pulumi_gitlab/group_label.py +7 -7
- pulumi_gitlab/group_membership.py +2 -2
- pulumi_gitlab/group_service_account.py +2 -2
- pulumi_gitlab/group_service_account_access_token.py +2 -2
- pulumi_gitlab/group_share_group.py +2 -2
- pulumi_gitlab/instance_service_account.py +2 -2
- pulumi_gitlab/instance_variable.py +12 -12
- pulumi_gitlab/label.py +7 -7
- pulumi_gitlab/member_role.py +9 -9
- pulumi_gitlab/outputs.py +770 -8
- pulumi_gitlab/pages_domain.py +7 -7
- pulumi_gitlab/personal_access_token.py +2 -2
- pulumi_gitlab/pipeline_schedule_variable.py +2 -2
- pulumi_gitlab/project.py +54 -7
- pulumi_gitlab/project_access_token.py +2 -2
- pulumi_gitlab/project_deploy_token.py +2 -2
- pulumi_gitlab/project_hook.py +2 -2
- pulumi_gitlab/project_label.py +11 -11
- pulumi_gitlab/project_level_mr_approvals.py +2 -2
- pulumi_gitlab/project_level_notifications.py +2 -2
- pulumi_gitlab/project_membership.py +2 -2
- pulumi_gitlab/project_target_branch_rule.py +2 -2
- pulumi_gitlab/project_variable.py +7 -7
- pulumi_gitlab/pulumi-plugin.json +1 -1
- pulumi_gitlab/release_link.py +18 -18
- pulumi_gitlab/runner.py +2 -2
- pulumi_gitlab/system_hook.py +7 -7
- pulumi_gitlab/user_avatar.py +386 -0
- pulumi_gitlab/user_gpg_key.py +2 -2
- pulumi_gitlab/user_impersonation_token.py +2 -2
- pulumi_gitlab/user_runner.py +2 -2
- pulumi_gitlab/user_ssh_key.py +2 -2
- {pulumi_gitlab-9.6.0a1766428356.dist-info → pulumi_gitlab-9.6.0a1766429294.dist-info}/METADATA +1 -1
- {pulumi_gitlab-9.6.0a1766428356.dist-info → pulumi_gitlab-9.6.0a1766429294.dist-info}/RECORD +56 -51
- {pulumi_gitlab-9.6.0a1766428356.dist-info → pulumi_gitlab-9.6.0a1766429294.dist-info}/WHEEL +0 -0
- {pulumi_gitlab-9.6.0a1766428356.dist-info → pulumi_gitlab-9.6.0a1766429294.dist-info}/top_level.txt +0 -0
|
@@ -100,7 +100,7 @@ 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
104
|
|
|
105
105
|
## Example Usage
|
|
106
106
|
|
|
@@ -126,7 +126,7 @@ def get_group_service_account_output(group: Optional[pulumi.Input[_builtins.str]
|
|
|
126
126
|
"""
|
|
127
127
|
The `GroupServiceAccount` data source retrieves information about a GitLab service account in a group.
|
|
128
128
|
|
|
129
|
-
**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
130
|
|
|
131
131
|
## Example Usage
|
|
132
132
|
|
|
@@ -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
|
|
|
@@ -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
|
|
pulumi_gitlab/get_project.py
CHANGED
|
@@ -27,7 +27,7 @@ class GetProjectResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getProject.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, allow_pipeline_trigger_approve_deployment=None, analytics_access_level=None, archived=None, auto_cancel_pending_pipelines=None, auto_devops_deploy_strategy=None, auto_devops_enabled=None, autoclose_referenced_issues=None, build_git_strategy=None, build_timeout=None, builds_access_level=None, ci_config_path=None, ci_default_git_depth=None, ci_delete_pipelines_in_seconds=None, ci_id_token_sub_claim_components=None, ci_pipeline_variables_minimum_override_role=None, ci_restrict_pipeline_cancellation_role=None, ci_separated_caches=None, container_expiration_policies=None, container_registry_access_level=None, default_branch=None, description=None, emails_enabled=None, empty_repo=None, environments_access_level=None, external_authorization_classification_label=None, feature_flags_access_level=None, forking_access_level=None, http_url_to_repo=None, id=None, import_url=None, infrastructure_access_level=None, issues_access_level=None, issues_enabled=None, keep_latest_artifact=None, lfs_enabled=None, merge_commit_template=None, merge_pipelines_enabled=None, merge_requests_access_level=None, merge_requests_enabled=None, merge_trains_enabled=None, model_experiments_access_level=None, model_registry_access_level=None, monitor_access_level=None, name=None, namespace_id=None, path=None, path_with_namespace=None, pipelines_enabled=None, prevent_merge_without_jira_issue=None, printing_merge_request_link_enabled=None, public_builds=None, push_rules=None, releases_access_level=None, remove_source_branch_after_merge=None, repository_access_level=None, repository_storage=None, request_access_enabled=None, requirements_access_level=None, resolve_outdated_diff_discussions=None, restrict_user_defined_variables=None, runners_token=None, security_and_compliance_access_level=None, shared_with_groups=None, snippets_access_level=None, snippets_enabled=None, squash_commit_template=None, ssh_url_to_repo=None, suggestion_commit_message=None, topics=None, visibility_level=None, web_url=None, wiki_access_level=None, wiki_enabled=None):
|
|
30
|
+
def __init__(__self__, allow_pipeline_trigger_approve_deployment=None, analytics_access_level=None, archived=None, auto_cancel_pending_pipelines=None, auto_devops_deploy_strategy=None, auto_devops_enabled=None, autoclose_referenced_issues=None, build_git_strategy=None, build_timeout=None, builds_access_level=None, ci_config_path=None, ci_default_git_depth=None, ci_delete_pipelines_in_seconds=None, ci_id_token_sub_claim_components=None, ci_pipeline_variables_minimum_override_role=None, ci_restrict_pipeline_cancellation_role=None, ci_separated_caches=None, container_expiration_policies=None, container_registry_access_level=None, default_branch=None, description=None, emails_enabled=None, empty_repo=None, environments_access_level=None, external_authorization_classification_label=None, feature_flags_access_level=None, forking_access_level=None, http_url_to_repo=None, id=None, import_url=None, infrastructure_access_level=None, issues_access_level=None, issues_enabled=None, keep_latest_artifact=None, lfs_enabled=None, merge_commit_template=None, merge_pipelines_enabled=None, merge_requests_access_level=None, merge_requests_enabled=None, merge_trains_enabled=None, merge_trains_skip_train_allowed=None, model_experiments_access_level=None, model_registry_access_level=None, monitor_access_level=None, name=None, namespace_id=None, path=None, path_with_namespace=None, pipelines_enabled=None, prevent_merge_without_jira_issue=None, printing_merge_request_link_enabled=None, public_builds=None, push_rules=None, releases_access_level=None, remove_source_branch_after_merge=None, repository_access_level=None, repository_storage=None, request_access_enabled=None, requirements_access_level=None, resolve_outdated_diff_discussions=None, restrict_user_defined_variables=None, runners_token=None, security_and_compliance_access_level=None, shared_with_groups=None, snippets_access_level=None, snippets_enabled=None, squash_commit_template=None, ssh_url_to_repo=None, suggestion_commit_message=None, topics=None, visibility_level=None, web_url=None, wiki_access_level=None, wiki_enabled=None):
|
|
31
31
|
if allow_pipeline_trigger_approve_deployment and not isinstance(allow_pipeline_trigger_approve_deployment, bool):
|
|
32
32
|
raise TypeError("Expected argument 'allow_pipeline_trigger_approve_deployment' to be a bool")
|
|
33
33
|
pulumi.set(__self__, "allow_pipeline_trigger_approve_deployment", allow_pipeline_trigger_approve_deployment)
|
|
@@ -148,6 +148,9 @@ class GetProjectResult:
|
|
|
148
148
|
if merge_trains_enabled and not isinstance(merge_trains_enabled, bool):
|
|
149
149
|
raise TypeError("Expected argument 'merge_trains_enabled' to be a bool")
|
|
150
150
|
pulumi.set(__self__, "merge_trains_enabled", merge_trains_enabled)
|
|
151
|
+
if merge_trains_skip_train_allowed and not isinstance(merge_trains_skip_train_allowed, bool):
|
|
152
|
+
raise TypeError("Expected argument 'merge_trains_skip_train_allowed' to be a bool")
|
|
153
|
+
pulumi.set(__self__, "merge_trains_skip_train_allowed", merge_trains_skip_train_allowed)
|
|
151
154
|
if model_experiments_access_level and not isinstance(model_experiments_access_level, str):
|
|
152
155
|
raise TypeError("Expected argument 'model_experiments_access_level' to be a str")
|
|
153
156
|
pulumi.set(__self__, "model_experiments_access_level", model_experiments_access_level)
|
|
@@ -570,6 +573,14 @@ class GetProjectResult:
|
|
|
570
573
|
"""
|
|
571
574
|
return pulumi.get(self, "merge_trains_enabled")
|
|
572
575
|
|
|
576
|
+
@_builtins.property
|
|
577
|
+
@pulumi.getter(name="mergeTrainsSkipTrainAllowed")
|
|
578
|
+
def merge_trains_skip_train_allowed(self) -> _builtins.bool:
|
|
579
|
+
"""
|
|
580
|
+
Allows merge train merge requests to be merged without waiting for pipelines to finish.
|
|
581
|
+
"""
|
|
582
|
+
return pulumi.get(self, "merge_trains_skip_train_allowed")
|
|
583
|
+
|
|
573
584
|
@_builtins.property
|
|
574
585
|
@pulumi.getter(name="modelExperimentsAccessLevel")
|
|
575
586
|
def model_experiments_access_level(self) -> _builtins.str:
|
|
@@ -885,6 +896,7 @@ class AwaitableGetProjectResult(GetProjectResult):
|
|
|
885
896
|
merge_requests_access_level=self.merge_requests_access_level,
|
|
886
897
|
merge_requests_enabled=self.merge_requests_enabled,
|
|
887
898
|
merge_trains_enabled=self.merge_trains_enabled,
|
|
899
|
+
merge_trains_skip_train_allowed=self.merge_trains_skip_train_allowed,
|
|
888
900
|
model_experiments_access_level=self.model_experiments_access_level,
|
|
889
901
|
model_registry_access_level=self.model_registry_access_level,
|
|
890
902
|
monitor_access_level=self.monitor_access_level,
|
|
@@ -988,6 +1000,7 @@ def get_project(ci_default_git_depth: Optional[_builtins.int] = None,
|
|
|
988
1000
|
merge_requests_access_level=pulumi.get(__ret__, 'merge_requests_access_level'),
|
|
989
1001
|
merge_requests_enabled=pulumi.get(__ret__, 'merge_requests_enabled'),
|
|
990
1002
|
merge_trains_enabled=pulumi.get(__ret__, 'merge_trains_enabled'),
|
|
1003
|
+
merge_trains_skip_train_allowed=pulumi.get(__ret__, 'merge_trains_skip_train_allowed'),
|
|
991
1004
|
model_experiments_access_level=pulumi.get(__ret__, 'model_experiments_access_level'),
|
|
992
1005
|
model_registry_access_level=pulumi.get(__ret__, 'model_registry_access_level'),
|
|
993
1006
|
monitor_access_level=pulumi.get(__ret__, 'monitor_access_level'),
|
|
@@ -1088,6 +1101,7 @@ def get_project_output(ci_default_git_depth: Optional[pulumi.Input[Optional[_bui
|
|
|
1088
1101
|
merge_requests_access_level=pulumi.get(__response__, 'merge_requests_access_level'),
|
|
1089
1102
|
merge_requests_enabled=pulumi.get(__response__, 'merge_requests_enabled'),
|
|
1090
1103
|
merge_trains_enabled=pulumi.get(__response__, 'merge_trains_enabled'),
|
|
1104
|
+
merge_trains_skip_train_allowed=pulumi.get(__response__, 'merge_trains_skip_train_allowed'),
|
|
1091
1105
|
model_experiments_access_level=pulumi.get(__response__, 'model_experiments_access_level'),
|
|
1092
1106
|
model_registry_access_level=pulumi.get(__response__, 'model_registry_access_level'),
|
|
1093
1107
|
monitor_access_level=pulumi.get(__response__, 'monitor_access_level'),
|
|
@@ -0,0 +1,170 @@
|
|
|
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
|
+
'GetProjectIssueLabelEventsResult',
|
|
20
|
+
'AwaitableGetProjectIssueLabelEventsResult',
|
|
21
|
+
'get_project_issue_label_events',
|
|
22
|
+
'get_project_issue_label_events_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetProjectIssueLabelEventsResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getProjectIssueLabelEvents.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, events=None, id=None, issue_iid=None, pages_returned=None, project=None):
|
|
31
|
+
if events and not isinstance(events, list):
|
|
32
|
+
raise TypeError("Expected argument 'events' to be a list")
|
|
33
|
+
pulumi.set(__self__, "events", events)
|
|
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 issue_iid and not isinstance(issue_iid, int):
|
|
38
|
+
raise TypeError("Expected argument 'issue_iid' to be a int")
|
|
39
|
+
pulumi.set(__self__, "issue_iid", issue_iid)
|
|
40
|
+
if pages_returned and not isinstance(pages_returned, int):
|
|
41
|
+
raise TypeError("Expected argument 'pages_returned' to be a int")
|
|
42
|
+
pulumi.set(__self__, "pages_returned", pages_returned)
|
|
43
|
+
if project and not isinstance(project, str):
|
|
44
|
+
raise TypeError("Expected argument 'project' to be a str")
|
|
45
|
+
pulumi.set(__self__, "project", project)
|
|
46
|
+
|
|
47
|
+
@_builtins.property
|
|
48
|
+
@pulumi.getter
|
|
49
|
+
def events(self) -> Sequence['outputs.GetProjectIssueLabelEventsEventResult']:
|
|
50
|
+
"""
|
|
51
|
+
List of label events for the issue.
|
|
52
|
+
"""
|
|
53
|
+
return pulumi.get(self, "events")
|
|
54
|
+
|
|
55
|
+
@_builtins.property
|
|
56
|
+
@pulumi.getter
|
|
57
|
+
def id(self) -> _builtins.str:
|
|
58
|
+
return pulumi.get(self, "id")
|
|
59
|
+
|
|
60
|
+
@_builtins.property
|
|
61
|
+
@pulumi.getter(name="issueIid")
|
|
62
|
+
def issue_iid(self) -> _builtins.int:
|
|
63
|
+
"""
|
|
64
|
+
The internal ID of the issue.
|
|
65
|
+
"""
|
|
66
|
+
return pulumi.get(self, "issue_iid")
|
|
67
|
+
|
|
68
|
+
@_builtins.property
|
|
69
|
+
@pulumi.getter(name="pagesReturned")
|
|
70
|
+
def pages_returned(self) -> Optional[_builtins.int]:
|
|
71
|
+
"""
|
|
72
|
+
Number of pages to return. Default is 1.
|
|
73
|
+
"""
|
|
74
|
+
return pulumi.get(self, "pages_returned")
|
|
75
|
+
|
|
76
|
+
@_builtins.property
|
|
77
|
+
@pulumi.getter
|
|
78
|
+
def project(self) -> _builtins.str:
|
|
79
|
+
"""
|
|
80
|
+
The ID or full path of the project.
|
|
81
|
+
"""
|
|
82
|
+
return pulumi.get(self, "project")
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class AwaitableGetProjectIssueLabelEventsResult(GetProjectIssueLabelEventsResult):
|
|
86
|
+
# pylint: disable=using-constant-test
|
|
87
|
+
def __await__(self):
|
|
88
|
+
if False:
|
|
89
|
+
yield self
|
|
90
|
+
return GetProjectIssueLabelEventsResult(
|
|
91
|
+
events=self.events,
|
|
92
|
+
id=self.id,
|
|
93
|
+
issue_iid=self.issue_iid,
|
|
94
|
+
pages_returned=self.pages_returned,
|
|
95
|
+
project=self.project)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def get_project_issue_label_events(issue_iid: Optional[_builtins.int] = None,
|
|
99
|
+
pages_returned: Optional[_builtins.int] = None,
|
|
100
|
+
project: Optional[_builtins.str] = None,
|
|
101
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectIssueLabelEventsResult:
|
|
102
|
+
"""
|
|
103
|
+
The `get_project_issue_label_events` data source retrieves label events for a specific GitLab project issue.
|
|
104
|
+
|
|
105
|
+
**Upstream API**: [GitLab Resource Label Events API docs](https://docs.gitlab.com/api/resource_label_events/)
|
|
106
|
+
|
|
107
|
+
## Example Usage
|
|
108
|
+
|
|
109
|
+
```python
|
|
110
|
+
import pulumi
|
|
111
|
+
import pulumi_gitlab as gitlab
|
|
112
|
+
|
|
113
|
+
example = gitlab.get_project_issue_label_events(project="my-group/my-project",
|
|
114
|
+
issue_iid=42)
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
:param _builtins.int issue_iid: The internal ID of the issue.
|
|
119
|
+
:param _builtins.int pages_returned: Number of pages to return. Default is 1.
|
|
120
|
+
:param _builtins.str project: The ID or full path of the project.
|
|
121
|
+
"""
|
|
122
|
+
__args__ = dict()
|
|
123
|
+
__args__['issueIid'] = issue_iid
|
|
124
|
+
__args__['pagesReturned'] = pages_returned
|
|
125
|
+
__args__['project'] = project
|
|
126
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
127
|
+
__ret__ = pulumi.runtime.invoke('gitlab:index/getProjectIssueLabelEvents:getProjectIssueLabelEvents', __args__, opts=opts, typ=GetProjectIssueLabelEventsResult).value
|
|
128
|
+
|
|
129
|
+
return AwaitableGetProjectIssueLabelEventsResult(
|
|
130
|
+
events=pulumi.get(__ret__, 'events'),
|
|
131
|
+
id=pulumi.get(__ret__, 'id'),
|
|
132
|
+
issue_iid=pulumi.get(__ret__, 'issue_iid'),
|
|
133
|
+
pages_returned=pulumi.get(__ret__, 'pages_returned'),
|
|
134
|
+
project=pulumi.get(__ret__, 'project'))
|
|
135
|
+
def get_project_issue_label_events_output(issue_iid: Optional[pulumi.Input[_builtins.int]] = None,
|
|
136
|
+
pages_returned: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
137
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
138
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectIssueLabelEventsResult]:
|
|
139
|
+
"""
|
|
140
|
+
The `get_project_issue_label_events` data source retrieves label events for a specific GitLab project issue.
|
|
141
|
+
|
|
142
|
+
**Upstream API**: [GitLab Resource Label Events API docs](https://docs.gitlab.com/api/resource_label_events/)
|
|
143
|
+
|
|
144
|
+
## Example Usage
|
|
145
|
+
|
|
146
|
+
```python
|
|
147
|
+
import pulumi
|
|
148
|
+
import pulumi_gitlab as gitlab
|
|
149
|
+
|
|
150
|
+
example = gitlab.get_project_issue_label_events(project="my-group/my-project",
|
|
151
|
+
issue_iid=42)
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
:param _builtins.int issue_iid: The internal ID of the issue.
|
|
156
|
+
:param _builtins.int pages_returned: Number of pages to return. Default is 1.
|
|
157
|
+
:param _builtins.str project: The ID or full path of the project.
|
|
158
|
+
"""
|
|
159
|
+
__args__ = dict()
|
|
160
|
+
__args__['issueIid'] = issue_iid
|
|
161
|
+
__args__['pagesReturned'] = pages_returned
|
|
162
|
+
__args__['project'] = project
|
|
163
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
164
|
+
__ret__ = pulumi.runtime.invoke_output('gitlab:index/getProjectIssueLabelEvents:getProjectIssueLabelEvents', __args__, opts=opts, typ=GetProjectIssueLabelEventsResult)
|
|
165
|
+
return __ret__.apply(lambda __response__: GetProjectIssueLabelEventsResult(
|
|
166
|
+
events=pulumi.get(__response__, 'events'),
|
|
167
|
+
id=pulumi.get(__response__, 'id'),
|
|
168
|
+
issue_iid=pulumi.get(__response__, 'issue_iid'),
|
|
169
|
+
pages_returned=pulumi.get(__response__, 'pages_returned'),
|
|
170
|
+
project=pulumi.get(__response__, 'project')))
|
|
@@ -146,7 +146,7 @@ def get_project_membership(full_path: Optional[_builtins.str] = None,
|
|
|
146
146
|
"""
|
|
147
147
|
The `ProjectMembership` data source allows you to list and filter all members of a project.
|
|
148
148
|
|
|
149
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/
|
|
149
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_members/#list-all-members-of-a-project)
|
|
150
150
|
|
|
151
151
|
|
|
152
152
|
:param _builtins.str full_path: The full path of the project. Use `project` instead. Will be removed in 19.0.
|
|
@@ -185,7 +185,7 @@ def get_project_membership_output(full_path: Optional[pulumi.Input[Optional[_bui
|
|
|
185
185
|
"""
|
|
186
186
|
The `ProjectMembership` data source allows you to list and filter all members of a project.
|
|
187
187
|
|
|
188
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/
|
|
188
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_members/#list-all-members-of-a-project)
|
|
189
189
|
|
|
190
190
|
|
|
191
191
|
:param _builtins.str full_path: The full path of the project. Use `project` instead. Will be removed in 19.0.
|
|
@@ -92,7 +92,7 @@ def get_project_protected_tag(project: Optional[_builtins.str] = None,
|
|
|
92
92
|
"""
|
|
93
93
|
The `get_project_protected_tag` data source allows details of a protected tag to be retrieved by its name and the project it belongs to.
|
|
94
94
|
|
|
95
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/protected_tags/#get-a-
|
|
95
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/protected_tags/#get-a-protected-tag-or-wildcard-protected-tag)
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
:param _builtins.str project: The integer or path with namespace that uniquely identifies the project.
|
|
@@ -115,7 +115,7 @@ def get_project_protected_tag_output(project: Optional[pulumi.Input[_builtins.st
|
|
|
115
115
|
"""
|
|
116
116
|
The `get_project_protected_tag` data source allows details of a protected tag to be retrieved by its name and the project it belongs to.
|
|
117
117
|
|
|
118
|
-
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/protected_tags/#get-a-
|
|
118
|
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/protected_tags/#get-a-protected-tag-or-wildcard-protected-tag)
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
:param _builtins.str project: The integer or path with namespace that uniquely identifies the project.
|