@pulumi/gitlab 9.6.0-alpha.1766429294 → 9.6.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/getArtifactFile.d.ts +2 -2
- package/getArtifactFile.js +2 -2
- package/getGroupBillableMemberMemberships.d.ts +2 -2
- package/getGroupBillableMemberMemberships.js +2 -2
- package/getGroupMembership.d.ts +2 -2
- package/getGroupMembership.js +2 -2
- package/getGroupServiceAccount.d.ts +2 -2
- package/getGroupServiceAccount.js +2 -2
- package/getGroupVariable.d.ts +1 -1
- package/getInstanceServiceAccount.d.ts +2 -2
- package/getInstanceServiceAccount.js +2 -2
- package/getProject.d.ts +0 -4
- package/getProject.js.map +1 -1
- package/getProjectMembership.d.ts +2 -2
- package/getProjectMembership.js +2 -2
- package/getProjectProtectedTag.d.ts +2 -2
- package/getProjectProtectedTag.js +2 -2
- package/getProjects.d.ts +3 -3
- package/getReleaseLink.d.ts +5 -5
- package/getReleaseLinks.d.ts +3 -3
- package/globalLevelNotifications.d.ts +1 -1
- package/globalLevelNotifications.js +1 -1
- package/groupAccessToken.d.ts +2 -2
- package/groupAccessToken.js +2 -2
- package/groupLabel.d.ts +3 -3
- package/groupMembership.d.ts +1 -1
- package/groupMembership.js +1 -1
- package/groupServiceAccount.d.ts +1 -1
- package/groupServiceAccount.js +1 -1
- package/groupServiceAccountAccessToken.d.ts +1 -1
- package/groupServiceAccountAccessToken.js +1 -1
- package/groupShareGroup.d.ts +1 -1
- package/groupShareGroup.js +1 -1
- package/index.d.ts +0 -15
- package/index.js +5 -23
- package/index.js.map +1 -1
- package/instanceServiceAccount.d.ts +1 -1
- package/instanceServiceAccount.js +1 -1
- package/instanceVariable.d.ts +8 -8
- package/label.d.ts +3 -3
- package/memberRole.d.ts +4 -4
- package/memberRole.js +1 -1
- package/package.json +2 -2
- package/pagesDomain.d.ts +3 -3
- package/personalAccessToken.d.ts +1 -1
- package/personalAccessToken.js +1 -1
- package/pipelineScheduleVariable.d.ts +1 -1
- package/pipelineScheduleVariable.js +1 -1
- package/project.d.ts +3 -15
- package/project.js +0 -2
- package/project.js.map +1 -1
- package/projectAccessToken.d.ts +1 -1
- package/projectAccessToken.js +1 -1
- package/projectDeployToken.d.ts +1 -1
- package/projectDeployToken.js +1 -1
- package/projectHook.d.ts +1 -1
- package/projectHook.js +1 -1
- package/projectLabel.d.ts +5 -5
- package/projectLabel.js +2 -2
- package/projectLevelMrApprovals.d.ts +1 -1
- package/projectLevelMrApprovals.js +1 -1
- package/projectLevelNotifications.d.ts +1 -1
- package/projectLevelNotifications.js +1 -1
- package/projectMembership.d.ts +1 -1
- package/projectMembership.js +1 -1
- package/projectTargetBranchRule.d.ts +1 -1
- package/projectTargetBranchRule.js +1 -1
- package/projectVariable.d.ts +3 -3
- package/releaseLink.d.ts +8 -8
- package/runner.d.ts +1 -1
- package/runner.js +1 -1
- package/systemHook.d.ts +3 -3
- package/types/input.d.ts +0 -224
- package/types/output.d.ts +4 -257
- package/userGpgKey.d.ts +1 -1
- package/userGpgKey.js +1 -1
- package/userImpersonationToken.d.ts +1 -1
- package/userImpersonationToken.js +1 -1
- package/userRunner.d.ts +1 -1
- package/userRunner.js +1 -1
- package/userSshKey.d.ts +1 -1
- package/userSshKey.js +1 -1
- package/getGroupServiceAccountAccessTokens.d.ts +0 -66
- package/getGroupServiceAccountAccessTokens.js +0 -42
- package/getGroupServiceAccountAccessTokens.js.map +0 -1
- package/getProjectIssueLabelEvents.d.ts +0 -94
- package/getProjectIssueLabelEvents.js +0 -60
- package/getProjectIssueLabelEvents.js.map +0 -1
- package/getProjectSecureFile.d.ts +0 -125
- package/getProjectSecureFile.js +0 -68
- package/getProjectSecureFile.js.map +0 -1
- package/getSecurityPolicyDocument.d.ts +0 -112
- package/getSecurityPolicyDocument.js +0 -96
- package/getSecurityPolicyDocument.js.map +0 -1
- package/userAvatar.d.ts +0 -126
- package/userAvatar.js +0 -99
- package/userAvatar.js.map +0 -1
package/userAvatar.d.ts
DELETED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* The `gitlab.UserAvatar` resource allows users to manage the lifecycle of a user avatar.
|
|
4
|
-
* The resource can also be used to set the avatar on project or group access tokens, as well as on service accounts.
|
|
5
|
-
*
|
|
6
|
-
* > The `token` attribute is optional only when the GitLab token used by the provider has an administrator scope, as this allows an administrator to manage user avatars.
|
|
7
|
-
*
|
|
8
|
-
* > The provided `token` must have the `api` scope in order to set the avatar.
|
|
9
|
-
*
|
|
10
|
-
* **Upstream API**: [GitLab API docs](https://docs.gitlab.com/api/users/#upload-an-avatar-for-yourself)
|
|
11
|
-
*
|
|
12
|
-
* ## Import
|
|
13
|
-
*
|
|
14
|
-
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab_user_avatar`. For example:
|
|
15
|
-
*
|
|
16
|
-
* terraform
|
|
17
|
-
*
|
|
18
|
-
* import {
|
|
19
|
-
*
|
|
20
|
-
* to = gitlab_user_avatar.example
|
|
21
|
-
*
|
|
22
|
-
* id = "see CLI command below for ID"
|
|
23
|
-
*
|
|
24
|
-
* }
|
|
25
|
-
*
|
|
26
|
-
* Importing using the CLI is supported with the following syntax:
|
|
27
|
-
*
|
|
28
|
-
* A GitLab User Avatar can be imported using the user id, e.g.
|
|
29
|
-
*
|
|
30
|
-
* ```sh
|
|
31
|
-
* $ pulumi import gitlab:index/userAvatar:UserAvatar example "12345"
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* NOTE: the `token` and `avatar` resource attributes are not available for imported resources as this information cannot be read from the GitLab API.
|
|
35
|
-
*/
|
|
36
|
-
export declare class UserAvatar extends pulumi.CustomResource {
|
|
37
|
-
/**
|
|
38
|
-
* Get an existing UserAvatar resource's state with the given name, ID, and optional extra
|
|
39
|
-
* properties used to qualify the lookup.
|
|
40
|
-
*
|
|
41
|
-
* @param name The _unique_ name of the resulting resource.
|
|
42
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
-
* @param state Any extra arguments used during the lookup.
|
|
44
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
-
*/
|
|
46
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UserAvatarState, opts?: pulumi.CustomResourceOptions): UserAvatar;
|
|
47
|
-
/**
|
|
48
|
-
* Returns true if the given object is an instance of UserAvatar. This is designed to work even
|
|
49
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
-
*/
|
|
51
|
-
static isInstance(obj: any): obj is UserAvatar;
|
|
52
|
-
/**
|
|
53
|
-
* A local path to the avatar image to upload. **Note**: the avatar is not available for imported resources.
|
|
54
|
-
*/
|
|
55
|
-
readonly avatar: pulumi.Output<string>;
|
|
56
|
-
/**
|
|
57
|
-
* The hash of the avatar image. This is used to track changes to the avatar image if the image contents change but the image name remains the same. Use `filesha256("path/to/avatar.png")` whenever possible.
|
|
58
|
-
*/
|
|
59
|
-
readonly avatarHash: pulumi.Output<string | undefined>;
|
|
60
|
-
/**
|
|
61
|
-
* The URL of the avatar image.
|
|
62
|
-
*/
|
|
63
|
-
readonly avatarUrl: pulumi.Output<string>;
|
|
64
|
-
/**
|
|
65
|
-
* The access token of the user. If this field is omitted, a GitLab token with administrator scope is required to manage the avatar for the specified user. **Note**: the token is not available for imported resources.
|
|
66
|
-
*/
|
|
67
|
-
readonly token: pulumi.Output<string | undefined>;
|
|
68
|
-
/**
|
|
69
|
-
* The ID of the user.
|
|
70
|
-
*/
|
|
71
|
-
readonly userId: pulumi.Output<number>;
|
|
72
|
-
/**
|
|
73
|
-
* Create a UserAvatar resource with the given unique name, arguments, and options.
|
|
74
|
-
*
|
|
75
|
-
* @param name The _unique_ name of the resource.
|
|
76
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
77
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
78
|
-
*/
|
|
79
|
-
constructor(name: string, args: UserAvatarArgs, opts?: pulumi.CustomResourceOptions);
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Input properties used for looking up and filtering UserAvatar resources.
|
|
83
|
-
*/
|
|
84
|
-
export interface UserAvatarState {
|
|
85
|
-
/**
|
|
86
|
-
* A local path to the avatar image to upload. **Note**: the avatar is not available for imported resources.
|
|
87
|
-
*/
|
|
88
|
-
avatar?: pulumi.Input<string>;
|
|
89
|
-
/**
|
|
90
|
-
* The hash of the avatar image. This is used to track changes to the avatar image if the image contents change but the image name remains the same. Use `filesha256("path/to/avatar.png")` whenever possible.
|
|
91
|
-
*/
|
|
92
|
-
avatarHash?: pulumi.Input<string>;
|
|
93
|
-
/**
|
|
94
|
-
* The URL of the avatar image.
|
|
95
|
-
*/
|
|
96
|
-
avatarUrl?: pulumi.Input<string>;
|
|
97
|
-
/**
|
|
98
|
-
* The access token of the user. If this field is omitted, a GitLab token with administrator scope is required to manage the avatar for the specified user. **Note**: the token is not available for imported resources.
|
|
99
|
-
*/
|
|
100
|
-
token?: pulumi.Input<string>;
|
|
101
|
-
/**
|
|
102
|
-
* The ID of the user.
|
|
103
|
-
*/
|
|
104
|
-
userId?: pulumi.Input<number>;
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* The set of arguments for constructing a UserAvatar resource.
|
|
108
|
-
*/
|
|
109
|
-
export interface UserAvatarArgs {
|
|
110
|
-
/**
|
|
111
|
-
* A local path to the avatar image to upload. **Note**: the avatar is not available for imported resources.
|
|
112
|
-
*/
|
|
113
|
-
avatar: pulumi.Input<string>;
|
|
114
|
-
/**
|
|
115
|
-
* The hash of the avatar image. This is used to track changes to the avatar image if the image contents change but the image name remains the same. Use `filesha256("path/to/avatar.png")` whenever possible.
|
|
116
|
-
*/
|
|
117
|
-
avatarHash?: pulumi.Input<string>;
|
|
118
|
-
/**
|
|
119
|
-
* The access token of the user. If this field is omitted, a GitLab token with administrator scope is required to manage the avatar for the specified user. **Note**: the token is not available for imported resources.
|
|
120
|
-
*/
|
|
121
|
-
token?: pulumi.Input<string>;
|
|
122
|
-
/**
|
|
123
|
-
* The ID of the user.
|
|
124
|
-
*/
|
|
125
|
-
userId: pulumi.Input<number>;
|
|
126
|
-
}
|
package/userAvatar.js
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
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.UserAvatar = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* The `gitlab.UserAvatar` resource allows users to manage the lifecycle of a user avatar.
|
|
10
|
-
* The resource can also be used to set the avatar on project or group access tokens, as well as on service accounts.
|
|
11
|
-
*
|
|
12
|
-
* > The `token` attribute is optional only when the GitLab token used by the provider has an administrator scope, as this allows an administrator to manage user avatars.
|
|
13
|
-
*
|
|
14
|
-
* > The provided `token` must have the `api` scope in order to set the avatar.
|
|
15
|
-
*
|
|
16
|
-
* **Upstream API**: [GitLab API docs](https://docs.gitlab.com/api/users/#upload-an-avatar-for-yourself)
|
|
17
|
-
*
|
|
18
|
-
* ## Import
|
|
19
|
-
*
|
|
20
|
-
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab_user_avatar`. For example:
|
|
21
|
-
*
|
|
22
|
-
* terraform
|
|
23
|
-
*
|
|
24
|
-
* import {
|
|
25
|
-
*
|
|
26
|
-
* to = gitlab_user_avatar.example
|
|
27
|
-
*
|
|
28
|
-
* id = "see CLI command below for ID"
|
|
29
|
-
*
|
|
30
|
-
* }
|
|
31
|
-
*
|
|
32
|
-
* Importing using the CLI is supported with the following syntax:
|
|
33
|
-
*
|
|
34
|
-
* A GitLab User Avatar can be imported using the user id, e.g.
|
|
35
|
-
*
|
|
36
|
-
* ```sh
|
|
37
|
-
* $ pulumi import gitlab:index/userAvatar:UserAvatar example "12345"
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* NOTE: the `token` and `avatar` resource attributes are not available for imported resources as this information cannot be read from the GitLab API.
|
|
41
|
-
*/
|
|
42
|
-
class UserAvatar extends pulumi.CustomResource {
|
|
43
|
-
/**
|
|
44
|
-
* Get an existing UserAvatar resource's state with the given name, ID, and optional extra
|
|
45
|
-
* properties used to qualify the lookup.
|
|
46
|
-
*
|
|
47
|
-
* @param name The _unique_ name of the resulting resource.
|
|
48
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
-
* @param state Any extra arguments used during the lookup.
|
|
50
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
-
*/
|
|
52
|
-
static get(name, id, state, opts) {
|
|
53
|
-
return new UserAvatar(name, state, { ...opts, id: id });
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Returns true if the given object is an instance of UserAvatar. This is designed to work even
|
|
57
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
-
*/
|
|
59
|
-
static isInstance(obj) {
|
|
60
|
-
if (obj === undefined || obj === null) {
|
|
61
|
-
return false;
|
|
62
|
-
}
|
|
63
|
-
return obj['__pulumiType'] === UserAvatar.__pulumiType;
|
|
64
|
-
}
|
|
65
|
-
constructor(name, argsOrState, opts) {
|
|
66
|
-
let resourceInputs = {};
|
|
67
|
-
opts = opts || {};
|
|
68
|
-
if (opts.id) {
|
|
69
|
-
const state = argsOrState;
|
|
70
|
-
resourceInputs["avatar"] = state?.avatar;
|
|
71
|
-
resourceInputs["avatarHash"] = state?.avatarHash;
|
|
72
|
-
resourceInputs["avatarUrl"] = state?.avatarUrl;
|
|
73
|
-
resourceInputs["token"] = state?.token;
|
|
74
|
-
resourceInputs["userId"] = state?.userId;
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
const args = argsOrState;
|
|
78
|
-
if (args?.avatar === undefined && !opts.urn) {
|
|
79
|
-
throw new Error("Missing required property 'avatar'");
|
|
80
|
-
}
|
|
81
|
-
if (args?.userId === undefined && !opts.urn) {
|
|
82
|
-
throw new Error("Missing required property 'userId'");
|
|
83
|
-
}
|
|
84
|
-
resourceInputs["avatar"] = args?.avatar;
|
|
85
|
-
resourceInputs["avatarHash"] = args?.avatarHash;
|
|
86
|
-
resourceInputs["token"] = args?.token ? pulumi.secret(args.token) : undefined;
|
|
87
|
-
resourceInputs["userId"] = args?.userId;
|
|
88
|
-
resourceInputs["avatarUrl"] = undefined /*out*/;
|
|
89
|
-
}
|
|
90
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
91
|
-
const secretOpts = { additionalSecretOutputs: ["token"] };
|
|
92
|
-
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
93
|
-
super(UserAvatar.__pulumiType, name, resourceInputs, opts);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
exports.UserAvatar = UserAvatar;
|
|
97
|
-
/** @internal */
|
|
98
|
-
UserAvatar.__pulumiType = 'gitlab:index/userAvatar:UserAvatar';
|
|
99
|
-
//# sourceMappingURL=userAvatar.js.map
|
package/userAvatar.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"userAvatar.js","sourceRoot":"","sources":["../userAvatar.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAA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