@pulumi/harness 0.17.7 → 0.17.8-alpha.1793935564
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/package.json +2 -2
- package/platform/getIdpIntegration.d.ts +228 -0
- package/platform/getIdpIntegration.d.ts.map +1 -0
- package/platform/getIdpIntegration.js +83 -0
- package/platform/getIdpIntegration.js.map +1 -0
- package/platform/getIdpIntegrationKindMapping.d.ts +148 -0
- package/platform/getIdpIntegrationKindMapping.d.ts.map +1 -0
- package/platform/getIdpIntegrationKindMapping.js +83 -0
- package/platform/getIdpIntegrationKindMapping.js.map +1 -0
- package/platform/idpIntegration.d.ts +596 -0
- package/platform/idpIntegration.d.ts.map +1 -0
- package/platform/idpIntegration.js +321 -0
- package/platform/idpIntegration.js.map +1 -0
- package/platform/idpIntegrationKindMapping.d.ts +290 -0
- package/platform/idpIntegrationKindMapping.d.ts.map +1 -0
- package/platform/idpIntegrationKindMapping.js +195 -0
- package/platform/idpIntegrationKindMapping.js.map +1 -0
- package/platform/index.d.ts +12 -0
- package/platform/index.d.ts.map +1 -1
- package/platform/index.js +22 -6
- package/platform/index.js.map +1 -1
- package/types/input.d.ts +452 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +866 -0
- package/types/output.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/harness",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.8-alpha.1793935564",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Harness resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "harness",
|
|
26
|
-
"version": "0.17.
|
|
26
|
+
"version": "0.17.8-alpha.1793935564",
|
|
27
27
|
"server": "github://api.github.com/pulumi"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data source for an IDP integration.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as harness from "@pulumi/harness";
|
|
11
|
+
*
|
|
12
|
+
* // Webhook URLs of a Custom integration, to configure in the sending system.
|
|
13
|
+
* const example = harness.platform.getIdpIntegration({
|
|
14
|
+
* identifier: "orders_webhook",
|
|
15
|
+
* });
|
|
16
|
+
* export const webhookUrls = example.then(example => example.endpoints.map(__item => __item.url));
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getIdpIntegration(args: GetIdpIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetIdpIntegrationResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getIdpIntegration.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetIdpIntegrationArgs {
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier of the resource.
|
|
26
|
+
*/
|
|
27
|
+
identifier: string;
|
|
28
|
+
/**
|
|
29
|
+
* Name of the resource.
|
|
30
|
+
*/
|
|
31
|
+
name?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Unique identifier of the organization.
|
|
34
|
+
*/
|
|
35
|
+
orgId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Unique identifier of the project.
|
|
38
|
+
*/
|
|
39
|
+
projectId?: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A collection of values returned by getIdpIntegration.
|
|
43
|
+
*/
|
|
44
|
+
export interface GetIdpIntegrationResult {
|
|
45
|
+
/**
|
|
46
|
+
* Settings for BitbucketCloud integrations.
|
|
47
|
+
*/
|
|
48
|
+
readonly bitbucketClouds: outputs.platform.GetIdpIntegrationBitbucketCloud[];
|
|
49
|
+
/**
|
|
50
|
+
* Settings for CatalogInfo integrations.
|
|
51
|
+
*/
|
|
52
|
+
readonly catalogInfos: outputs.platform.GetIdpIntegrationCatalogInfo[];
|
|
53
|
+
/**
|
|
54
|
+
* Connector image tag recorded at create.
|
|
55
|
+
*/
|
|
56
|
+
readonly connectorVersion: string;
|
|
57
|
+
/**
|
|
58
|
+
* Connector the integration reads with. Required or not allowed depending on type.
|
|
59
|
+
*/
|
|
60
|
+
readonly connectors: outputs.platform.GetIdpIntegrationConnector[];
|
|
61
|
+
/**
|
|
62
|
+
* Creation time, in milliseconds since the epoch.
|
|
63
|
+
*/
|
|
64
|
+
readonly created: number;
|
|
65
|
+
/**
|
|
66
|
+
* Settings for Custom integrations.
|
|
67
|
+
*/
|
|
68
|
+
readonly customs: outputs.platform.GetIdpIntegrationCustom[];
|
|
69
|
+
/**
|
|
70
|
+
* Settings for DataDog integrations.
|
|
71
|
+
*/
|
|
72
|
+
readonly datadogs: outputs.platform.GetIdpIntegrationDatadog[];
|
|
73
|
+
/**
|
|
74
|
+
* Description of the resource.
|
|
75
|
+
*/
|
|
76
|
+
readonly description: string;
|
|
77
|
+
/**
|
|
78
|
+
* Settings for DynaTrace integrations.
|
|
79
|
+
*/
|
|
80
|
+
readonly dynatraces: outputs.platform.GetIdpIntegrationDynatrace[];
|
|
81
|
+
/**
|
|
82
|
+
* Kinds that sync, including secondary kinds.
|
|
83
|
+
*/
|
|
84
|
+
readonly effectiveKinds: string[];
|
|
85
|
+
/**
|
|
86
|
+
* Whether the integration syncs.
|
|
87
|
+
*/
|
|
88
|
+
readonly enabled: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* URLs that receive data, per kind.
|
|
91
|
+
*/
|
|
92
|
+
readonly endpoints: outputs.platform.GetIdpIntegrationEndpoint[];
|
|
93
|
+
/**
|
|
94
|
+
* Settings for GCP integrations.
|
|
95
|
+
*/
|
|
96
|
+
readonly gcps: outputs.platform.GetIdpIntegrationGcp[];
|
|
97
|
+
/**
|
|
98
|
+
* Settings for GitHub integrations.
|
|
99
|
+
*/
|
|
100
|
+
readonly githubs: outputs.platform.GetIdpIntegrationGithub[];
|
|
101
|
+
/**
|
|
102
|
+
* Settings for HarnessCD integrations.
|
|
103
|
+
*/
|
|
104
|
+
readonly harnessCds: outputs.platform.GetIdpIntegrationHarnessCd[];
|
|
105
|
+
/**
|
|
106
|
+
* Settings for HarnessCode integrations.
|
|
107
|
+
*/
|
|
108
|
+
readonly harnessCodes: outputs.platform.GetIdpIntegrationHarnessCode[];
|
|
109
|
+
/**
|
|
110
|
+
* Settings for HarnessK8s integrations.
|
|
111
|
+
*/
|
|
112
|
+
readonly harnessK8s: outputs.platform.GetIdpIntegrationHarnessK8[];
|
|
113
|
+
/**
|
|
114
|
+
* Health of the integration.
|
|
115
|
+
*/
|
|
116
|
+
readonly health: string;
|
|
117
|
+
/**
|
|
118
|
+
* The provider-assigned unique ID for this managed resource.
|
|
119
|
+
*/
|
|
120
|
+
readonly id: string;
|
|
121
|
+
/**
|
|
122
|
+
* Unique identifier of the resource.
|
|
123
|
+
*/
|
|
124
|
+
readonly identifier: string;
|
|
125
|
+
/**
|
|
126
|
+
* Settings for Jira integrations.
|
|
127
|
+
*/
|
|
128
|
+
readonly jiras: outputs.platform.GetIdpIntegrationJira[];
|
|
129
|
+
/**
|
|
130
|
+
* A kind to sync. Import reads kinds sorted by name, so list them that way to import without a diff; otherwise the first plan after an import reorders them, which applies without calling the API. Omit it for types without kinds, such as HarnessTraceable.
|
|
131
|
+
*/
|
|
132
|
+
readonly kinds: outputs.platform.GetIdpIntegrationKind[];
|
|
133
|
+
/**
|
|
134
|
+
* How the integration gets data: airbyte, platform, webhook or api.
|
|
135
|
+
*/
|
|
136
|
+
readonly modeEffective: string;
|
|
137
|
+
/**
|
|
138
|
+
* Name of the resource.
|
|
139
|
+
*/
|
|
140
|
+
readonly name?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Unique identifier of the organization.
|
|
143
|
+
*/
|
|
144
|
+
readonly orgId?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Settings for PagerDuty integrations.
|
|
147
|
+
*/
|
|
148
|
+
readonly pagerduties: outputs.platform.GetIdpIntegrationPagerduty[];
|
|
149
|
+
/**
|
|
150
|
+
* Unique identifier of the project.
|
|
151
|
+
*/
|
|
152
|
+
readonly projectId?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Revision, sent as If-Match on writes.
|
|
155
|
+
*/
|
|
156
|
+
readonly revision: number;
|
|
157
|
+
/**
|
|
158
|
+
* Harness scopes a platform integration reads from. Set exactly one of all or selected.
|
|
159
|
+
*/
|
|
160
|
+
readonly scopes: outputs.platform.GetIdpIntegrationScope[];
|
|
161
|
+
/**
|
|
162
|
+
* Secondary kinds to sync, for Airbyte types.
|
|
163
|
+
*/
|
|
164
|
+
readonly secondaryKinds: string[];
|
|
165
|
+
/**
|
|
166
|
+
* Settings for SonarQube integrations.
|
|
167
|
+
*/
|
|
168
|
+
readonly sonarqubes: outputs.platform.GetIdpIntegrationSonarqube[];
|
|
169
|
+
/**
|
|
170
|
+
* Tags to associate with the resource.
|
|
171
|
+
*/
|
|
172
|
+
readonly tags: string[];
|
|
173
|
+
/**
|
|
174
|
+
* Integration type.
|
|
175
|
+
*/
|
|
176
|
+
readonly type: string;
|
|
177
|
+
/**
|
|
178
|
+
* Internal key; new on every create.
|
|
179
|
+
*/
|
|
180
|
+
readonly uid: string;
|
|
181
|
+
/**
|
|
182
|
+
* How often an Airbyte integration syncs, e.g. 24h.
|
|
183
|
+
*/
|
|
184
|
+
readonly updateFrequency: string;
|
|
185
|
+
/**
|
|
186
|
+
* Last update time, in milliseconds since the epoch.
|
|
187
|
+
*/
|
|
188
|
+
readonly updated: number;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Data source for an IDP integration.
|
|
192
|
+
*
|
|
193
|
+
* ## Example Usage
|
|
194
|
+
*
|
|
195
|
+
* ```typescript
|
|
196
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
197
|
+
* import * as harness from "@pulumi/harness";
|
|
198
|
+
*
|
|
199
|
+
* // Webhook URLs of a Custom integration, to configure in the sending system.
|
|
200
|
+
* const example = harness.platform.getIdpIntegration({
|
|
201
|
+
* identifier: "orders_webhook",
|
|
202
|
+
* });
|
|
203
|
+
* export const webhookUrls = example.then(example => example.endpoints.map(__item => __item.url));
|
|
204
|
+
* ```
|
|
205
|
+
*/
|
|
206
|
+
export declare function getIdpIntegrationOutput(args: GetIdpIntegrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIdpIntegrationResult>;
|
|
207
|
+
/**
|
|
208
|
+
* A collection of arguments for invoking getIdpIntegration.
|
|
209
|
+
*/
|
|
210
|
+
export interface GetIdpIntegrationOutputArgs {
|
|
211
|
+
/**
|
|
212
|
+
* Unique identifier of the resource.
|
|
213
|
+
*/
|
|
214
|
+
identifier: pulumi.Input<string>;
|
|
215
|
+
/**
|
|
216
|
+
* Name of the resource.
|
|
217
|
+
*/
|
|
218
|
+
name?: pulumi.Input<string | undefined>;
|
|
219
|
+
/**
|
|
220
|
+
* Unique identifier of the organization.
|
|
221
|
+
*/
|
|
222
|
+
orgId?: pulumi.Input<string | undefined>;
|
|
223
|
+
/**
|
|
224
|
+
* Unique identifier of the project.
|
|
225
|
+
*/
|
|
226
|
+
projectId?: pulumi.Input<string | undefined>;
|
|
227
|
+
}
|
|
228
|
+
//# sourceMappingURL=getIdpIntegration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIdpIntegration.d.ts","sourceRoot":"","sources":["../../platform/getIdpIntegration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,qBAAqB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AAQ,CAAC,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,sBAAsB,EAAE,CAAC;IAC3D;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,EAAE,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,0BAA0B,EAAE,CAAC;IACnE;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC5B;AACD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAQpJ;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD"}
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getIdpIntegrationOutput = exports.getIdpIntegration = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data source for an IDP integration.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as harness from "@pulumi/harness";
|
|
39
|
+
*
|
|
40
|
+
* // Webhook URLs of a Custom integration, to configure in the sending system.
|
|
41
|
+
* const example = harness.platform.getIdpIntegration({
|
|
42
|
+
* identifier: "orders_webhook",
|
|
43
|
+
* });
|
|
44
|
+
* export const webhookUrls = example.then(example => example.endpoints.map(__item => __item.url));
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getIdpIntegration(args, opts) {
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invoke("harness:platform/getIdpIntegration:getIdpIntegration", {
|
|
50
|
+
"identifier": args.identifier,
|
|
51
|
+
"name": args.name,
|
|
52
|
+
"orgId": args.orgId,
|
|
53
|
+
"projectId": args.projectId,
|
|
54
|
+
}, opts);
|
|
55
|
+
}
|
|
56
|
+
exports.getIdpIntegration = getIdpIntegration;
|
|
57
|
+
/**
|
|
58
|
+
* Data source for an IDP integration.
|
|
59
|
+
*
|
|
60
|
+
* ## Example Usage
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as harness from "@pulumi/harness";
|
|
65
|
+
*
|
|
66
|
+
* // Webhook URLs of a Custom integration, to configure in the sending system.
|
|
67
|
+
* const example = harness.platform.getIdpIntegration({
|
|
68
|
+
* identifier: "orders_webhook",
|
|
69
|
+
* });
|
|
70
|
+
* export const webhookUrls = example.then(example => example.endpoints.map(__item => __item.url));
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
function getIdpIntegrationOutput(args, opts) {
|
|
74
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
75
|
+
return pulumi.runtime.invokeOutput("harness:platform/getIdpIntegration:getIdpIntegration", {
|
|
76
|
+
"identifier": args.identifier,
|
|
77
|
+
"name": args.name,
|
|
78
|
+
"orgId": args.orgId,
|
|
79
|
+
"projectId": args.projectId,
|
|
80
|
+
}, opts);
|
|
81
|
+
}
|
|
82
|
+
exports.getIdpIntegrationOutput = getIdpIntegrationOutput;
|
|
83
|
+
//# sourceMappingURL=getIdpIntegration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIdpIntegration.js","sourceRoot":"","sources":["../../platform/getIdpIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8CAQC;AA6KD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0DAQC"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data source for the mapping of one kind of an IDP integration.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as harness from "@pulumi/harness";
|
|
11
|
+
*
|
|
12
|
+
* const example = harness.platform.getIdpIntegrationKindMapping({
|
|
13
|
+
* integrationId: "servicenow_prod",
|
|
14
|
+
* orgId: "default",
|
|
15
|
+
* kind: "cmdb_ci_service",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getIdpIntegrationKindMapping(args: GetIdpIntegrationKindMappingArgs, opts?: pulumi.InvokeOptions): Promise<GetIdpIntegrationKindMappingResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getIdpIntegrationKindMapping.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetIdpIntegrationKindMappingArgs {
|
|
24
|
+
/**
|
|
25
|
+
* Identifier of the integration.
|
|
26
|
+
*/
|
|
27
|
+
integrationId: string;
|
|
28
|
+
/**
|
|
29
|
+
* Kind.
|
|
30
|
+
*/
|
|
31
|
+
kind: string;
|
|
32
|
+
/**
|
|
33
|
+
* Unique identifier of the organization.
|
|
34
|
+
*/
|
|
35
|
+
orgId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Unique identifier of the project.
|
|
38
|
+
*/
|
|
39
|
+
projectId?: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A collection of values returned by getIdpIntegrationKindMapping.
|
|
43
|
+
*/
|
|
44
|
+
export interface GetIdpIntegrationKindMappingResult {
|
|
45
|
+
/**
|
|
46
|
+
* Links records to existing entities; the server's when omitted.
|
|
47
|
+
*/
|
|
48
|
+
readonly correlations: outputs.platform.GetIdpIntegrationKindMappingCorrelation[];
|
|
49
|
+
/**
|
|
50
|
+
* Source field used as the entity's name.
|
|
51
|
+
*/
|
|
52
|
+
readonly displayNameField: string;
|
|
53
|
+
/**
|
|
54
|
+
* How entities are emitted; read-only.
|
|
55
|
+
*/
|
|
56
|
+
readonly emissions: outputs.platform.GetIdpIntegrationKindMappingEmission[];
|
|
57
|
+
/**
|
|
58
|
+
* Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
|
|
59
|
+
*/
|
|
60
|
+
readonly fieldMappings: outputs.platform.GetIdpIntegrationKindMappingFieldMapping[];
|
|
61
|
+
/**
|
|
62
|
+
* The provider-assigned unique ID for this managed resource.
|
|
63
|
+
*/
|
|
64
|
+
readonly id: string;
|
|
65
|
+
/**
|
|
66
|
+
* Entity kind, e.g. component.
|
|
67
|
+
*/
|
|
68
|
+
readonly idpKind: string;
|
|
69
|
+
/**
|
|
70
|
+
* Entity type, e.g. service.
|
|
71
|
+
*/
|
|
72
|
+
readonly idpType: string;
|
|
73
|
+
/**
|
|
74
|
+
* Custom types: JQ that builds the entity from a payload.
|
|
75
|
+
*/
|
|
76
|
+
readonly ingestions: outputs.platform.GetIdpIntegrationKindMappingIngestion[];
|
|
77
|
+
/**
|
|
78
|
+
* Identifier of the integration.
|
|
79
|
+
*/
|
|
80
|
+
readonly integrationId: string;
|
|
81
|
+
/**
|
|
82
|
+
* Kind.
|
|
83
|
+
*/
|
|
84
|
+
readonly kind: string;
|
|
85
|
+
/**
|
|
86
|
+
* Unique identifier of the organization.
|
|
87
|
+
*/
|
|
88
|
+
readonly orgId?: string;
|
|
89
|
+
/**
|
|
90
|
+
* JSON schema of the payload; read-only.
|
|
91
|
+
*/
|
|
92
|
+
readonly payloadSchema: string;
|
|
93
|
+
/**
|
|
94
|
+
* Unique identifier of the project.
|
|
95
|
+
*/
|
|
96
|
+
readonly projectId?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The integration's revision.
|
|
99
|
+
*/
|
|
100
|
+
readonly revision: number;
|
|
101
|
+
/**
|
|
102
|
+
* Source field that identifies an entity. Can't change on Airbyte types.
|
|
103
|
+
*/
|
|
104
|
+
readonly uniqueIdentifierField: string;
|
|
105
|
+
/**
|
|
106
|
+
* Last update time, in milliseconds since the epoch.
|
|
107
|
+
*/
|
|
108
|
+
readonly updated: number;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Data source for the mapping of one kind of an IDP integration.
|
|
112
|
+
*
|
|
113
|
+
* ## Example Usage
|
|
114
|
+
*
|
|
115
|
+
* ```typescript
|
|
116
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
117
|
+
* import * as harness from "@pulumi/harness";
|
|
118
|
+
*
|
|
119
|
+
* const example = harness.platform.getIdpIntegrationKindMapping({
|
|
120
|
+
* integrationId: "servicenow_prod",
|
|
121
|
+
* orgId: "default",
|
|
122
|
+
* kind: "cmdb_ci_service",
|
|
123
|
+
* });
|
|
124
|
+
* ```
|
|
125
|
+
*/
|
|
126
|
+
export declare function getIdpIntegrationKindMappingOutput(args: GetIdpIntegrationKindMappingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIdpIntegrationKindMappingResult>;
|
|
127
|
+
/**
|
|
128
|
+
* A collection of arguments for invoking getIdpIntegrationKindMapping.
|
|
129
|
+
*/
|
|
130
|
+
export interface GetIdpIntegrationKindMappingOutputArgs {
|
|
131
|
+
/**
|
|
132
|
+
* Identifier of the integration.
|
|
133
|
+
*/
|
|
134
|
+
integrationId: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Kind.
|
|
137
|
+
*/
|
|
138
|
+
kind: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Unique identifier of the organization.
|
|
141
|
+
*/
|
|
142
|
+
orgId?: pulumi.Input<string | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* Unique identifier of the project.
|
|
145
|
+
*/
|
|
146
|
+
projectId?: pulumi.Input<string | undefined>;
|
|
147
|
+
}
|
|
148
|
+
//# sourceMappingURL=getIdpIntegrationKindMapping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|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a,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;IACvC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC5B;AACD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,sCAAsC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,kCAAkC,CAAC,CAQrL;AAED;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD"}
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getIdpIntegrationKindMappingOutput = exports.getIdpIntegrationKindMapping = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data source for the mapping of one kind of an IDP integration.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as harness from "@pulumi/harness";
|
|
39
|
+
*
|
|
40
|
+
* const example = harness.platform.getIdpIntegrationKindMapping({
|
|
41
|
+
* integrationId: "servicenow_prod",
|
|
42
|
+
* orgId: "default",
|
|
43
|
+
* kind: "cmdb_ci_service",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getIdpIntegrationKindMapping(args, opts) {
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invoke("harness:platform/getIdpIntegrationKindMapping:getIdpIntegrationKindMapping", {
|
|
50
|
+
"integrationId": args.integrationId,
|
|
51
|
+
"kind": args.kind,
|
|
52
|
+
"orgId": args.orgId,
|
|
53
|
+
"projectId": args.projectId,
|
|
54
|
+
}, opts);
|
|
55
|
+
}
|
|
56
|
+
exports.getIdpIntegrationKindMapping = getIdpIntegrationKindMapping;
|
|
57
|
+
/**
|
|
58
|
+
* Data source for the mapping of one kind of an IDP integration.
|
|
59
|
+
*
|
|
60
|
+
* ## Example Usage
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as harness from "@pulumi/harness";
|
|
65
|
+
*
|
|
66
|
+
* const example = harness.platform.getIdpIntegrationKindMapping({
|
|
67
|
+
* integrationId: "servicenow_prod",
|
|
68
|
+
* orgId: "default",
|
|
69
|
+
* kind: "cmdb_ci_service",
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
function getIdpIntegrationKindMappingOutput(args, opts) {
|
|
74
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
75
|
+
return pulumi.runtime.invokeOutput("harness:platform/getIdpIntegrationKindMapping:getIdpIntegrationKindMapping", {
|
|
76
|
+
"integrationId": args.integrationId,
|
|
77
|
+
"kind": args.kind,
|
|
78
|
+
"orgId": args.orgId,
|
|
79
|
+
"projectId": args.projectId,
|
|
80
|
+
}, opts);
|
|
81
|
+
}
|
|
82
|
+
exports.getIdpIntegrationKindMappingOutput = getIdpIntegrationKindMappingOutput;
|
|
83
|
+
//# sourceMappingURL=getIdpIntegrationKindMapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIdpIntegrationKindMapping.js","sourceRoot":"","sources":["../../platform/getIdpIntegrationKindMapping.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4EAA4E,EAAE;QACvG,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oEAQC;AA6FD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAAiC;IAC9H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4EAA4E,EAAE;QAC7G,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gFAQC"}
|