@pulumi/gitlab 5.1.0-alpha.1685079676 → 6.0.0-alpha.1685643149

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.
Files changed (121) hide show
  1. package/README.md +3 -3
  2. package/deployKey.d.ts +8 -0
  3. package/deployKey.js +2 -0
  4. package/deployKey.js.map +1 -1
  5. package/deployToken.d.ts +8 -0
  6. package/deployToken.js +2 -0
  7. package/deployToken.js.map +1 -1
  8. package/getGroupVariable.d.ts +4 -0
  9. package/getGroupVariable.js.map +1 -1
  10. package/getInstanceVariable.d.ts +4 -0
  11. package/getInstanceVariable.js.map +1 -1
  12. package/getProject.d.ts +0 -4
  13. package/getProject.js.map +1 -1
  14. package/getProjectIssue.d.ts +2 -2
  15. package/getProjectIssue.js +2 -2
  16. package/getProjectVariable.d.ts +4 -0
  17. package/getProjectVariable.js.map +1 -1
  18. package/groupAccessToken.d.ts +4 -4
  19. package/groupLabel.d.ts +8 -0
  20. package/groupLabel.js +2 -0
  21. package/groupLabel.js.map +1 -1
  22. package/groupLdapLink.d.ts +34 -30
  23. package/groupLdapLink.js +12 -21
  24. package/groupLdapLink.js.map +1 -1
  25. package/groupVariable.d.ts +12 -0
  26. package/groupVariable.js +3 -3
  27. package/groupVariable.js.map +1 -1
  28. package/index.d.ts +27 -3
  29. package/index.js +47 -6
  30. package/index.js.map +1 -1
  31. package/instanceVariable.d.ts +12 -0
  32. package/instanceVariable.js +3 -3
  33. package/instanceVariable.js.map +1 -1
  34. package/integrationCustomIssueTracker.d.ts +134 -0
  35. package/integrationCustomIssueTracker.js +100 -0
  36. package/integrationCustomIssueTracker.js.map +1 -0
  37. package/integrationEmailsOnPush.d.ts +189 -0
  38. package/integrationEmailsOnPush.js +106 -0
  39. package/integrationEmailsOnPush.js.map +1 -0
  40. package/integrationExternalWiki.d.ts +129 -0
  41. package/integrationExternalWiki.js +96 -0
  42. package/integrationExternalWiki.js.map +1 -0
  43. package/integrationGithub.d.ts +150 -0
  44. package/integrationGithub.js +108 -0
  45. package/integrationGithub.js.map +1 -0
  46. package/integrationJira.d.ts +291 -0
  47. package/integrationJira.js +132 -0
  48. package/integrationJira.js.map +1 -0
  49. package/integrationMicrosoftTeams.d.ts +246 -0
  50. package/integrationMicrosoftTeams.js +115 -0
  51. package/integrationMicrosoftTeams.js.map +1 -0
  52. package/integrationPipelinesEmail.d.ts +115 -0
  53. package/integrationPipelinesEmail.js +92 -0
  54. package/integrationPipelinesEmail.js.map +1 -0
  55. package/integrationSlack.d.ts +358 -0
  56. package/integrationSlack.js +133 -0
  57. package/integrationSlack.js.map +1 -0
  58. package/label.d.ts +10 -27
  59. package/label.js +4 -27
  60. package/label.js.map +1 -1
  61. package/package.json +2 -2
  62. package/package.json.dev +2 -2
  63. package/personalAccessToken.d.ts +4 -4
  64. package/pipelineSchedule.d.ts +8 -0
  65. package/pipelineSchedule.js +2 -0
  66. package/pipelineSchedule.js.map +1 -1
  67. package/pipelineTrigger.d.ts +8 -0
  68. package/pipelineTrigger.js +2 -0
  69. package/pipelineTrigger.js.map +1 -1
  70. package/project.d.ts +0 -12
  71. package/project.js +0 -2
  72. package/project.js.map +1 -1
  73. package/projectAccessToken.d.ts +4 -4
  74. package/projectFreezePeriod.d.ts +7 -7
  75. package/projectFreezePeriod.js +5 -5
  76. package/projectFreezePeriod.js.map +1 -1
  77. package/projectIssueBoard.d.ts +0 -52
  78. package/projectIssueBoard.js +0 -52
  79. package/projectIssueBoard.js.map +1 -1
  80. package/projectLabel.d.ts +124 -0
  81. package/{managedLicense.js → projectLabel.js} +31 -26
  82. package/projectLabel.js.map +1 -0
  83. package/projectLevelMrApprovals.d.ts +7 -7
  84. package/projectLevelMrApprovals.js +5 -5
  85. package/projectLevelMrApprovals.js.map +1 -1
  86. package/projectMembership.d.ts +8 -8
  87. package/projectMembership.js +6 -6
  88. package/projectMembership.js.map +1 -1
  89. package/projectShareGroup.d.ts +7 -7
  90. package/projectShareGroup.js +5 -5
  91. package/projectShareGroup.js.map +1 -1
  92. package/projectVariable.d.ts +12 -0
  93. package/projectVariable.js +3 -3
  94. package/projectVariable.js.map +1 -1
  95. package/serviceCustomIssueTracker.d.ts +3 -1
  96. package/serviceCustomIssueTracker.js +3 -1
  97. package/serviceCustomIssueTracker.js.map +1 -1
  98. package/serviceEmailsOnPush.d.ts +2 -0
  99. package/serviceEmailsOnPush.js +2 -0
  100. package/serviceEmailsOnPush.js.map +1 -1
  101. package/serviceExternalWiki.d.ts +2 -0
  102. package/serviceExternalWiki.js +2 -0
  103. package/serviceExternalWiki.js.map +1 -1
  104. package/serviceGithub.d.ts +3 -1
  105. package/serviceGithub.js +3 -1
  106. package/serviceGithub.js.map +1 -1
  107. package/serviceJira.d.ts +3 -1
  108. package/serviceJira.js +3 -1
  109. package/serviceJira.js.map +1 -1
  110. package/serviceMicrosoftTeams.d.ts +3 -1
  111. package/serviceMicrosoftTeams.js +3 -1
  112. package/serviceMicrosoftTeams.js.map +1 -1
  113. package/servicePipelinesEmail.d.ts +2 -0
  114. package/servicePipelinesEmail.js +2 -0
  115. package/servicePipelinesEmail.js.map +1 -1
  116. package/serviceSlack.d.ts +2 -0
  117. package/serviceSlack.js +2 -0
  118. package/serviceSlack.js.map +1 -1
  119. package/types/output.d.ts +3 -1
  120. package/managedLicense.d.ts +0 -109
  121. package/managedLicense.js.map +0 -1
