@pulumi/gitlab 4.7.0-alpha.1648237737 → 4.7.0
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.
- package/branch.d.ts +3 -1
- package/branch.js +3 -1
- package/branch.js.map +1 -1
- package/branchProtection.d.ts +42 -6
- package/branchProtection.js +18 -8
- package/branchProtection.js.map +1 -1
- package/deployKey.d.ts +11 -4
- package/deployKey.js +5 -1
- package/deployKey.js.map +1 -1
- package/deployKeyEnable.d.ts +2 -2
- package/deployKeyEnable.js +2 -2
- package/deployToken.d.ts +24 -6
- package/deployToken.js +17 -1
- package/deployToken.js.map +1 -1
- package/getBranch.d.ts +3 -43
- package/getBranch.js +3 -1
- package/getBranch.js.map +1 -1
- package/getGroup.d.ts +3 -53
- package/getGroup.js +2 -2
- package/getGroup.js.map +1 -1
- package/getGroupMembership.d.ts +2 -32
- package/getGroupMembership.js +2 -2
- package/getGroupMembership.js.map +1 -1
- package/getInstanceDeployKeys.d.ts +46 -0
- package/getInstanceDeployKeys.js +42 -0
- package/getInstanceDeployKeys.js.map +1 -0
- package/getProject.d.ts +32 -88
- package/getProject.js +4 -1
- package/getProject.js.map +1 -1
- package/getProjectIssue.d.ts +91 -0
- package/getProjectIssue.js +44 -0
- package/getProjectIssue.js.map +1 -0
- package/getProjectIssues.d.ts +122 -0
- package/getProjectIssues.js +67 -0
- package/getProjectIssues.js.map +1 -0
- package/getProjectProtectedBranch.d.ts +3 -34
- package/getProjectProtectedBranch.js +3 -1
- package/getProjectProtectedBranch.js.map +1 -1
- package/getProjectProtectedBranches.d.ts +3 -13
- package/getProjectProtectedBranches.js +3 -1
- package/getProjectProtectedBranches.js.map +1 -1
- package/getProjectTag.d.ts +52 -0
- package/getProjectTag.js +41 -0
- package/getProjectTag.js.map +1 -0
- package/getProjectTags.d.ts +53 -0
- package/getProjectTags.js +42 -0
- package/getProjectTags.js.map +1 -0
- package/getProjects.d.ts +5 -195
- package/getProjects.js +5 -3
- package/getProjects.js.map +1 -1
- package/getRepositoryFile.d.ts +57 -0
- package/getRepositoryFile.js +42 -0
- package/getRepositoryFile.js.map +1 -0
- package/getUser.d.ts +4 -101
- package/getUser.js +4 -2
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +6 -86
- package/getUsers.js +6 -2
- package/getUsers.js.map +1 -1
- package/group.d.ts +53 -38
- package/group.js +7 -2
- package/group.js.map +1 -1
- package/groupAccessToken.d.ts +15 -6
- package/groupAccessToken.js +5 -1
- package/groupAccessToken.js.map +1 -1
- package/groupBadge.d.ts +7 -7
- package/groupBadge.js +3 -3
- package/groupCluster.d.ts +8 -6
- package/groupCluster.js +5 -3
- package/groupCluster.js.map +1 -1
- package/groupCustomAttribute.d.ts +3 -1
- package/groupCustomAttribute.js +3 -1
- package/groupCustomAttribute.js.map +1 -1
- package/groupLabel.d.ts +9 -6
- package/groupLabel.js +3 -3
- package/groupLabel.js.map +1 -1
- package/groupLdapLink.d.ts +15 -7
- package/groupLdapLink.js +3 -1
- package/groupLdapLink.js.map +1 -1
- package/groupMembership.d.ts +11 -4
- package/groupMembership.js +5 -1
- package/groupMembership.js.map +1 -1
- package/groupShareGroup.d.ts +9 -4
- package/groupShareGroup.js +3 -1
- package/groupShareGroup.js.map +1 -1
- package/groupVariable.d.ts +27 -15
- package/groupVariable.js +3 -3
- package/groupVariable.js.map +1 -1
- package/index.d.ts +11 -0
- package/index.js +31 -0
- package/index.js.map +1 -1
- package/instanceCluster.d.ts +8 -6
- package/instanceCluster.js +5 -3
- package/instanceCluster.js.map +1 -1
- package/instanceVariable.d.ts +18 -12
- package/instanceVariable.js +3 -3
- package/instanceVariable.js.map +1 -1
- package/label.d.ts +17 -6
- package/label.js +11 -3
- package/label.js.map +1 -1
- package/managedLicense.d.ts +14 -7
- package/managedLicense.js +5 -4
- package/managedLicense.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pipelineSchedule.d.ts +3 -3
- package/pipelineSchedule.js +3 -3
- package/pipelineScheduleVariable.d.ts +3 -1
- package/pipelineScheduleVariable.js +3 -1
- package/pipelineScheduleVariable.js.map +1 -1
- package/pipelineTrigger.d.ts +3 -1
- package/pipelineTrigger.js +3 -1
- package/pipelineTrigger.js.map +1 -1
- package/project.d.ts +372 -26
- package/project.js +59 -1
- package/project.js.map +1 -1
- package/projectAccessToken.d.ts +20 -8
- package/projectAccessToken.js +13 -1
- package/projectAccessToken.js.map +1 -1
- package/projectApprovalRule.d.ts +19 -2
- package/projectApprovalRule.js +6 -2
- package/projectApprovalRule.js.map +1 -1
- package/projectBadge.d.ts +7 -7
- package/projectBadge.js +3 -3
- package/projectCluster.d.ts +8 -6
- package/projectCluster.js +5 -3
- package/projectCluster.js.map +1 -1
- package/projectCustomAttribute.d.ts +3 -1
- package/projectCustomAttribute.js +3 -1
- package/projectCustomAttribute.js.map +1 -1
- package/projectEnvironment.d.ts +147 -0
- package/projectEnvironment.js +95 -0
- package/projectEnvironment.js.map +1 -0
- package/projectFreezePeriod.d.ts +3 -1
- package/projectFreezePeriod.js +3 -1
- package/projectFreezePeriod.js.map +1 -1
- package/projectHook.d.ts +16 -6
- package/projectHook.js +13 -3
- package/projectHook.js.map +1 -1
- package/projectIssue.d.ts +526 -0
- package/projectIssue.js +163 -0
- package/projectIssue.js.map +1 -0
- package/projectLevelMrApprovals.d.ts +11 -5
- package/projectLevelMrApprovals.js +5 -2
- package/projectLevelMrApprovals.js.map +1 -1
- package/projectMembership.d.ts +11 -4
- package/projectMembership.js +5 -1
- package/projectMembership.js.map +1 -1
- package/projectMirror.d.ts +4 -5
- package/projectMirror.js +4 -5
- package/projectMirror.js.map +1 -1
- package/projectProtectedEnvironment.d.ts +127 -0
- package/projectProtectedEnvironment.js +116 -0
- package/projectProtectedEnvironment.js.map +1 -0
- package/projectShareGroup.d.ts +15 -7
- package/projectShareGroup.js +3 -1
- package/projectShareGroup.js.map +1 -1
- package/projectTag.d.ts +149 -0
- package/projectTag.js +101 -0
- package/projectTag.js.map +1 -0
- package/projectVariable.d.ts +16 -16
- package/projectVariable.js +4 -7
- package/projectVariable.js.map +1 -1
- package/repositoryFile.d.ts +67 -8
- package/repositoryFile.js +14 -0
- package/repositoryFile.js.map +1 -1
- package/serviceGithub.d.ts +10 -5
- package/serviceGithub.js +4 -2
- package/serviceGithub.js.map +1 -1
- package/serviceJira.d.ts +15 -7
- package/serviceJira.js +3 -1
- package/serviceJira.js.map +1 -1
- package/serviceMicrosoftTeams.d.ts +9 -4
- package/serviceMicrosoftTeams.js +3 -1
- package/serviceMicrosoftTeams.js.map +1 -1
- package/servicePipelinesEmail.d.ts +9 -4
- package/servicePipelinesEmail.js +3 -1
- package/servicePipelinesEmail.js.map +1 -1
- package/serviceSlack.d.ts +13 -9
- package/serviceSlack.js +3 -1
- package/serviceSlack.js.map +1 -1
- package/systemHook.d.ts +165 -0
- package/systemHook.js +100 -0
- package/systemHook.js.map +1 -0
- package/tagProtection.d.ts +3 -1
- package/tagProtection.js +3 -1
- package/tagProtection.js.map +1 -1
- package/topic.d.ts +57 -25
- package/topic.js +10 -16
- package/topic.js.map +1 -1
- package/types/input.d.ts +42 -60
- package/types/output.d.ts +197 -102
- package/user.d.ts +18 -12
- package/user.js +6 -3
- package/user.js.map +1 -1
- package/userCustomAttribute.d.ts +3 -1
- package/userCustomAttribute.js +3 -1
- package/userCustomAttribute.js.map +1 -1
- package/userSshKey.d.ts +7 -4
- package/userSshKey.js +1 -1
- package/userSshKey.js.map +1 -1
|
@@ -0,0 +1,526 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new gitlab.Project("foo", {
|
|
11
|
+
* description: "Lorem Ipsum",
|
|
12
|
+
* visibilityLevel: "public",
|
|
13
|
+
* });
|
|
14
|
+
* const welcomeIssue = new gitlab.ProjectIssue("welcomeIssue", {
|
|
15
|
+
* project: foo.id,
|
|
16
|
+
* title: "Welcome!",
|
|
17
|
+
* description: pulumi.interpolate` Welcome to the ${foo.name} project!
|
|
18
|
+
*
|
|
19
|
+
* `,
|
|
20
|
+
* discussionLocked: true,
|
|
21
|
+
* });
|
|
22
|
+
* export const welcomeIssueWebUrl = data.gitlab_project_issue.web_url;
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* # You can import this resource with an id made up of `{project-id}:{issue-id}`, e.g.
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import gitlab:index/projectIssue:ProjectIssue welcome_issue 42:1
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare class ProjectIssue extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing ProjectIssue resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectIssueState, opts?: pulumi.CustomResourceOptions): ProjectIssue;
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of ProjectIssue. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj: any): obj is ProjectIssue;
|
|
49
|
+
/**
|
|
50
|
+
* The IDs of the users to assign the issue to.
|
|
51
|
+
*/
|
|
52
|
+
readonly assigneeIds: pulumi.Output<number[] | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* The ID of the author of the issue. Use `gitlab_user` data source to get more information about the user.
|
|
55
|
+
*/
|
|
56
|
+
readonly authorId: pulumi.Output<number>;
|
|
57
|
+
/**
|
|
58
|
+
* When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
|
|
59
|
+
*/
|
|
60
|
+
readonly closedAt: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the user that closed the issue. Use `gitlab_user` data source to get more information about the user.
|
|
63
|
+
*/
|
|
64
|
+
readonly closedByUserId: pulumi.Output<number>;
|
|
65
|
+
/**
|
|
66
|
+
* Set an issue to be confidential.
|
|
67
|
+
*/
|
|
68
|
+
readonly confidential: pulumi.Output<boolean | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires
|
|
71
|
+
* administrator or project/group owner rights.
|
|
72
|
+
*/
|
|
73
|
+
readonly createdAt: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Whether the issue is deleted instead of closed during destroy.
|
|
76
|
+
*/
|
|
77
|
+
readonly deleteOnDestroy: pulumi.Output<boolean | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* The description of an issue. Limited to 1,048,576 characters.
|
|
80
|
+
*/
|
|
81
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* Whether the issue is locked for discussions or not.
|
|
84
|
+
*/
|
|
85
|
+
readonly discussionLocked: pulumi.Output<boolean | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as
|
|
88
|
+
* resolved. Use in combination with merge_request_to_resolve_discussions_of.
|
|
89
|
+
*/
|
|
90
|
+
readonly discussionToResolve: pulumi.Output<string | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* The number of downvotes the issue has received.
|
|
93
|
+
*/
|
|
94
|
+
readonly downvotes: pulumi.Output<number>;
|
|
95
|
+
/**
|
|
96
|
+
* The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11. **Note:** removing a due date is
|
|
97
|
+
* currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
|
|
98
|
+
*/
|
|
99
|
+
readonly dueDate: pulumi.Output<string | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* ID of the epic to add the issue to. Valid values are greater than or equal to 0.
|
|
102
|
+
*/
|
|
103
|
+
readonly epicId: pulumi.Output<number>;
|
|
104
|
+
/**
|
|
105
|
+
* The ID of the epic issue.
|
|
106
|
+
*/
|
|
107
|
+
readonly epicIssueId: pulumi.Output<number>;
|
|
108
|
+
/**
|
|
109
|
+
* The external ID of the issue.
|
|
110
|
+
*/
|
|
111
|
+
readonly externalId: pulumi.Output<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The human-readable time estimate of the issue.
|
|
114
|
+
*/
|
|
115
|
+
readonly humanTimeEstimate: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The human-readable total time spent of the issue.
|
|
118
|
+
*/
|
|
119
|
+
readonly humanTotalTimeSpent: pulumi.Output<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The internal ID of the project's issue.
|
|
122
|
+
*/
|
|
123
|
+
readonly iid: pulumi.Output<number>;
|
|
124
|
+
/**
|
|
125
|
+
* The instance-wide ID of the issue.
|
|
126
|
+
*/
|
|
127
|
+
readonly issueId: pulumi.Output<number>;
|
|
128
|
+
/**
|
|
129
|
+
* The ID of the issue link.
|
|
130
|
+
*/
|
|
131
|
+
readonly issueLinkId: pulumi.Output<number>;
|
|
132
|
+
/**
|
|
133
|
+
* The type of issue. Valid values are: `issue`, `incident`, `test_case`.
|
|
134
|
+
*/
|
|
135
|
+
readonly issueType: pulumi.Output<string | undefined>;
|
|
136
|
+
/**
|
|
137
|
+
* The labels of an issue.
|
|
138
|
+
*/
|
|
139
|
+
readonly labels: pulumi.Output<string[] | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* The links of the issue.
|
|
142
|
+
*/
|
|
143
|
+
readonly links: pulumi.Output<{
|
|
144
|
+
[key: string]: string;
|
|
145
|
+
}>;
|
|
146
|
+
/**
|
|
147
|
+
* The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark
|
|
148
|
+
* all discussions as resolved. When passing a description or title, these values take precedence over the default values.
|
|
149
|
+
*/
|
|
150
|
+
readonly mergeRequestToResolveDiscussionsOf: pulumi.Output<number | undefined>;
|
|
151
|
+
/**
|
|
152
|
+
* The number of merge requests associated with the issue.
|
|
153
|
+
*/
|
|
154
|
+
readonly mergeRequestsCount: pulumi.Output<number>;
|
|
155
|
+
/**
|
|
156
|
+
* The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with
|
|
157
|
+
* the milestone assigned and use the API to retrieve the issue's details.
|
|
158
|
+
*/
|
|
159
|
+
readonly milestoneId: pulumi.Output<number | undefined>;
|
|
160
|
+
/**
|
|
161
|
+
* The ID of the issue that was moved to.
|
|
162
|
+
*/
|
|
163
|
+
readonly movedToId: pulumi.Output<number>;
|
|
164
|
+
/**
|
|
165
|
+
* The name or ID of the project.
|
|
166
|
+
*/
|
|
167
|
+
readonly project: pulumi.Output<string>;
|
|
168
|
+
/**
|
|
169
|
+
* The references of the issue.
|
|
170
|
+
*/
|
|
171
|
+
readonly references: pulumi.Output<{
|
|
172
|
+
[key: string]: string;
|
|
173
|
+
}>;
|
|
174
|
+
/**
|
|
175
|
+
* The state of the issue. Valid values are: `opened`, `closed`.
|
|
176
|
+
*/
|
|
177
|
+
readonly state: pulumi.Output<string | undefined>;
|
|
178
|
+
/**
|
|
179
|
+
* Whether the authenticated user is subscribed to the issue or not.
|
|
180
|
+
*/
|
|
181
|
+
readonly subscribed: pulumi.Output<boolean>;
|
|
182
|
+
/**
|
|
183
|
+
* The task completion status. It's always a one element list.
|
|
184
|
+
*/
|
|
185
|
+
readonly taskCompletionStatus: pulumi.Output<outputs.ProjectIssueTaskCompletionStatus>;
|
|
186
|
+
/**
|
|
187
|
+
* The time estimate of the issue.
|
|
188
|
+
*/
|
|
189
|
+
readonly timeEstimate: pulumi.Output<number>;
|
|
190
|
+
/**
|
|
191
|
+
* The title of the issue.
|
|
192
|
+
*/
|
|
193
|
+
readonly title: pulumi.Output<string>;
|
|
194
|
+
/**
|
|
195
|
+
* The total time spent of the issue.
|
|
196
|
+
*/
|
|
197
|
+
readonly totalTimeSpent: pulumi.Output<number>;
|
|
198
|
+
/**
|
|
199
|
+
* When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
|
|
200
|
+
*/
|
|
201
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
202
|
+
/**
|
|
203
|
+
* The number of upvotes the issue has received.
|
|
204
|
+
*/
|
|
205
|
+
readonly upvotes: pulumi.Output<number>;
|
|
206
|
+
/**
|
|
207
|
+
* The number of user notes on the issue.
|
|
208
|
+
*/
|
|
209
|
+
readonly userNotesCount: pulumi.Output<number>;
|
|
210
|
+
/**
|
|
211
|
+
* The web URL of the issue.
|
|
212
|
+
*/
|
|
213
|
+
readonly webUrl: pulumi.Output<string>;
|
|
214
|
+
/**
|
|
215
|
+
* The weight of the issue. Valid values are greater than or equal to 0.
|
|
216
|
+
*/
|
|
217
|
+
readonly weight: pulumi.Output<number>;
|
|
218
|
+
/**
|
|
219
|
+
* Create a ProjectIssue resource with the given unique name, arguments, and options.
|
|
220
|
+
*
|
|
221
|
+
* @param name The _unique_ name of the resource.
|
|
222
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
223
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
224
|
+
*/
|
|
225
|
+
constructor(name: string, args: ProjectIssueArgs, opts?: pulumi.CustomResourceOptions);
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Input properties used for looking up and filtering ProjectIssue resources.
|
|
229
|
+
*/
|
|
230
|
+
export interface ProjectIssueState {
|
|
231
|
+
/**
|
|
232
|
+
* The IDs of the users to assign the issue to.
|
|
233
|
+
*/
|
|
234
|
+
assigneeIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
235
|
+
/**
|
|
236
|
+
* The ID of the author of the issue. Use `gitlab_user` data source to get more information about the user.
|
|
237
|
+
*/
|
|
238
|
+
authorId?: pulumi.Input<number>;
|
|
239
|
+
/**
|
|
240
|
+
* When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
|
|
241
|
+
*/
|
|
242
|
+
closedAt?: pulumi.Input<string>;
|
|
243
|
+
/**
|
|
244
|
+
* The ID of the user that closed the issue. Use `gitlab_user` data source to get more information about the user.
|
|
245
|
+
*/
|
|
246
|
+
closedByUserId?: pulumi.Input<number>;
|
|
247
|
+
/**
|
|
248
|
+
* Set an issue to be confidential.
|
|
249
|
+
*/
|
|
250
|
+
confidential?: pulumi.Input<boolean>;
|
|
251
|
+
/**
|
|
252
|
+
* When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires
|
|
253
|
+
* administrator or project/group owner rights.
|
|
254
|
+
*/
|
|
255
|
+
createdAt?: pulumi.Input<string>;
|
|
256
|
+
/**
|
|
257
|
+
* Whether the issue is deleted instead of closed during destroy.
|
|
258
|
+
*/
|
|
259
|
+
deleteOnDestroy?: pulumi.Input<boolean>;
|
|
260
|
+
/**
|
|
261
|
+
* The description of an issue. Limited to 1,048,576 characters.
|
|
262
|
+
*/
|
|
263
|
+
description?: pulumi.Input<string>;
|
|
264
|
+
/**
|
|
265
|
+
* Whether the issue is locked for discussions or not.
|
|
266
|
+
*/
|
|
267
|
+
discussionLocked?: pulumi.Input<boolean>;
|
|
268
|
+
/**
|
|
269
|
+
* The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as
|
|
270
|
+
* resolved. Use in combination with merge_request_to_resolve_discussions_of.
|
|
271
|
+
*/
|
|
272
|
+
discussionToResolve?: pulumi.Input<string>;
|
|
273
|
+
/**
|
|
274
|
+
* The number of downvotes the issue has received.
|
|
275
|
+
*/
|
|
276
|
+
downvotes?: pulumi.Input<number>;
|
|
277
|
+
/**
|
|
278
|
+
* The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11. **Note:** removing a due date is
|
|
279
|
+
* currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
|
|
280
|
+
*/
|
|
281
|
+
dueDate?: pulumi.Input<string>;
|
|
282
|
+
/**
|
|
283
|
+
* ID of the epic to add the issue to. Valid values are greater than or equal to 0.
|
|
284
|
+
*/
|
|
285
|
+
epicId?: pulumi.Input<number>;
|
|
286
|
+
/**
|
|
287
|
+
* The ID of the epic issue.
|
|
288
|
+
*/
|
|
289
|
+
epicIssueId?: pulumi.Input<number>;
|
|
290
|
+
/**
|
|
291
|
+
* The external ID of the issue.
|
|
292
|
+
*/
|
|
293
|
+
externalId?: pulumi.Input<string>;
|
|
294
|
+
/**
|
|
295
|
+
* The human-readable time estimate of the issue.
|
|
296
|
+
*/
|
|
297
|
+
humanTimeEstimate?: pulumi.Input<string>;
|
|
298
|
+
/**
|
|
299
|
+
* The human-readable total time spent of the issue.
|
|
300
|
+
*/
|
|
301
|
+
humanTotalTimeSpent?: pulumi.Input<string>;
|
|
302
|
+
/**
|
|
303
|
+
* The internal ID of the project's issue.
|
|
304
|
+
*/
|
|
305
|
+
iid?: pulumi.Input<number>;
|
|
306
|
+
/**
|
|
307
|
+
* The instance-wide ID of the issue.
|
|
308
|
+
*/
|
|
309
|
+
issueId?: pulumi.Input<number>;
|
|
310
|
+
/**
|
|
311
|
+
* The ID of the issue link.
|
|
312
|
+
*/
|
|
313
|
+
issueLinkId?: pulumi.Input<number>;
|
|
314
|
+
/**
|
|
315
|
+
* The type of issue. Valid values are: `issue`, `incident`, `test_case`.
|
|
316
|
+
*/
|
|
317
|
+
issueType?: pulumi.Input<string>;
|
|
318
|
+
/**
|
|
319
|
+
* The labels of an issue.
|
|
320
|
+
*/
|
|
321
|
+
labels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
322
|
+
/**
|
|
323
|
+
* The links of the issue.
|
|
324
|
+
*/
|
|
325
|
+
links?: pulumi.Input<{
|
|
326
|
+
[key: string]: pulumi.Input<string>;
|
|
327
|
+
}>;
|
|
328
|
+
/**
|
|
329
|
+
* The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark
|
|
330
|
+
* all discussions as resolved. When passing a description or title, these values take precedence over the default values.
|
|
331
|
+
*/
|
|
332
|
+
mergeRequestToResolveDiscussionsOf?: pulumi.Input<number>;
|
|
333
|
+
/**
|
|
334
|
+
* The number of merge requests associated with the issue.
|
|
335
|
+
*/
|
|
336
|
+
mergeRequestsCount?: pulumi.Input<number>;
|
|
337
|
+
/**
|
|
338
|
+
* The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with
|
|
339
|
+
* the milestone assigned and use the API to retrieve the issue's details.
|
|
340
|
+
*/
|
|
341
|
+
milestoneId?: pulumi.Input<number>;
|
|
342
|
+
/**
|
|
343
|
+
* The ID of the issue that was moved to.
|
|
344
|
+
*/
|
|
345
|
+
movedToId?: pulumi.Input<number>;
|
|
346
|
+
/**
|
|
347
|
+
* The name or ID of the project.
|
|
348
|
+
*/
|
|
349
|
+
project?: pulumi.Input<string>;
|
|
350
|
+
/**
|
|
351
|
+
* The references of the issue.
|
|
352
|
+
*/
|
|
353
|
+
references?: pulumi.Input<{
|
|
354
|
+
[key: string]: pulumi.Input<string>;
|
|
355
|
+
}>;
|
|
356
|
+
/**
|
|
357
|
+
* The state of the issue. Valid values are: `opened`, `closed`.
|
|
358
|
+
*/
|
|
359
|
+
state?: pulumi.Input<string>;
|
|
360
|
+
/**
|
|
361
|
+
* Whether the authenticated user is subscribed to the issue or not.
|
|
362
|
+
*/
|
|
363
|
+
subscribed?: pulumi.Input<boolean>;
|
|
364
|
+
/**
|
|
365
|
+
* The task completion status. It's always a one element list.
|
|
366
|
+
*/
|
|
367
|
+
taskCompletionStatus?: pulumi.Input<inputs.ProjectIssueTaskCompletionStatus>;
|
|
368
|
+
/**
|
|
369
|
+
* The time estimate of the issue.
|
|
370
|
+
*/
|
|
371
|
+
timeEstimate?: pulumi.Input<number>;
|
|
372
|
+
/**
|
|
373
|
+
* The title of the issue.
|
|
374
|
+
*/
|
|
375
|
+
title?: pulumi.Input<string>;
|
|
376
|
+
/**
|
|
377
|
+
* The total time spent of the issue.
|
|
378
|
+
*/
|
|
379
|
+
totalTimeSpent?: pulumi.Input<number>;
|
|
380
|
+
/**
|
|
381
|
+
* When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
|
|
382
|
+
*/
|
|
383
|
+
updatedAt?: pulumi.Input<string>;
|
|
384
|
+
/**
|
|
385
|
+
* The number of upvotes the issue has received.
|
|
386
|
+
*/
|
|
387
|
+
upvotes?: pulumi.Input<number>;
|
|
388
|
+
/**
|
|
389
|
+
* The number of user notes on the issue.
|
|
390
|
+
*/
|
|
391
|
+
userNotesCount?: pulumi.Input<number>;
|
|
392
|
+
/**
|
|
393
|
+
* The web URL of the issue.
|
|
394
|
+
*/
|
|
395
|
+
webUrl?: pulumi.Input<string>;
|
|
396
|
+
/**
|
|
397
|
+
* The weight of the issue. Valid values are greater than or equal to 0.
|
|
398
|
+
*/
|
|
399
|
+
weight?: pulumi.Input<number>;
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* The set of arguments for constructing a ProjectIssue resource.
|
|
403
|
+
*/
|
|
404
|
+
export interface ProjectIssueArgs {
|
|
405
|
+
/**
|
|
406
|
+
* The IDs of the users to assign the issue to.
|
|
407
|
+
*/
|
|
408
|
+
assigneeIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
409
|
+
/**
|
|
410
|
+
* When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
|
|
411
|
+
*/
|
|
412
|
+
closedAt?: pulumi.Input<string>;
|
|
413
|
+
/**
|
|
414
|
+
* The ID of the user that closed the issue. Use `gitlab_user` data source to get more information about the user.
|
|
415
|
+
*/
|
|
416
|
+
closedByUserId?: pulumi.Input<number>;
|
|
417
|
+
/**
|
|
418
|
+
* Set an issue to be confidential.
|
|
419
|
+
*/
|
|
420
|
+
confidential?: pulumi.Input<boolean>;
|
|
421
|
+
/**
|
|
422
|
+
* When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires
|
|
423
|
+
* administrator or project/group owner rights.
|
|
424
|
+
*/
|
|
425
|
+
createdAt?: pulumi.Input<string>;
|
|
426
|
+
/**
|
|
427
|
+
* Whether the issue is deleted instead of closed during destroy.
|
|
428
|
+
*/
|
|
429
|
+
deleteOnDestroy?: pulumi.Input<boolean>;
|
|
430
|
+
/**
|
|
431
|
+
* The description of an issue. Limited to 1,048,576 characters.
|
|
432
|
+
*/
|
|
433
|
+
description?: pulumi.Input<string>;
|
|
434
|
+
/**
|
|
435
|
+
* Whether the issue is locked for discussions or not.
|
|
436
|
+
*/
|
|
437
|
+
discussionLocked?: pulumi.Input<boolean>;
|
|
438
|
+
/**
|
|
439
|
+
* The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as
|
|
440
|
+
* resolved. Use in combination with merge_request_to_resolve_discussions_of.
|
|
441
|
+
*/
|
|
442
|
+
discussionToResolve?: pulumi.Input<string>;
|
|
443
|
+
/**
|
|
444
|
+
* The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11. **Note:** removing a due date is
|
|
445
|
+
* currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
|
|
446
|
+
*/
|
|
447
|
+
dueDate?: pulumi.Input<string>;
|
|
448
|
+
/**
|
|
449
|
+
* The ID of the epic issue.
|
|
450
|
+
*/
|
|
451
|
+
epicIssueId?: pulumi.Input<number>;
|
|
452
|
+
/**
|
|
453
|
+
* The human-readable time estimate of the issue.
|
|
454
|
+
*/
|
|
455
|
+
humanTimeEstimate?: pulumi.Input<string>;
|
|
456
|
+
/**
|
|
457
|
+
* The human-readable total time spent of the issue.
|
|
458
|
+
*/
|
|
459
|
+
humanTotalTimeSpent?: pulumi.Input<string>;
|
|
460
|
+
/**
|
|
461
|
+
* The internal ID of the project's issue.
|
|
462
|
+
*/
|
|
463
|
+
iid?: pulumi.Input<number>;
|
|
464
|
+
/**
|
|
465
|
+
* The type of issue. Valid values are: `issue`, `incident`, `test_case`.
|
|
466
|
+
*/
|
|
467
|
+
issueType?: pulumi.Input<string>;
|
|
468
|
+
/**
|
|
469
|
+
* The labels of an issue.
|
|
470
|
+
*/
|
|
471
|
+
labels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
472
|
+
/**
|
|
473
|
+
* The links of the issue.
|
|
474
|
+
*/
|
|
475
|
+
links?: pulumi.Input<{
|
|
476
|
+
[key: string]: pulumi.Input<string>;
|
|
477
|
+
}>;
|
|
478
|
+
/**
|
|
479
|
+
* The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark
|
|
480
|
+
* all discussions as resolved. When passing a description or title, these values take precedence over the default values.
|
|
481
|
+
*/
|
|
482
|
+
mergeRequestToResolveDiscussionsOf?: pulumi.Input<number>;
|
|
483
|
+
/**
|
|
484
|
+
* The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with
|
|
485
|
+
* the milestone assigned and use the API to retrieve the issue's details.
|
|
486
|
+
*/
|
|
487
|
+
milestoneId?: pulumi.Input<number>;
|
|
488
|
+
/**
|
|
489
|
+
* The name or ID of the project.
|
|
490
|
+
*/
|
|
491
|
+
project: pulumi.Input<string>;
|
|
492
|
+
/**
|
|
493
|
+
* The references of the issue.
|
|
494
|
+
*/
|
|
495
|
+
references?: pulumi.Input<{
|
|
496
|
+
[key: string]: pulumi.Input<string>;
|
|
497
|
+
}>;
|
|
498
|
+
/**
|
|
499
|
+
* The state of the issue. Valid values are: `opened`, `closed`.
|
|
500
|
+
*/
|
|
501
|
+
state?: pulumi.Input<string>;
|
|
502
|
+
/**
|
|
503
|
+
* The task completion status. It's always a one element list.
|
|
504
|
+
*/
|
|
505
|
+
taskCompletionStatus?: pulumi.Input<inputs.ProjectIssueTaskCompletionStatus>;
|
|
506
|
+
/**
|
|
507
|
+
* The time estimate of the issue.
|
|
508
|
+
*/
|
|
509
|
+
timeEstimate?: pulumi.Input<number>;
|
|
510
|
+
/**
|
|
511
|
+
* The title of the issue.
|
|
512
|
+
*/
|
|
513
|
+
title: pulumi.Input<string>;
|
|
514
|
+
/**
|
|
515
|
+
* The total time spent of the issue.
|
|
516
|
+
*/
|
|
517
|
+
totalTimeSpent?: pulumi.Input<number>;
|
|
518
|
+
/**
|
|
519
|
+
* When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
|
|
520
|
+
*/
|
|
521
|
+
updatedAt?: pulumi.Input<string>;
|
|
522
|
+
/**
|
|
523
|
+
* The weight of the issue. Valid values are greater than or equal to 0.
|
|
524
|
+
*/
|
|
525
|
+
weight?: pulumi.Input<number>;
|
|
526
|
+
}
|
package/projectIssue.js
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ProjectIssue = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
14
|
+
*
|
|
15
|
+
* const foo = new gitlab.Project("foo", {
|
|
16
|
+
* description: "Lorem Ipsum",
|
|
17
|
+
* visibilityLevel: "public",
|
|
18
|
+
* });
|
|
19
|
+
* const welcomeIssue = new gitlab.ProjectIssue("welcomeIssue", {
|
|
20
|
+
* project: foo.id,
|
|
21
|
+
* title: "Welcome!",
|
|
22
|
+
* description: pulumi.interpolate` Welcome to the ${foo.name} project!
|
|
23
|
+
*
|
|
24
|
+
* `,
|
|
25
|
+
* discussionLocked: true,
|
|
26
|
+
* });
|
|
27
|
+
* export const welcomeIssueWebUrl = data.gitlab_project_issue.web_url;
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* # You can import this resource with an id made up of `{project-id}:{issue-id}`, e.g.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import gitlab:index/projectIssue:ProjectIssue welcome_issue 42:1
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
class ProjectIssue extends pulumi.CustomResource {
|
|
39
|
+
constructor(name, argsOrState, opts) {
|
|
40
|
+
let resourceInputs = {};
|
|
41
|
+
opts = opts || {};
|
|
42
|
+
if (opts.id) {
|
|
43
|
+
const state = argsOrState;
|
|
44
|
+
resourceInputs["assigneeIds"] = state ? state.assigneeIds : undefined;
|
|
45
|
+
resourceInputs["authorId"] = state ? state.authorId : undefined;
|
|
46
|
+
resourceInputs["closedAt"] = state ? state.closedAt : undefined;
|
|
47
|
+
resourceInputs["closedByUserId"] = state ? state.closedByUserId : undefined;
|
|
48
|
+
resourceInputs["confidential"] = state ? state.confidential : undefined;
|
|
49
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
50
|
+
resourceInputs["deleteOnDestroy"] = state ? state.deleteOnDestroy : undefined;
|
|
51
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
52
|
+
resourceInputs["discussionLocked"] = state ? state.discussionLocked : undefined;
|
|
53
|
+
resourceInputs["discussionToResolve"] = state ? state.discussionToResolve : undefined;
|
|
54
|
+
resourceInputs["downvotes"] = state ? state.downvotes : undefined;
|
|
55
|
+
resourceInputs["dueDate"] = state ? state.dueDate : undefined;
|
|
56
|
+
resourceInputs["epicId"] = state ? state.epicId : undefined;
|
|
57
|
+
resourceInputs["epicIssueId"] = state ? state.epicIssueId : undefined;
|
|
58
|
+
resourceInputs["externalId"] = state ? state.externalId : undefined;
|
|
59
|
+
resourceInputs["humanTimeEstimate"] = state ? state.humanTimeEstimate : undefined;
|
|
60
|
+
resourceInputs["humanTotalTimeSpent"] = state ? state.humanTotalTimeSpent : undefined;
|
|
61
|
+
resourceInputs["iid"] = state ? state.iid : undefined;
|
|
62
|
+
resourceInputs["issueId"] = state ? state.issueId : undefined;
|
|
63
|
+
resourceInputs["issueLinkId"] = state ? state.issueLinkId : undefined;
|
|
64
|
+
resourceInputs["issueType"] = state ? state.issueType : undefined;
|
|
65
|
+
resourceInputs["labels"] = state ? state.labels : undefined;
|
|
66
|
+
resourceInputs["links"] = state ? state.links : undefined;
|
|
67
|
+
resourceInputs["mergeRequestToResolveDiscussionsOf"] = state ? state.mergeRequestToResolveDiscussionsOf : undefined;
|
|
68
|
+
resourceInputs["mergeRequestsCount"] = state ? state.mergeRequestsCount : undefined;
|
|
69
|
+
resourceInputs["milestoneId"] = state ? state.milestoneId : undefined;
|
|
70
|
+
resourceInputs["movedToId"] = state ? state.movedToId : undefined;
|
|
71
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
72
|
+
resourceInputs["references"] = state ? state.references : undefined;
|
|
73
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
74
|
+
resourceInputs["subscribed"] = state ? state.subscribed : undefined;
|
|
75
|
+
resourceInputs["taskCompletionStatus"] = state ? state.taskCompletionStatus : undefined;
|
|
76
|
+
resourceInputs["timeEstimate"] = state ? state.timeEstimate : undefined;
|
|
77
|
+
resourceInputs["title"] = state ? state.title : undefined;
|
|
78
|
+
resourceInputs["totalTimeSpent"] = state ? state.totalTimeSpent : undefined;
|
|
79
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
80
|
+
resourceInputs["upvotes"] = state ? state.upvotes : undefined;
|
|
81
|
+
resourceInputs["userNotesCount"] = state ? state.userNotesCount : undefined;
|
|
82
|
+
resourceInputs["webUrl"] = state ? state.webUrl : undefined;
|
|
83
|
+
resourceInputs["weight"] = state ? state.weight : undefined;
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
const args = argsOrState;
|
|
87
|
+
if ((!args || args.project === undefined) && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'project'");
|
|
89
|
+
}
|
|
90
|
+
if ((!args || args.title === undefined) && !opts.urn) {
|
|
91
|
+
throw new Error("Missing required property 'title'");
|
|
92
|
+
}
|
|
93
|
+
resourceInputs["assigneeIds"] = args ? args.assigneeIds : undefined;
|
|
94
|
+
resourceInputs["closedAt"] = args ? args.closedAt : undefined;
|
|
95
|
+
resourceInputs["closedByUserId"] = args ? args.closedByUserId : undefined;
|
|
96
|
+
resourceInputs["confidential"] = args ? args.confidential : undefined;
|
|
97
|
+
resourceInputs["createdAt"] = args ? args.createdAt : undefined;
|
|
98
|
+
resourceInputs["deleteOnDestroy"] = args ? args.deleteOnDestroy : undefined;
|
|
99
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
100
|
+
resourceInputs["discussionLocked"] = args ? args.discussionLocked : undefined;
|
|
101
|
+
resourceInputs["discussionToResolve"] = args ? args.discussionToResolve : undefined;
|
|
102
|
+
resourceInputs["dueDate"] = args ? args.dueDate : undefined;
|
|
103
|
+
resourceInputs["epicIssueId"] = args ? args.epicIssueId : undefined;
|
|
104
|
+
resourceInputs["humanTimeEstimate"] = args ? args.humanTimeEstimate : undefined;
|
|
105
|
+
resourceInputs["humanTotalTimeSpent"] = args ? args.humanTotalTimeSpent : undefined;
|
|
106
|
+
resourceInputs["iid"] = args ? args.iid : undefined;
|
|
107
|
+
resourceInputs["issueType"] = args ? args.issueType : undefined;
|
|
108
|
+
resourceInputs["labels"] = args ? args.labels : undefined;
|
|
109
|
+
resourceInputs["links"] = args ? args.links : undefined;
|
|
110
|
+
resourceInputs["mergeRequestToResolveDiscussionsOf"] = args ? args.mergeRequestToResolveDiscussionsOf : undefined;
|
|
111
|
+
resourceInputs["milestoneId"] = args ? args.milestoneId : undefined;
|
|
112
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
113
|
+
resourceInputs["references"] = args ? args.references : undefined;
|
|
114
|
+
resourceInputs["state"] = args ? args.state : undefined;
|
|
115
|
+
resourceInputs["taskCompletionStatus"] = args ? args.taskCompletionStatus : undefined;
|
|
116
|
+
resourceInputs["timeEstimate"] = args ? args.timeEstimate : undefined;
|
|
117
|
+
resourceInputs["title"] = args ? args.title : undefined;
|
|
118
|
+
resourceInputs["totalTimeSpent"] = args ? args.totalTimeSpent : undefined;
|
|
119
|
+
resourceInputs["updatedAt"] = args ? args.updatedAt : undefined;
|
|
120
|
+
resourceInputs["weight"] = args ? args.weight : undefined;
|
|
121
|
+
resourceInputs["authorId"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["downvotes"] = undefined /*out*/;
|
|
123
|
+
resourceInputs["epicId"] = undefined /*out*/;
|
|
124
|
+
resourceInputs["externalId"] = undefined /*out*/;
|
|
125
|
+
resourceInputs["issueId"] = undefined /*out*/;
|
|
126
|
+
resourceInputs["issueLinkId"] = undefined /*out*/;
|
|
127
|
+
resourceInputs["mergeRequestsCount"] = undefined /*out*/;
|
|
128
|
+
resourceInputs["movedToId"] = undefined /*out*/;
|
|
129
|
+
resourceInputs["subscribed"] = undefined /*out*/;
|
|
130
|
+
resourceInputs["upvotes"] = undefined /*out*/;
|
|
131
|
+
resourceInputs["userNotesCount"] = undefined /*out*/;
|
|
132
|
+
resourceInputs["webUrl"] = undefined /*out*/;
|
|
133
|
+
}
|
|
134
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
135
|
+
super(ProjectIssue.__pulumiType, name, resourceInputs, opts);
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Get an existing ProjectIssue resource's state with the given name, ID, and optional extra
|
|
139
|
+
* properties used to qualify the lookup.
|
|
140
|
+
*
|
|
141
|
+
* @param name The _unique_ name of the resulting resource.
|
|
142
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
143
|
+
* @param state Any extra arguments used during the lookup.
|
|
144
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
145
|
+
*/
|
|
146
|
+
static get(name, id, state, opts) {
|
|
147
|
+
return new ProjectIssue(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Returns true if the given object is an instance of ProjectIssue. This is designed to work even
|
|
151
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
152
|
+
*/
|
|
153
|
+
static isInstance(obj) {
|
|
154
|
+
if (obj === undefined || obj === null) {
|
|
155
|
+
return false;
|
|
156
|
+
}
|
|
157
|
+
return obj['__pulumiType'] === ProjectIssue.__pulumiType;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
exports.ProjectIssue = ProjectIssue;
|
|
161
|
+
/** @internal */
|
|
162
|
+
ProjectIssue.__pulumiType = 'gitlab:index/projectIssue:ProjectIssue';
|
|
163
|
+
//# sourceMappingURL=projectIssue.js.map
|