@sl-testing/ac-pulumi 0.1.28 → 0.1.30
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/dist/agentRuns.d.ts +0 -2
- package/dist/agentRuns.js +0 -2
- package/dist/agentRuns.js.map +1 -1
- package/dist/githubInstallation.js +4 -4
- package/dist/githubInstallation.js.map +1 -1
- package/dist/index.d.ts +0 -48
- package/dist/index.js +1 -59
- package/dist/index.js.map +1 -1
- package/dist/package.json +3 -5
- package/dist/projectRole.js +5 -5
- package/dist/projectRole.js.map +1 -1
- package/dist/projectRoleBinding.js +8 -8
- package/dist/projectRoleBinding.js.map +1 -1
- package/dist/projectRoleRule.js +9 -9
- package/dist/projectRoleRule.js.map +1 -1
- package/dist/provider.js +2 -2
- package/dist/provider.js.map +1 -1
- package/dist/secret.js +6 -6
- package/dist/secret.js.map +1 -1
- package/dist/types/output.d.ts +4 -39
- package/dist/utilities.d.ts +0 -4
- package/dist/utilities.js +19 -29
- package/dist/utilities.js.map +1 -1
- package/package.json +3 -3
- package/dist/agentConfiguration.d.ts +0 -55
- package/dist/agentConfiguration.js +0 -94
- package/dist/agentConfiguration.js.map +0 -1
- package/dist/database.d.ts +0 -36
- package/dist/database.js +0 -64
- package/dist/database.js.map +0 -1
- package/dist/function.d.ts +0 -47
- package/dist/function.js +0 -76
- package/dist/function.js.map +0 -1
- package/dist/image.d.ts +0 -47
- package/dist/image.js +0 -77
- package/dist/image.js.map +0 -1
- package/dist/imageVersions.d.ts +0 -15
- package/dist/imageVersions.js +0 -24
- package/dist/imageVersions.js.map +0 -1
- package/dist/imageVersionsByImage.d.ts +0 -20
- package/dist/imageVersionsByImage.js +0 -28
- package/dist/imageVersionsByImage.js.map +0 -1
- package/dist/job.d.ts +0 -49
- package/dist/job.js +0 -78
- package/dist/job.js.map +0 -1
- package/dist/jobRuns.d.ts +0 -20
- package/dist/jobRuns.js +0 -30
- package/dist/jobRuns.js.map +0 -1
- package/dist/logs.d.ts +0 -23
- package/dist/logs.js +0 -32
- package/dist/logs.js.map +0 -1
- package/dist/machine.d.ts +0 -44
- package/dist/machine.js +0 -75
- package/dist/machine.js.map +0 -1
- package/dist/provider/darwin-arm64/pulumi-resource-agentcloud +0 -0
- package/dist/provider/linux-x64/pulumi-resource-agentcloud +0 -0
- package/dist/scripts/postinstall.js +0 -76
- package/dist/service.d.ts +0 -47
- package/dist/service.js +0 -79
- package/dist/service.js.map +0 -1
- package/dist/serviceDeploymentResource.d.ts +0 -39
- package/dist/serviceDeploymentResource.js +0 -71
- package/dist/serviceDeploymentResource.js.map +0 -1
- package/dist/serviceDeployments.d.ts +0 -20
- package/dist/serviceDeployments.js +0 -28
- package/dist/serviceDeployments.js.map +0 -1
- package/dist/slackActionTypes.d.ts +0 -13
- package/dist/slackActionTypes.js +0 -24
- package/dist/slackActionTypes.js.map +0 -1
- package/dist/slackConnection.d.ts +0 -41
- package/dist/slackConnection.js +0 -75
- package/dist/slackConnection.js.map +0 -1
- package/dist/trigger.d.ts +0 -47
- package/dist/trigger.js +0 -78
- package/dist/trigger.js.map +0 -1
package/dist/agentRuns.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
export declare function agentRuns(args?: AgentRunsArgs, opts?: pulumi.InvokeOptions): Promise<AgentRunsResult>;
|
|
4
4
|
export interface AgentRunsArgs {
|
|
5
|
-
agentConfigurationId?: string;
|
|
6
5
|
cursor?: string;
|
|
7
6
|
limit?: number;
|
|
8
7
|
projectId?: string;
|
|
@@ -13,7 +12,6 @@ export interface AgentRunsResult {
|
|
|
13
12
|
}
|
|
14
13
|
export declare function agentRunsOutput(args?: AgentRunsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<AgentRunsResult>;
|
|
15
14
|
export interface AgentRunsOutputArgs {
|
|
16
|
-
agentConfigurationId?: pulumi.Input<string>;
|
|
17
15
|
cursor?: pulumi.Input<string>;
|
|
18
16
|
limit?: pulumi.Input<number>;
|
|
19
17
|
projectId?: pulumi.Input<string>;
|
package/dist/agentRuns.js
CHANGED
|
@@ -9,7 +9,6 @@ function agentRuns(args, opts) {
|
|
|
9
9
|
args = args || {};
|
|
10
10
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
11
|
return pulumi.runtime.invoke("agentcloud:index:agentRuns", {
|
|
12
|
-
"agentConfigurationId": args.agentConfigurationId,
|
|
13
12
|
"cursor": args.cursor,
|
|
14
13
|
"limit": args.limit,
|
|
15
14
|
"projectId": args.projectId,
|
|
@@ -20,7 +19,6 @@ function agentRunsOutput(args, opts) {
|
|
|
20
19
|
args = args || {};
|
|
21
20
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
22
21
|
return pulumi.runtime.invokeOutput("agentcloud:index:agentRuns", {
|
|
23
|
-
"agentConfigurationId": args.agentConfigurationId,
|
|
24
22
|
"cursor": args.cursor,
|
|
25
23
|
"limit": args.limit,
|
|
26
24
|
"projectId": args.projectId,
|
package/dist/agentRuns.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentRuns.js","sourceRoot":"","sources":["../agentRuns.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,
|
|
1
|
+
{"version":3,"file":"agentRuns.js","sourceRoot":"","sources":["../agentRuns.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8BAQC;AAYD,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAAiC;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4BAA4B,EAAE;QAC7D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC"}
|
|
@@ -15,7 +15,7 @@ class GithubInstallation extends pulumi.CustomResource {
|
|
|
15
15
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
16
|
*/
|
|
17
17
|
static get(name, id, opts) {
|
|
18
|
-
return new GithubInstallation(name, undefined,
|
|
18
|
+
return new GithubInstallation(name, undefined, { ...opts, id: id });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Returns true if the given object is an instance of GithubInstallation. This is designed to work even
|
|
@@ -38,11 +38,11 @@ class GithubInstallation extends pulumi.CustomResource {
|
|
|
38
38
|
let resourceInputs = {};
|
|
39
39
|
opts = opts || {};
|
|
40
40
|
if (!opts.id) {
|
|
41
|
-
if (
|
|
41
|
+
if (args?.name === undefined && !opts.urn) {
|
|
42
42
|
throw new Error("Missing required property 'name'");
|
|
43
43
|
}
|
|
44
|
-
resourceInputs["name"] = args
|
|
45
|
-
resourceInputs["projectId"] = args
|
|
44
|
+
resourceInputs["name"] = args?.name;
|
|
45
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
46
46
|
resourceInputs["accountLogin"] = undefined /*out*/;
|
|
47
47
|
resourceInputs["accountType"] = undefined /*out*/;
|
|
48
48
|
resourceInputs["githubAppInstallationId"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"githubInstallation.js","sourceRoot":"","sources":["../githubInstallation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAE,SAAgB,
|
|
1
|
+
{"version":3,"file":"githubInstallation.js","sourceRoot":"","sources":["../githubInstallation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,S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,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,MAAM,EAAE,WAAW,CAAC,EAAE,CAAC;QACrE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AArEL,gDAsEC;AAzDG,gBAAgB;AACO,+BAAY,GAAG,qCAAqC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,39 +1,9 @@
|
|
|
1
|
-
export { AgentConfigurationArgs } from "./agentConfiguration";
|
|
2
|
-
export type AgentConfiguration = import("./agentConfiguration").AgentConfiguration;
|
|
3
|
-
export declare const AgentConfiguration: typeof import("./agentConfiguration").AgentConfiguration;
|
|
4
1
|
export { AgentRunsArgs, AgentRunsResult, AgentRunsOutputArgs } from "./agentRuns";
|
|
5
2
|
export declare const agentRuns: typeof import("./agentRuns").agentRuns;
|
|
6
3
|
export declare const agentRunsOutput: typeof import("./agentRuns").agentRunsOutput;
|
|
7
|
-
export { DatabaseArgs } from "./database";
|
|
8
|
-
export type Database = import("./database").Database;
|
|
9
|
-
export declare const Database: typeof import("./database").Database;
|
|
10
|
-
export { FunctionArgs } from "./function";
|
|
11
|
-
export type Function = import("./function").Function;
|
|
12
|
-
export declare const Function: typeof import("./function").Function;
|
|
13
4
|
export { GithubInstallationArgs } from "./githubInstallation";
|
|
14
5
|
export type GithubInstallation = import("./githubInstallation").GithubInstallation;
|
|
15
6
|
export declare const GithubInstallation: typeof import("./githubInstallation").GithubInstallation;
|
|
16
|
-
export { ImageArgs } from "./image";
|
|
17
|
-
export type Image = import("./image").Image;
|
|
18
|
-
export declare const Image: typeof import("./image").Image;
|
|
19
|
-
export { ImageVersionsArgs, ImageVersionsResult, ImageVersionsOutputArgs } from "./imageVersions";
|
|
20
|
-
export declare const imageVersions: typeof import("./imageVersions").imageVersions;
|
|
21
|
-
export declare const imageVersionsOutput: typeof import("./imageVersions").imageVersionsOutput;
|
|
22
|
-
export { ImageVersionsByImageArgs, ImageVersionsByImageResult, ImageVersionsByImageOutputArgs } from "./imageVersionsByImage";
|
|
23
|
-
export declare const imageVersionsByImage: typeof import("./imageVersionsByImage").imageVersionsByImage;
|
|
24
|
-
export declare const imageVersionsByImageOutput: typeof import("./imageVersionsByImage").imageVersionsByImageOutput;
|
|
25
|
-
export { JobArgs } from "./job";
|
|
26
|
-
export type Job = import("./job").Job;
|
|
27
|
-
export declare const Job: typeof import("./job").Job;
|
|
28
|
-
export { JobRunsArgs, JobRunsResult, JobRunsOutputArgs } from "./jobRuns";
|
|
29
|
-
export declare const jobRuns: typeof import("./jobRuns").jobRuns;
|
|
30
|
-
export declare const jobRunsOutput: typeof import("./jobRuns").jobRunsOutput;
|
|
31
|
-
export { LogsArgs, LogsResult, LogsOutputArgs } from "./logs";
|
|
32
|
-
export declare const logs: typeof import("./logs").logs;
|
|
33
|
-
export declare const logsOutput: typeof import("./logs").logsOutput;
|
|
34
|
-
export { MachineArgs } from "./machine";
|
|
35
|
-
export type Machine = import("./machine").Machine;
|
|
36
|
-
export declare const Machine: typeof import("./machine").Machine;
|
|
37
7
|
export { MessagesArgs, MessagesResult, MessagesOutputArgs } from "./messages";
|
|
38
8
|
export declare const messages: typeof import("./messages").messages;
|
|
39
9
|
export declare const messagesOutput: typeof import("./messages").messagesOutput;
|
|
@@ -55,24 +25,6 @@ export declare const Provider: typeof import("./provider").Provider;
|
|
|
55
25
|
export { SecretArgs } from "./secret";
|
|
56
26
|
export type Secret = import("./secret").Secret;
|
|
57
27
|
export declare const Secret: typeof import("./secret").Secret;
|
|
58
|
-
export { ServiceArgs } from "./service";
|
|
59
|
-
export type Service = import("./service").Service;
|
|
60
|
-
export declare const Service: typeof import("./service").Service;
|
|
61
|
-
export { ServiceDeploymentResourceArgs } from "./serviceDeploymentResource";
|
|
62
|
-
export type ServiceDeploymentResource = import("./serviceDeploymentResource").ServiceDeploymentResource;
|
|
63
|
-
export declare const ServiceDeploymentResource: typeof import("./serviceDeploymentResource").ServiceDeploymentResource;
|
|
64
|
-
export { ServiceDeploymentsArgs, ServiceDeploymentsResult, ServiceDeploymentsOutputArgs } from "./serviceDeployments";
|
|
65
|
-
export declare const serviceDeployments: typeof import("./serviceDeployments").serviceDeployments;
|
|
66
|
-
export declare const serviceDeploymentsOutput: typeof import("./serviceDeployments").serviceDeploymentsOutput;
|
|
67
|
-
export { SlackActionTypesArgs, SlackActionTypesResult, SlackActionTypesOutputArgs } from "./slackActionTypes";
|
|
68
|
-
export declare const slackActionTypes: typeof import("./slackActionTypes").slackActionTypes;
|
|
69
|
-
export declare const slackActionTypesOutput: typeof import("./slackActionTypes").slackActionTypesOutput;
|
|
70
|
-
export { SlackConnectionArgs } from "./slackConnection";
|
|
71
|
-
export type SlackConnection = import("./slackConnection").SlackConnection;
|
|
72
|
-
export declare const SlackConnection: typeof import("./slackConnection").SlackConnection;
|
|
73
|
-
export { TriggerArgs } from "./trigger";
|
|
74
|
-
export type Trigger = import("./trigger").Trigger;
|
|
75
|
-
export declare const Trigger: typeof import("./trigger").Trigger;
|
|
76
28
|
import * as config from "./config";
|
|
77
29
|
import * as types from "./types";
|
|
78
30
|
export { config, types, };
|
package/dist/index.js
CHANGED
|
@@ -2,38 +2,14 @@
|
|
|
2
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
|
-
exports.types = exports.config = exports.
|
|
5
|
+
exports.types = exports.config = exports.Secret = exports.Provider = exports.ProjectRoleRule = exports.ProjectRoleBinding = exports.ProjectRole = exports.permissionCatalogOutput = exports.permissionCatalog = exports.messagesOutput = exports.messages = exports.GithubInstallation = exports.agentRunsOutput = exports.agentRuns = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
exports.AgentConfiguration = null;
|
|
9
|
-
utilities.lazyLoad(exports, ["AgentConfiguration"], () => require("./agentConfiguration"));
|
|
10
8
|
exports.agentRuns = null;
|
|
11
9
|
exports.agentRunsOutput = null;
|
|
12
10
|
utilities.lazyLoad(exports, ["agentRuns", "agentRunsOutput"], () => require("./agentRuns"));
|
|
13
|
-
exports.Database = null;
|
|
14
|
-
utilities.lazyLoad(exports, ["Database"], () => require("./database"));
|
|
15
|
-
exports.Function = null;
|
|
16
|
-
utilities.lazyLoad(exports, ["Function"], () => require("./function"));
|
|
17
11
|
exports.GithubInstallation = null;
|
|
18
12
|
utilities.lazyLoad(exports, ["GithubInstallation"], () => require("./githubInstallation"));
|
|
19
|
-
exports.Image = null;
|
|
20
|
-
utilities.lazyLoad(exports, ["Image"], () => require("./image"));
|
|
21
|
-
exports.imageVersions = null;
|
|
22
|
-
exports.imageVersionsOutput = null;
|
|
23
|
-
utilities.lazyLoad(exports, ["imageVersions", "imageVersionsOutput"], () => require("./imageVersions"));
|
|
24
|
-
exports.imageVersionsByImage = null;
|
|
25
|
-
exports.imageVersionsByImageOutput = null;
|
|
26
|
-
utilities.lazyLoad(exports, ["imageVersionsByImage", "imageVersionsByImageOutput"], () => require("./imageVersionsByImage"));
|
|
27
|
-
exports.Job = null;
|
|
28
|
-
utilities.lazyLoad(exports, ["Job"], () => require("./job"));
|
|
29
|
-
exports.jobRuns = null;
|
|
30
|
-
exports.jobRunsOutput = null;
|
|
31
|
-
utilities.lazyLoad(exports, ["jobRuns", "jobRunsOutput"], () => require("./jobRuns"));
|
|
32
|
-
exports.logs = null;
|
|
33
|
-
exports.logsOutput = null;
|
|
34
|
-
utilities.lazyLoad(exports, ["logs", "logsOutput"], () => require("./logs"));
|
|
35
|
-
exports.Machine = null;
|
|
36
|
-
utilities.lazyLoad(exports, ["Machine"], () => require("./machine"));
|
|
37
13
|
exports.messages = null;
|
|
38
14
|
exports.messagesOutput = null;
|
|
39
15
|
utilities.lazyLoad(exports, ["messages", "messagesOutput"], () => require("./messages"));
|
|
@@ -50,20 +26,6 @@ exports.Provider = null;
|
|
|
50
26
|
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
51
27
|
exports.Secret = null;
|
|
52
28
|
utilities.lazyLoad(exports, ["Secret"], () => require("./secret"));
|
|
53
|
-
exports.Service = null;
|
|
54
|
-
utilities.lazyLoad(exports, ["Service"], () => require("./service"));
|
|
55
|
-
exports.ServiceDeploymentResource = null;
|
|
56
|
-
utilities.lazyLoad(exports, ["ServiceDeploymentResource"], () => require("./serviceDeploymentResource"));
|
|
57
|
-
exports.serviceDeployments = null;
|
|
58
|
-
exports.serviceDeploymentsOutput = null;
|
|
59
|
-
utilities.lazyLoad(exports, ["serviceDeployments", "serviceDeploymentsOutput"], () => require("./serviceDeployments"));
|
|
60
|
-
exports.slackActionTypes = null;
|
|
61
|
-
exports.slackActionTypesOutput = null;
|
|
62
|
-
utilities.lazyLoad(exports, ["slackActionTypes", "slackActionTypesOutput"], () => require("./slackActionTypes"));
|
|
63
|
-
exports.SlackConnection = null;
|
|
64
|
-
utilities.lazyLoad(exports, ["SlackConnection"], () => require("./slackConnection"));
|
|
65
|
-
exports.Trigger = null;
|
|
66
|
-
utilities.lazyLoad(exports, ["Trigger"], () => require("./trigger"));
|
|
67
29
|
// Export sub-modules:
|
|
68
30
|
const config = require("./config");
|
|
69
31
|
exports.config = config;
|
|
@@ -73,20 +35,8 @@ const _module = {
|
|
|
73
35
|
version: utilities.getVersion(),
|
|
74
36
|
construct: (name, type, urn) => {
|
|
75
37
|
switch (type) {
|
|
76
|
-
case "agentcloud:index:AgentConfiguration":
|
|
77
|
-
return new exports.AgentConfiguration(name, undefined, { urn });
|
|
78
|
-
case "agentcloud:index:Database":
|
|
79
|
-
return new exports.Database(name, undefined, { urn });
|
|
80
|
-
case "agentcloud:index:Function":
|
|
81
|
-
return new exports.Function(name, undefined, { urn });
|
|
82
38
|
case "agentcloud:index:GithubInstallation":
|
|
83
39
|
return new exports.GithubInstallation(name, undefined, { urn });
|
|
84
|
-
case "agentcloud:index:Image":
|
|
85
|
-
return new exports.Image(name, undefined, { urn });
|
|
86
|
-
case "agentcloud:index:Job":
|
|
87
|
-
return new exports.Job(name, undefined, { urn });
|
|
88
|
-
case "agentcloud:index:Machine":
|
|
89
|
-
return new exports.Machine(name, undefined, { urn });
|
|
90
40
|
case "agentcloud:index:ProjectRole":
|
|
91
41
|
return new exports.ProjectRole(name, undefined, { urn });
|
|
92
42
|
case "agentcloud:index:ProjectRoleBinding":
|
|
@@ -95,14 +45,6 @@ const _module = {
|
|
|
95
45
|
return new exports.ProjectRoleRule(name, undefined, { urn });
|
|
96
46
|
case "agentcloud:index:Secret":
|
|
97
47
|
return new exports.Secret(name, undefined, { urn });
|
|
98
|
-
case "agentcloud:index:Service":
|
|
99
|
-
return new exports.Service(name, undefined, { urn });
|
|
100
|
-
case "agentcloud:index:ServiceDeploymentResource":
|
|
101
|
-
return new exports.ServiceDeploymentResource(name, undefined, { urn });
|
|
102
|
-
case "agentcloud:index:SlackConnection":
|
|
103
|
-
return new exports.SlackConnection(name, undefined, { urn });
|
|
104
|
-
case "agentcloud:index:Trigger":
|
|
105
|
-
return new exports.Trigger(name, undefined, { urn });
|
|
106
48
|
default:
|
|
107
49
|
throw new Error(`unknown resource type ${type}`);
|
|
108
50
|
}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;
|
|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M,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;AACrE,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,YAAY,EAAE;IACjD,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,6BAA6B,EAAE;YACxC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/dist/package.json
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/agentcloud",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"main": "bin/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc",
|
|
7
7
|
"postinstall": "node ./scripts/postinstall.js"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@pulumi/pulumi": "^3.142.0"
|
|
11
|
-
},
|
|
12
|
-
"devDependencies": {
|
|
10
|
+
"@pulumi/pulumi": "^3.142.0",
|
|
13
11
|
"@types/node": "^18",
|
|
14
12
|
"typescript": "^4.3.5"
|
|
15
13
|
},
|
|
16
14
|
"pulumi": {
|
|
17
15
|
"resource": true,
|
|
18
16
|
"name": "agentcloud",
|
|
19
|
-
"version": "0.1.
|
|
17
|
+
"version": "0.1.29"
|
|
20
18
|
}
|
|
21
19
|
}
|
package/dist/projectRole.js
CHANGED
|
@@ -15,7 +15,7 @@ class ProjectRole extends pulumi.CustomResource {
|
|
|
15
15
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
16
|
*/
|
|
17
17
|
static get(name, id, opts) {
|
|
18
|
-
return new ProjectRole(name, undefined,
|
|
18
|
+
return new ProjectRole(name, undefined, { ...opts, id: id });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Returns true if the given object is an instance of ProjectRole. This is designed to work even
|
|
@@ -38,12 +38,12 @@ class ProjectRole extends pulumi.CustomResource {
|
|
|
38
38
|
let resourceInputs = {};
|
|
39
39
|
opts = opts || {};
|
|
40
40
|
if (!opts.id) {
|
|
41
|
-
if (
|
|
41
|
+
if (args?.name === undefined && !opts.urn) {
|
|
42
42
|
throw new Error("Missing required property 'name'");
|
|
43
43
|
}
|
|
44
|
-
resourceInputs["description"] = args
|
|
45
|
-
resourceInputs["name"] = args
|
|
46
|
-
resourceInputs["projectId"] = args
|
|
44
|
+
resourceInputs["description"] = args?.description;
|
|
45
|
+
resourceInputs["name"] = args?.name;
|
|
46
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
47
47
|
resourceInputs["roleId"] = undefined /*out*/;
|
|
48
48
|
}
|
|
49
49
|
else {
|
package/dist/projectRole.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectRole.js","sourceRoot":"","sources":["../projectRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,SAAgB,
|
|
1
|
+
{"version":3,"file":"projectRole.js","sourceRoot":"","sources":["../projectRole.ts"],"names":[],"m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AC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA5DL,kCA6DC;AAhDG,gBAAgB;AACO,wBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -15,7 +15,7 @@ class ProjectRoleBinding extends pulumi.CustomResource {
|
|
|
15
15
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
16
|
*/
|
|
17
17
|
static get(name, id, opts) {
|
|
18
|
-
return new ProjectRoleBinding(name, undefined,
|
|
18
|
+
return new ProjectRoleBinding(name, undefined, { ...opts, id: id });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Returns true if the given object is an instance of ProjectRoleBinding. This is designed to work even
|
|
@@ -38,19 +38,19 @@ class ProjectRoleBinding extends pulumi.CustomResource {
|
|
|
38
38
|
let resourceInputs = {};
|
|
39
39
|
opts = opts || {};
|
|
40
40
|
if (!opts.id) {
|
|
41
|
-
if (
|
|
41
|
+
if (args?.roleId === undefined && !opts.urn) {
|
|
42
42
|
throw new Error("Missing required property 'roleId'");
|
|
43
43
|
}
|
|
44
|
-
if (
|
|
44
|
+
if (args?.subjectId === undefined && !opts.urn) {
|
|
45
45
|
throw new Error("Missing required property 'subjectId'");
|
|
46
46
|
}
|
|
47
|
-
if (
|
|
47
|
+
if (args?.subjectType === undefined && !opts.urn) {
|
|
48
48
|
throw new Error("Missing required property 'subjectType'");
|
|
49
49
|
}
|
|
50
|
-
resourceInputs["projectId"] = args
|
|
51
|
-
resourceInputs["roleId"] = args
|
|
52
|
-
resourceInputs["subjectId"] = args
|
|
53
|
-
resourceInputs["subjectType"] = args
|
|
50
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
51
|
+
resourceInputs["roleId"] = args?.roleId;
|
|
52
|
+
resourceInputs["subjectId"] = args?.subjectId;
|
|
53
|
+
resourceInputs["subjectType"] = args?.subjectType;
|
|
54
54
|
resourceInputs["bindingId"] = undefined /*out*/;
|
|
55
55
|
}
|
|
56
56
|
else {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectRoleBinding.js","sourceRoot":"","sources":["../projectRoleBinding.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAE,SAAgB,
|
|
1
|
+
{"version":3,"file":"projectRoleBinding.js","sourceRoot":"","sources":["../projectRoleBinding.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SA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AC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AArEL,gDAsEC;AAzDG,gBAAgB;AACO,+BAAY,GAAG,qCAAqC,CAAC"}
|
package/dist/projectRoleRule.js
CHANGED
|
@@ -15,7 +15,7 @@ class ProjectRoleRule extends pulumi.CustomResource {
|
|
|
15
15
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
16
|
*/
|
|
17
17
|
static get(name, id, opts) {
|
|
18
|
-
return new ProjectRoleRule(name, undefined,
|
|
18
|
+
return new ProjectRoleRule(name, undefined, { ...opts, id: id });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Returns true if the given object is an instance of ProjectRoleRule. This is designed to work even
|
|
@@ -38,18 +38,18 @@ class ProjectRoleRule extends pulumi.CustomResource {
|
|
|
38
38
|
let resourceInputs = {};
|
|
39
39
|
opts = opts || {};
|
|
40
40
|
if (!opts.id) {
|
|
41
|
-
if (
|
|
41
|
+
if (args?.permission === undefined && !opts.urn) {
|
|
42
42
|
throw new Error("Missing required property 'permission'");
|
|
43
43
|
}
|
|
44
|
-
if (
|
|
44
|
+
if (args?.roleId === undefined && !opts.urn) {
|
|
45
45
|
throw new Error("Missing required property 'roleId'");
|
|
46
46
|
}
|
|
47
|
-
resourceInputs["permission"] = args
|
|
48
|
-
resourceInputs["projectId"] = args
|
|
49
|
-
resourceInputs["resourceId"] = args
|
|
50
|
-
resourceInputs["resourceType"] = args
|
|
51
|
-
resourceInputs["roleId"] = args
|
|
52
|
-
resourceInputs["scopeType"] = args
|
|
47
|
+
resourceInputs["permission"] = args?.permission;
|
|
48
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
49
|
+
resourceInputs["resourceId"] = args?.resourceId;
|
|
50
|
+
resourceInputs["resourceType"] = args?.resourceType;
|
|
51
|
+
resourceInputs["roleId"] = args?.roleId;
|
|
52
|
+
resourceInputs["scopeType"] = args?.scopeType;
|
|
53
53
|
resourceInputs["resolvedScopeType"] = undefined /*out*/;
|
|
54
54
|
resourceInputs["ruleId"] = undefined /*out*/;
|
|
55
55
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectRoleRule.js","sourceRoot":"","sources":["../projectRoleRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE,SAAgB,
|
|
1
|
+
{"version":3,"file":"projectRoleRule.js","sourceRoot":"","sources":["../projectRoleRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAKD;;;OAGG;IAC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,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA3EL,0CA4EC;AA/DG,gBAAgB;AACO,4BAAY,GAAG,kCAAkC,CAAC"}
|
package/dist/provider.js
CHANGED
|
@@ -27,8 +27,8 @@ class Provider extends pulumi.ProviderResource {
|
|
|
27
27
|
let resourceInputs = {};
|
|
28
28
|
opts = opts || {};
|
|
29
29
|
{
|
|
30
|
-
resourceInputs["apiUrl"] = args
|
|
31
|
-
resourceInputs["projectId"] = args
|
|
30
|
+
resourceInputs["apiUrl"] = args?.apiUrl;
|
|
31
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
32
32
|
}
|
|
33
33
|
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
34
34
|
}
|
package/dist/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAKD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAKD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;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;;AAlCL,4BAmCC;AAlCG,gBAAgB;AACO,qBAAY,GAAG,YAAY,CAAC"}
|
package/dist/secret.js
CHANGED
|
@@ -15,7 +15,7 @@ class Secret extends pulumi.CustomResource {
|
|
|
15
15
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
16
|
*/
|
|
17
17
|
static get(name, id, opts) {
|
|
18
|
-
return new Secret(name, undefined,
|
|
18
|
+
return new Secret(name, undefined, { ...opts, id: id });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Returns true if the given object is an instance of Secret. This is designed to work even
|
|
@@ -38,15 +38,15 @@ class Secret extends pulumi.CustomResource {
|
|
|
38
38
|
let resourceInputs = {};
|
|
39
39
|
opts = opts || {};
|
|
40
40
|
if (!opts.id) {
|
|
41
|
-
if (
|
|
41
|
+
if (args?.key === undefined && !opts.urn) {
|
|
42
42
|
throw new Error("Missing required property 'key'");
|
|
43
43
|
}
|
|
44
|
-
if (
|
|
44
|
+
if (args?.value === undefined && !opts.urn) {
|
|
45
45
|
throw new Error("Missing required property 'value'");
|
|
46
46
|
}
|
|
47
|
-
resourceInputs["key"] = args
|
|
48
|
-
resourceInputs["projectId"] = args
|
|
49
|
-
resourceInputs["value"] =
|
|
47
|
+
resourceInputs["key"] = args?.key;
|
|
48
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
49
|
+
resourceInputs["value"] = args?.value ? pulumi.secret(args.value) : undefined;
|
|
50
50
|
resourceInputs["secretId"] = undefined /*out*/;
|
|
51
51
|
}
|
|
52
52
|
else {
|
package/dist/secret.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret.js","sourceRoot":"","sources":["../secret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,MAAM,CAAC,IAAI,EAAE,SAAgB,
|
|
1
|
+
{"version":3,"file":"secret.js","sourceRoot":"","sources":["../secret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,MAAM,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,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;IAOD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAgB,EAAE,IAAmC;QAC3E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,GAAG,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;aACtD;YACD,I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DG,gBAAgB;AACO,mBAAY,GAAG,yBAAyB,CAAC"}
|
package/dist/types/output.d.ts
CHANGED
|
@@ -1,37 +1,14 @@
|
|
|
1
|
+
import * as outputs from "../types/output";
|
|
1
2
|
export interface AgentRun {
|
|
2
|
-
agentConfigurationId: string;
|
|
3
3
|
createdAt: string;
|
|
4
4
|
id: string;
|
|
5
|
-
|
|
5
|
+
runtime?: outputs.AgentRunRuntime;
|
|
6
6
|
status: string;
|
|
7
7
|
title?: string;
|
|
8
8
|
updatedAt: string;
|
|
9
9
|
}
|
|
10
|
-
export interface
|
|
11
|
-
|
|
12
|
-
buildLog?: string;
|
|
13
|
-
buildRef?: string;
|
|
14
|
-
buildSourceRef?: string;
|
|
15
|
-
buildStartedAt?: string;
|
|
16
|
-
buildStatus: string;
|
|
17
|
-
createdAt: string;
|
|
18
|
-
digest: string;
|
|
19
|
-
id: string;
|
|
20
|
-
imageId: string;
|
|
21
|
-
tag?: string;
|
|
22
|
-
updatedAt?: string;
|
|
23
|
-
}
|
|
24
|
-
export interface JobRun {
|
|
25
|
-
attempt: number;
|
|
26
|
-
createdAt: string;
|
|
27
|
-
id: string;
|
|
28
|
-
jobId: string;
|
|
29
|
-
status: string;
|
|
30
|
-
updatedAt?: string;
|
|
31
|
-
}
|
|
32
|
-
export interface LogEvent {
|
|
33
|
-
message: string;
|
|
34
|
-
timestamp?: number;
|
|
10
|
+
export interface AgentRunRuntime {
|
|
11
|
+
runtimeAttached: boolean;
|
|
35
12
|
}
|
|
36
13
|
export interface Message {
|
|
37
14
|
createdAt: string;
|
|
@@ -40,15 +17,3 @@ export interface Message {
|
|
|
40
17
|
id: string;
|
|
41
18
|
seq: number;
|
|
42
19
|
}
|
|
43
|
-
export interface ServiceDeployment {
|
|
44
|
-
createdAt: string;
|
|
45
|
-
id: string;
|
|
46
|
-
imageVersionId: string;
|
|
47
|
-
serviceId: string;
|
|
48
|
-
status: string;
|
|
49
|
-
}
|
|
50
|
-
export interface SlackActionTypeResult {
|
|
51
|
-
description: string;
|
|
52
|
-
key: string;
|
|
53
|
-
label: string;
|
|
54
|
-
}
|
package/dist/utilities.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
1
|
export declare function getEnv(...vars: string[]): string | undefined;
|
|
3
2
|
export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
|
|
4
3
|
export declare function getEnvNumber(...vars: string[]): number | undefined;
|
|
5
4
|
export declare function getVersion(): string;
|
|
6
|
-
export declare function callAsync<T>(tok: string, props: pulumi.Inputs, res?: pulumi.Resource, opts?: {
|
|
7
|
-
property?: string;
|
|
8
|
-
}): Promise<T>;
|