@@ -0,0 +1,189 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * The `gitlab.IntegrationEmailsOnPush` resource allows to manage the lifecycle of a project integration with Emails on Push Service.
4
+ *
5
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/integrations.html#emails-on-push)
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as gitlab from "@pulumi/gitlab";
12
+ *
13
+ * const awesomeProject = new gitlab.Project("awesomeProject", {
14
+ * description: "My awesome project.",
15
+ * visibilityLevel: "public",
16
+ * });
17
+ * const emails = new gitlab.IntegrationEmailsOnPush("emails", {
18
+ * project: awesomeProject.id,
19
+ * recipients: "myrecipient@example.com myotherrecipient@example.com",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * You can import a gitlab_integration_emails_on_push state using the project ID, e.g.
26
+ *
27
+ * ```sh
28
+ * $ pulumi import gitlab:index/integrationEmailsOnPush:IntegrationEmailsOnPush emails 1
29
+ * ```
30
+ */
31
+ export declare class IntegrationEmailsOnPush extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing IntegrationEmailsOnPush resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IntegrationEmailsOnPushState, opts?: pulumi.CustomResourceOptions): IntegrationEmailsOnPush;
42
+ /**
43
+ * Returns true if the given object is an instance of IntegrationEmailsOnPush. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is IntegrationEmailsOnPush;
47
+ /**
48
+ * Whether the integration is active.
49
+ */
50
+ readonly active: pulumi.Output<boolean>;
51
+ /**
52
+ * Branches to send notifications for. Valid options are `all`, `default`, `protected`, `defaultAndProtected`. Notifications are always fired for tag pushes.
53
+ */
54
+ readonly branchesToBeNotified: pulumi.Output<string | undefined>;
55
+ /**
56
+ * The ISO8601 date/time that this integration was activated at in UTC.
57
+ */
58
+ readonly createdAt: pulumi.Output<string>;
59
+ /**
60
+ * Disable code diffs.
61
+ */
62
+ readonly disableDiffs: pulumi.Output<boolean | undefined>;
63
+ /**
64
+ * ID or full-path of the project you want to activate integration on.
65
+ */
66
+ readonly project: pulumi.Output<string>;
67
+ /**
68
+ * Enable notifications for push events.
69
+ */
70
+ readonly pushEvents: pulumi.Output<boolean | undefined>;
71
+ /**
72
+ * Emails separated by whitespace.
73
+ */
74
+ readonly recipients: pulumi.Output<string>;
75
+ /**
76
+ * Send from committer.
77
+ */
78
+ readonly sendFromCommitterEmail: pulumi.Output<boolean | undefined>;
79
+ /**
80
+ * The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.
81
+ */
82
+ readonly slug: pulumi.Output<string>;
83
+ /**
84
+ * Enable notifications for tag push events.
85
+ */
86
+ readonly tagPushEvents: pulumi.Output<boolean | undefined>;
87
+ /**
88
+ * Title of the integration.
89
+ */
90
+ readonly title: pulumi.Output<string>;
91
+ /**
92
+ * The ISO8601 date/time that this integration was last updated at in UTC.
93
+ */
94
+ readonly updatedAt: pulumi.Output<string>;
95
+ /**
96
+ * Create a IntegrationEmailsOnPush resource with the given unique name, arguments, and options.
97
+ *
98
+ * @param name The _unique_ name of the resource.
99
+ * @param args The arguments to use to populate this resource's properties.
100
+ * @param opts A bag of options that control this resource's behavior.
101
+ */
102
+ constructor(name: string, args: IntegrationEmailsOnPushArgs, opts?: pulumi.CustomResourceOptions);
103
+ }
104
+ /**
105
+ * Input properties used for looking up and filtering IntegrationEmailsOnPush resources.
106
+ */
107
+ export interface IntegrationEmailsOnPushState {
108
+ /**
109
+ * Whether the integration is active.
110
+ */
111
+ active?: pulumi.Input<boolean>;
112
+ /**
113
+ * Branches to send notifications for. Valid options are `all`, `default`, `protected`, `defaultAndProtected`. Notifications are always fired for tag pushes.
114
+ */
115
+ branchesToBeNotified?: pulumi.Input<string>;
116
+ /**
117
+ * The ISO8601 date/time that this integration was activated at in UTC.
118
+ */
119
+ createdAt?: pulumi.Input<string>;
120
+ /**
121
+ * Disable code diffs.
122
+ */
123
+ disableDiffs?: pulumi.Input<boolean>;
124
+ /**
125
+ * ID or full-path of the project you want to activate integration on.
126
+ */
127
+ project?: pulumi.Input<string>;
128
+ /**
129
+ * Enable notifications for push events.
130
+ */
131
+ pushEvents?: pulumi.Input<boolean>;
132
+ /**
133
+ * Emails separated by whitespace.
134
+ */
135
+ recipients?: pulumi.Input<string>;
136
+ /**
137
+ * Send from committer.
138
+ */
139
+ sendFromCommitterEmail?: pulumi.Input<boolean>;
140
+ /**
141
+ * The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.
142
+ */
143
+ slug?: pulumi.Input<string>;
144
+ /**
145
+ * Enable notifications for tag push events.
146
+ */
147
+ tagPushEvents?: pulumi.Input<boolean>;
148
+ /**
149
+ * Title of the integration.
150
+ */
151
+ title?: pulumi.Input<string>;
152
+ /**
153
+ * The ISO8601 date/time that this integration was last updated at in UTC.
154
+ */
155
+ updatedAt?: pulumi.Input<string>;
156
+ }
157
+ /**
158
+ * The set of arguments for constructing a IntegrationEmailsOnPush resource.
159
+ */
160
+ export interface IntegrationEmailsOnPushArgs {
161
+ /**
162
+ * Branches to send notifications for. Valid options are `all`, `default`, `protected`, `defaultAndProtected`. Notifications are always fired for tag pushes.
163
+ */
164
+ branchesToBeNotified?: pulumi.Input<string>;
165
+ /**
166
+ * Disable code diffs.
167
+ */
168
+ disableDiffs?: pulumi.Input<boolean>;
169
+ /**
170
+ * ID or full-path of the project you want to activate integration on.
171
+ */
172
+ project: pulumi.Input<string>;
173
+ /**
174
+ * Enable notifications for push events.
175
+ */
176
+ pushEvents?: pulumi.Input<boolean>;
177
+ /**
178
+ * Emails separated by whitespace.
179
+ */
180
+ recipients: pulumi.Input<string>;
181
+ /**
182
+ * Send from committer.
183
+ */
184
+ sendFromCommitterEmail?: pulumi.Input<boolean>;
185
+ /**
186
+ * Enable notifications for tag push events.
187
+ */
188
+ tagPushEvents?: pulumi.Input<boolean>;
189
+ }
@@ -0,0 +1,106 @@
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.IntegrationEmailsOnPush = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The `gitlab.IntegrationEmailsOnPush` resource allows to manage the lifecycle of a project integration with Emails on Push Service.
10
+ *
11
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/integrations.html#emails-on-push)
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as gitlab from "@pulumi/gitlab";
18
+ *
19
+ * const awesomeProject = new gitlab.Project("awesomeProject", {
20
+ * description: "My awesome project.",
21
+ * visibilityLevel: "public",
22
+ * });
23
+ * const emails = new gitlab.IntegrationEmailsOnPush("emails", {
24
+ * project: awesomeProject.id,
25
+ * recipients: "myrecipient@example.com myotherrecipient@example.com",
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * You can import a gitlab_integration_emails_on_push state using the project ID, e.g.
32
+ *
33
+ * ```sh
34
+ * $ pulumi import gitlab:index/integrationEmailsOnPush:IntegrationEmailsOnPush emails 1
35
+ * ```
36
+ */
37
+ class IntegrationEmailsOnPush extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing IntegrationEmailsOnPush resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new IntegrationEmailsOnPush(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of IntegrationEmailsOnPush. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === IntegrationEmailsOnPush.__pulumiType;
59
+ }
60
+ constructor(name, argsOrState, opts) {
61
+ let resourceInputs = {};
62
+ opts = opts || {};
63
+ if (opts.id) {
64
+ const state = argsOrState;
65
+ resourceInputs["active"] = state ? state.active : undefined;
66
+ resourceInputs["branchesToBeNotified"] = state ? state.branchesToBeNotified : undefined;
67
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
68
+ resourceInputs["disableDiffs"] = state ? state.disableDiffs : undefined;
69
+ resourceInputs["project"] = state ? state.project : undefined;
70
+ resourceInputs["pushEvents"] = state ? state.pushEvents : undefined;
71
+ resourceInputs["recipients"] = state ? state.recipients : undefined;
72
+ resourceInputs["sendFromCommitterEmail"] = state ? state.sendFromCommitterEmail : undefined;
73
+ resourceInputs["slug"] = state ? state.slug : undefined;
74
+ resourceInputs["tagPushEvents"] = state ? state.tagPushEvents : undefined;
75
+ resourceInputs["title"] = state ? state.title : undefined;
76
+ resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
77
+ }
78
+ else {
79
+ const args = argsOrState;
80
+ if ((!args || args.project === undefined) && !opts.urn) {
81
+ throw new Error("Missing required property 'project'");
82
+ }
83
+ if ((!args || args.recipients === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'recipients'");
85
+ }
86
+ resourceInputs["branchesToBeNotified"] = args ? args.branchesToBeNotified : undefined;
87
+ resourceInputs["disableDiffs"] = args ? args.disableDiffs : undefined;
88
+ resourceInputs["project"] = args ? args.project : undefined;
89
+ resourceInputs["pushEvents"] = args ? args.pushEvents : undefined;
90
+ resourceInputs["recipients"] = args ? args.recipients : undefined;
91
+ resourceInputs["sendFromCommitterEmail"] = args ? args.sendFromCommitterEmail : undefined;
92
+ resourceInputs["tagPushEvents"] = args ? args.tagPushEvents : undefined;
93
+ resourceInputs["active"] = undefined /*out*/;
94
+ resourceInputs["createdAt"] = undefined /*out*/;
95
+ resourceInputs["slug"] = undefined /*out*/;
96
+ resourceInputs["title"] = undefined /*out*/;
97
+ resourceInputs["updatedAt"] = undefined /*out*/;
98
+ }
99
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
+ super(IntegrationEmailsOnPush.__pulumiType, name, resourceInputs, opts);
101
+ }
102
+ }
103
+ exports.IntegrationEmailsOnPush = IntegrationEmailsOnPush;
104
+ /** @internal */
105
+ IntegrationEmailsOnPush.__pulumiType = 'gitlab:index/integrationEmailsOnPush:IntegrationEmailsOnPush';
106
+ //# sourceMappingURL=integrationEmailsOnPush.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrationEmailsOnPush.js","sourceRoot":"","sources":["../integrationEmailsOnPush.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IA2DD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA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SAAS,CAAC;YACxE,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA7HL,0DA8HC;AAhHG,gBAAgB;AACO,oCAAY,GAAG,8DAA8D,CAAC"}
@@ -0,0 +1,129 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * The `gitlab.IntegrationExternalWiki` resource allows to manage the lifecycle of a project integration with External Wiki Service.
4
+ *
5
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/integrations.html#external-wiki)
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as gitlab from "@pulumi/gitlab";
12
+ *
13
+ * const awesomeProject = new gitlab.Project("awesomeProject", {
14
+ * description: "My awesome project.",
15
+ * visibilityLevel: "public",
16
+ * });
17
+ * const wiki = new gitlab.IntegrationExternalWiki("wiki", {
18
+ * project: awesomeProject.id,
19
+ * externalWikiUrl: "https://MyAwesomeExternalWikiURL.com",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * You can import a gitlab_integration_external_wiki state using the project ID, e.g.
26
+ *
27
+ * ```sh
28
+ * $ pulumi import gitlab:index/integrationExternalWiki:IntegrationExternalWiki wiki 1
29
+ * ```
30
+ */
31
+ export declare class IntegrationExternalWiki extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing IntegrationExternalWiki resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IntegrationExternalWikiState, opts?: pulumi.CustomResourceOptions): IntegrationExternalWiki;
42
+ /**
43
+ * Returns true if the given object is an instance of IntegrationExternalWiki. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is IntegrationExternalWiki;
47
+ /**
48
+ * Whether the integration is active.
49
+ */
50
+ readonly active: pulumi.Output<boolean>;
51
+ /**
52
+ * The ISO8601 date/time that this integration was activated at in UTC.
53
+ */
54
+ readonly createdAt: pulumi.Output<string>;
55
+ /**
56
+ * The URL of the external wiki.
57
+ */
58
+ readonly externalWikiUrl: pulumi.Output<string>;
59
+ /**
60
+ * ID of the project you want to activate integration on.
61
+ */
62
+ readonly project: pulumi.Output<string>;
63
+ /**
64
+ * The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.
65
+ */
66
+ readonly slug: pulumi.Output<string>;
67
+ /**
68
+ * Title of the integration.
69
+ */
70
+ readonly title: pulumi.Output<string>;
71
+ /**
72
+ * The ISO8601 date/time that this integration was last updated at in UTC.
73
+ */
74
+ readonly updatedAt: pulumi.Output<string>;
75
+ /**
76
+ * Create a IntegrationExternalWiki resource with the given unique name, arguments, and options.
77
+ *
78
+ * @param name The _unique_ name of the resource.
79
+ * @param args The arguments to use to populate this resource's properties.
80
+ * @param opts A bag of options that control this resource's behavior.
81
+ */
82
+ constructor(name: string, args: IntegrationExternalWikiArgs, opts?: pulumi.CustomResourceOptions);
83
+ }
84
+ /**
85
+ * Input properties used for looking up and filtering IntegrationExternalWiki resources.
86
+ */
87
+ export interface IntegrationExternalWikiState {
88
+ /**
89
+ * Whether the integration is active.
90
+ */
91
+ active?: pulumi.Input<boolean>;
92
+ /**
93
+ * The ISO8601 date/time that this integration was activated at in UTC.
94
+ */
95
+ createdAt?: pulumi.Input<string>;
96
+ /**
97
+ * The URL of the external wiki.
98
+ */
99
+ externalWikiUrl?: pulumi.Input<string>;
100
+ /**
101
+ * ID of the project you want to activate integration on.
102
+ */
103
+ project?: pulumi.Input<string>;
104
+ /**
105
+ * The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.
106
+ */
107
+ slug?: pulumi.Input<string>;
108
+ /**
109
+ * Title of the integration.
110
+ */
111
+ title?: pulumi.Input<string>;
112
+ /**
113
+ * The ISO8601 date/time that this integration was last updated at in UTC.
114
+ */
115
+ updatedAt?: pulumi.Input<string>;
116
+ }
117
+ /**
118
+ * The set of arguments for constructing a IntegrationExternalWiki resource.
119
+ */
120
+ export interface IntegrationExternalWikiArgs {
121
+ /**
122
+ * The URL of the external wiki.
123
+ */
124
+ externalWikiUrl: pulumi.Input<string>;
125
+ /**
126
+ * ID of the project you want to activate integration on.
127
+ */
128
+ project: pulumi.Input<string>;
129
+ }
@@ -0,0 +1,96 @@
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.IntegrationExternalWiki = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The `gitlab.IntegrationExternalWiki` resource allows to manage the lifecycle of a project integration with External Wiki Service.
10
+ *
11
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/integrations.html#external-wiki)
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as gitlab from "@pulumi/gitlab";
18
+ *
19
+ * const awesomeProject = new gitlab.Project("awesomeProject", {
20
+ * description: "My awesome project.",
21
+ * visibilityLevel: "public",
22
+ * });
23
+ * const wiki = new gitlab.IntegrationExternalWiki("wiki", {
24
+ * project: awesomeProject.id,
25
+ * externalWikiUrl: "https://MyAwesomeExternalWikiURL.com",
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * You can import a gitlab_integration_external_wiki state using the project ID, e.g.
32
+ *
33
+ * ```sh
34
+ * $ pulumi import gitlab:index/integrationExternalWiki:IntegrationExternalWiki wiki 1
35
+ * ```
36
+ */
37
+ class IntegrationExternalWiki extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing IntegrationExternalWiki resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new IntegrationExternalWiki(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of IntegrationExternalWiki. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === IntegrationExternalWiki.__pulumiType;
59
+ }
60
+ constructor(name, argsOrState, opts) {
61
+ let resourceInputs = {};
62
+ opts = opts || {};
63
+ if (opts.id) {
64
+ const state = argsOrState;
65
+ resourceInputs["active"] = state ? state.active : undefined;
66
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
67
+ resourceInputs["externalWikiUrl"] = state ? state.externalWikiUrl : undefined;
68
+ resourceInputs["project"] = state ? state.project : undefined;
69
+ resourceInputs["slug"] = state ? state.slug : undefined;
70
+ resourceInputs["title"] = state ? state.title : undefined;
71
+ resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
72
+ }
73
+ else {
74
+ const args = argsOrState;
75
+ if ((!args || args.externalWikiUrl === undefined) && !opts.urn) {
76
+ throw new Error("Missing required property 'externalWikiUrl'");
77
+ }
78
+ if ((!args || args.project === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'project'");
80
+ }
81
+ resourceInputs["externalWikiUrl"] = args ? args.externalWikiUrl : undefined;
82
+ resourceInputs["project"] = args ? args.project : undefined;
83
+ resourceInputs["active"] = undefined /*out*/;
84
+ resourceInputs["createdAt"] = undefined /*out*/;
85
+ resourceInputs["slug"] = undefined /*out*/;
86
+ resourceInputs["title"] = undefined /*out*/;
87
+ resourceInputs["updatedAt"] = undefined /*out*/;
88
+ }
89
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
90
+ super(IntegrationExternalWiki.__pulumiType, name, resourceInputs, opts);
91
+ }
92
+ }
93
+ exports.IntegrationExternalWiki = IntegrationExternalWiki;
94
+ /** @internal */
95
+ IntegrationExternalWiki.__pulumiType = 'gitlab:index/integrationExternalWiki:IntegrationExternalWiki';
96
+ //# sourceMappingURL=integrationExternalWiki.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrationExternalWiki.js","sourceRoot":"","sources":["../integrationExternalWiki.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAA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