@pulumi/gitlab 9.12.0-alpha.1782457766 → 10.0.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/README.md +2 -2
- package/applicationSettings.d.ts +48 -18
- package/applicationSettings.d.ts.map +1 -1
- package/applicationSettings.js +8 -2
- package/applicationSettings.js.map +1 -1
- package/branchProtection.d.ts +48 -52
- package/branchProtection.d.ts.map +1 -1
- package/branchProtection.js +30 -24
- package/branchProtection.js.map +1 -1
- package/getGroup.d.ts +114 -2
- package/getGroup.d.ts.map +1 -1
- package/getGroup.js.map +1 -1
- package/getGroupHook.d.ts +40 -6
- package/getGroupHook.d.ts.map +1 -1
- package/getGroupHook.js.map +1 -1
- package/getGroupLabel.d.ts +125 -0
- package/getGroupLabel.d.ts.map +1 -0
- package/getGroupLabel.js +93 -0
- package/getGroupLabel.js.map +1 -0
- package/getGroupLabels.d.ts +74 -0
- package/getGroupLabels.d.ts.map +1 -0
- package/getGroupLabels.js +79 -0
- package/getGroupLabels.js.map +1 -0
- package/getGroupProtectedBranch.d.ts +82 -0
- package/getGroupProtectedBranch.d.ts.map +1 -0
- package/getGroupProtectedBranch.js +61 -0
- package/getGroupProtectedBranch.js.map +1 -0
- package/getGroupProtectedBranches.d.ts +54 -0
- package/getGroupProtectedBranches.d.ts.map +1 -0
- package/getGroupProtectedBranches.js +59 -0
- package/getGroupProtectedBranches.js.map +1 -0
- package/getProject.d.ts +355 -57
- package/getProject.d.ts.map +1 -1
- package/getProject.js +0 -6
- package/getProject.js.map +1 -1
- package/getProjectHook.d.ts +36 -6
- package/getProjectHook.d.ts.map +1 -1
- package/getProjectHook.js.map +1 -1
- package/getProjectMembership.d.ts +4 -40
- package/getProjectMembership.d.ts.map +1 -1
- package/getProjectMembership.js +0 -6
- package/getProjectMembership.js.map +1 -1
- package/getProjectProtectedBranch.d.ts +8 -21
- package/getProjectProtectedBranch.d.ts.map +1 -1
- package/getProjectProtectedBranch.js +0 -4
- package/getProjectProtectedBranch.js.map +1 -1
- package/getProjectProtectedBranches.d.ts +1 -10
- package/getProjectProtectedBranches.d.ts.map +1 -1
- package/getProjectProtectedBranches.js +0 -2
- package/getProjectProtectedBranches.js.map +1 -1
- package/getProjectServiceAccount.d.ts +97 -0
- package/getProjectServiceAccount.d.ts.map +1 -0
- package/getProjectServiceAccount.js +89 -0
- package/getProjectServiceAccount.js.map +1 -0
- package/getProjects.d.ts +22 -10
- package/getProjects.d.ts.map +1 -1
- package/getProjects.js +2 -0
- package/getProjects.js.map +1 -1
- package/getSystemHook.d.ts +111 -0
- package/getSystemHook.d.ts.map +1 -0
- package/getSystemHook.js +81 -0
- package/getSystemHook.js.map +1 -0
- package/getSystemHooks.d.ts +50 -0
- package/getSystemHooks.d.ts.map +1 -0
- package/getSystemHooks.js +73 -0
- package/getSystemHooks.js.map +1 -0
- package/group.d.ts +12 -0
- package/group.d.ts.map +1 -1
- package/group.js +2 -0
- package/group.js.map +1 -1
- package/groupAccessToken.d.ts +3 -3
- package/groupBranchProtection.d.ts +185 -0
- package/groupBranchProtection.d.ts.map +1 -0
- package/groupBranchProtection.js +146 -0
- package/groupBranchProtection.js.map +1 -0
- package/groupCluster.d.ts +1 -1
- package/groupCluster.js +1 -1
- package/groupDeployToken.d.ts +3 -3
- package/groupHook.d.ts +75 -3
- package/groupHook.d.ts.map +1 -1
- package/groupHook.js +15 -1
- package/groupHook.js.map +1 -1
- package/{integrationHarbor.d.ts → groupIntegrationHarbor.d.ts} +39 -43
- package/groupIntegrationHarbor.d.ts.map +1 -0
- package/{integrationHarbor.js → groupIntegrationHarbor.js} +30 -34
- package/groupIntegrationHarbor.js.map +1 -0
- package/groupSamlLink.d.ts +3 -3
- package/groupSavedReply.d.ts +78 -0
- package/groupSavedReply.d.ts.map +1 -0
- package/{deployToken.js → groupSavedReply.js} +19 -45
- package/groupSavedReply.js.map +1 -0
- package/groupServiceAccount.d.ts +12 -0
- package/groupServiceAccount.d.ts.map +1 -1
- package/groupServiceAccount.js +2 -0
- package/groupServiceAccount.js.map +1 -1
- package/groupServiceAccountAccessToken.d.ts +3 -3
- package/index.d.ts +45 -48
- package/index.d.ts.map +1 -1
- package/index.js +67 -86
- package/index.js.map +1 -1
- package/instanceCluster.d.ts +1 -1
- package/instanceCluster.js +1 -1
- package/integrationSlack.d.ts +0 -18
- package/integrationSlack.d.ts.map +1 -1
- package/integrationSlack.js +0 -2
- package/integrationSlack.js.map +1 -1
- package/memberRole.d.ts +3 -3
- package/package.json +2 -2
- package/personalAccessToken.d.ts +3 -3
- package/project.d.ts +36 -234
- package/project.d.ts.map +1 -1
- package/project.js +6 -26
- package/project.js.map +1 -1
- package/projectAccessToken.d.ts +3 -3
- package/projectCluster.d.ts +1 -1
- package/projectCluster.js +1 -1
- package/projectDeployToken.d.ts +3 -3
- package/projectHook.d.ts +103 -0
- package/projectHook.d.ts.map +1 -1
- package/projectHook.js +30 -1
- package/projectHook.js.map +1 -1
- package/projectIntegrationDatadog.d.ts +200 -0
- package/projectIntegrationDatadog.d.ts.map +1 -0
- package/{integrationGithub.js → projectIntegrationDatadog.js} +44 -45
- package/projectIntegrationDatadog.js.map +1 -0
- package/{integrationMicrosoftTeams.d.ts → projectIntegrationGoogleChat.d.ts} +35 -95
- package/projectIntegrationGoogleChat.d.ts.map +1 -0
- package/{integrationMicrosoftTeams.js → projectIntegrationGoogleChat.js} +12 -50
- package/projectIntegrationGoogleChat.js.map +1 -0
- package/projectIntegrationJira.d.ts +12 -12
- package/projectJobTokenScopes.d.ts +5 -21
- package/projectJobTokenScopes.d.ts.map +1 -1
- package/projectJobTokenScopes.js +6 -3
- package/projectJobTokenScopes.js.map +1 -1
- package/projectLabel.d.ts +12 -0
- package/projectLabel.d.ts.map +1 -1
- package/projectLabel.js +2 -0
- package/projectLabel.js.map +1 -1
- package/projectLevelMrApprovals.d.ts +21 -3
- package/projectLevelMrApprovals.d.ts.map +1 -1
- package/projectLevelMrApprovals.js +2 -0
- package/projectLevelMrApprovals.js.map +1 -1
- package/projectMergeRequestNote.d.ts +3 -3
- package/projectProtectedEnvironment.d.ts +4 -22
- package/projectProtectedEnvironment.d.ts.map +1 -1
- package/projectProtectedEnvironment.js +1 -3
- package/projectProtectedEnvironment.js.map +1 -1
- package/projectPushMirror.d.ts +12 -0
- package/projectPushMirror.d.ts.map +1 -1
- package/projectPushMirror.js +2 -0
- package/projectPushMirror.js.map +1 -1
- package/projectSavedReply.d.ts +78 -0
- package/projectSavedReply.d.ts.map +1 -0
- package/{label.js → projectSavedReply.js} +16 -24
- package/projectSavedReply.js.map +1 -0
- package/projectServiceAccount.d.ts +152 -0
- package/projectServiceAccount.d.ts.map +1 -0
- package/{integrationPipelinesEmail.js → projectServiceAccount.js} +42 -35
- package/projectServiceAccount.js.map +1 -0
- package/projectShareGroup.d.ts +2 -20
- package/projectShareGroup.d.ts.map +1 -1
- package/projectShareGroup.js +3 -2
- package/projectShareGroup.js.map +1 -1
- package/projectTargetBranchRule.d.ts +1 -1
- package/projectTargetBranchRule.js +1 -1
- package/systemHook.d.ts +50 -6
- package/systemHook.d.ts.map +1 -1
- package/systemHook.js +9 -1
- package/systemHook.js.map +1 -1
- package/types/input.d.ts +95 -249
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1168 -168
- package/types/output.d.ts.map +1 -1
- package/userImpersonationToken.d.ts +3 -3
- package/userSavedReply.d.ts +66 -0
- package/userSavedReply.d.ts.map +1 -0
- package/userSavedReply.js +82 -0
- package/userSavedReply.js.map +1 -0
- package/deployToken.d.ts +0 -147
- package/deployToken.d.ts.map +0 -1
- package/deployToken.js.map +0 -1
- package/integrationCustomIssueTracker.d.ts +0 -142
- package/integrationCustomIssueTracker.d.ts.map +0 -1
- package/integrationCustomIssueTracker.js +0 -130
- package/integrationCustomIssueTracker.js.map +0 -1
- package/integrationEmailsOnPush.d.ts +0 -198
- package/integrationEmailsOnPush.d.ts.map +0 -1
- package/integrationEmailsOnPush.js +0 -137
- package/integrationEmailsOnPush.js.map +0 -1
- package/integrationExternalWiki.d.ts +0 -137
- package/integrationExternalWiki.d.ts.map +0 -1
- package/integrationExternalWiki.js +0 -126
- package/integrationExternalWiki.js.map +0 -1
- package/integrationGithub.d.ts +0 -156
- package/integrationGithub.d.ts.map +0 -1
- package/integrationGithub.js.map +0 -1
- package/integrationHarbor.d.ts.map +0 -1
- package/integrationHarbor.js.map +0 -1
- package/integrationJenkins.d.ts +0 -190
- package/integrationJenkins.d.ts.map +0 -1
- package/integrationJenkins.js +0 -138
- package/integrationJenkins.js.map +0 -1
- package/integrationJira.d.ts +0 -299
- package/integrationJira.d.ts.map +0 -1
- package/integrationJira.js +0 -159
- package/integrationJira.js.map +0 -1
- package/integrationMattermost.d.ts +0 -352
- package/integrationMattermost.d.ts.map +0 -1
- package/integrationMattermost.js +0 -163
- package/integrationMattermost.js.map +0 -1
- package/integrationMicrosoftTeams.d.ts.map +0 -1
- package/integrationMicrosoftTeams.js.map +0 -1
- package/integrationPipelinesEmail.d.ts +0 -123
- package/integrationPipelinesEmail.d.ts.map +0 -1
- package/integrationPipelinesEmail.js.map +0 -1
- package/integrationRedmine.d.ts +0 -136
- package/integrationRedmine.d.ts.map +0 -1
- package/integrationRedmine.js +0 -131
- package/integrationRedmine.js.map +0 -1
- package/integrationTelegram.d.ts +0 -253
- package/integrationTelegram.d.ts.map +0 -1
- package/integrationTelegram.js +0 -184
- package/integrationTelegram.js.map +0 -1
- package/label.d.ts +0 -108
- package/label.d.ts.map +0 -1
- package/label.js.map +0 -1
- package/projectMirror.d.ts +0 -166
- package/projectMirror.d.ts.map +0 -1
- package/projectMirror.js +0 -131
- package/projectMirror.js.map +0 -1
- package/runner.d.ts +0 -188
- package/runner.d.ts.map +0 -1
- package/runner.js +0 -122
- package/runner.js.map +0 -1
|
@@ -25,17 +25,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
28
|
+
exports.ProjectIntegrationDatadog = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* The `gitlab.
|
|
32
|
+
* The `gitlab.ProjectIntegrationDatadog` resource manages the lifecycle of a project integration with Datadog.
|
|
33
33
|
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* > This resource is deprecated and will be removed in 19.0. Use `gitlab.ProjectIntegrationGithub` instead.
|
|
37
|
-
*
|
|
38
|
-
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#github)
|
|
34
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#datadog)
|
|
39
35
|
*
|
|
40
36
|
* ## Example Usage
|
|
41
37
|
*
|
|
@@ -43,33 +39,33 @@ const utilities = __importStar(require("./utilities"));
|
|
|
43
39
|
* import * as pulumi from "@pulumi/pulumi";
|
|
44
40
|
* import * as gitlab from "@pulumi/gitlab";
|
|
45
41
|
*
|
|
46
|
-
* const
|
|
47
|
-
* name: "
|
|
48
|
-
* description: "My awesome project.",
|
|
42
|
+
* const example = new gitlab.Project("example", {
|
|
43
|
+
* name: "example",
|
|
49
44
|
* visibilityLevel: "public",
|
|
50
45
|
* });
|
|
51
|
-
* const
|
|
52
|
-
* project:
|
|
53
|
-
*
|
|
54
|
-
*
|
|
46
|
+
* const exampleProjectIntegrationDatadog = new gitlab.ProjectIntegrationDatadog("example", {
|
|
47
|
+
* project: example.id,
|
|
48
|
+
* apiKey: "secret-datadog-api-key",
|
|
49
|
+
* datadogSite: "datadoghq.com",
|
|
50
|
+
* datadogEnv: "production",
|
|
55
51
|
* });
|
|
56
52
|
* ```
|
|
57
53
|
*
|
|
58
54
|
* ## Import
|
|
59
55
|
*
|
|
60
|
-
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab.
|
|
56
|
+
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab.ProjectIntegrationDatadog`. For example:
|
|
61
57
|
*
|
|
62
58
|
* Importing using the CLI is supported with the following syntax:
|
|
63
59
|
*
|
|
64
|
-
* You can import a gitlab.
|
|
60
|
+
* You can import a gitlab.ProjectIntegrationDatadog state using `terraform import <resource> <project_id>`:
|
|
65
61
|
*
|
|
66
62
|
* ```sh
|
|
67
|
-
* $ pulumi import gitlab:index/
|
|
63
|
+
* $ pulumi import gitlab:index/projectIntegrationDatadog:ProjectIntegrationDatadog example 1
|
|
68
64
|
* ```
|
|
69
65
|
*/
|
|
70
|
-
class
|
|
66
|
+
class ProjectIntegrationDatadog extends pulumi.CustomResource {
|
|
71
67
|
/**
|
|
72
|
-
* Get an existing
|
|
68
|
+
* Get an existing ProjectIntegrationDatadog resource's state with the given name, ID, and optional extra
|
|
73
69
|
* properties used to qualify the lookup.
|
|
74
70
|
*
|
|
75
71
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -78,19 +74,19 @@ class IntegrationGithub extends pulumi.CustomResource {
|
|
|
78
74
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
79
75
|
*/
|
|
80
76
|
static get(name, id, state, opts) {
|
|
81
|
-
return new
|
|
77
|
+
return new ProjectIntegrationDatadog(name, state, { ...opts, id: id });
|
|
82
78
|
}
|
|
83
79
|
/** @internal */
|
|
84
|
-
static __pulumiType = 'gitlab:index/
|
|
80
|
+
static __pulumiType = 'gitlab:index/projectIntegrationDatadog:ProjectIntegrationDatadog';
|
|
85
81
|
/**
|
|
86
|
-
* Returns true if the given object is an instance of
|
|
82
|
+
* Returns true if the given object is an instance of ProjectIntegrationDatadog. This is designed to work even
|
|
87
83
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
88
84
|
*/
|
|
89
85
|
static isInstance(obj) {
|
|
90
86
|
if (obj === undefined || obj === null) {
|
|
91
87
|
return false;
|
|
92
88
|
}
|
|
93
|
-
return obj['__pulumiType'] ===
|
|
89
|
+
return obj['__pulumiType'] === ProjectIntegrationDatadog.__pulumiType;
|
|
94
90
|
}
|
|
95
91
|
constructor(name, argsOrState, opts) {
|
|
96
92
|
let resourceInputs = {};
|
|
@@ -98,39 +94,42 @@ class IntegrationGithub extends pulumi.CustomResource {
|
|
|
98
94
|
if (opts.id) {
|
|
99
95
|
const state = argsOrState;
|
|
100
96
|
resourceInputs["active"] = state?.active;
|
|
101
|
-
resourceInputs["
|
|
97
|
+
resourceInputs["apiKey"] = state?.apiKey;
|
|
98
|
+
resourceInputs["apiUrl"] = state?.apiUrl;
|
|
99
|
+
resourceInputs["archiveTraceEvents"] = state?.archiveTraceEvents;
|
|
100
|
+
resourceInputs["datadogCiVisibility"] = state?.datadogCiVisibility;
|
|
101
|
+
resourceInputs["datadogEnv"] = state?.datadogEnv;
|
|
102
|
+
resourceInputs["datadogService"] = state?.datadogService;
|
|
103
|
+
resourceInputs["datadogSite"] = state?.datadogSite;
|
|
104
|
+
resourceInputs["datadogTags"] = state?.datadogTags;
|
|
102
105
|
resourceInputs["project"] = state?.project;
|
|
103
|
-
resourceInputs["
|
|
104
|
-
resourceInputs["staticContext"] = state?.staticContext;
|
|
105
|
-
resourceInputs["title"] = state?.title;
|
|
106
|
-
resourceInputs["token"] = state?.token;
|
|
107
|
-
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
106
|
+
resourceInputs["useInheritedSettings"] = state?.useInheritedSettings;
|
|
108
107
|
}
|
|
109
108
|
else {
|
|
110
109
|
const args = argsOrState;
|
|
110
|
+
if (args?.apiKey === undefined && !opts.urn) {
|
|
111
|
+
throw new Error("Missing required property 'apiKey'");
|
|
112
|
+
}
|
|
111
113
|
if (args?.project === undefined && !opts.urn) {
|
|
112
114
|
throw new Error("Missing required property 'project'");
|
|
113
115
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
116
|
+
resourceInputs["apiKey"] = args?.apiKey ? pulumi.secret(args.apiKey) : undefined;
|
|
117
|
+
resourceInputs["apiUrl"] = args?.apiUrl;
|
|
118
|
+
resourceInputs["archiveTraceEvents"] = args?.archiveTraceEvents;
|
|
119
|
+
resourceInputs["datadogCiVisibility"] = args?.datadogCiVisibility;
|
|
120
|
+
resourceInputs["datadogEnv"] = args?.datadogEnv;
|
|
121
|
+
resourceInputs["datadogService"] = args?.datadogService;
|
|
122
|
+
resourceInputs["datadogSite"] = args?.datadogSite;
|
|
123
|
+
resourceInputs["datadogTags"] = args?.datadogTags;
|
|
120
124
|
resourceInputs["project"] = args?.project;
|
|
121
|
-
resourceInputs["
|
|
122
|
-
resourceInputs["staticContext"] = args?.staticContext;
|
|
123
|
-
resourceInputs["token"] = args?.token ? pulumi.secret(args.token) : undefined;
|
|
125
|
+
resourceInputs["useInheritedSettings"] = args?.useInheritedSettings;
|
|
124
126
|
resourceInputs["active"] = undefined /*out*/;
|
|
125
|
-
resourceInputs["createdAt"] = undefined /*out*/;
|
|
126
|
-
resourceInputs["title"] = undefined /*out*/;
|
|
127
|
-
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
128
127
|
}
|
|
129
128
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
130
|
-
const secretOpts = { additionalSecretOutputs: ["
|
|
129
|
+
const secretOpts = { additionalSecretOutputs: ["apiKey"] };
|
|
131
130
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
132
|
-
super(
|
|
131
|
+
super(ProjectIntegrationDatadog.__pulumiType, name, resourceInputs, opts);
|
|
133
132
|
}
|
|
134
133
|
}
|
|
135
|
-
exports.
|
|
136
|
-
//# sourceMappingURL=
|
|
134
|
+
exports.ProjectIntegrationDatadog = ProjectIntegrationDatadog;
|
|
135
|
+
//# sourceMappingURL=projectIntegrationDatadog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectIntegrationDatadog.js","sourceRoot":"","sources":["../projectIntegrationDatadog.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACt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D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAzHL,8DA0HC"}
|
|
@@ -1,44 +1,12 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* The `gitlab.
|
|
3
|
+
* The `gitlab.ProjectIntegrationGoogleChat` resource manages the lifecycle of a project integration with Google Chat.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#microsoft-teams-notifications)
|
|
8
|
-
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as gitlab from "@pulumi/gitlab";
|
|
14
|
-
*
|
|
15
|
-
* const awesomeProject = new gitlab.Project("awesome_project", {
|
|
16
|
-
* name: "awesome_project",
|
|
17
|
-
* description: "My awesome project.",
|
|
18
|
-
* visibilityLevel: "public",
|
|
19
|
-
* });
|
|
20
|
-
* const teams = new gitlab.IntegrationMicrosoftTeams("teams", {
|
|
21
|
-
* project: awesomeProject.id,
|
|
22
|
-
* webhook: "https://testurl.com/?token=XYZ",
|
|
23
|
-
* pushEvents: true,
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* ## Import
|
|
28
|
-
*
|
|
29
|
-
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab.IntegrationMicrosoftTeams`. For example:
|
|
30
|
-
*
|
|
31
|
-
* Importing using the CLI is supported with the following syntax:
|
|
32
|
-
*
|
|
33
|
-
* You can import a gitlab.IntegrationMicrosoftTeams state using the project ID, for example:
|
|
34
|
-
*
|
|
35
|
-
* ```sh
|
|
36
|
-
* $ pulumi import gitlab:index/integrationMicrosoftTeams:IntegrationMicrosoftTeams teams 1
|
|
37
|
-
* ```
|
|
5
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#set-up-google-chat)
|
|
38
6
|
*/
|
|
39
|
-
export declare class
|
|
7
|
+
export declare class ProjectIntegrationGoogleChat extends pulumi.CustomResource {
|
|
40
8
|
/**
|
|
41
|
-
* Get an existing
|
|
9
|
+
* Get an existing ProjectIntegrationGoogleChat resource's state with the given name, ID, and optional extra
|
|
42
10
|
* properties used to qualify the lookup.
|
|
43
11
|
*
|
|
44
12
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -46,38 +14,30 @@ export declare class IntegrationMicrosoftTeams extends pulumi.CustomResource {
|
|
|
46
14
|
* @param state Any extra arguments used during the lookup.
|
|
47
15
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
16
|
*/
|
|
49
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?:
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectIntegrationGoogleChatState, opts?: pulumi.CustomResourceOptions): ProjectIntegrationGoogleChat;
|
|
50
18
|
/**
|
|
51
|
-
* Returns true if the given object is an instance of
|
|
19
|
+
* Returns true if the given object is an instance of ProjectIntegrationGoogleChat. This is designed to work even
|
|
52
20
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
21
|
*/
|
|
54
|
-
static isInstance(obj: any): obj is
|
|
22
|
+
static isInstance(obj: any): obj is ProjectIntegrationGoogleChat;
|
|
55
23
|
/**
|
|
56
24
|
* Whether the integration is active.
|
|
57
25
|
*/
|
|
58
26
|
readonly active: pulumi.Output<boolean>;
|
|
59
27
|
/**
|
|
60
|
-
* Branches to send notifications for. Valid values are: `all`, `default`, `protected`, `defaultAndProtected
|
|
28
|
+
* Branches to send notifications for. Valid values are: `all`, `default`, `protected`, `defaultAndProtected`.
|
|
61
29
|
*/
|
|
62
30
|
readonly branchesToBeNotified: pulumi.Output<string>;
|
|
63
31
|
/**
|
|
64
|
-
* Enable notifications for confidential
|
|
32
|
+
* Enable notifications for confidential issues events.
|
|
65
33
|
*/
|
|
66
34
|
readonly confidentialIssuesEvents: pulumi.Output<boolean>;
|
|
67
35
|
/**
|
|
68
|
-
* Enable notifications for
|
|
69
|
-
*/
|
|
70
|
-
readonly confidentialNoteEvents: pulumi.Output<boolean>;
|
|
71
|
-
/**
|
|
72
|
-
* The ISO8601 date/time that this integration was activated at in UTC.
|
|
73
|
-
*/
|
|
74
|
-
readonly createdAt: pulumi.Output<string>;
|
|
75
|
-
/**
|
|
76
|
-
* Enable notifications for issue events.
|
|
36
|
+
* Enable notifications for issues events.
|
|
77
37
|
*/
|
|
78
38
|
readonly issuesEvents: pulumi.Output<boolean>;
|
|
79
39
|
/**
|
|
80
|
-
* Enable notifications for merge
|
|
40
|
+
* Enable notifications for merge requests events.
|
|
81
41
|
*/
|
|
82
42
|
readonly mergeRequestsEvents: pulumi.Output<boolean>;
|
|
83
43
|
/**
|
|
@@ -85,7 +45,7 @@ export declare class IntegrationMicrosoftTeams extends pulumi.CustomResource {
|
|
|
85
45
|
*/
|
|
86
46
|
readonly noteEvents: pulumi.Output<boolean>;
|
|
87
47
|
/**
|
|
88
|
-
* Send notifications for broken pipelines.
|
|
48
|
+
* Send notifications for broken pipelines only.
|
|
89
49
|
*/
|
|
90
50
|
readonly notifyOnlyBrokenPipelines: pulumi.Output<boolean>;
|
|
91
51
|
/**
|
|
@@ -93,7 +53,7 @@ export declare class IntegrationMicrosoftTeams extends pulumi.CustomResource {
|
|
|
93
53
|
*/
|
|
94
54
|
readonly pipelineEvents: pulumi.Output<boolean>;
|
|
95
55
|
/**
|
|
96
|
-
* ID of the project
|
|
56
|
+
* The ID or full path of the project to integrate with Google Chat.
|
|
97
57
|
*/
|
|
98
58
|
readonly project: pulumi.Output<string>;
|
|
99
59
|
/**
|
|
@@ -105,11 +65,7 @@ export declare class IntegrationMicrosoftTeams extends pulumi.CustomResource {
|
|
|
105
65
|
*/
|
|
106
66
|
readonly tagPushEvents: pulumi.Output<boolean>;
|
|
107
67
|
/**
|
|
108
|
-
* The
|
|
109
|
-
*/
|
|
110
|
-
readonly updatedAt: pulumi.Output<string>;
|
|
111
|
-
/**
|
|
112
|
-
* The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
|
|
68
|
+
* The Google Chat webhook URL (for example, https://chat.googleapis.com/v1/spaces/...).
|
|
113
69
|
*/
|
|
114
70
|
readonly webhook: pulumi.Output<string>;
|
|
115
71
|
/**
|
|
@@ -117,44 +73,36 @@ export declare class IntegrationMicrosoftTeams extends pulumi.CustomResource {
|
|
|
117
73
|
*/
|
|
118
74
|
readonly wikiPageEvents: pulumi.Output<boolean>;
|
|
119
75
|
/**
|
|
120
|
-
* Create a
|
|
76
|
+
* Create a ProjectIntegrationGoogleChat resource with the given unique name, arguments, and options.
|
|
121
77
|
*
|
|
122
78
|
* @param name The _unique_ name of the resource.
|
|
123
79
|
* @param args The arguments to use to populate this resource's properties.
|
|
124
80
|
* @param opts A bag of options that control this resource's behavior.
|
|
125
81
|
*/
|
|
126
|
-
constructor(name: string, args:
|
|
82
|
+
constructor(name: string, args: ProjectIntegrationGoogleChatArgs, opts?: pulumi.CustomResourceOptions);
|
|
127
83
|
}
|
|
128
84
|
/**
|
|
129
|
-
* Input properties used for looking up and filtering
|
|
85
|
+
* Input properties used for looking up and filtering ProjectIntegrationGoogleChat resources.
|
|
130
86
|
*/
|
|
131
|
-
export interface
|
|
87
|
+
export interface ProjectIntegrationGoogleChatState {
|
|
132
88
|
/**
|
|
133
89
|
* Whether the integration is active.
|
|
134
90
|
*/
|
|
135
91
|
active?: pulumi.Input<boolean | undefined>;
|
|
136
92
|
/**
|
|
137
|
-
* Branches to send notifications for. Valid values are: `all`, `default`, `protected`, `defaultAndProtected
|
|
93
|
+
* Branches to send notifications for. Valid values are: `all`, `default`, `protected`, `defaultAndProtected`.
|
|
138
94
|
*/
|
|
139
95
|
branchesToBeNotified?: pulumi.Input<string | undefined>;
|
|
140
96
|
/**
|
|
141
|
-
* Enable notifications for confidential
|
|
97
|
+
* Enable notifications for confidential issues events.
|
|
142
98
|
*/
|
|
143
99
|
confidentialIssuesEvents?: pulumi.Input<boolean | undefined>;
|
|
144
100
|
/**
|
|
145
|
-
* Enable notifications for
|
|
146
|
-
*/
|
|
147
|
-
confidentialNoteEvents?: pulumi.Input<boolean | undefined>;
|
|
148
|
-
/**
|
|
149
|
-
* The ISO8601 date/time that this integration was activated at in UTC.
|
|
150
|
-
*/
|
|
151
|
-
createdAt?: pulumi.Input<string | undefined>;
|
|
152
|
-
/**
|
|
153
|
-
* Enable notifications for issue events.
|
|
101
|
+
* Enable notifications for issues events.
|
|
154
102
|
*/
|
|
155
103
|
issuesEvents?: pulumi.Input<boolean | undefined>;
|
|
156
104
|
/**
|
|
157
|
-
* Enable notifications for merge
|
|
105
|
+
* Enable notifications for merge requests events.
|
|
158
106
|
*/
|
|
159
107
|
mergeRequestsEvents?: pulumi.Input<boolean | undefined>;
|
|
160
108
|
/**
|
|
@@ -162,7 +110,7 @@ export interface IntegrationMicrosoftTeamsState {
|
|
|
162
110
|
*/
|
|
163
111
|
noteEvents?: pulumi.Input<boolean | undefined>;
|
|
164
112
|
/**
|
|
165
|
-
* Send notifications for broken pipelines.
|
|
113
|
+
* Send notifications for broken pipelines only.
|
|
166
114
|
*/
|
|
167
115
|
notifyOnlyBrokenPipelines?: pulumi.Input<boolean | undefined>;
|
|
168
116
|
/**
|
|
@@ -170,7 +118,7 @@ export interface IntegrationMicrosoftTeamsState {
|
|
|
170
118
|
*/
|
|
171
119
|
pipelineEvents?: pulumi.Input<boolean | undefined>;
|
|
172
120
|
/**
|
|
173
|
-
* ID of the project
|
|
121
|
+
* The ID or full path of the project to integrate with Google Chat.
|
|
174
122
|
*/
|
|
175
123
|
project?: pulumi.Input<string | undefined>;
|
|
176
124
|
/**
|
|
@@ -182,11 +130,7 @@ export interface IntegrationMicrosoftTeamsState {
|
|
|
182
130
|
*/
|
|
183
131
|
tagPushEvents?: pulumi.Input<boolean | undefined>;
|
|
184
132
|
/**
|
|
185
|
-
* The
|
|
186
|
-
*/
|
|
187
|
-
updatedAt?: pulumi.Input<string | undefined>;
|
|
188
|
-
/**
|
|
189
|
-
* The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
|
|
133
|
+
* The Google Chat webhook URL (for example, https://chat.googleapis.com/v1/spaces/...).
|
|
190
134
|
*/
|
|
191
135
|
webhook?: pulumi.Input<string | undefined>;
|
|
192
136
|
/**
|
|
@@ -195,27 +139,23 @@ export interface IntegrationMicrosoftTeamsState {
|
|
|
195
139
|
wikiPageEvents?: pulumi.Input<boolean | undefined>;
|
|
196
140
|
}
|
|
197
141
|
/**
|
|
198
|
-
* The set of arguments for constructing a
|
|
142
|
+
* The set of arguments for constructing a ProjectIntegrationGoogleChat resource.
|
|
199
143
|
*/
|
|
200
|
-
export interface
|
|
144
|
+
export interface ProjectIntegrationGoogleChatArgs {
|
|
201
145
|
/**
|
|
202
|
-
* Branches to send notifications for. Valid values are: `all`, `default`, `protected`, `defaultAndProtected
|
|
146
|
+
* Branches to send notifications for. Valid values are: `all`, `default`, `protected`, `defaultAndProtected`.
|
|
203
147
|
*/
|
|
204
148
|
branchesToBeNotified?: pulumi.Input<string | undefined>;
|
|
205
149
|
/**
|
|
206
|
-
* Enable notifications for confidential
|
|
150
|
+
* Enable notifications for confidential issues events.
|
|
207
151
|
*/
|
|
208
152
|
confidentialIssuesEvents?: pulumi.Input<boolean | undefined>;
|
|
209
153
|
/**
|
|
210
|
-
* Enable notifications for
|
|
211
|
-
*/
|
|
212
|
-
confidentialNoteEvents?: pulumi.Input<boolean | undefined>;
|
|
213
|
-
/**
|
|
214
|
-
* Enable notifications for issue events.
|
|
154
|
+
* Enable notifications for issues events.
|
|
215
155
|
*/
|
|
216
156
|
issuesEvents?: pulumi.Input<boolean | undefined>;
|
|
217
157
|
/**
|
|
218
|
-
* Enable notifications for merge
|
|
158
|
+
* Enable notifications for merge requests events.
|
|
219
159
|
*/
|
|
220
160
|
mergeRequestsEvents?: pulumi.Input<boolean | undefined>;
|
|
221
161
|
/**
|
|
@@ -223,7 +163,7 @@ export interface IntegrationMicrosoftTeamsArgs {
|
|
|
223
163
|
*/
|
|
224
164
|
noteEvents?: pulumi.Input<boolean | undefined>;
|
|
225
165
|
/**
|
|
226
|
-
* Send notifications for broken pipelines.
|
|
166
|
+
* Send notifications for broken pipelines only.
|
|
227
167
|
*/
|
|
228
168
|
notifyOnlyBrokenPipelines?: pulumi.Input<boolean | undefined>;
|
|
229
169
|
/**
|
|
@@ -231,7 +171,7 @@ export interface IntegrationMicrosoftTeamsArgs {
|
|
|
231
171
|
*/
|
|
232
172
|
pipelineEvents?: pulumi.Input<boolean | undefined>;
|
|
233
173
|
/**
|
|
234
|
-
* ID of the project
|
|
174
|
+
* The ID or full path of the project to integrate with Google Chat.
|
|
235
175
|
*/
|
|
236
176
|
project: pulumi.Input<string>;
|
|
237
177
|
/**
|
|
@@ -243,7 +183,7 @@ export interface IntegrationMicrosoftTeamsArgs {
|
|
|
243
183
|
*/
|
|
244
184
|
tagPushEvents?: pulumi.Input<boolean | undefined>;
|
|
245
185
|
/**
|
|
246
|
-
* The
|
|
186
|
+
* The Google Chat webhook URL (for example, https://chat.googleapis.com/v1/spaces/...).
|
|
247
187
|
*/
|
|
248
188
|
webhook: pulumi.Input<string>;
|
|
249
189
|
/**
|
|
@@ -251,4 +191,4 @@ export interface IntegrationMicrosoftTeamsArgs {
|
|
|
251
191
|
*/
|
|
252
192
|
wikiPageEvents?: pulumi.Input<boolean | undefined>;
|
|
253
193
|
}
|
|
254
|
-
//# sourceMappingURL=
|
|
194
|
+
//# sourceMappingURL=projectIntegrationGoogleChat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectIntegrationGoogleChat.d.ts","sourceRoot":"","sources":["../projectIntegrationGoogleChat.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;GAIG;AACH,qBAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,iCAAiC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,4BAA4B;IAO1K;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,4BAA4B;IAOvE;;OAEG;IACH,SAAgC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAwB,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,wBAAwB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACzE;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB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CAAC,CAAC;IAC/C;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC9D;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACtD"}
|
|
@@ -25,49 +25,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
28
|
+
exports.ProjectIntegrationGoogleChat = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* The `gitlab.
|
|
32
|
+
* The `gitlab.ProjectIntegrationGoogleChat` resource manages the lifecycle of a project integration with Google Chat.
|
|
33
33
|
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#microsoft-teams-notifications)
|
|
37
|
-
*
|
|
38
|
-
* ## Example Usage
|
|
39
|
-
*
|
|
40
|
-
* ```typescript
|
|
41
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
-
* import * as gitlab from "@pulumi/gitlab";
|
|
43
|
-
*
|
|
44
|
-
* const awesomeProject = new gitlab.Project("awesome_project", {
|
|
45
|
-
* name: "awesome_project",
|
|
46
|
-
* description: "My awesome project.",
|
|
47
|
-
* visibilityLevel: "public",
|
|
48
|
-
* });
|
|
49
|
-
* const teams = new gitlab.IntegrationMicrosoftTeams("teams", {
|
|
50
|
-
* project: awesomeProject.id,
|
|
51
|
-
* webhook: "https://testurl.com/?token=XYZ",
|
|
52
|
-
* pushEvents: true,
|
|
53
|
-
* });
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
|
-
* ## Import
|
|
57
|
-
*
|
|
58
|
-
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab.IntegrationMicrosoftTeams`. For example:
|
|
59
|
-
*
|
|
60
|
-
* Importing using the CLI is supported with the following syntax:
|
|
61
|
-
*
|
|
62
|
-
* You can import a gitlab.IntegrationMicrosoftTeams state using the project ID, for example:
|
|
63
|
-
*
|
|
64
|
-
* ```sh
|
|
65
|
-
* $ pulumi import gitlab:index/integrationMicrosoftTeams:IntegrationMicrosoftTeams teams 1
|
|
66
|
-
* ```
|
|
34
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#set-up-google-chat)
|
|
67
35
|
*/
|
|
68
|
-
class
|
|
36
|
+
class ProjectIntegrationGoogleChat extends pulumi.CustomResource {
|
|
69
37
|
/**
|
|
70
|
-
* Get an existing
|
|
38
|
+
* Get an existing ProjectIntegrationGoogleChat resource's state with the given name, ID, and optional extra
|
|
71
39
|
* properties used to qualify the lookup.
|
|
72
40
|
*
|
|
73
41
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -76,19 +44,19 @@ class IntegrationMicrosoftTeams extends pulumi.CustomResource {
|
|
|
76
44
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
77
45
|
*/
|
|
78
46
|
static get(name, id, state, opts) {
|
|
79
|
-
return new
|
|
47
|
+
return new ProjectIntegrationGoogleChat(name, state, { ...opts, id: id });
|
|
80
48
|
}
|
|
81
49
|
/** @internal */
|
|
82
|
-
static __pulumiType = 'gitlab:index/
|
|
50
|
+
static __pulumiType = 'gitlab:index/projectIntegrationGoogleChat:ProjectIntegrationGoogleChat';
|
|
83
51
|
/**
|
|
84
|
-
* Returns true if the given object is an instance of
|
|
52
|
+
* Returns true if the given object is an instance of ProjectIntegrationGoogleChat. This is designed to work even
|
|
85
53
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
86
54
|
*/
|
|
87
55
|
static isInstance(obj) {
|
|
88
56
|
if (obj === undefined || obj === null) {
|
|
89
57
|
return false;
|
|
90
58
|
}
|
|
91
|
-
return obj['__pulumiType'] ===
|
|
59
|
+
return obj['__pulumiType'] === ProjectIntegrationGoogleChat.__pulumiType;
|
|
92
60
|
}
|
|
93
61
|
constructor(name, argsOrState, opts) {
|
|
94
62
|
let resourceInputs = {};
|
|
@@ -98,8 +66,6 @@ class IntegrationMicrosoftTeams extends pulumi.CustomResource {
|
|
|
98
66
|
resourceInputs["active"] = state?.active;
|
|
99
67
|
resourceInputs["branchesToBeNotified"] = state?.branchesToBeNotified;
|
|
100
68
|
resourceInputs["confidentialIssuesEvents"] = state?.confidentialIssuesEvents;
|
|
101
|
-
resourceInputs["confidentialNoteEvents"] = state?.confidentialNoteEvents;
|
|
102
|
-
resourceInputs["createdAt"] = state?.createdAt;
|
|
103
69
|
resourceInputs["issuesEvents"] = state?.issuesEvents;
|
|
104
70
|
resourceInputs["mergeRequestsEvents"] = state?.mergeRequestsEvents;
|
|
105
71
|
resourceInputs["noteEvents"] = state?.noteEvents;
|
|
@@ -108,7 +74,6 @@ class IntegrationMicrosoftTeams extends pulumi.CustomResource {
|
|
|
108
74
|
resourceInputs["project"] = state?.project;
|
|
109
75
|
resourceInputs["pushEvents"] = state?.pushEvents;
|
|
110
76
|
resourceInputs["tagPushEvents"] = state?.tagPushEvents;
|
|
111
|
-
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
112
77
|
resourceInputs["webhook"] = state?.webhook;
|
|
113
78
|
resourceInputs["wikiPageEvents"] = state?.wikiPageEvents;
|
|
114
79
|
}
|
|
@@ -122,7 +87,6 @@ class IntegrationMicrosoftTeams extends pulumi.CustomResource {
|
|
|
122
87
|
}
|
|
123
88
|
resourceInputs["branchesToBeNotified"] = args?.branchesToBeNotified;
|
|
124
89
|
resourceInputs["confidentialIssuesEvents"] = args?.confidentialIssuesEvents;
|
|
125
|
-
resourceInputs["confidentialNoteEvents"] = args?.confidentialNoteEvents;
|
|
126
90
|
resourceInputs["issuesEvents"] = args?.issuesEvents;
|
|
127
91
|
resourceInputs["mergeRequestsEvents"] = args?.mergeRequestsEvents;
|
|
128
92
|
resourceInputs["noteEvents"] = args?.noteEvents;
|
|
@@ -134,14 +98,12 @@ class IntegrationMicrosoftTeams extends pulumi.CustomResource {
|
|
|
134
98
|
resourceInputs["webhook"] = args?.webhook ? pulumi.secret(args.webhook) : undefined;
|
|
135
99
|
resourceInputs["wikiPageEvents"] = args?.wikiPageEvents;
|
|
136
100
|
resourceInputs["active"] = undefined /*out*/;
|
|
137
|
-
resourceInputs["createdAt"] = undefined /*out*/;
|
|
138
|
-
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
139
101
|
}
|
|
140
102
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
141
103
|
const secretOpts = { additionalSecretOutputs: ["webhook"] };
|
|
142
104
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
143
|
-
super(
|
|
105
|
+
super(ProjectIntegrationGoogleChat.__pulumiType, name, resourceInputs, opts);
|
|
144
106
|
}
|
|
145
107
|
}
|
|
146
|
-
exports.
|
|
147
|
-
//# sourceMappingURL=
|
|
108
|
+
exports.ProjectIntegrationGoogleChat = ProjectIntegrationGoogleChat;
|
|
109
|
+
//# sourceMappingURL=projectIntegrationGoogleChat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proj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