@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/utilities.js
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
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
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
5
|
exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
15
6
|
const runtime = require("@pulumi/pulumi/runtime");
|
|
@@ -76,26 +67,25 @@ function lazyLoad(exports, props, loadModule) {
|
|
|
76
67
|
}
|
|
77
68
|
}
|
|
78
69
|
exports.lazyLoad = lazyLoad;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
});
|
|
70
|
+
/** @internal */
|
|
71
|
+
async function callAsync(tok, props, res, opts) {
|
|
72
|
+
const o = runtime.call(tok, props, res);
|
|
73
|
+
const value = await o.promise(true /*withUnknowns*/);
|
|
74
|
+
const isKnown = await o.isKnown;
|
|
75
|
+
const isSecret = await o.isSecret;
|
|
76
|
+
const problem = !isKnown ? "an unknown value"
|
|
77
|
+
: isSecret ? "a secret value"
|
|
78
|
+
: undefined;
|
|
79
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
80
|
+
if (problem) {
|
|
81
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
82
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
83
|
+
}
|
|
84
|
+
// Extract a single property if requested.
|
|
85
|
+
if (opts && opts.property) {
|
|
86
|
+
return value[opts.property];
|
|
87
|
+
}
|
|
88
|
+
return value;
|
|
99
89
|
}
|
|
100
90
|
exports.callAsync = callAsync;
|
|
101
91
|
//# sourceMappingURL=utilities.js.map
|
package/dist/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAGjF,kDAAkD;AAGlD,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QACjB,uGAAuG;QACvG,yDAAyD;QACzD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,SAAS,EAAE;YAC1E,OAAO,IAAI,CAAC;SACf;QACD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,SAAS,EAAE;YAC7E,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AAbD,sCAaC;AAED,SAAgB,YAAY,CAAC,GAAG,IAAc;IAC1C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK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C,OAAO,CAAC;IAChC,MAAM,QAAQ,GAAG,MAAM,CAAC,CAAC,QAAQ,CAAC;IAClC,MAAM,OAAO,GACT,CAAC,OAAO,CAAC,CAAC,CAAC,kBAAkB;QAC7B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB;YAC7B,CAAC,CAAC,SAAS,CAAC;IAChB,sGAAsG;IACtG,IAAI,OAAO,EAAE;QACT,MAAM,IAAI,KAAK,CAAC,0BAA0B,GAAG,0BAA0B,OAAO,IAAI;YAC9E,iFAAiF,CAAC,CAAC;KAC1F;IACD,0CAA0C;IAC1C,IAAI,IAAI,IAAI,IAAI,CAAC,QAAQ,EAAE;QACvB,OAAO,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC/B;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAxBD,8BAwBC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sl-testing/ac-pulumi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.30",
|
|
4
4
|
"description": "AgentCloud TypeScript SDK generated from the Pulumi provider schema",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"test": "echo 'no tests yet'"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@pulumi/pulumi": "
|
|
26
|
+
"@pulumi/pulumi": "3.158.0"
|
|
27
27
|
},
|
|
28
28
|
"agentcloud": {
|
|
29
29
|
"kind": "infra",
|
|
@@ -32,6 +32,6 @@
|
|
|
32
32
|
"pulumi": {
|
|
33
33
|
"resource": true,
|
|
34
34
|
"name": "agentcloud",
|
|
35
|
-
"version": "0.1.
|
|
35
|
+
"version": "0.1.30"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
export declare class AgentConfiguration extends pulumi.CustomResource {
|
|
3
|
-
/**
|
|
4
|
-
* Get an existing AgentConfiguration resource's state with the given name, ID, and optional extra
|
|
5
|
-
* properties used to qualify the lookup.
|
|
6
|
-
*
|
|
7
|
-
* @param name The _unique_ name of the resulting resource.
|
|
8
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
10
|
-
*/
|
|
11
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AgentConfiguration;
|
|
12
|
-
/**
|
|
13
|
-
* Returns true if the given object is an instance of AgentConfiguration. This is designed to work even
|
|
14
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
15
|
-
*/
|
|
16
|
-
static isInstance(obj: any): obj is AgentConfiguration;
|
|
17
|
-
readonly agentConfigurationId: pulumi.Output<string>;
|
|
18
|
-
readonly cpu: pulumi.Output<number | undefined>;
|
|
19
|
-
readonly idleDeleteAfterSeconds: pulumi.Output<number | undefined>;
|
|
20
|
-
readonly idleStopAfterSeconds: pulumi.Output<number | undefined>;
|
|
21
|
-
readonly imageVersionId: pulumi.Output<string>;
|
|
22
|
-
readonly instructions: pulumi.Output<string>;
|
|
23
|
-
readonly memoryMb: pulumi.Output<number | undefined>;
|
|
24
|
-
readonly model: pulumi.Output<string>;
|
|
25
|
-
readonly name: pulumi.Output<string>;
|
|
26
|
-
readonly projectId: pulumi.Output<string | undefined>;
|
|
27
|
-
readonly provider: pulumi.Output<string>;
|
|
28
|
-
readonly thinking: pulumi.Output<string | undefined>;
|
|
29
|
-
readonly workingDir: pulumi.Output<string | undefined>;
|
|
30
|
-
/**
|
|
31
|
-
* Create a AgentConfiguration resource with the given unique name, arguments, and options.
|
|
32
|
-
*
|
|
33
|
-
* @param name The _unique_ name of the resource.
|
|
34
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
-
*/
|
|
37
|
-
constructor(name: string, args: AgentConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* The set of arguments for constructing a AgentConfiguration resource.
|
|
41
|
-
*/
|
|
42
|
-
export interface AgentConfigurationArgs {
|
|
43
|
-
cpu?: pulumi.Input<number>;
|
|
44
|
-
idleDeleteAfterSeconds?: pulumi.Input<number>;
|
|
45
|
-
idleStopAfterSeconds?: pulumi.Input<number>;
|
|
46
|
-
imageVersionId: pulumi.Input<string>;
|
|
47
|
-
instructions: pulumi.Input<string>;
|
|
48
|
-
memoryMb?: pulumi.Input<number>;
|
|
49
|
-
model: pulumi.Input<string>;
|
|
50
|
-
name: pulumi.Input<string>;
|
|
51
|
-
projectId?: pulumi.Input<string>;
|
|
52
|
-
provider: pulumi.Input<string>;
|
|
53
|
-
thinking?: pulumi.Input<string>;
|
|
54
|
-
workingDir?: pulumi.Input<string>;
|
|
55
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
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.AgentConfiguration = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
class AgentConfiguration extends pulumi.CustomResource {
|
|
9
|
-
/**
|
|
10
|
-
* Get an existing AgentConfiguration resource's state with the given name, ID, and optional extra
|
|
11
|
-
* properties used to qualify the lookup.
|
|
12
|
-
*
|
|
13
|
-
* @param name The _unique_ name of the resulting resource.
|
|
14
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
-
*/
|
|
17
|
-
static get(name, id, opts) {
|
|
18
|
-
return new AgentConfiguration(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Returns true if the given object is an instance of AgentConfiguration. This is designed to work even
|
|
22
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
-
*/
|
|
24
|
-
static isInstance(obj) {
|
|
25
|
-
if (obj === undefined || obj === null) {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
return obj['__pulumiType'] === AgentConfiguration.__pulumiType;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Create a AgentConfiguration resource with the given unique name, arguments, and options.
|
|
32
|
-
*
|
|
33
|
-
* @param name The _unique_ name of the resource.
|
|
34
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
-
*/
|
|
37
|
-
constructor(name, args, opts) {
|
|
38
|
-
let resourceInputs = {};
|
|
39
|
-
opts = opts || {};
|
|
40
|
-
if (!opts.id) {
|
|
41
|
-
if ((!args || args.imageVersionId === undefined) && !opts.urn) {
|
|
42
|
-
throw new Error("Missing required property 'imageVersionId'");
|
|
43
|
-
}
|
|
44
|
-
if ((!args || args.instructions === undefined) && !opts.urn) {
|
|
45
|
-
throw new Error("Missing required property 'instructions'");
|
|
46
|
-
}
|
|
47
|
-
if ((!args || args.model === undefined) && !opts.urn) {
|
|
48
|
-
throw new Error("Missing required property 'model'");
|
|
49
|
-
}
|
|
50
|
-
if ((!args || args.name === undefined) && !opts.urn) {
|
|
51
|
-
throw new Error("Missing required property 'name'");
|
|
52
|
-
}
|
|
53
|
-
if ((!args || args.provider === undefined) && !opts.urn) {
|
|
54
|
-
throw new Error("Missing required property 'provider'");
|
|
55
|
-
}
|
|
56
|
-
resourceInputs["cpu"] = args ? args.cpu : undefined;
|
|
57
|
-
resourceInputs["idleDeleteAfterSeconds"] = args ? args.idleDeleteAfterSeconds : undefined;
|
|
58
|
-
resourceInputs["idleStopAfterSeconds"] = args ? args.idleStopAfterSeconds : undefined;
|
|
59
|
-
resourceInputs["imageVersionId"] = args ? args.imageVersionId : undefined;
|
|
60
|
-
resourceInputs["instructions"] = args ? args.instructions : undefined;
|
|
61
|
-
resourceInputs["memoryMb"] = args ? args.memoryMb : undefined;
|
|
62
|
-
resourceInputs["model"] = args ? args.model : undefined;
|
|
63
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
64
|
-
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
65
|
-
resourceInputs["provider"] = args ? args.provider : undefined;
|
|
66
|
-
resourceInputs["thinking"] = args ? args.thinking : undefined;
|
|
67
|
-
resourceInputs["workingDir"] = args ? args.workingDir : undefined;
|
|
68
|
-
resourceInputs["agentConfigurationId"] = undefined /*out*/;
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
resourceInputs["agentConfigurationId"] = undefined /*out*/;
|
|
72
|
-
resourceInputs["cpu"] = undefined /*out*/;
|
|
73
|
-
resourceInputs["idleDeleteAfterSeconds"] = undefined /*out*/;
|
|
74
|
-
resourceInputs["idleStopAfterSeconds"] = undefined /*out*/;
|
|
75
|
-
resourceInputs["imageVersionId"] = undefined /*out*/;
|
|
76
|
-
resourceInputs["instructions"] = undefined /*out*/;
|
|
77
|
-
resourceInputs["memoryMb"] = undefined /*out*/;
|
|
78
|
-
resourceInputs["model"] = undefined /*out*/;
|
|
79
|
-
resourceInputs["name"] = undefined /*out*/;
|
|
80
|
-
resourceInputs["projectId"] = undefined /*out*/;
|
|
81
|
-
resourceInputs["provider"] = undefined /*out*/;
|
|
82
|
-
resourceInputs["thinking"] = undefined /*out*/;
|
|
83
|
-
resourceInputs["workingDir"] = undefined /*out*/;
|
|
84
|
-
}
|
|
85
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
86
|
-
const replaceOnChanges = { replaceOnChanges: ["projectId"] };
|
|
87
|
-
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
88
|
-
super(AgentConfiguration.__pulumiType, name, resourceInputs, opts);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
exports.AgentConfiguration = AgentConfiguration;
|
|
92
|
-
/** @internal */
|
|
93
|
-
AgentConfiguration.__pulumiType = 'agentcloud:index:AgentConfiguration';
|
|
94
|
-
//# sourceMappingURL=agentConfiguration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agentConfiguration.js","sourceRoot":"","sources":["../agentConfiguration.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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAgBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA4B,EAAE,IAAmC;QACvF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,C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CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;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;;AAnGL,gDAoGC;AAvFG,gBAAgB;AACO,+BAAY,GAAG,qCAAqC,CAAC"}
|
package/dist/database.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
export declare class Database extends pulumi.CustomResource {
|
|
3
|
-
/**
|
|
4
|
-
* Get an existing Database resource's state with the given name, ID, and optional extra
|
|
5
|
-
* properties used to qualify the lookup.
|
|
6
|
-
*
|
|
7
|
-
* @param name The _unique_ name of the resulting resource.
|
|
8
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
10
|
-
*/
|
|
11
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Database;
|
|
12
|
-
/**
|
|
13
|
-
* Returns true if the given object is an instance of Database. This is designed to work even
|
|
14
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
15
|
-
*/
|
|
16
|
-
static isInstance(obj: any): obj is Database;
|
|
17
|
-
readonly databaseId: pulumi.Output<string>;
|
|
18
|
-
readonly name: pulumi.Output<string>;
|
|
19
|
-
readonly projectId: pulumi.Output<string | undefined>;
|
|
20
|
-
readonly status: pulumi.Output<string>;
|
|
21
|
-
/**
|
|
22
|
-
* Create a Database resource with the given unique name, arguments, and options.
|
|
23
|
-
*
|
|
24
|
-
* @param name The _unique_ name of the resource.
|
|
25
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
26
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
27
|
-
*/
|
|
28
|
-
constructor(name: string, args: DatabaseArgs, opts?: pulumi.CustomResourceOptions);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* The set of arguments for constructing a Database resource.
|
|
32
|
-
*/
|
|
33
|
-
export interface DatabaseArgs {
|
|
34
|
-
name: pulumi.Input<string>;
|
|
35
|
-
projectId?: pulumi.Input<string>;
|
|
36
|
-
}
|
package/dist/database.js
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
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.Database = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
class Database extends pulumi.CustomResource {
|
|
9
|
-
/**
|
|
10
|
-
* Get an existing Database resource's state with the given name, ID, and optional extra
|
|
11
|
-
* properties used to qualify the lookup.
|
|
12
|
-
*
|
|
13
|
-
* @param name The _unique_ name of the resulting resource.
|
|
14
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
-
*/
|
|
17
|
-
static get(name, id, opts) {
|
|
18
|
-
return new Database(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Returns true if the given object is an instance of Database. This is designed to work even
|
|
22
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
-
*/
|
|
24
|
-
static isInstance(obj) {
|
|
25
|
-
if (obj === undefined || obj === null) {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
return obj['__pulumiType'] === Database.__pulumiType;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Create a Database resource with the given unique name, arguments, and options.
|
|
32
|
-
*
|
|
33
|
-
* @param name The _unique_ name of the resource.
|
|
34
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
-
*/
|
|
37
|
-
constructor(name, args, opts) {
|
|
38
|
-
let resourceInputs = {};
|
|
39
|
-
opts = opts || {};
|
|
40
|
-
if (!opts.id) {
|
|
41
|
-
if ((!args || args.name === undefined) && !opts.urn) {
|
|
42
|
-
throw new Error("Missing required property 'name'");
|
|
43
|
-
}
|
|
44
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
45
|
-
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
46
|
-
resourceInputs["databaseId"] = undefined /*out*/;
|
|
47
|
-
resourceInputs["status"] = undefined /*out*/;
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
resourceInputs["databaseId"] = undefined /*out*/;
|
|
51
|
-
resourceInputs["name"] = undefined /*out*/;
|
|
52
|
-
resourceInputs["projectId"] = undefined /*out*/;
|
|
53
|
-
resourceInputs["status"] = undefined /*out*/;
|
|
54
|
-
}
|
|
55
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
|
-
const replaceOnChanges = { replaceOnChanges: ["projectId"] };
|
|
57
|
-
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
58
|
-
super(Database.__pulumiType, name, resourceInputs, opts);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
exports.Database = Database;
|
|
62
|
-
/** @internal */
|
|
63
|
-
Database.__pulumiType = 'agentcloud:index:Database';
|
|
64
|
-
//# sourceMappingURL=database.js.map
|
package/dist/database.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"database.js","sourceRoot":"","sources":["../database.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAOD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkB,EAAE,IAAmC;QAC7E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;aAAM;YACH,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,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,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA5DL,4BA6DC;AAhDG,gBAAgB;AACO,qBAAY,GAAG,2BAA2B,CAAC"}
|
package/dist/function.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
export declare class Function extends pulumi.CustomResource {
|
|
3
|
-
/**
|
|
4
|
-
* Get an existing Function resource's state with the given name, ID, and optional extra
|
|
5
|
-
* properties used to qualify the lookup.
|
|
6
|
-
*
|
|
7
|
-
* @param name The _unique_ name of the resulting resource.
|
|
8
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
10
|
-
*/
|
|
11
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Function;
|
|
12
|
-
/**
|
|
13
|
-
* Returns true if the given object is an instance of Function. This is designed to work even
|
|
14
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
15
|
-
*/
|
|
16
|
-
static isInstance(obj: any): obj is Function;
|
|
17
|
-
readonly cpu: pulumi.Output<number | undefined>;
|
|
18
|
-
readonly functionId: pulumi.Output<string>;
|
|
19
|
-
readonly inputSchema: pulumi.Output<{
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
}>;
|
|
22
|
-
readonly memoryMb: pulumi.Output<number | undefined>;
|
|
23
|
-
readonly name: pulumi.Output<string>;
|
|
24
|
-
readonly projectId: pulumi.Output<string | undefined>;
|
|
25
|
-
readonly serviceId: pulumi.Output<string>;
|
|
26
|
-
/**
|
|
27
|
-
* Create a Function resource with the given unique name, arguments, and options.
|
|
28
|
-
*
|
|
29
|
-
* @param name The _unique_ name of the resource.
|
|
30
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
31
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
32
|
-
*/
|
|
33
|
-
constructor(name: string, args: FunctionArgs, opts?: pulumi.CustomResourceOptions);
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* The set of arguments for constructing a Function resource.
|
|
37
|
-
*/
|
|
38
|
-
export interface FunctionArgs {
|
|
39
|
-
cpu?: pulumi.Input<number>;
|
|
40
|
-
inputSchema: pulumi.Input<{
|
|
41
|
-
[key: string]: any;
|
|
42
|
-
}>;
|
|
43
|
-
memoryMb?: pulumi.Input<number>;
|
|
44
|
-
name: pulumi.Input<string>;
|
|
45
|
-
projectId?: pulumi.Input<string>;
|
|
46
|
-
serviceId: pulumi.Input<string>;
|
|
47
|
-
}
|
package/dist/function.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
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.Function = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
class Function extends pulumi.CustomResource {
|
|
9
|
-
/**
|
|
10
|
-
* Get an existing Function resource's state with the given name, ID, and optional extra
|
|
11
|
-
* properties used to qualify the lookup.
|
|
12
|
-
*
|
|
13
|
-
* @param name The _unique_ name of the resulting resource.
|
|
14
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
-
*/
|
|
17
|
-
static get(name, id, opts) {
|
|
18
|
-
return new Function(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Returns true if the given object is an instance of Function. This is designed to work even
|
|
22
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
-
*/
|
|
24
|
-
static isInstance(obj) {
|
|
25
|
-
if (obj === undefined || obj === null) {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
return obj['__pulumiType'] === Function.__pulumiType;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Create a Function resource with the given unique name, arguments, and options.
|
|
32
|
-
*
|
|
33
|
-
* @param name The _unique_ name of the resource.
|
|
34
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
-
*/
|
|
37
|
-
constructor(name, args, opts) {
|
|
38
|
-
let resourceInputs = {};
|
|
39
|
-
opts = opts || {};
|
|
40
|
-
if (!opts.id) {
|
|
41
|
-
if ((!args || args.inputSchema === undefined) && !opts.urn) {
|
|
42
|
-
throw new Error("Missing required property 'inputSchema'");
|
|
43
|
-
}
|
|
44
|
-
if ((!args || args.name === undefined) && !opts.urn) {
|
|
45
|
-
throw new Error("Missing required property 'name'");
|
|
46
|
-
}
|
|
47
|
-
if ((!args || args.serviceId === undefined) && !opts.urn) {
|
|
48
|
-
throw new Error("Missing required property 'serviceId'");
|
|
49
|
-
}
|
|
50
|
-
resourceInputs["cpu"] = args ? args.cpu : undefined;
|
|
51
|
-
resourceInputs["inputSchema"] = args ? args.inputSchema : undefined;
|
|
52
|
-
resourceInputs["memoryMb"] = args ? args.memoryMb : undefined;
|
|
53
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
54
|
-
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
55
|
-
resourceInputs["serviceId"] = args ? args.serviceId : undefined;
|
|
56
|
-
resourceInputs["functionId"] = undefined /*out*/;
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
resourceInputs["cpu"] = undefined /*out*/;
|
|
60
|
-
resourceInputs["functionId"] = undefined /*out*/;
|
|
61
|
-
resourceInputs["inputSchema"] = undefined /*out*/;
|
|
62
|
-
resourceInputs["memoryMb"] = undefined /*out*/;
|
|
63
|
-
resourceInputs["name"] = undefined /*out*/;
|
|
64
|
-
resourceInputs["projectId"] = undefined /*out*/;
|
|
65
|
-
resourceInputs["serviceId"] = undefined /*out*/;
|
|
66
|
-
}
|
|
67
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
68
|
-
const replaceOnChanges = { replaceOnChanges: ["name", "projectId", "serviceId"] };
|
|
69
|
-
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
70
|
-
super(Function.__pulumiType, name, resourceInputs, opts);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
exports.Function = Function;
|
|
74
|
-
/** @internal */
|
|
75
|
-
Function.__pulumiType = 'agentcloud:index:Function';
|
|
76
|
-
//# sourceMappingURL=function.js.map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;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,EAAE,WAAW,CAAC,EAAE,CAAC;QAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA3EL,4BA4EC;AA/DG,gBAAgB;AACO,qBAAY,GAAG,2BAA2B,CAAC"}
|
package/dist/image.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
export declare class Image extends pulumi.CustomResource {
|
|
3
|
-
/**
|
|
4
|
-
* Get an existing Image resource's state with the given name, ID, and optional extra
|
|
5
|
-
* properties used to qualify the lookup.
|
|
6
|
-
*
|
|
7
|
-
* @param name The _unique_ name of the resulting resource.
|
|
8
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
10
|
-
*/
|
|
11
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Image;
|
|
12
|
-
/**
|
|
13
|
-
* Returns true if the given object is an instance of Image. This is designed to work even
|
|
14
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
15
|
-
*/
|
|
16
|
-
static isInstance(obj: any): obj is Image;
|
|
17
|
-
readonly buildComputeType: pulumi.Output<string | undefined>;
|
|
18
|
-
readonly buildEphemeralStorageGiB: pulumi.Output<number | undefined>;
|
|
19
|
-
readonly contextPath: pulumi.Output<string | undefined>;
|
|
20
|
-
readonly dockerfilePath: pulumi.Output<string | undefined>;
|
|
21
|
-
readonly imageId: pulumi.Output<string>;
|
|
22
|
-
readonly name: pulumi.Output<string>;
|
|
23
|
-
readonly projectId: pulumi.Output<string | undefined>;
|
|
24
|
-
readonly registryRef: pulumi.Output<string | undefined>;
|
|
25
|
-
readonly sourceType: pulumi.Output<string>;
|
|
26
|
-
/**
|
|
27
|
-
* Create a Image resource with the given unique name, arguments, and options.
|
|
28
|
-
*
|
|
29
|
-
* @param name The _unique_ name of the resource.
|
|
30
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
31
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
32
|
-
*/
|
|
33
|
-
constructor(name: string, args: ImageArgs, opts?: pulumi.CustomResourceOptions);
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* The set of arguments for constructing a Image resource.
|
|
37
|
-
*/
|
|
38
|
-
export interface ImageArgs {
|
|
39
|
-
buildComputeType?: pulumi.Input<string>;
|
|
40
|
-
buildEphemeralStorageGiB?: pulumi.Input<number>;
|
|
41
|
-
contextPath?: pulumi.Input<string>;
|
|
42
|
-
dockerfilePath?: pulumi.Input<string>;
|
|
43
|
-
name: pulumi.Input<string>;
|
|
44
|
-
projectId?: pulumi.Input<string>;
|
|
45
|
-
registryRef?: pulumi.Input<string>;
|
|
46
|
-
sourceType: pulumi.Input<string>;
|
|
47
|
-
}
|
package/dist/image.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
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.Image = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
class Image extends pulumi.CustomResource {
|
|
9
|
-
/**
|
|
10
|
-
* Get an existing Image resource's state with the given name, ID, and optional extra
|
|
11
|
-
* properties used to qualify the lookup.
|
|
12
|
-
*
|
|
13
|
-
* @param name The _unique_ name of the resulting resource.
|
|
14
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
-
*/
|
|
17
|
-
static get(name, id, opts) {
|
|
18
|
-
return new Image(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Returns true if the given object is an instance of Image. This is designed to work even
|
|
22
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
-
*/
|
|
24
|
-
static isInstance(obj) {
|
|
25
|
-
if (obj === undefined || obj === null) {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
return obj['__pulumiType'] === Image.__pulumiType;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Create a Image resource with the given unique name, arguments, and options.
|
|
32
|
-
*
|
|
33
|
-
* @param name The _unique_ name of the resource.
|
|
34
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
-
*/
|
|
37
|
-
constructor(name, args, opts) {
|
|
38
|
-
let resourceInputs = {};
|
|
39
|
-
opts = opts || {};
|
|
40
|
-
if (!opts.id) {
|
|
41
|
-
if ((!args || args.name === undefined) && !opts.urn) {
|
|
42
|
-
throw new Error("Missing required property 'name'");
|
|
43
|
-
}
|
|
44
|
-
if ((!args || args.sourceType === undefined) && !opts.urn) {
|
|
45
|
-
throw new Error("Missing required property 'sourceType'");
|
|
46
|
-
}
|
|
47
|
-
resourceInputs["buildComputeType"] = args ? args.buildComputeType : undefined;
|
|
48
|
-
resourceInputs["buildEphemeralStorageGiB"] = args ? args.buildEphemeralStorageGiB : undefined;
|
|
49
|
-
resourceInputs["contextPath"] = args ? args.contextPath : undefined;
|
|
50
|
-
resourceInputs["dockerfilePath"] = args ? args.dockerfilePath : undefined;
|
|
51
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
52
|
-
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
53
|
-
resourceInputs["registryRef"] = args ? args.registryRef : undefined;
|
|
54
|
-
resourceInputs["sourceType"] = args ? args.sourceType : undefined;
|
|
55
|
-
resourceInputs["imageId"] = undefined /*out*/;
|
|
56
|
-
}
|
|
57
|
-
else {
|
|
58
|
-
resourceInputs["buildComputeType"] = undefined /*out*/;
|
|
59
|
-
resourceInputs["buildEphemeralStorageGiB"] = undefined /*out*/;
|
|
60
|
-
resourceInputs["contextPath"] = undefined /*out*/;
|
|
61
|
-
resourceInputs["dockerfilePath"] = undefined /*out*/;
|
|
62
|
-
resourceInputs["imageId"] = undefined /*out*/;
|
|
63
|
-
resourceInputs["name"] = undefined /*out*/;
|
|
64
|
-
resourceInputs["projectId"] = undefined /*out*/;
|
|
65
|
-
resourceInputs["registryRef"] = undefined /*out*/;
|
|
66
|
-
resourceInputs["sourceType"] = undefined /*out*/;
|
|
67
|
-
}
|
|
68
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
69
|
-
const replaceOnChanges = { replaceOnChanges: ["projectId"] };
|
|
70
|
-
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
71
|
-
super(Image.__pulumiType, name, resourceInputs, opts);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
exports.Image = Image;
|
|
75
|
-
/** @internal */
|
|
76
|
-
Image.__pulumiType = 'agentcloud:index:Image';
|
|
77
|
-
//# sourceMappingURL=image.js.map
|
package/dist/image.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"image.js","sourceRoot":"","sources":["../image.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI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