@pulumiverse/buildkite 3.1.6 → 3.2.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/agent/agentToken.d.ts +0 -2
- package/agent/agentToken.js +6 -8
- package/agent/agentToken.js.map +1 -1
- package/agent/index.js +1 -1
- package/agent/index.js.map +1 -1
- package/cluster/cluster.d.ts +4 -4
- package/cluster/cluster.js +15 -15
- package/cluster/cluster.js.map +1 -1
- package/cluster/clusterAgentToken.d.ts +5 -5
- package/cluster/clusterAgentToken.js +18 -18
- package/cluster/clusterAgentToken.js.map +1 -1
- package/cluster/clusterDefaultQueue.d.ts +15 -8
- package/cluster/clusterDefaultQueue.js +18 -17
- package/cluster/clusterDefaultQueue.js.map +1 -1
- package/cluster/clusterMaintainer.d.ts +159 -0
- package/cluster/clusterMaintainer.js +107 -0
- package/cluster/clusterMaintainer.js.map +1 -0
- package/cluster/clusterQueue.d.ts +64 -4
- package/cluster/clusterQueue.js +44 -16
- package/cluster/clusterQueue.js.map +1 -1
- package/cluster/clusterSecret.d.ts +148 -0
- package/cluster/clusterSecret.js +108 -0
- package/cluster/clusterSecret.js.map +1 -0
- package/cluster/getCluster.d.ts +12 -9
- package/cluster/getCluster.js +11 -10
- package/cluster/getCluster.js.map +1 -1
- package/cluster/getClusters.d.ts +22 -0
- package/cluster/getClusters.js +26 -0
- package/cluster/getClusters.js.map +1 -0
- package/cluster/index.d.ts +9 -0
- package/cluster/index.js +15 -2
- package/cluster/index.js.map +1 -1
- package/config/index.js +1 -1
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +7 -6
- package/config/vars.js +7 -1
- package/config/vars.js.map +1 -1
- package/getMeta.d.ts +21 -19
- package/getMeta.js +23 -20
- package/getMeta.js.map +1 -1
- package/index.d.ts +1 -3
- package/index.js +19 -5
- package/index.js.map +1 -1
- package/organization/banner.d.ts +2 -4
- package/organization/banner.js +8 -10
- package/organization/banner.js.map +1 -1
- package/organization/getMember.d.ts +94 -0
- package/organization/getMember.js +74 -0
- package/organization/getMember.js.map +1 -0
- package/organization/getMembers.d.ts +40 -0
- package/organization/getMembers.js +44 -0
- package/organization/getMembers.js.map +1 -0
- package/organization/getOrganization.d.ts +1 -1
- package/organization/getOrganization.js +3 -2
- package/organization/getOrganization.js.map +1 -1
- package/organization/getPortal.d.ts +95 -0
- package/organization/getPortal.js +50 -0
- package/organization/getPortal.js.map +1 -0
- package/organization/getPortals.d.ts +40 -0
- package/organization/getPortals.js +44 -0
- package/organization/getPortals.js.map +1 -0
- package/organization/getRegistry.d.ts +78 -0
- package/organization/getRegistry.js +34 -0
- package/organization/getRegistry.js.map +1 -0
- package/organization/getRule.d.ts +124 -0
- package/organization/getRule.js +72 -0
- package/organization/getRule.js.map +1 -0
- package/organization/index.d.ts +27 -0
- package/organization/index.js +35 -2
- package/organization/index.js.map +1 -1
- package/organization/organization.d.ts +3 -3
- package/organization/organization.js +10 -10
- package/organization/organization.js.map +1 -1
- package/organization/portal.d.ts +217 -0
- package/organization/portal.js +150 -0
- package/organization/portal.js.map +1 -0
- package/organization/registry.d.ts +161 -0
- package/organization/registry.js +87 -0
- package/organization/registry.js.map +1 -0
- package/organization/rule.d.ts +267 -0
- package/organization/rule.js +212 -0
- package/organization/rule.js.map +1 -0
- package/package.json +2 -1
- package/pipeline/getPipeline.d.ts +11 -7
- package/pipeline/getPipeline.js +7 -8
- package/pipeline/getPipeline.js.map +1 -1
- package/pipeline/getSignedSteps.d.ts +8 -49
- package/pipeline/getSignedSteps.js +13 -50
- package/pipeline/getSignedSteps.js.map +1 -1
- package/pipeline/getTemplate.d.ts +9 -11
- package/pipeline/getTemplate.js +15 -12
- package/pipeline/getTemplate.js.map +1 -1
- package/pipeline/index.d.ts +3 -0
- package/pipeline/index.js +7 -2
- package/pipeline/index.js.map +1 -1
- package/pipeline/pipeline.d.ts +30 -14
- package/pipeline/pipeline.js +54 -48
- package/pipeline/pipeline.js.map +1 -1
- package/pipeline/schedule.d.ts +8 -7
- package/pipeline/schedule.js +31 -30
- package/pipeline/schedule.js.map +1 -1
- package/pipeline/team.d.ts +8 -6
- package/pipeline/team.js +20 -18
- package/pipeline/team.js.map +1 -1
- package/pipeline/template.d.ts +11 -11
- package/pipeline/template.js +23 -23
- package/pipeline/template.js.map +1 -1
- package/pipeline/webhook.d.ts +120 -0
- package/pipeline/webhook.js +111 -0
- package/pipeline/webhook.js.map +1 -0
- package/provider.d.ts +24 -24
- package/provider.js +16 -7
- package/provider.js.map +1 -1
- package/team/getTeam.d.ts +21 -9
- package/team/getTeam.js +11 -10
- package/team/getTeam.js.map +1 -1
- package/team/getTeams.d.ts +22 -0
- package/team/getTeams.js +26 -0
- package/team/getTeams.js.map +1 -0
- package/team/index.d.ts +3 -0
- package/team/index.js +5 -2
- package/team/index.js.map +1 -1
- package/team/member.d.ts +4 -5
- package/team/member.js +16 -17
- package/team/member.js.map +1 -1
- package/team/team.d.ts +54 -7
- package/team/team.js +32 -25
- package/team/team.js.map +1 -1
- package/testsuite/getTestSuite.d.ts +90 -0
- package/testsuite/getTestSuite.js +66 -0
- package/testsuite/getTestSuite.js.map +1 -0
- package/testsuite/index.d.ts +3 -0
- package/testsuite/index.js +5 -2
- package/testsuite/index.js.map +1 -1
- package/testsuite/team.d.ts +4 -5
- package/testsuite/team.js +16 -17
- package/testsuite/team.js.map +1 -1
- package/testsuite/testSuite.d.ts +50 -2
- package/testsuite/testSuite.js +53 -15
- package/testsuite/testSuite.js.map +1 -1
- package/types/index.js +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +81 -5
- package/types/input.js +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +323 -5
- package/types/output.js +1 -1
- package/types/output.js.map +1 -1
- package/utilities.d.ts +0 -4
- package/utilities.js +20 -30
- package/utilities.js.map +1 -1
- package/package.json.bak +0 -28
package/getMeta.d.ts
CHANGED
|
@@ -7,22 +7,23 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
10
|
-
* <!--Start PulumiCodeChooser -->
|
|
11
10
|
* ```typescript
|
|
12
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
12
|
* import * as aws from "@pulumi/aws";
|
|
14
|
-
* import * as buildkite from "@
|
|
13
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
15
14
|
*
|
|
16
15
|
* const ips = buildkite.getMeta({});
|
|
17
16
|
* // Create an AWS security group allowing ingress from Buildkite
|
|
18
|
-
* const fromBuildkite = new aws.ec2.SecurityGroup("
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
17
|
+
* const fromBuildkite = new aws.ec2.SecurityGroup("from_buildkite", {
|
|
18
|
+
* name: "from_buildkite",
|
|
19
|
+
* ingress: [{
|
|
20
|
+
* fromPort: "*",
|
|
21
|
+
* toPort: 443,
|
|
22
|
+
* protocol: "tcp",
|
|
23
|
+
* cidrBlocks: ips.then(ips => ips.webhookIps),
|
|
24
|
+
* }],
|
|
25
|
+
* });
|
|
24
26
|
* ```
|
|
25
|
-
* <!--End PulumiCodeChooser -->
|
|
26
27
|
*/
|
|
27
28
|
export declare function getMeta(opts?: pulumi.InvokeOptions): Promise<GetMetaResult>;
|
|
28
29
|
/**
|
|
@@ -46,21 +47,22 @@ export interface GetMetaResult {
|
|
|
46
47
|
*
|
|
47
48
|
* ## Example Usage
|
|
48
49
|
*
|
|
49
|
-
* <!--Start PulumiCodeChooser -->
|
|
50
50
|
* ```typescript
|
|
51
51
|
* import * as pulumi from "@pulumi/pulumi";
|
|
52
52
|
* import * as aws from "@pulumi/aws";
|
|
53
|
-
* import * as buildkite from "@
|
|
53
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
54
54
|
*
|
|
55
55
|
* const ips = buildkite.getMeta({});
|
|
56
56
|
* // Create an AWS security group allowing ingress from Buildkite
|
|
57
|
-
* const fromBuildkite = new aws.ec2.SecurityGroup("
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
57
|
+
* const fromBuildkite = new aws.ec2.SecurityGroup("from_buildkite", {
|
|
58
|
+
* name: "from_buildkite",
|
|
59
|
+
* ingress: [{
|
|
60
|
+
* fromPort: "*",
|
|
61
|
+
* toPort: 443,
|
|
62
|
+
* protocol: "tcp",
|
|
63
|
+
* cidrBlocks: ips.then(ips => ips.webhookIps),
|
|
64
|
+
* }],
|
|
65
|
+
* });
|
|
63
66
|
* ```
|
|
64
|
-
* <!--End PulumiCodeChooser -->
|
|
65
67
|
*/
|
|
66
|
-
export declare function getMetaOutput(opts?: pulumi.
|
|
68
|
+
export declare function getMetaOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMetaResult>;
|
package/getMeta.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.getMetaOutput = exports.getMeta = void 0;
|
|
@@ -13,22 +13,23 @@ const utilities = require("./utilities");
|
|
|
13
13
|
*
|
|
14
14
|
* ## Example Usage
|
|
15
15
|
*
|
|
16
|
-
* <!--Start PulumiCodeChooser -->
|
|
17
16
|
* ```typescript
|
|
18
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
18
|
* import * as aws from "@pulumi/aws";
|
|
20
|
-
* import * as buildkite from "@
|
|
19
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
21
20
|
*
|
|
22
21
|
* const ips = buildkite.getMeta({});
|
|
23
22
|
* // Create an AWS security group allowing ingress from Buildkite
|
|
24
|
-
* const fromBuildkite = new aws.ec2.SecurityGroup("
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
23
|
+
* const fromBuildkite = new aws.ec2.SecurityGroup("from_buildkite", {
|
|
24
|
+
* name: "from_buildkite",
|
|
25
|
+
* ingress: [{
|
|
26
|
+
* fromPort: "*",
|
|
27
|
+
* toPort: 443,
|
|
28
|
+
* protocol: "tcp",
|
|
29
|
+
* cidrBlocks: ips.then(ips => ips.webhookIps),
|
|
30
|
+
* }],
|
|
31
|
+
* });
|
|
30
32
|
* ```
|
|
31
|
-
* <!--End PulumiCodeChooser -->
|
|
32
33
|
*/
|
|
33
34
|
function getMeta(opts) {
|
|
34
35
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -43,25 +44,27 @@ exports.getMeta = getMeta;
|
|
|
43
44
|
*
|
|
44
45
|
* ## Example Usage
|
|
45
46
|
*
|
|
46
|
-
* <!--Start PulumiCodeChooser -->
|
|
47
47
|
* ```typescript
|
|
48
48
|
* import * as pulumi from "@pulumi/pulumi";
|
|
49
49
|
* import * as aws from "@pulumi/aws";
|
|
50
|
-
* import * as buildkite from "@
|
|
50
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
51
51
|
*
|
|
52
52
|
* const ips = buildkite.getMeta({});
|
|
53
53
|
* // Create an AWS security group allowing ingress from Buildkite
|
|
54
|
-
* const fromBuildkite = new aws.ec2.SecurityGroup("
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
54
|
+
* const fromBuildkite = new aws.ec2.SecurityGroup("from_buildkite", {
|
|
55
|
+
* name: "from_buildkite",
|
|
56
|
+
* ingress: [{
|
|
57
|
+
* fromPort: "*",
|
|
58
|
+
* toPort: 443,
|
|
59
|
+
* protocol: "tcp",
|
|
60
|
+
* cidrBlocks: ips.then(ips => ips.webhookIps),
|
|
61
|
+
* }],
|
|
62
|
+
* });
|
|
60
63
|
* ```
|
|
61
|
-
* <!--End PulumiCodeChooser -->
|
|
62
64
|
*/
|
|
63
65
|
function getMetaOutput(opts) {
|
|
64
|
-
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
67
|
+
return pulumi.runtime.invokeOutput("buildkite:index/getMeta:getMeta", {}, opts);
|
|
65
68
|
}
|
|
66
69
|
exports.getMetaOutput = getMetaOutput;
|
|
67
70
|
//# sourceMappingURL=getMeta.js.map
|
package/getMeta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMeta.js","sourceRoot":"","sources":["../getMeta.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getMeta.js","sourceRoot":"","sources":["../getMeta.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,OAAO,CAAC,IAA2B;IAC/C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE,EAC/D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0BAIC;AAeD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,aAAa,CAAC,IAAiC;IAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE,EACrE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC"}
|
package/index.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
export { GetMetaResult } from "./getMeta";
|
|
2
2
|
export declare const getMeta: typeof import("./getMeta").getMeta;
|
|
3
3
|
export declare const getMetaOutput: typeof import("./getMeta").getMetaOutput;
|
|
4
|
-
export
|
|
5
|
-
export type Provider = import("./provider").Provider;
|
|
6
|
-
export declare const Provider: typeof import("./provider").Provider;
|
|
4
|
+
export * from "./provider";
|
|
7
5
|
import * as agent from "./agent";
|
|
8
6
|
import * as cluster from "./cluster";
|
|
9
7
|
import * as config from "./config";
|
package/index.js
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
4
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.types = exports.testsuite = exports.team = exports.pipeline = exports.organization = exports.config = exports.cluster = exports.agent = exports.
|
|
19
|
+
exports.types = exports.testsuite = exports.team = exports.pipeline = exports.organization = exports.config = exports.cluster = exports.agent = exports.getMetaOutput = exports.getMeta = void 0;
|
|
6
20
|
const pulumi = require("@pulumi/pulumi");
|
|
7
21
|
const utilities = require("./utilities");
|
|
8
22
|
exports.getMeta = null;
|
|
9
23
|
exports.getMetaOutput = null;
|
|
10
24
|
utilities.lazyLoad(exports, ["getMeta", "getMetaOutput"], () => require("./getMeta"));
|
|
11
|
-
exports
|
|
12
|
-
|
|
25
|
+
__exportStar(require("./provider"), exports);
|
|
26
|
+
const provider_1 = require("./provider");
|
|
13
27
|
// Export sub-modules:
|
|
14
28
|
const agent = require("./agent");
|
|
15
29
|
exports.agent = agent;
|
|
@@ -33,7 +47,7 @@ pulumi.runtime.registerResourcePackage("buildkite", {
|
|
|
33
47
|
if (type !== "pulumi:providers:buildkite") {
|
|
34
48
|
throw new Error(`unknown provider type ${type}`);
|
|
35
49
|
}
|
|
36
|
-
return new
|
|
50
|
+
return new provider_1.Provider(name, undefined, { urn });
|
|
37
51
|
},
|
|
38
52
|
});
|
|
39
53
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAI5B,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAErF,6CAA2B;AAC3B,yCAAsC;AAGtC,sBAAsB;AACtB,iCAAiC;AAU7B,sBAAK;AATT,qCAAqC;AAUjC,0BAAO;AATX,mCAAmC;AAU/B,wBAAM;AATV,+CAA+C;AAU3C,oCAAY;AAThB,uCAAuC;AAUnC,4BAAQ;AATZ,+BAA+B;AAU3B,oBAAI;AATR,yCAAyC;AAUrC,8BAAS;AATb,iCAAiC;AAU7B,sBAAK;AAET,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,WAAW,EAAE;IAChD,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,4BAA4B,EAAE;YACvC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/organization/banner.d.ts
CHANGED
|
@@ -6,20 +6,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
-
* <!--Start PulumiCodeChooser -->
|
|
10
9
|
* ```typescript
|
|
11
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
11
|
* import * as buildkite from "@pulumiverse/buildkite";
|
|
13
12
|
*
|
|
14
13
|
* const banner = new buildkite.organization.Banner("banner", {message: ":warning: Please be aware of the maintenance window this weekend!"});
|
|
15
14
|
* ```
|
|
16
|
-
* <!--End PulumiCodeChooser -->
|
|
17
15
|
*
|
|
18
16
|
* ## Import
|
|
19
17
|
*
|
|
20
|
-
*
|
|
18
|
+
* Using `pulumi import`, import resources using the `id`. For example:
|
|
21
19
|
*
|
|
22
|
-
*
|
|
20
|
+
* import an organization banner resource using the banner's GraphQL ID
|
|
23
21
|
*
|
|
24
22
|
* you can use this query to find the banner's ID:
|
|
25
23
|
*
|
package/organization/banner.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.Banner = void 0;
|
|
@@ -12,20 +12,18 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
-
* <!--Start PulumiCodeChooser -->
|
|
16
15
|
* ```typescript
|
|
17
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
17
|
* import * as buildkite from "@pulumiverse/buildkite";
|
|
19
18
|
*
|
|
20
19
|
* const banner = new buildkite.organization.Banner("banner", {message: ":warning: Please be aware of the maintenance window this weekend!"});
|
|
21
20
|
* ```
|
|
22
|
-
* <!--End PulumiCodeChooser -->
|
|
23
21
|
*
|
|
24
22
|
* ## Import
|
|
25
23
|
*
|
|
26
|
-
*
|
|
24
|
+
* Using `pulumi import`, import resources using the `id`. For example:
|
|
27
25
|
*
|
|
28
|
-
*
|
|
26
|
+
* import an organization banner resource using the banner's GraphQL ID
|
|
29
27
|
*
|
|
30
28
|
* you can use this query to find the banner's ID:
|
|
31
29
|
*
|
|
@@ -66,7 +64,7 @@ class Banner extends pulumi.CustomResource {
|
|
|
66
64
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
67
65
|
*/
|
|
68
66
|
static get(name, id, state, opts) {
|
|
69
|
-
return new Banner(name, state,
|
|
67
|
+
return new Banner(name, state, { ...opts, id: id });
|
|
70
68
|
}
|
|
71
69
|
/**
|
|
72
70
|
* Returns true if the given object is an instance of Banner. This is designed to work even
|
|
@@ -83,15 +81,15 @@ class Banner extends pulumi.CustomResource {
|
|
|
83
81
|
opts = opts || {};
|
|
84
82
|
if (opts.id) {
|
|
85
83
|
const state = argsOrState;
|
|
86
|
-
resourceInputs["message"] = state
|
|
87
|
-
resourceInputs["uuid"] = state
|
|
84
|
+
resourceInputs["message"] = state?.message;
|
|
85
|
+
resourceInputs["uuid"] = state?.uuid;
|
|
88
86
|
}
|
|
89
87
|
else {
|
|
90
88
|
const args = argsOrState;
|
|
91
|
-
if (
|
|
89
|
+
if (args?.message === undefined && !opts.urn) {
|
|
92
90
|
throw new Error("Missing required property 'message'");
|
|
93
91
|
}
|
|
94
|
-
resourceInputs["message"] = args
|
|
92
|
+
resourceInputs["message"] = args?.message;
|
|
95
93
|
resourceInputs["uuid"] = undefined /*out*/;
|
|
96
94
|
}
|
|
97
95
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banner.js","sourceRoot":"","sources":["../../organization/banner.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"banner.js","sourceRoot":"","sources":["../../organization/banner.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA9DL,wBA+DC;AAjDG,gBAAgB;AACO,mBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to retrieve a specific organization member, using their email. You can find out more about organization members in the Buildkite
|
|
4
|
+
* [documentation](https://buildkite.com/docs/platform/team-management).
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
11
|
+
*
|
|
12
|
+
* const aSmith = buildkite.Organization.getMember({
|
|
13
|
+
* email: "a.smith@company.com",
|
|
14
|
+
* });
|
|
15
|
+
* const developers = new buildkite.team.Team("developers", {
|
|
16
|
+
* name: "Developers",
|
|
17
|
+
* privacy: "VISIBLE",
|
|
18
|
+
* defaultTeam: false,
|
|
19
|
+
* defaultMemberRole: "MEMBER",
|
|
20
|
+
* });
|
|
21
|
+
* const developersASmith = new buildkite.team.Member("developers_a_smith", {
|
|
22
|
+
* teamId: developers.id,
|
|
23
|
+
* userId: aSmith.then(aSmith => aSmith.id),
|
|
24
|
+
* role: "MEMBER",
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare function getMember(args: GetMemberArgs, opts?: pulumi.InvokeOptions): Promise<GetMemberResult>;
|
|
29
|
+
/**
|
|
30
|
+
* A collection of arguments for invoking getMember.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetMemberArgs {
|
|
33
|
+
/**
|
|
34
|
+
* The email address of the organization member.
|
|
35
|
+
*/
|
|
36
|
+
email: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A collection of values returned by getMember.
|
|
40
|
+
*/
|
|
41
|
+
export interface GetMemberResult {
|
|
42
|
+
/**
|
|
43
|
+
* The email address of the organization member.
|
|
44
|
+
*/
|
|
45
|
+
readonly email: string;
|
|
46
|
+
/**
|
|
47
|
+
* The GraphQL ID of the organization member.
|
|
48
|
+
*/
|
|
49
|
+
readonly id: string;
|
|
50
|
+
/**
|
|
51
|
+
* The name of the organization member.
|
|
52
|
+
*/
|
|
53
|
+
readonly name: string;
|
|
54
|
+
/**
|
|
55
|
+
* The UUID of the organization member.
|
|
56
|
+
*/
|
|
57
|
+
readonly uuid: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Use this data source to retrieve a specific organization member, using their email. You can find out more about organization members in the Buildkite
|
|
61
|
+
* [documentation](https://buildkite.com/docs/platform/team-management).
|
|
62
|
+
*
|
|
63
|
+
* ## Example Usage
|
|
64
|
+
*
|
|
65
|
+
* ```typescript
|
|
66
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
67
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
68
|
+
*
|
|
69
|
+
* const aSmith = buildkite.Organization.getMember({
|
|
70
|
+
* email: "a.smith@company.com",
|
|
71
|
+
* });
|
|
72
|
+
* const developers = new buildkite.team.Team("developers", {
|
|
73
|
+
* name: "Developers",
|
|
74
|
+
* privacy: "VISIBLE",
|
|
75
|
+
* defaultTeam: false,
|
|
76
|
+
* defaultMemberRole: "MEMBER",
|
|
77
|
+
* });
|
|
78
|
+
* const developersASmith = new buildkite.team.Member("developers_a_smith", {
|
|
79
|
+
* teamId: developers.id,
|
|
80
|
+
* userId: aSmith.then(aSmith => aSmith.id),
|
|
81
|
+
* role: "MEMBER",
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
export declare function getMemberOutput(args: GetMemberOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMemberResult>;
|
|
86
|
+
/**
|
|
87
|
+
* A collection of arguments for invoking getMember.
|
|
88
|
+
*/
|
|
89
|
+
export interface GetMemberOutputArgs {
|
|
90
|
+
/**
|
|
91
|
+
* The email address of the organization member.
|
|
92
|
+
*/
|
|
93
|
+
email: pulumi.Input<string>;
|
|
94
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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.getMemberOutput = exports.getMember = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve a specific organization member, using their email. You can find out more about organization members in the Buildkite
|
|
10
|
+
* [documentation](https://buildkite.com/docs/platform/team-management).
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
17
|
+
*
|
|
18
|
+
* const aSmith = buildkite.Organization.getMember({
|
|
19
|
+
* email: "a.smith@company.com",
|
|
20
|
+
* });
|
|
21
|
+
* const developers = new buildkite.team.Team("developers", {
|
|
22
|
+
* name: "Developers",
|
|
23
|
+
* privacy: "VISIBLE",
|
|
24
|
+
* defaultTeam: false,
|
|
25
|
+
* defaultMemberRole: "MEMBER",
|
|
26
|
+
* });
|
|
27
|
+
* const developersASmith = new buildkite.team.Member("developers_a_smith", {
|
|
28
|
+
* teamId: developers.id,
|
|
29
|
+
* userId: aSmith.then(aSmith => aSmith.id),
|
|
30
|
+
* role: "MEMBER",
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
function getMember(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("buildkite:Organization/getMember:getMember", {
|
|
37
|
+
"email": args.email,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getMember = getMember;
|
|
41
|
+
/**
|
|
42
|
+
* Use this data source to retrieve a specific organization member, using their email. You can find out more about organization members in the Buildkite
|
|
43
|
+
* [documentation](https://buildkite.com/docs/platform/team-management).
|
|
44
|
+
*
|
|
45
|
+
* ## Example Usage
|
|
46
|
+
*
|
|
47
|
+
* ```typescript
|
|
48
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
50
|
+
*
|
|
51
|
+
* const aSmith = buildkite.Organization.getMember({
|
|
52
|
+
* email: "a.smith@company.com",
|
|
53
|
+
* });
|
|
54
|
+
* const developers = new buildkite.team.Team("developers", {
|
|
55
|
+
* name: "Developers",
|
|
56
|
+
* privacy: "VISIBLE",
|
|
57
|
+
* defaultTeam: false,
|
|
58
|
+
* defaultMemberRole: "MEMBER",
|
|
59
|
+
* });
|
|
60
|
+
* const developersASmith = new buildkite.team.Member("developers_a_smith", {
|
|
61
|
+
* teamId: developers.id,
|
|
62
|
+
* userId: aSmith.then(aSmith => aSmith.id),
|
|
63
|
+
* role: "MEMBER",
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
function getMemberOutput(args, opts) {
|
|
68
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
69
|
+
return pulumi.runtime.invokeOutput("buildkite:Organization/getMember:getMember", {
|
|
70
|
+
"email": args.email,
|
|
71
|
+
}, opts);
|
|
72
|
+
}
|
|
73
|
+
exports.getMemberOutput = getMemberOutput;
|
|
74
|
+
//# sourceMappingURL=getMember.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMember.js","sourceRoot":"","sources":["../../organization/getMember.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAiCD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to retrieve a members of an organization. You can find out more about organization members in the Buildkite
|
|
5
|
+
* [documentation](https://buildkite.com/docs/platform/team-management).
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
12
|
+
*
|
|
13
|
+
* const members = buildkite.Organization.getMembers({});
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getMembers(opts?: pulumi.InvokeOptions): Promise<GetMembersResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of values returned by getMembers.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetMembersResult {
|
|
21
|
+
/**
|
|
22
|
+
* The provider-assigned unique ID for this managed resource.
|
|
23
|
+
*/
|
|
24
|
+
readonly id: string;
|
|
25
|
+
readonly members: outputs.Organization.GetMembersMember[];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Use this data source to retrieve a members of an organization. You can find out more about organization members in the Buildkite
|
|
29
|
+
* [documentation](https://buildkite.com/docs/platform/team-management).
|
|
30
|
+
*
|
|
31
|
+
* ## Example Usage
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
36
|
+
*
|
|
37
|
+
* const members = buildkite.Organization.getMembers({});
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare function getMembersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMembersResult>;
|
|
@@ -0,0 +1,44 @@
|
|
|
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.getMembersOutput = exports.getMembers = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve a members of an organization. You can find out more about organization members in the Buildkite
|
|
10
|
+
* [documentation](https://buildkite.com/docs/platform/team-management).
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
17
|
+
*
|
|
18
|
+
* const members = buildkite.Organization.getMembers({});
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function getMembers(opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("buildkite:Organization/getMembers:getMembers", {}, opts);
|
|
24
|
+
}
|
|
25
|
+
exports.getMembers = getMembers;
|
|
26
|
+
/**
|
|
27
|
+
* Use this data source to retrieve a members of an organization. You can find out more about organization members in the Buildkite
|
|
28
|
+
* [documentation](https://buildkite.com/docs/platform/team-management).
|
|
29
|
+
*
|
|
30
|
+
* ## Example Usage
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
35
|
+
*
|
|
36
|
+
* const members = buildkite.Organization.getMembers({});
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
function getMembersOutput(opts) {
|
|
40
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
41
|
+
return pulumi.runtime.invokeOutput("buildkite:Organization/getMembers:getMembers", {}, opts);
|
|
42
|
+
}
|
|
43
|
+
exports.getMembersOutput = getMembersOutput;
|
|
44
|
+
//# sourceMappingURL=getMembers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMembers.js","sourceRoot":"","sources":["../../organization/getMembers.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,UAAU,CAAC,IAA2B;IAClD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE,EAC5E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gCAIC;AAYD;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAAC,IAAiC;IAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE,EAClF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4CAIC"}
|
|
@@ -23,4 +23,4 @@ export interface GetOrganizationResult {
|
|
|
23
23
|
/**
|
|
24
24
|
* Use this data source to look up the organization settings.
|
|
25
25
|
*/
|
|
26
|
-
export declare function getOrganizationOutput(opts?: pulumi.
|
|
26
|
+
export declare function getOrganizationOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationResult>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.getOrganizationOutput = exports.getOrganization = void 0;
|
|
@@ -17,7 +17,8 @@ exports.getOrganization = getOrganization;
|
|
|
17
17
|
* Use this data source to look up the organization settings.
|
|
18
18
|
*/
|
|
19
19
|
function getOrganizationOutput(opts) {
|
|
20
|
-
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("buildkite:Organization/getOrganization:getOrganization", {}, opts);
|
|
21
22
|
}
|
|
22
23
|
exports.getOrganizationOutput = getOrganizationOutput;
|
|
23
24
|
//# sourceMappingURL=getOrganization.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganization.js","sourceRoot":"","sources":["../../organization/getOrganization.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getOrganization.js","sourceRoot":"","sources":["../../organization/getOrganization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,eAAe,CAAC,IAA2B;IACvD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE,EACtF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC;AAmBD;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAAiC;IACnE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE,EAC5F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sDAIC"}
|