@pulumi/gitlab 9.8.0-alpha.1768501030 → 9.8.0-alpha.1768535360

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 (45) hide show
  1. package/getProjectHook.d.ts +2 -2
  2. package/getProjectSecureFile.d.ts +2 -2
  3. package/getProjectSecureFile.js +2 -2
  4. package/group.d.ts +36 -0
  5. package/group.js +6 -0
  6. package/group.js.map +1 -1
  7. package/groupHook.d.ts +50 -48
  8. package/groupHook.js +2 -0
  9. package/groupHook.js.map +1 -1
  10. package/index.d.ts +18 -0
  11. package/index.js +33 -3
  12. package/index.js.map +1 -1
  13. package/package.json +2 -2
  14. package/projectCicdCatalog.d.ts +107 -0
  15. package/projectCicdCatalog.js +103 -0
  16. package/projectCicdCatalog.js.map +1 -0
  17. package/projectHook.d.ts +45 -42
  18. package/projectHook.js +3 -0
  19. package/projectHook.js.map +1 -1
  20. package/projectIssueLink.d.ts +179 -0
  21. package/projectIssueLink.js +149 -0
  22. package/projectIssueLink.js.map +1 -0
  23. package/projectJobTokenScope.d.ts +10 -2
  24. package/projectJobTokenScope.js +10 -2
  25. package/projectJobTokenScope.js.map +1 -1
  26. package/projectMirror.d.ts +4 -3
  27. package/projectMirror.js +4 -3
  28. package/projectMirror.js.map +1 -1
  29. package/projectPackageDependencyProxy.d.ts +153 -0
  30. package/projectPackageDependencyProxy.js +119 -0
  31. package/projectPackageDependencyProxy.js.map +1 -0
  32. package/projectPullMirror.d.ts +267 -0
  33. package/projectPullMirror.js +160 -0
  34. package/projectPullMirror.js.map +1 -0
  35. package/projectPushMirror.d.ts +173 -0
  36. package/projectPushMirror.js +116 -0
  37. package/projectPushMirror.js.map +1 -0
  38. package/projectSecureFile.d.ts +173 -0
  39. package/projectSecureFile.js +132 -0
  40. package/projectSecureFile.js.map +1 -0
  41. package/projectTag.d.ts +2 -2
  42. package/projectTag.js +1 -1
  43. package/runner.d.ts +1 -1
  44. package/runner.js +1 -1
  45. package/types/output.d.ts +19 -1
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.ProjectSecureFile = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The `gitlab.ProjectSecureFile` resource allows users to manage the lifecycle of a secure file in gitlab.
10
+ *
11
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/secure_files/)
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as gitlab from "@pulumi/gitlab";
18
+ * import * as std from "@pulumi/std";
19
+ *
20
+ * const _this = new gitlab.Group("this", {
21
+ * name: "example",
22
+ * path: "example",
23
+ * description: "An example group",
24
+ * });
25
+ * const thisProject = new gitlab.Project("this", {
26
+ * name: "example",
27
+ * namespaceId: _this.id,
28
+ * initializeWithReadme: true,
29
+ * });
30
+ * const thisProjectSecureFile = new gitlab.ProjectSecureFile("this", {
31
+ * name: "my-secure-file",
32
+ * project: thisProject.id,
33
+ * content: std.file({
34
+ * input: "example.txt",
35
+ * }).then(invoke => invoke.result),
36
+ * });
37
+ * const disablePollForMetadata = new gitlab.ProjectSecureFile("disable_poll_for_metadata", {
38
+ * name: "my-secure-file",
39
+ * project: thisProject.id,
40
+ * content: std.file({
41
+ * input: "example.txt",
42
+ * }).then(invoke => invoke.result),
43
+ * pollForMetadataDurationInSeconds: 0,
44
+ * });
45
+ * ```
46
+ *
47
+ * ## Import
48
+ *
49
+ * Starting in Terraform v1.5.0, you can use an import block to import `gitlab_project_secure_file`. For example:
50
+ *
51
+ * terraform
52
+ *
53
+ * import {
54
+ *
55
+ * to = gitlab_project_secure_file.example
56
+ *
57
+ * id = "see CLI command below for ID"
58
+ *
59
+ * }
60
+ *
61
+ * Importing using the CLI is supported with the following syntax:
62
+ *
63
+ * GitLab secure files can be imported using an id made up of `projectId:secureFileId`, e.g.
64
+ *
65
+ * ```sh
66
+ * $ pulumi import gitlab:index/projectSecureFile:ProjectSecureFile bar 123:321
67
+ * ```
68
+ */
69
+ class ProjectSecureFile extends pulumi.CustomResource {
70
+ /**
71
+ * Get an existing ProjectSecureFile resource's state with the given name, ID, and optional extra
72
+ * properties used to qualify the lookup.
73
+ *
74
+ * @param name The _unique_ name of the resulting resource.
75
+ * @param id The _unique_ provider ID of the resource to lookup.
76
+ * @param state Any extra arguments used during the lookup.
77
+ * @param opts Optional settings to control the behavior of the CustomResource.
78
+ */
79
+ static get(name, id, state, opts) {
80
+ return new ProjectSecureFile(name, state, { ...opts, id: id });
81
+ }
82
+ /**
83
+ * Returns true if the given object is an instance of ProjectSecureFile. This is designed to work even
84
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
85
+ */
86
+ static isInstance(obj) {
87
+ if (obj === undefined || obj === null) {
88
+ return false;
89
+ }
90
+ return obj['__pulumiType'] === ProjectSecureFile.__pulumiType;
91
+ }
92
+ constructor(name, argsOrState, opts) {
93
+ let resourceInputs = {};
94
+ opts = opts || {};
95
+ if (opts.id) {
96
+ const state = argsOrState;
97
+ resourceInputs["checksum"] = state?.checksum;
98
+ resourceInputs["checksumAlgorithm"] = state?.checksumAlgorithm;
99
+ resourceInputs["content"] = state?.content;
100
+ resourceInputs["createdAt"] = state?.createdAt;
101
+ resourceInputs["expiresAt"] = state?.expiresAt;
102
+ resourceInputs["name"] = state?.name;
103
+ resourceInputs["project"] = state?.project;
104
+ resourceInputs["secureFileId"] = state?.secureFileId;
105
+ }
106
+ else {
107
+ const args = argsOrState;
108
+ if (args?.content === undefined && !opts.urn) {
109
+ throw new Error("Missing required property 'content'");
110
+ }
111
+ if (args?.project === undefined && !opts.urn) {
112
+ throw new Error("Missing required property 'project'");
113
+ }
114
+ resourceInputs["content"] = args?.content ? pulumi.secret(args.content) : undefined;
115
+ resourceInputs["name"] = args?.name;
116
+ resourceInputs["project"] = args?.project;
117
+ resourceInputs["checksum"] = undefined /*out*/;
118
+ resourceInputs["checksumAlgorithm"] = undefined /*out*/;
119
+ resourceInputs["createdAt"] = undefined /*out*/;
120
+ resourceInputs["expiresAt"] = undefined /*out*/;
121
+ resourceInputs["secureFileId"] = undefined /*out*/;
122
+ }
123
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
124
+ const secretOpts = { additionalSecretOutputs: ["content"] };
125
+ opts = pulumi.mergeOptions(opts, secretOpts);
126
+ super(ProjectSecureFile.__pulumiType, name, resourceInputs, opts);
127
+ }
128
+ }
129
+ exports.ProjectSecureFile = ProjectSecureFile;
130
+ /** @internal */
131
+ ProjectSecureFile.__pulumiType = 'gitlab:index/projectSecureFile:ProjectSecureFile';
132
+ //# sourceMappingURL=projectSecureFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectSecureFile.js","sourceRoot":"","sources":["../projectSecureFile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,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,iBAA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AG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAvGL,8CAwGC;AA1FG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
package/projectTag.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * The `gitlab.ProjectTag` resource allows to manage the lifecycle of a tag in a project.
5
+ * The `gitlab.ProjectTag` resource allows users to manage the lifecycle of a tag in a project.
6
6
  *
7
7
  * **Upstream API**: [GitLab API docs](https://docs.gitlab.com/api/tags/)
8
8
  *
@@ -72,7 +72,7 @@ export declare class ProjectTag extends pulumi.CustomResource {
72
72
  /**
73
73
  * The message of the annotated tag.
74
74
  */
75
- readonly message: pulumi.Output<string | undefined>;
75
+ readonly message: pulumi.Output<string>;
76
76
  /**
77
77
  * The name of a tag.
78
78
  */
package/projectTag.js CHANGED
@@ -6,7 +6,7 @@ exports.ProjectTag = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * The `gitlab.ProjectTag` resource allows to manage the lifecycle of a tag in a project.
9
+ * The `gitlab.ProjectTag` resource allows users to manage the lifecycle of a tag in a project.
10
10
  *
11
11
  * **Upstream API**: [GitLab API docs](https://docs.gitlab.com/api/tags/)
12
12
  *
package/runner.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * The `gitlab.Runner` resource allows to manage the lifecycle of a runner.
4
4
  *
5
- * > This resource has been deprecated in favor of the `gitlab.UserRunner` resource. Please use that resource, and the new registration flow, instead.
5
+ * > This resource has been deprecated in favor of the `gitlab.UserRunner` resource. Please use that resource, and the new registration flow, instead. To be removed in 19.0.
6
6
  *
7
7
  * A runner can either be registered at an instance level or group level.
8
8
  * The runner will be registered at a group level if the token used is from a group, or at an instance level if the token used is for the instance.
package/runner.js CHANGED
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * The `gitlab.Runner` resource allows to manage the lifecycle of a runner.
10
10
  *
11
- * > This resource has been deprecated in favor of the `gitlab.UserRunner` resource. Please use that resource, and the new registration flow, instead.
11
+ * > This resource has been deprecated in favor of the `gitlab.UserRunner` resource. Please use that resource, and the new registration flow, instead. To be removed in 19.0.
12
12
  *
13
13
  * A runner can either be registered at an instance level or group level.
14
14
  * The runner will be registered at a group level if the token used is from a group, or at an instance level if the token used is for the instance.
package/types/output.d.ts CHANGED
@@ -336,6 +336,10 @@ export interface GetGroupMembershipMember {
336
336
  * Expiration date for the group membership.
337
337
  */
338
338
  expiresAt: string;
339
+ /**
340
+ * SAML identity linked to the group member.
341
+ */
342
+ groupSamlIdentity: outputs.GetGroupMembershipMemberGroupSamlIdentity;
339
343
  /**
340
344
  * The unique id assigned to the user by the gitlab server.
341
345
  */
@@ -357,6 +361,20 @@ export interface GetGroupMembershipMember {
357
361
  */
358
362
  webUrl: string;
359
363
  }
364
+ export interface GetGroupMembershipMemberGroupSamlIdentity {
365
+ /**
366
+ * The external UID of the group SAML identity.
367
+ */
368
+ externUid: string;
369
+ /**
370
+ * The provider of the SAML identity.
371
+ */
372
+ provider: string;
373
+ /**
374
+ * The ID of the SAML provider.
375
+ */
376
+ samlProviderId: number;
377
+ }
360
378
  export interface GetGroupProvisionedUsersProvisionedUser {
361
379
  /**
362
380
  * The avatar URL of the provisioned user.
@@ -1229,7 +1247,7 @@ export interface GetProjectHooksHook {
1229
1247
  /**
1230
1248
  * A token to present when invoking the hook. The token is only available on resource creation, not in this datasource. It will always be blank. Will be removed in 19.0.
1231
1249
  *
1232
- * @deprecated The token is only available on resource creation, not in this datasource. It will always be blank.
1250
+ * @deprecated The token is only available on resource creation, not in this datasource. It will always be blank. To be removed in 19.0.
1233
1251
  */
1234
1252
  token: string;
1235
1253
  /**