@pulumi/harness 0.11.3 → 0.11.4
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/dbSchema.d.ts +32 -0
- package/platform/dbSchema.js +22 -0
- package/platform/dbSchema.js.map +1 -1
- package/platform/delegatetoken.js +3 -1
- package/platform/delegatetoken.js.map +1 -1
- package/platform/getDbSchema.d.ts +12 -0
- package/platform/getDbSchema.js +2 -0
- package/platform/getDbSchema.js.map +1 -1
- package/platform/getGitopsCluster.d.ts +0 -45
- package/platform/getGitopsCluster.js.map +1 -1
- package/platform/getInfraProvider.d.ts +87 -0
- package/platform/getInfraProvider.js +54 -0
- package/platform/getInfraProvider.js.map +1 -0
- package/platform/getInfraProviderSigningKey.d.ts +86 -0
- package/platform/getInfraProviderSigningKey.js +54 -0
- package/platform/getInfraProviderSigningKey.js.map +1 -0
- package/platform/getInfraProviderSigningKeys.d.ts +45 -0
- package/platform/getInfraProviderSigningKeys.js +46 -0
- package/platform/getInfraProviderSigningKeys.js.map +1 -0
- package/platform/getInfraProviderVersion.d.ts +88 -0
- package/platform/getInfraProviderVersion.js +58 -0
- package/platform/getInfraProviderVersion.js.map +1 -0
- package/platform/getInfraProviderVersions.d.ts +93 -0
- package/platform/getInfraProviderVersions.js +66 -0
- package/platform/getInfraProviderVersions.js.map +1 -0
- package/platform/getInfraProviders.d.ts +45 -0
- package/platform/getInfraProviders.js +46 -0
- package/platform/getInfraProviders.js.map +1 -0
- package/platform/index.d.ts +33 -0
- package/platform/index.js +48 -5
- package/platform/index.js.map +1 -1
- package/platform/infraProvider.d.ts +125 -0
- package/platform/infraProvider.js +93 -0
- package/platform/infraProvider.js.map +1 -0
- package/platform/infraProviderSigningKey.d.ts +144 -0
- package/platform/infraProviderSigningKey.js +117 -0
- package/platform/infraProviderSigningKey.js.map +1 -0
- package/platform/infraProviderVersion.d.ts +124 -0
- package/platform/infraProviderVersion.js +107 -0
- package/platform/infraProviderVersion.js.map +1 -0
- package/platform/infraProviderVersionFile.d.ts +171 -0
- package/platform/infraProviderVersionFile.js +145 -0
- package/platform/infraProviderVersionFile.js.map +1 -0
- package/platform/infraProviderVersionPublish.d.ts +79 -0
- package/platform/infraProviderVersionPublish.js +70 -0
- package/platform/infraProviderVersionPublish.js.map +1 -0
- package/platform/workspace.d.ts +39 -17
- package/platform/workspace.js +6 -14
- package/platform/workspace.js.map +1 -1
- package/types/input.d.ts +39 -3
- package/types/output.d.ts +154 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/harness",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4",
|
|
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.11.
|
|
26
|
+
"version": "0.11.4",
|
|
27
27
|
"server": "github://api.github.com/pulumi"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/platform/dbSchema.d.ts
CHANGED
|
@@ -105,6 +105,26 @@ import * as outputs from "../types/output";
|
|
|
105
105
|
* toml: "db/flyway.toml",
|
|
106
106
|
* },
|
|
107
107
|
* });
|
|
108
|
+
* const perconaEnabledTest = new harness.platform.DbSchema("percona_enabled_test", {
|
|
109
|
+
* identifier: "identifier",
|
|
110
|
+
* orgId: "org_id",
|
|
111
|
+
* projectId: "project_id",
|
|
112
|
+
* name: "name",
|
|
113
|
+
* service: "service1",
|
|
114
|
+
* type: "Repository",
|
|
115
|
+
* migrationType: "Liquibase",
|
|
116
|
+
* usePercona: true,
|
|
117
|
+
* tags: [
|
|
118
|
+
* "foo:bar",
|
|
119
|
+
* "bar:foo",
|
|
120
|
+
* ],
|
|
121
|
+
* schemaSource: {
|
|
122
|
+
* connector: "gitConnector",
|
|
123
|
+
* repo: "TestRepo",
|
|
124
|
+
* location: "db/example-changelog.yaml",
|
|
125
|
+
* archivePath: "path/to/archive.zip",
|
|
126
|
+
* },
|
|
127
|
+
* });
|
|
108
128
|
* ```
|
|
109
129
|
*
|
|
110
130
|
* ## Import
|
|
@@ -177,6 +197,10 @@ export declare class DbSchema extends pulumi.CustomResource {
|
|
|
177
197
|
* Type of the database schema. Valid values are: SCRIPT, REPOSITORY
|
|
178
198
|
*/
|
|
179
199
|
readonly type: pulumi.Output<string | undefined>;
|
|
200
|
+
/**
|
|
201
|
+
* If percona-toolkit is to be enabled for the database schema. Defaults to `false`.
|
|
202
|
+
*/
|
|
203
|
+
readonly usePercona: pulumi.Output<boolean | undefined>;
|
|
180
204
|
/**
|
|
181
205
|
* Create a DbSchema resource with the given unique name, arguments, and options.
|
|
182
206
|
*
|
|
@@ -234,6 +258,10 @@ export interface DbSchemaState {
|
|
|
234
258
|
* Type of the database schema. Valid values are: SCRIPT, REPOSITORY
|
|
235
259
|
*/
|
|
236
260
|
type?: pulumi.Input<string>;
|
|
261
|
+
/**
|
|
262
|
+
* If percona-toolkit is to be enabled for the database schema. Defaults to `false`.
|
|
263
|
+
*/
|
|
264
|
+
usePercona?: pulumi.Input<boolean>;
|
|
237
265
|
}
|
|
238
266
|
/**
|
|
239
267
|
* The set of arguments for constructing a DbSchema resource.
|
|
@@ -283,4 +311,8 @@ export interface DbSchemaArgs {
|
|
|
283
311
|
* Type of the database schema. Valid values are: SCRIPT, REPOSITORY
|
|
284
312
|
*/
|
|
285
313
|
type?: pulumi.Input<string>;
|
|
314
|
+
/**
|
|
315
|
+
* If percona-toolkit is to be enabled for the database schema. Defaults to `false`.
|
|
316
|
+
*/
|
|
317
|
+
usePercona?: pulumi.Input<boolean>;
|
|
286
318
|
}
|
package/platform/dbSchema.js
CHANGED
|
@@ -109,6 +109,26 @@ const utilities = require("../utilities");
|
|
|
109
109
|
* toml: "db/flyway.toml",
|
|
110
110
|
* },
|
|
111
111
|
* });
|
|
112
|
+
* const perconaEnabledTest = new harness.platform.DbSchema("percona_enabled_test", {
|
|
113
|
+
* identifier: "identifier",
|
|
114
|
+
* orgId: "org_id",
|
|
115
|
+
* projectId: "project_id",
|
|
116
|
+
* name: "name",
|
|
117
|
+
* service: "service1",
|
|
118
|
+
* type: "Repository",
|
|
119
|
+
* migrationType: "Liquibase",
|
|
120
|
+
* usePercona: true,
|
|
121
|
+
* tags: [
|
|
122
|
+
* "foo:bar",
|
|
123
|
+
* "bar:foo",
|
|
124
|
+
* ],
|
|
125
|
+
* schemaSource: {
|
|
126
|
+
* connector: "gitConnector",
|
|
127
|
+
* repo: "TestRepo",
|
|
128
|
+
* location: "db/example-changelog.yaml",
|
|
129
|
+
* archivePath: "path/to/archive.zip",
|
|
130
|
+
* },
|
|
131
|
+
* });
|
|
112
132
|
* ```
|
|
113
133
|
*
|
|
114
134
|
* ## Import
|
|
@@ -160,6 +180,7 @@ class DbSchema extends pulumi.CustomResource {
|
|
|
160
180
|
resourceInputs["service"] = state?.service;
|
|
161
181
|
resourceInputs["tags"] = state?.tags;
|
|
162
182
|
resourceInputs["type"] = state?.type;
|
|
183
|
+
resourceInputs["usePercona"] = state?.usePercona;
|
|
163
184
|
}
|
|
164
185
|
else {
|
|
165
186
|
const args = argsOrState;
|
|
@@ -183,6 +204,7 @@ class DbSchema extends pulumi.CustomResource {
|
|
|
183
204
|
resourceInputs["service"] = args?.service;
|
|
184
205
|
resourceInputs["tags"] = args?.tags;
|
|
185
206
|
resourceInputs["type"] = args?.type;
|
|
207
|
+
resourceInputs["usePercona"] = args?.usePercona;
|
|
186
208
|
}
|
|
187
209
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
188
210
|
super(DbSchema.__pulumiType, name, resourceInputs, opts);
|
package/platform/dbSchema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dbSchema.js","sourceRoot":"","sources":["../../platform/dbSchema.ts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cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAhIL,4BAiIC;AAnHG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -92,9 +92,11 @@ class Delegatetoken extends pulumi.CustomResource {
|
|
|
92
92
|
resourceInputs["projectId"] = args?.projectId;
|
|
93
93
|
resourceInputs["revokeAfter"] = args?.revokeAfter;
|
|
94
94
|
resourceInputs["tokenStatus"] = args?.tokenStatus;
|
|
95
|
-
resourceInputs["value"] = args?.value;
|
|
95
|
+
resourceInputs["value"] = args?.value ? pulumi.secret(args.value) : undefined;
|
|
96
96
|
}
|
|
97
97
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
98
|
+
const secretOpts = { additionalSecretOutputs: ["value"] };
|
|
99
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
98
100
|
super(Delegatetoken.__pulumiType, name, resourceInputs, opts);
|
|
99
101
|
}
|
|
100
102
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delegatetoken.js","sourceRoot":"","sources":["../../platform/delegatetoken.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC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6 +45,10 @@ export interface GetDbSchemaArgs {
|
|
|
45
45
|
* Type of the database schema. Valid values are: Repository, Script
|
|
46
46
|
*/
|
|
47
47
|
type?: string;
|
|
48
|
+
/**
|
|
49
|
+
* If percona-toolkit is enabled for the database schema.
|
|
50
|
+
*/
|
|
51
|
+
usePercona?: boolean;
|
|
48
52
|
}
|
|
49
53
|
/**
|
|
50
54
|
* A collection of values returned by getDbSchema.
|
|
@@ -98,6 +102,10 @@ export interface GetDbSchemaResult {
|
|
|
98
102
|
* Type of the database schema. Valid values are: Repository, Script
|
|
99
103
|
*/
|
|
100
104
|
readonly type?: string;
|
|
105
|
+
/**
|
|
106
|
+
* If percona-toolkit is enabled for the database schema.
|
|
107
|
+
*/
|
|
108
|
+
readonly usePercona?: boolean;
|
|
101
109
|
}
|
|
102
110
|
/**
|
|
103
111
|
* Data source for retrieving a Harness DBDevOps Schema.
|
|
@@ -144,4 +152,8 @@ export interface GetDbSchemaOutputArgs {
|
|
|
144
152
|
* Type of the database schema. Valid values are: Repository, Script
|
|
145
153
|
*/
|
|
146
154
|
type?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* If percona-toolkit is enabled for the database schema.
|
|
157
|
+
*/
|
|
158
|
+
usePercona?: pulumi.Input<boolean>;
|
|
147
159
|
}
|
package/platform/getDbSchema.js
CHANGED
|
@@ -30,6 +30,7 @@ function getDbSchema(args, opts) {
|
|
|
30
30
|
"orgId": args.orgId,
|
|
31
31
|
"projectId": args.projectId,
|
|
32
32
|
"type": args.type,
|
|
33
|
+
"usePercona": args.usePercona,
|
|
33
34
|
}, opts);
|
|
34
35
|
}
|
|
35
36
|
exports.getDbSchema = getDbSchema;
|
|
@@ -58,6 +59,7 @@ function getDbSchemaOutput(args, opts) {
|
|
|
58
59
|
"orgId": args.orgId,
|
|
59
60
|
"projectId": args.projectId,
|
|
60
61
|
"type": args.type,
|
|
62
|
+
"usePercona": args.usePercona,
|
|
61
63
|
}, opts);
|
|
62
64
|
}
|
|
63
65
|
exports.getDbSchemaOutput = getDbSchemaOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDbSchema.js","sourceRoot":"","sources":["../../platform/getDbSchema.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;
|
|
1
|
+
{"version":3,"file":"getDbSchema.js","sourceRoot":"","sources":["../../platform/getDbSchema.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;AA6FD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8CAWC"}
|
|
@@ -24,26 +24,12 @@ export declare function getGitopsCluster(args: GetGitopsClusterArgs, opts?: pulu
|
|
|
24
24
|
*/
|
|
25
25
|
export interface GetGitopsClusterArgs {
|
|
26
26
|
/**
|
|
27
|
-
* Account identifier of the GitOps cluster.
|
|
28
|
-
*
|
|
29
27
|
* @deprecated This field is deprecated and will be removed in a future release.
|
|
30
28
|
*/
|
|
31
29
|
accountId?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Agent identifier of the GitOps cluster.
|
|
34
|
-
*/
|
|
35
30
|
agentId: string;
|
|
36
|
-
/**
|
|
37
|
-
* Identifier of the GitOps cluster.
|
|
38
|
-
*/
|
|
39
31
|
identifier: string;
|
|
40
|
-
/**
|
|
41
|
-
* Organization identifier of the cluster.
|
|
42
|
-
*/
|
|
43
32
|
orgId?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Project identifier of the GitOps cluster.
|
|
46
|
-
*/
|
|
47
33
|
projectId?: string;
|
|
48
34
|
}
|
|
49
35
|
/**
|
|
@@ -51,34 +37,17 @@ export interface GetGitopsClusterArgs {
|
|
|
51
37
|
*/
|
|
52
38
|
export interface GetGitopsClusterResult {
|
|
53
39
|
/**
|
|
54
|
-
* Account identifier of the GitOps cluster.
|
|
55
|
-
*
|
|
56
40
|
* @deprecated This field is deprecated and will be removed in a future release.
|
|
57
41
|
*/
|
|
58
42
|
readonly accountId: string;
|
|
59
|
-
/**
|
|
60
|
-
* Agent identifier of the GitOps cluster.
|
|
61
|
-
*/
|
|
62
43
|
readonly agentId: string;
|
|
63
44
|
/**
|
|
64
45
|
* The provider-assigned unique ID for this managed resource.
|
|
65
46
|
*/
|
|
66
47
|
readonly id: string;
|
|
67
|
-
/**
|
|
68
|
-
* Identifier of the GitOps cluster.
|
|
69
|
-
*/
|
|
70
48
|
readonly identifier: string;
|
|
71
|
-
/**
|
|
72
|
-
* Organization identifier of the cluster.
|
|
73
|
-
*/
|
|
74
49
|
readonly orgId?: string;
|
|
75
|
-
/**
|
|
76
|
-
* Project identifier of the GitOps cluster.
|
|
77
|
-
*/
|
|
78
50
|
readonly projectId?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Cluster create or update request.
|
|
81
|
-
*/
|
|
82
51
|
readonly requests: outputs.platform.GetGitopsClusterRequest[];
|
|
83
52
|
}
|
|
84
53
|
/**
|
|
@@ -105,25 +74,11 @@ export declare function getGitopsClusterOutput(args: GetGitopsClusterOutputArgs,
|
|
|
105
74
|
*/
|
|
106
75
|
export interface GetGitopsClusterOutputArgs {
|
|
107
76
|
/**
|
|
108
|
-
* Account identifier of the GitOps cluster.
|
|
109
|
-
*
|
|
110
77
|
* @deprecated This field is deprecated and will be removed in a future release.
|
|
111
78
|
*/
|
|
112
79
|
accountId?: pulumi.Input<string>;
|
|
113
|
-
/**
|
|
114
|
-
* Agent identifier of the GitOps cluster.
|
|
115
|
-
*/
|
|
116
80
|
agentId: pulumi.Input<string>;
|
|
117
|
-
/**
|
|
118
|
-
* Identifier of the GitOps cluster.
|
|
119
|
-
*/
|
|
120
81
|
identifier: pulumi.Input<string>;
|
|
121
|
-
/**
|
|
122
|
-
* Organization identifier of the cluster.
|
|
123
|
-
*/
|
|
124
82
|
orgId?: pulumi.Input<string>;
|
|
125
|
-
/**
|
|
126
|
-
* Project identifier of the GitOps cluster.
|
|
127
|
-
*/
|
|
128
83
|
projectId?: pulumi.Input<string>;
|
|
129
84
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGitopsCluster.js","sourceRoot":"","sources":["../../platform/getGitopsCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC;
|
|
1
|
+
{"version":3,"file":"getGitopsCluster.js","sourceRoot":"","sources":["../../platform/getGitopsCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC;AAkCD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wDASC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data source for retrieving a Terraform/OpenTofu Provider from the IaCM Provider Registry.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as harness from "@pulumi/harness";
|
|
11
|
+
*
|
|
12
|
+
* const aws = harness.platform.getInfraProvider({
|
|
13
|
+
* id: "123",
|
|
14
|
+
* });
|
|
15
|
+
* export const providerType = aws.then(aws => aws.type);
|
|
16
|
+
* export const providerVersions = aws.then(aws => aws.versions);
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getInfraProvider(args: GetInfraProviderArgs, opts?: pulumi.InvokeOptions): Promise<GetInfraProviderResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getInfraProvider.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetInfraProviderArgs {
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier of the provider.
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getInfraProvider.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetInfraProviderResult {
|
|
33
|
+
/**
|
|
34
|
+
* Account that owns the provider.
|
|
35
|
+
*/
|
|
36
|
+
readonly account: string;
|
|
37
|
+
/**
|
|
38
|
+
* Timestamp when the provider was created.
|
|
39
|
+
*/
|
|
40
|
+
readonly created: number;
|
|
41
|
+
/**
|
|
42
|
+
* Description of the provider.
|
|
43
|
+
*/
|
|
44
|
+
readonly description: string;
|
|
45
|
+
/**
|
|
46
|
+
* Unique identifier of the provider.
|
|
47
|
+
*/
|
|
48
|
+
readonly id: string;
|
|
49
|
+
/**
|
|
50
|
+
* Provider type (e.g., aws, azurerm, google).
|
|
51
|
+
*/
|
|
52
|
+
readonly type: string;
|
|
53
|
+
/**
|
|
54
|
+
* Timestamp when the provider was last updated.
|
|
55
|
+
*/
|
|
56
|
+
readonly updated: number;
|
|
57
|
+
/**
|
|
58
|
+
* List of provider versions.
|
|
59
|
+
*/
|
|
60
|
+
readonly versions: outputs.platform.GetInfraProviderVersion[];
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Data source for retrieving a Terraform/OpenTofu Provider from the IaCM Provider Registry.
|
|
64
|
+
*
|
|
65
|
+
* ## Example Usage
|
|
66
|
+
*
|
|
67
|
+
* ```typescript
|
|
68
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
69
|
+
* import * as harness from "@pulumi/harness";
|
|
70
|
+
*
|
|
71
|
+
* const aws = harness.platform.getInfraProvider({
|
|
72
|
+
* id: "123",
|
|
73
|
+
* });
|
|
74
|
+
* export const providerType = aws.then(aws => aws.type);
|
|
75
|
+
* export const providerVersions = aws.then(aws => aws.versions);
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
export declare function getInfraProviderOutput(args: GetInfraProviderOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInfraProviderResult>;
|
|
79
|
+
/**
|
|
80
|
+
* A collection of arguments for invoking getInfraProvider.
|
|
81
|
+
*/
|
|
82
|
+
export interface GetInfraProviderOutputArgs {
|
|
83
|
+
/**
|
|
84
|
+
* Unique identifier of the provider.
|
|
85
|
+
*/
|
|
86
|
+
id: pulumi.Input<string>;
|
|
87
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.getInfraProviderOutput = exports.getInfraProvider = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data source for retrieving a Terraform/OpenTofu Provider from the IaCM Provider Registry.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as harness from "@pulumi/harness";
|
|
16
|
+
*
|
|
17
|
+
* const aws = harness.platform.getInfraProvider({
|
|
18
|
+
* id: "123",
|
|
19
|
+
* });
|
|
20
|
+
* export const providerType = aws.then(aws => aws.type);
|
|
21
|
+
* export const providerVersions = aws.then(aws => aws.versions);
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getInfraProvider(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("harness:platform/getInfraProvider:getInfraProvider", {
|
|
27
|
+
"id": args.id,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getInfraProvider = getInfraProvider;
|
|
31
|
+
/**
|
|
32
|
+
* Data source for retrieving a Terraform/OpenTofu Provider from the IaCM Provider Registry.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as harness from "@pulumi/harness";
|
|
39
|
+
*
|
|
40
|
+
* const aws = harness.platform.getInfraProvider({
|
|
41
|
+
* id: "123",
|
|
42
|
+
* });
|
|
43
|
+
* export const providerType = aws.then(aws => aws.type);
|
|
44
|
+
* export const providerVersions = aws.then(aws => aws.versions);
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getInfraProviderOutput(args, opts) {
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invokeOutput("harness:platform/getInfraProvider:getInfraProvider", {
|
|
50
|
+
"id": args.id,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getInfraProviderOutput = getInfraProviderOutput;
|
|
54
|
+
//# sourceMappingURL=getInfraProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getInfraProvider.js","sourceRoot":"","sources":["../../platform/getInfraProvider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC;AA6CD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wDAKC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data source for retrieving a GPG Signing Key from the IaCM Provider Registry.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as harness from "@pulumi/harness";
|
|
10
|
+
*
|
|
11
|
+
* const example = harness.platform.getInfraProviderSigningKey({
|
|
12
|
+
* id: "signing_key_id",
|
|
13
|
+
* });
|
|
14
|
+
* export const keyId = example.then(example => example.keyId);
|
|
15
|
+
* export const keyName = example.then(example => example.keyName);
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getInfraProviderSigningKey(args: GetInfraProviderSigningKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetInfraProviderSigningKeyResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getInfraProviderSigningKey.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetInfraProviderSigningKeyArgs {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier of the signing key.
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* A collection of values returned by getInfraProviderSigningKey.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetInfraProviderSigningKeyResult {
|
|
32
|
+
/**
|
|
33
|
+
* ASCII-armored GPG public key.
|
|
34
|
+
*/
|
|
35
|
+
readonly asciiArmor: string;
|
|
36
|
+
/**
|
|
37
|
+
* Creation timestamp.
|
|
38
|
+
*/
|
|
39
|
+
readonly createdAt: string;
|
|
40
|
+
/**
|
|
41
|
+
* Unique identifier of the signing key.
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* GPG key ID.
|
|
46
|
+
*/
|
|
47
|
+
readonly keyId: string;
|
|
48
|
+
/**
|
|
49
|
+
* GPG key name.
|
|
50
|
+
*/
|
|
51
|
+
readonly keyName: string;
|
|
52
|
+
/**
|
|
53
|
+
* Last updated timestamp.
|
|
54
|
+
*/
|
|
55
|
+
readonly updatedAt: string;
|
|
56
|
+
/**
|
|
57
|
+
* User who uploaded the key.
|
|
58
|
+
*/
|
|
59
|
+
readonly user: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Data source for retrieving a GPG Signing Key from the IaCM Provider Registry.
|
|
63
|
+
*
|
|
64
|
+
* ## Example Usage
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as harness from "@pulumi/harness";
|
|
69
|
+
*
|
|
70
|
+
* const example = harness.platform.getInfraProviderSigningKey({
|
|
71
|
+
* id: "signing_key_id",
|
|
72
|
+
* });
|
|
73
|
+
* export const keyId = example.then(example => example.keyId);
|
|
74
|
+
* export const keyName = example.then(example => example.keyName);
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
export declare function getInfraProviderSigningKeyOutput(args: GetInfraProviderSigningKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInfraProviderSigningKeyResult>;
|
|
78
|
+
/**
|
|
79
|
+
* A collection of arguments for invoking getInfraProviderSigningKey.
|
|
80
|
+
*/
|
|
81
|
+
export interface GetInfraProviderSigningKeyOutputArgs {
|
|
82
|
+
/**
|
|
83
|
+
* Unique identifier of the signing key.
|
|
84
|
+
*/
|
|
85
|
+
id: pulumi.Input<string>;
|
|
86
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.getInfraProviderSigningKeyOutput = exports.getInfraProviderSigningKey = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data source for retrieving a GPG Signing Key from the IaCM Provider Registry.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as harness from "@pulumi/harness";
|
|
16
|
+
*
|
|
17
|
+
* const example = harness.platform.getInfraProviderSigningKey({
|
|
18
|
+
* id: "signing_key_id",
|
|
19
|
+
* });
|
|
20
|
+
* export const keyId = example.then(example => example.keyId);
|
|
21
|
+
* export const keyName = example.then(example => example.keyName);
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getInfraProviderSigningKey(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("harness:platform/getInfraProviderSigningKey:getInfraProviderSigningKey", {
|
|
27
|
+
"id": args.id,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getInfraProviderSigningKey = getInfraProviderSigningKey;
|
|
31
|
+
/**
|
|
32
|
+
* Data source for retrieving a GPG Signing Key from the IaCM Provider Registry.
|
|
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.getInfraProviderSigningKey({
|
|
41
|
+
* id: "signing_key_id",
|
|
42
|
+
* });
|
|
43
|
+
* export const keyId = example.then(example => example.keyId);
|
|
44
|
+
* export const keyName = example.then(example => example.keyName);
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getInfraProviderSigningKeyOutput(args, opts) {
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invokeOutput("harness:platform/getInfraProviderSigningKey:getInfraProviderSigningKey", {
|
|
50
|
+
"id": args.id,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getInfraProviderSigningKeyOutput = getInfraProviderSigningKeyOutput;
|
|
54
|
+
//# sourceMappingURL=getInfraProviderSigningKey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getInfraProviderSigningKey.js","sourceRoot":"","sources":["../../platform/getInfraProviderSigningKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC;AA6CD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAAiC;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wEAAwE,EAAE;QACzG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4EAKC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data source for listing GPG Signing Keys from the IaCM Provider Registry.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as harness from "@pulumi/harness";
|
|
11
|
+
*
|
|
12
|
+
* const all = harness.platform.getInfraProviderSigningKeys({});
|
|
13
|
+
* export const allSigningKeys = all.then(all => all.signingKeys);
|
|
14
|
+
* const hashicorpKey = all.then(all => .filter(key => key.keyId == "51852D87348FFC4C").map(key => (key)));
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getInfraProviderSigningKeys(opts?: pulumi.InvokeOptions): Promise<GetInfraProviderSigningKeysResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of values returned by getInfraProviderSigningKeys.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetInfraProviderSigningKeysResult {
|
|
22
|
+
/**
|
|
23
|
+
* The provider-assigned unique ID for this managed resource.
|
|
24
|
+
*/
|
|
25
|
+
readonly id: string;
|
|
26
|
+
/**
|
|
27
|
+
* List of signing keys.
|
|
28
|
+
*/
|
|
29
|
+
readonly signingKeys: outputs.platform.GetInfraProviderSigningKeysSigningKey[];
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Data source for listing GPG Signing Keys from the IaCM Provider Registry.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as harness from "@pulumi/harness";
|
|
39
|
+
*
|
|
40
|
+
* const all = harness.platform.getInfraProviderSigningKeys({});
|
|
41
|
+
* export const allSigningKeys = all.then(all => all.signingKeys);
|
|
42
|
+
* const hashicorpKey = all.then(all => .filter(key => key.keyId == "51852D87348FFC4C").map(key => (key)));
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare function getInfraProviderSigningKeysOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInfraProviderSigningKeysResult>;
|