@sl-testing/ac-pulumi 0.1.0 → 0.1.1
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/agent.js +16 -16
- package/dist/agent.js.map +1 -1
- package/dist/config/vars.d.ts +4 -1
- package/dist/config/vars.js +8 -2
- package/dist/config/vars.js.map +1 -1
- package/dist/database.js +4 -4
- package/dist/database.js.map +1 -1
- package/dist/image.js +8 -8
- package/dist/image.js.map +1 -1
- package/dist/index.d.ts +12 -39
- package/dist/index.js +15 -44
- package/dist/index.js.map +1 -1
- package/dist/{function.d.ts → job.d.ts} +10 -10
- package/dist/{function.js → job.js} +23 -23
- package/dist/job.js.map +1 -0
- package/dist/jobRuns.d.ts +18 -0
- package/dist/{events.js → jobRuns.js} +10 -12
- package/dist/jobRuns.js.map +1 -0
- package/dist/machine.js +9 -9
- package/dist/machine.js.map +1 -1
- package/dist/package.json +3 -5
- package/dist/permissionRole.js +4 -4
- package/dist/permissionRole.js.map +1 -1
- package/dist/permissionRoleBinding.js +7 -7
- package/dist/permissionRoleBinding.js.map +1 -1
- package/dist/permissionRoleRule.js +8 -8
- package/dist/permissionRoleRule.js.map +1 -1
- package/dist/provider/darwin-arm64/pulumi-resource-agentcloud +0 -0
- package/dist/provider/linux-x64/pulumi-resource-agentcloud +0 -0
- package/dist/provider.d.ts +5 -2
- package/dist/provider.js +5 -4
- package/dist/provider.js.map +1 -1
- package/dist/secret.js +5 -5
- package/dist/secret.js.map +1 -1
- package/dist/{app.d.ts → service.d.ts} +11 -11
- package/dist/{app.js → service.js} +19 -19
- package/dist/service.js.map +1 -0
- package/dist/serviceDeployments.d.ts +18 -0
- package/dist/{appDeployments.js → serviceDeployments.js} +10 -10
- package/dist/serviceDeployments.js.map +1 -0
- package/dist/types/output.d.ts +13 -26
- package/dist/utilities.d.ts +0 -4
- package/dist/utilities.js +19 -29
- package/dist/utilities.js.map +1 -1
- package/dist/workspaceMembership.js +5 -5
- package/dist/workspaceMembership.js.map +1 -1
- package/package.json +2 -2
- package/dist/app.js.map +0 -1
- package/dist/appDeployments.d.ts +0 -18
- package/dist/appDeployments.js.map +0 -1
- package/dist/eventDeliveries.d.ts +0 -22
- package/dist/eventDeliveries.js +0 -32
- package/dist/eventDeliveries.js.map +0 -1
- package/dist/eventRoute.d.ts +0 -50
- package/dist/eventRoute.js +0 -81
- package/dist/eventRoute.js.map +0 -1
- package/dist/eventSource.d.ts +0 -42
- package/dist/eventSource.js +0 -67
- package/dist/eventSource.js.map +0 -1
- package/dist/events.d.ts +0 -20
- package/dist/events.js.map +0 -1
- package/dist/function.js.map +0 -1
- package/dist/functionRuns.d.ts +0 -18
- package/dist/functionRuns.js +0 -28
- package/dist/functionRuns.js.map +0 -1
- package/dist/metricsQuery.d.ts +0 -17
- package/dist/metricsQuery.js +0 -24
- package/dist/metricsQuery.js.map +0 -1
- package/dist/metricsQueryRange.d.ts +0 -23
- package/dist/metricsQueryRange.js +0 -28
- package/dist/metricsQueryRange.js.map +0 -1
- package/dist/observabilityHealthcheck.d.ts +0 -13
- package/dist/observabilityHealthcheck.js +0 -19
- package/dist/observabilityHealthcheck.js.map +0 -1
- package/dist/traceDetail.d.ts +0 -19
- package/dist/traceDetail.js +0 -26
- package/dist/traceDetail.js.map +0 -1
- package/dist/tracesSearch.d.ts +0 -15
- package/dist/tracesSearch.js +0 -24
- package/dist/tracesSearch.js.map +0 -1
package/dist/agent.js
CHANGED
|
@@ -15,7 +15,7 @@ class Agent 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 Agent(name, undefined,
|
|
18
|
+
return new Agent(name, undefined, { ...opts, id: id });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Returns true if the given object is an instance of Agent. This is designed to work even
|
|
@@ -38,29 +38,29 @@ class Agent extends pulumi.CustomResource {
|
|
|
38
38
|
let resourceInputs = {};
|
|
39
39
|
opts = opts || {};
|
|
40
40
|
if (!opts.id) {
|
|
41
|
-
if (
|
|
41
|
+
if (args?.imageName === undefined && !opts.urn) {
|
|
42
42
|
throw new Error("Missing required property 'imageName'");
|
|
43
43
|
}
|
|
44
|
-
if (
|
|
44
|
+
if (args?.instructions === undefined && !opts.urn) {
|
|
45
45
|
throw new Error("Missing required property 'instructions'");
|
|
46
46
|
}
|
|
47
|
-
if (
|
|
47
|
+
if (args?.name === undefined && !opts.urn) {
|
|
48
48
|
throw new Error("Missing required property 'name'");
|
|
49
49
|
}
|
|
50
|
-
if (
|
|
50
|
+
if (args?.provider === undefined && !opts.urn) {
|
|
51
51
|
throw new Error("Missing required property 'provider'");
|
|
52
52
|
}
|
|
53
|
-
resourceInputs["cpu"] = args
|
|
54
|
-
resourceInputs["digest"] = args
|
|
55
|
-
resourceInputs["idleDeleteAfterSeconds"] = args
|
|
56
|
-
resourceInputs["idleStopAfterSeconds"] = args
|
|
57
|
-
resourceInputs["imageName"] = args
|
|
58
|
-
resourceInputs["instructions"] = args
|
|
59
|
-
resourceInputs["memoryMb"] = args
|
|
60
|
-
resourceInputs["model"] = args
|
|
61
|
-
resourceInputs["name"] = args
|
|
62
|
-
resourceInputs["provider"] = args
|
|
63
|
-
resourceInputs["workingDir"] = args
|
|
53
|
+
resourceInputs["cpu"] = args?.cpu;
|
|
54
|
+
resourceInputs["digest"] = args?.digest;
|
|
55
|
+
resourceInputs["idleDeleteAfterSeconds"] = args?.idleDeleteAfterSeconds;
|
|
56
|
+
resourceInputs["idleStopAfterSeconds"] = args?.idleStopAfterSeconds;
|
|
57
|
+
resourceInputs["imageName"] = args?.imageName;
|
|
58
|
+
resourceInputs["instructions"] = args?.instructions;
|
|
59
|
+
resourceInputs["memoryMb"] = args?.memoryMb;
|
|
60
|
+
resourceInputs["model"] = args?.model;
|
|
61
|
+
resourceInputs["name"] = args?.name;
|
|
62
|
+
resourceInputs["provider"] = args?.provider;
|
|
63
|
+
resourceInputs["workingDir"] = args?.workingDir;
|
|
64
64
|
resourceInputs["agentId"] = undefined /*out*/;
|
|
65
65
|
}
|
|
66
66
|
else {
|
package/dist/agent.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.js","sourceRoot":"","sources":["../agent.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,KAAK,CAAC,IAAI,EAAE,SAAgB,
|
|
1
|
+
{"version":3,"file":"agent.js","sourceRoot":"","sources":["../agent.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,KAAK,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IAeD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAe,EAAE,IAAmC;QAC1E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,E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ChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;aAAM;YACH,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,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,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA3FL,sBA4FC;AA/EG,gBAAgB;AACO,kBAAY,GAAG,wBAAwB,CAAC"}
|
package/dist/config/vars.d.ts
CHANGED
package/dist/config/vars.js
CHANGED
|
@@ -4,15 +4,21 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
const pulumi = require("@pulumi/pulumi");
|
|
6
6
|
const __config = new pulumi.Config("agentcloud");
|
|
7
|
+
Object.defineProperty(exports, "__internal", {
|
|
8
|
+
get() {
|
|
9
|
+
return __config.getObject("__internal");
|
|
10
|
+
},
|
|
11
|
+
enumerable: true,
|
|
12
|
+
});
|
|
7
13
|
Object.defineProperty(exports, "apiUrl", {
|
|
8
14
|
get() {
|
|
9
15
|
return __config.get("apiUrl");
|
|
10
16
|
},
|
|
11
17
|
enumerable: true,
|
|
12
18
|
});
|
|
13
|
-
Object.defineProperty(exports, "
|
|
19
|
+
Object.defineProperty(exports, "workspaceId", {
|
|
14
20
|
get() {
|
|
15
|
-
return __config.get("
|
|
21
|
+
return __config.get("workspaceId");
|
|
16
22
|
},
|
|
17
23
|
enumerable: true,
|
|
18
24
|
});
|
package/dist/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AAGjD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AAGjD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAuB,YAAY,CAAC,CAAC;IAClE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/dist/database.js
CHANGED
|
@@ -15,7 +15,7 @@ class Database 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 Database(name, undefined,
|
|
18
|
+
return new Database(name, undefined, { ...opts, id: id });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Returns true if the given object is an instance of Database. This is designed to work even
|
|
@@ -38,11 +38,11 @@ class Database 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["secretKey"] = args
|
|
44
|
+
resourceInputs["name"] = args?.name;
|
|
45
|
+
resourceInputs["secretKey"] = args?.secretKey;
|
|
46
46
|
resourceInputs["databaseId"] = undefined /*out*/;
|
|
47
47
|
resourceInputs["resolvedEndpoint"] = undefined /*out*/;
|
|
48
48
|
resourceInputs["resolvedSecretKey"] = undefined /*out*/;
|
package/dist/database.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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;IASD;;;;;;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,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,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,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,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,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAhEL,4BAiEC;AApDG,gBAAgB;AACO,qBAAY,GAAG,2BAA2B,CAAC"}
|
package/dist/image.js
CHANGED
|
@@ -15,7 +15,7 @@ class Image 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 Image(name, undefined,
|
|
18
|
+
return new Image(name, undefined, { ...opts, id: id });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Returns true if the given object is an instance of Image. This is designed to work even
|
|
@@ -38,17 +38,17 @@ class Image 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
|
-
if (
|
|
44
|
+
if (args?.sourceType === undefined && !opts.urn) {
|
|
45
45
|
throw new Error("Missing required property 'sourceType'");
|
|
46
46
|
}
|
|
47
|
-
resourceInputs["contextPath"] = args
|
|
48
|
-
resourceInputs["dockerfilePath"] = args
|
|
49
|
-
resourceInputs["name"] = args
|
|
50
|
-
resourceInputs["registryRef"] = args
|
|
51
|
-
resourceInputs["sourceType"] = args
|
|
47
|
+
resourceInputs["contextPath"] = args?.contextPath;
|
|
48
|
+
resourceInputs["dockerfilePath"] = args?.dockerfilePath;
|
|
49
|
+
resourceInputs["name"] = args?.name;
|
|
50
|
+
resourceInputs["registryRef"] = args?.registryRef;
|
|
51
|
+
resourceInputs["sourceType"] = args?.sourceType;
|
|
52
52
|
resourceInputs["imageId"] = undefined /*out*/;
|
|
53
53
|
}
|
|
54
54
|
else {
|
package/dist/image.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,KAAK,CAAC,IAAI,EAAE,SAAgB,
|
|
1
|
+
{"version":3,"file":"image.js","sourceRoot":"","sources":["../image.ts"],"names":[],"mappings":";AAAA,sEAAsE;A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,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;aAAM;YACH,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,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,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAnEL,sBAoEC;AAvDG,gBAAgB;AACO,kBAAY,GAAG,wBAAwB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,39 +1,21 @@
|
|
|
1
1
|
export { AgentArgs } from "./agent";
|
|
2
2
|
export type Agent = import("./agent").Agent;
|
|
3
3
|
export declare const Agent: typeof import("./agent").Agent;
|
|
4
|
-
export { AppArgs } from "./app";
|
|
5
|
-
export type App = import("./app").App;
|
|
6
|
-
export declare const App: typeof import("./app").App;
|
|
7
|
-
export { AppDeploymentsArgs, AppDeploymentsResult, AppDeploymentsOutputArgs } from "./appDeployments";
|
|
8
|
-
export declare const appDeployments: typeof import("./appDeployments").appDeployments;
|
|
9
|
-
export declare const appDeploymentsOutput: typeof import("./appDeployments").appDeploymentsOutput;
|
|
10
4
|
export { DatabaseArgs } from "./database";
|
|
11
5
|
export type Database = import("./database").Database;
|
|
12
6
|
export declare const Database: typeof import("./database").Database;
|
|
13
|
-
export { EventDeliveriesArgs, EventDeliveriesResult, EventDeliveriesOutputArgs } from "./eventDeliveries";
|
|
14
|
-
export declare const eventDeliveries: typeof import("./eventDeliveries").eventDeliveries;
|
|
15
|
-
export declare const eventDeliveriesOutput: typeof import("./eventDeliveries").eventDeliveriesOutput;
|
|
16
|
-
export { EventRouteArgs } from "./eventRoute";
|
|
17
|
-
export type EventRoute = import("./eventRoute").EventRoute;
|
|
18
|
-
export declare const EventRoute: typeof import("./eventRoute").EventRoute;
|
|
19
|
-
export { EventSourceArgs } from "./eventSource";
|
|
20
|
-
export type EventSource = import("./eventSource").EventSource;
|
|
21
|
-
export declare const EventSource: typeof import("./eventSource").EventSource;
|
|
22
|
-
export { EventsArgs, EventsResult, EventsOutputArgs } from "./events";
|
|
23
|
-
export declare const events: typeof import("./events").events;
|
|
24
|
-
export declare const eventsOutput: typeof import("./events").eventsOutput;
|
|
25
|
-
export { FunctionArgs } from "./function";
|
|
26
|
-
export type Function = import("./function").Function;
|
|
27
|
-
export declare const Function: typeof import("./function").Function;
|
|
28
|
-
export { FunctionRunsArgs, FunctionRunsResult, FunctionRunsOutputArgs } from "./functionRuns";
|
|
29
|
-
export declare const functionRuns: typeof import("./functionRuns").functionRuns;
|
|
30
|
-
export declare const functionRunsOutput: typeof import("./functionRuns").functionRunsOutput;
|
|
31
7
|
export { ImageArgs } from "./image";
|
|
32
8
|
export type Image = import("./image").Image;
|
|
33
9
|
export declare const Image: typeof import("./image").Image;
|
|
34
10
|
export { ImageVersionsArgs, ImageVersionsResult, ImageVersionsOutputArgs } from "./imageVersions";
|
|
35
11
|
export declare const imageVersions: typeof import("./imageVersions").imageVersions;
|
|
36
12
|
export declare const imageVersionsOutput: typeof import("./imageVersions").imageVersionsOutput;
|
|
13
|
+
export { JobArgs } from "./job";
|
|
14
|
+
export type Job = import("./job").Job;
|
|
15
|
+
export declare const Job: typeof import("./job").Job;
|
|
16
|
+
export { JobRunsArgs, JobRunsResult, JobRunsOutputArgs } from "./jobRuns";
|
|
17
|
+
export declare const jobRuns: typeof import("./jobRuns").jobRuns;
|
|
18
|
+
export declare const jobRunsOutput: typeof import("./jobRuns").jobRunsOutput;
|
|
37
19
|
export { LogsArgs, LogsResult, LogsOutputArgs } from "./logs";
|
|
38
20
|
export declare const logs: typeof import("./logs").logs;
|
|
39
21
|
export declare const logsOutput: typeof import("./logs").logsOutput;
|
|
@@ -43,15 +25,6 @@ export declare const Machine: typeof import("./machine").Machine;
|
|
|
43
25
|
export { MessagesArgs, MessagesResult, MessagesOutputArgs } from "./messages";
|
|
44
26
|
export declare const messages: typeof import("./messages").messages;
|
|
45
27
|
export declare const messagesOutput: typeof import("./messages").messagesOutput;
|
|
46
|
-
export { MetricsQueryArgs, MetricsQueryResult, MetricsQueryOutputArgs } from "./metricsQuery";
|
|
47
|
-
export declare const metricsQuery: typeof import("./metricsQuery").metricsQuery;
|
|
48
|
-
export declare const metricsQueryOutput: typeof import("./metricsQuery").metricsQueryOutput;
|
|
49
|
-
export { MetricsQueryRangeArgs, MetricsQueryRangeResult, MetricsQueryRangeOutputArgs } from "./metricsQueryRange";
|
|
50
|
-
export declare const metricsQueryRange: typeof import("./metricsQueryRange").metricsQueryRange;
|
|
51
|
-
export declare const metricsQueryRangeOutput: typeof import("./metricsQueryRange").metricsQueryRangeOutput;
|
|
52
|
-
export { ObservabilityHealthcheckArgs, ObservabilityHealthcheckResult } from "./observabilityHealthcheck";
|
|
53
|
-
export declare const observabilityHealthcheck: typeof import("./observabilityHealthcheck").observabilityHealthcheck;
|
|
54
|
-
export declare const observabilityHealthcheckOutput: typeof import("./observabilityHealthcheck").observabilityHealthcheckOutput;
|
|
55
28
|
export { PermissionRoleArgs } from "./permissionRole";
|
|
56
29
|
export type PermissionRole = import("./permissionRole").PermissionRole;
|
|
57
30
|
export declare const PermissionRole: typeof import("./permissionRole").PermissionRole;
|
|
@@ -67,15 +40,15 @@ export declare const Provider: typeof import("./provider").Provider;
|
|
|
67
40
|
export { SecretArgs } from "./secret";
|
|
68
41
|
export type Secret = import("./secret").Secret;
|
|
69
42
|
export declare const Secret: typeof import("./secret").Secret;
|
|
43
|
+
export { ServiceArgs } from "./service";
|
|
44
|
+
export type Service = import("./service").Service;
|
|
45
|
+
export declare const Service: typeof import("./service").Service;
|
|
46
|
+
export { ServiceDeploymentsArgs, ServiceDeploymentsResult, ServiceDeploymentsOutputArgs } from "./serviceDeployments";
|
|
47
|
+
export declare const serviceDeployments: typeof import("./serviceDeployments").serviceDeployments;
|
|
48
|
+
export declare const serviceDeploymentsOutput: typeof import("./serviceDeployments").serviceDeploymentsOutput;
|
|
70
49
|
export { ThreadsArgs, ThreadsResult, ThreadsOutputArgs } from "./threads";
|
|
71
50
|
export declare const threads: typeof import("./threads").threads;
|
|
72
51
|
export declare const threadsOutput: typeof import("./threads").threadsOutput;
|
|
73
|
-
export { TraceDetailArgs, TraceDetailResult, TraceDetailOutputArgs } from "./traceDetail";
|
|
74
|
-
export declare const traceDetail: typeof import("./traceDetail").traceDetail;
|
|
75
|
-
export declare const traceDetailOutput: typeof import("./traceDetail").traceDetailOutput;
|
|
76
|
-
export { TracesSearchArgs, TracesSearchResult, TracesSearchOutputArgs } from "./tracesSearch";
|
|
77
|
-
export declare const tracesSearch: typeof import("./tracesSearch").tracesSearch;
|
|
78
|
-
export declare const tracesSearchOutput: typeof import("./tracesSearch").tracesSearchOutput;
|
|
79
52
|
export { UsersArgs, UsersResult, UsersOutputArgs } from "./users";
|
|
80
53
|
export declare const users: typeof import("./users").users;
|
|
81
54
|
export declare const usersOutput: typeof import("./users").usersOutput;
|
package/dist/index.js
CHANGED
|
@@ -2,38 +2,23 @@
|
|
|
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.WorkspaceMembership = exports.usersOutput = exports.users = exports.
|
|
5
|
+
exports.types = exports.config = exports.WorkspaceMembership = exports.usersOutput = exports.users = exports.threadsOutput = exports.threads = exports.serviceDeploymentsOutput = exports.serviceDeployments = exports.Service = exports.Secret = exports.Provider = exports.PermissionRoleRule = exports.PermissionRoleBinding = exports.PermissionRole = exports.messagesOutput = exports.messages = exports.Machine = exports.logsOutput = exports.logs = exports.jobRunsOutput = exports.jobRuns = exports.Job = exports.imageVersionsOutput = exports.imageVersions = exports.Image = exports.Database = exports.Agent = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
exports.Agent = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["Agent"], () => require("./agent"));
|
|
10
|
-
exports.App = null;
|
|
11
|
-
utilities.lazyLoad(exports, ["App"], () => require("./app"));
|
|
12
|
-
exports.appDeployments = null;
|
|
13
|
-
exports.appDeploymentsOutput = null;
|
|
14
|
-
utilities.lazyLoad(exports, ["appDeployments", "appDeploymentsOutput"], () => require("./appDeployments"));
|
|
15
10
|
exports.Database = null;
|
|
16
11
|
utilities.lazyLoad(exports, ["Database"], () => require("./database"));
|
|
17
|
-
exports.eventDeliveries = null;
|
|
18
|
-
exports.eventDeliveriesOutput = null;
|
|
19
|
-
utilities.lazyLoad(exports, ["eventDeliveries", "eventDeliveriesOutput"], () => require("./eventDeliveries"));
|
|
20
|
-
exports.EventRoute = null;
|
|
21
|
-
utilities.lazyLoad(exports, ["EventRoute"], () => require("./eventRoute"));
|
|
22
|
-
exports.EventSource = null;
|
|
23
|
-
utilities.lazyLoad(exports, ["EventSource"], () => require("./eventSource"));
|
|
24
|
-
exports.events = null;
|
|
25
|
-
exports.eventsOutput = null;
|
|
26
|
-
utilities.lazyLoad(exports, ["events", "eventsOutput"], () => require("./events"));
|
|
27
|
-
exports.Function = null;
|
|
28
|
-
utilities.lazyLoad(exports, ["Function"], () => require("./function"));
|
|
29
|
-
exports.functionRuns = null;
|
|
30
|
-
exports.functionRunsOutput = null;
|
|
31
|
-
utilities.lazyLoad(exports, ["functionRuns", "functionRunsOutput"], () => require("./functionRuns"));
|
|
32
12
|
exports.Image = null;
|
|
33
13
|
utilities.lazyLoad(exports, ["Image"], () => require("./image"));
|
|
34
14
|
exports.imageVersions = null;
|
|
35
15
|
exports.imageVersionsOutput = null;
|
|
36
16
|
utilities.lazyLoad(exports, ["imageVersions", "imageVersionsOutput"], () => require("./imageVersions"));
|
|
17
|
+
exports.Job = null;
|
|
18
|
+
utilities.lazyLoad(exports, ["Job"], () => require("./job"));
|
|
19
|
+
exports.jobRuns = null;
|
|
20
|
+
exports.jobRunsOutput = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["jobRuns", "jobRunsOutput"], () => require("./jobRuns"));
|
|
37
22
|
exports.logs = null;
|
|
38
23
|
exports.logsOutput = null;
|
|
39
24
|
utilities.lazyLoad(exports, ["logs", "logsOutput"], () => require("./logs"));
|
|
@@ -42,15 +27,6 @@ utilities.lazyLoad(exports, ["Machine"], () => require("./machine"));
|
|
|
42
27
|
exports.messages = null;
|
|
43
28
|
exports.messagesOutput = null;
|
|
44
29
|
utilities.lazyLoad(exports, ["messages", "messagesOutput"], () => require("./messages"));
|
|
45
|
-
exports.metricsQuery = null;
|
|
46
|
-
exports.metricsQueryOutput = null;
|
|
47
|
-
utilities.lazyLoad(exports, ["metricsQuery", "metricsQueryOutput"], () => require("./metricsQuery"));
|
|
48
|
-
exports.metricsQueryRange = null;
|
|
49
|
-
exports.metricsQueryRangeOutput = null;
|
|
50
|
-
utilities.lazyLoad(exports, ["metricsQueryRange", "metricsQueryRangeOutput"], () => require("./metricsQueryRange"));
|
|
51
|
-
exports.observabilityHealthcheck = null;
|
|
52
|
-
exports.observabilityHealthcheckOutput = null;
|
|
53
|
-
utilities.lazyLoad(exports, ["observabilityHealthcheck", "observabilityHealthcheckOutput"], () => require("./observabilityHealthcheck"));
|
|
54
30
|
exports.PermissionRole = null;
|
|
55
31
|
utilities.lazyLoad(exports, ["PermissionRole"], () => require("./permissionRole"));
|
|
56
32
|
exports.PermissionRoleBinding = null;
|
|
@@ -61,15 +37,14 @@ exports.Provider = null;
|
|
|
61
37
|
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
62
38
|
exports.Secret = null;
|
|
63
39
|
utilities.lazyLoad(exports, ["Secret"], () => require("./secret"));
|
|
40
|
+
exports.Service = null;
|
|
41
|
+
utilities.lazyLoad(exports, ["Service"], () => require("./service"));
|
|
42
|
+
exports.serviceDeployments = null;
|
|
43
|
+
exports.serviceDeploymentsOutput = null;
|
|
44
|
+
utilities.lazyLoad(exports, ["serviceDeployments", "serviceDeploymentsOutput"], () => require("./serviceDeployments"));
|
|
64
45
|
exports.threads = null;
|
|
65
46
|
exports.threadsOutput = null;
|
|
66
47
|
utilities.lazyLoad(exports, ["threads", "threadsOutput"], () => require("./threads"));
|
|
67
|
-
exports.traceDetail = null;
|
|
68
|
-
exports.traceDetailOutput = null;
|
|
69
|
-
utilities.lazyLoad(exports, ["traceDetail", "traceDetailOutput"], () => require("./traceDetail"));
|
|
70
|
-
exports.tracesSearch = null;
|
|
71
|
-
exports.tracesSearchOutput = null;
|
|
72
|
-
utilities.lazyLoad(exports, ["tracesSearch", "tracesSearchOutput"], () => require("./tracesSearch"));
|
|
73
48
|
exports.users = null;
|
|
74
49
|
exports.usersOutput = null;
|
|
75
50
|
utilities.lazyLoad(exports, ["users", "usersOutput"], () => require("./users"));
|
|
@@ -86,18 +61,12 @@ const _module = {
|
|
|
86
61
|
switch (type) {
|
|
87
62
|
case "agentcloud:index:Agent":
|
|
88
63
|
return new exports.Agent(name, undefined, { urn });
|
|
89
|
-
case "agentcloud:index:App":
|
|
90
|
-
return new exports.App(name, undefined, { urn });
|
|
91
64
|
case "agentcloud:index:Database":
|
|
92
65
|
return new exports.Database(name, undefined, { urn });
|
|
93
|
-
case "agentcloud:index:EventRoute":
|
|
94
|
-
return new exports.EventRoute(name, undefined, { urn });
|
|
95
|
-
case "agentcloud:index:EventSource":
|
|
96
|
-
return new exports.EventSource(name, undefined, { urn });
|
|
97
|
-
case "agentcloud:index:Function":
|
|
98
|
-
return new exports.Function(name, undefined, { urn });
|
|
99
66
|
case "agentcloud:index:Image":
|
|
100
67
|
return new exports.Image(name, undefined, { urn });
|
|
68
|
+
case "agentcloud:index:Job":
|
|
69
|
+
return new exports.Job(name, undefined, { urn });
|
|
101
70
|
case "agentcloud:index:Machine":
|
|
102
71
|
return new exports.Machine(name, undefined, { urn });
|
|
103
72
|
case "agentcloud:index:PermissionRole":
|
|
@@ -108,6 +77,8 @@ const _module = {
|
|
|
108
77
|
return new exports.PermissionRoleRule(name, undefined, { urn });
|
|
109
78
|
case "agentcloud:index:Secret":
|
|
110
79
|
return new exports.Secret(name, undefined, { urn });
|
|
80
|
+
case "agentcloud:index:Service":
|
|
81
|
+
return new exports.Service(name, undefined, { urn });
|
|
111
82
|
case "agentcloud:index:WorkspaceMembership":
|
|
112
83
|
return new exports.WorkspaceMembership(name, undefined, { urn });
|
|
113
84
|
default:
|
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;AAK5B,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAIpD,QAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE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AO,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"}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class Job extends pulumi.CustomResource {
|
|
3
3
|
/**
|
|
4
|
-
* Get an existing
|
|
4
|
+
* Get an existing Job resource's state with the given name, ID, and optional extra
|
|
5
5
|
* properties used to qualify the lookup.
|
|
6
6
|
*
|
|
7
7
|
* @param name The _unique_ name of the resulting resource.
|
|
8
8
|
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
9
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
10
10
|
*/
|
|
11
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions):
|
|
11
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Job;
|
|
12
12
|
/**
|
|
13
|
-
* Returns true if the given object is an instance of
|
|
13
|
+
* Returns true if the given object is an instance of Job. This is designed to work even
|
|
14
14
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
15
15
|
*/
|
|
16
|
-
static isInstance(obj: any): obj is
|
|
16
|
+
static isInstance(obj: any): obj is Job;
|
|
17
17
|
readonly command: pulumi.Output<string>;
|
|
18
18
|
readonly digest: pulumi.Output<string | undefined>;
|
|
19
|
-
readonly functionId: pulumi.Output<string>;
|
|
20
19
|
readonly imageName: pulumi.Output<string>;
|
|
21
20
|
readonly inputSchema: pulumi.Output<{
|
|
22
21
|
[key: string]: any;
|
|
23
22
|
} | undefined>;
|
|
23
|
+
readonly jobId: pulumi.Output<string>;
|
|
24
24
|
readonly maxParallelRuns: pulumi.Output<number | undefined>;
|
|
25
25
|
readonly name: pulumi.Output<string>;
|
|
26
26
|
readonly timeoutSeconds: pulumi.Output<number | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
* Create a
|
|
28
|
+
* Create a Job resource with the given unique name, arguments, and options.
|
|
29
29
|
*
|
|
30
30
|
* @param name The _unique_ name of the resource.
|
|
31
31
|
* @param args The arguments to use to populate this resource's properties.
|
|
32
32
|
* @param opts A bag of options that control this resource's behavior.
|
|
33
33
|
*/
|
|
34
|
-
constructor(name: string, args:
|
|
34
|
+
constructor(name: string, args: JobArgs, opts?: pulumi.CustomResourceOptions);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* The set of arguments for constructing a
|
|
37
|
+
* The set of arguments for constructing a Job resource.
|
|
38
38
|
*/
|
|
39
|
-
export interface
|
|
39
|
+
export interface JobArgs {
|
|
40
40
|
command: pulumi.Input<string>;
|
|
41
41
|
digest?: pulumi.Input<string>;
|
|
42
42
|
imageName: pulumi.Input<string>;
|
|
@@ -2,12 +2,12 @@
|
|
|
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.
|
|
5
|
+
exports.Job = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
class
|
|
8
|
+
class Job extends pulumi.CustomResource {
|
|
9
9
|
/**
|
|
10
|
-
* Get an existing
|
|
10
|
+
* Get an existing Job resource's state with the given name, ID, and optional extra
|
|
11
11
|
* properties used to qualify the lookup.
|
|
12
12
|
*
|
|
13
13
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -15,20 +15,20 @@ class Function 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
|
|
18
|
+
return new Job(name, undefined, { ...opts, id: id });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* Returns true if the given object is an instance of
|
|
21
|
+
* Returns true if the given object is an instance of Job. This is designed to work even
|
|
22
22
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
23
|
*/
|
|
24
24
|
static isInstance(obj) {
|
|
25
25
|
if (obj === undefined || obj === null) {
|
|
26
26
|
return false;
|
|
27
27
|
}
|
|
28
|
-
return obj['__pulumiType'] ===
|
|
28
|
+
return obj['__pulumiType'] === Job.__pulumiType;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* Create a
|
|
31
|
+
* Create a Job resource with the given unique name, arguments, and options.
|
|
32
32
|
*
|
|
33
33
|
* @param name The _unique_ name of the resource.
|
|
34
34
|
* @param args The arguments to use to populate this resource's properties.
|
|
@@ -38,39 +38,39 @@ class Function extends pulumi.CustomResource {
|
|
|
38
38
|
let resourceInputs = {};
|
|
39
39
|
opts = opts || {};
|
|
40
40
|
if (!opts.id) {
|
|
41
|
-
if (
|
|
41
|
+
if (args?.command === undefined && !opts.urn) {
|
|
42
42
|
throw new Error("Missing required property 'command'");
|
|
43
43
|
}
|
|
44
|
-
if (
|
|
44
|
+
if (args?.imageName === undefined && !opts.urn) {
|
|
45
45
|
throw new Error("Missing required property 'imageName'");
|
|
46
46
|
}
|
|
47
|
-
if (
|
|
47
|
+
if (args?.name === undefined && !opts.urn) {
|
|
48
48
|
throw new Error("Missing required property 'name'");
|
|
49
49
|
}
|
|
50
|
-
resourceInputs["command"] = args
|
|
51
|
-
resourceInputs["digest"] = args
|
|
52
|
-
resourceInputs["imageName"] = args
|
|
53
|
-
resourceInputs["inputSchema"] = args
|
|
54
|
-
resourceInputs["maxParallelRuns"] = args
|
|
55
|
-
resourceInputs["name"] = args
|
|
56
|
-
resourceInputs["timeoutSeconds"] = args
|
|
57
|
-
resourceInputs["
|
|
50
|
+
resourceInputs["command"] = args?.command;
|
|
51
|
+
resourceInputs["digest"] = args?.digest;
|
|
52
|
+
resourceInputs["imageName"] = args?.imageName;
|
|
53
|
+
resourceInputs["inputSchema"] = args?.inputSchema;
|
|
54
|
+
resourceInputs["maxParallelRuns"] = args?.maxParallelRuns;
|
|
55
|
+
resourceInputs["name"] = args?.name;
|
|
56
|
+
resourceInputs["timeoutSeconds"] = args?.timeoutSeconds;
|
|
57
|
+
resourceInputs["jobId"] = undefined /*out*/;
|
|
58
58
|
}
|
|
59
59
|
else {
|
|
60
60
|
resourceInputs["command"] = undefined /*out*/;
|
|
61
61
|
resourceInputs["digest"] = undefined /*out*/;
|
|
62
|
-
resourceInputs["functionId"] = undefined /*out*/;
|
|
63
62
|
resourceInputs["imageName"] = undefined /*out*/;
|
|
64
63
|
resourceInputs["inputSchema"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["jobId"] = undefined /*out*/;
|
|
65
65
|
resourceInputs["maxParallelRuns"] = undefined /*out*/;
|
|
66
66
|
resourceInputs["name"] = undefined /*out*/;
|
|
67
67
|
resourceInputs["timeoutSeconds"] = undefined /*out*/;
|
|
68
68
|
}
|
|
69
69
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
|
-
super(
|
|
70
|
+
super(Job.__pulumiType, name, resourceInputs, opts);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
exports.
|
|
73
|
+
exports.Job = Job;
|
|
74
74
|
/** @internal */
|
|
75
|
-
|
|
76
|
-
//# sourceMappingURL=
|
|
75
|
+
Job.__pulumiType = 'agentcloud:index:Job';
|
|
76
|
+
//# sourceMappingURL=job.js.map
|
package/dist/job.js.map
ADDED
|
@@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
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
export declare function jobRuns(args?: JobRunsArgs, opts?: pulumi.InvokeOptions): Promise<JobRunsResult>;
|
|
4
|
+
export interface JobRunsArgs {
|
|
5
|
+
cursor?: string;
|
|
6
|
+
jobName?: string;
|
|
7
|
+
limit?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface JobRunsResult {
|
|
10
|
+
readonly items: outputs.JobRun[];
|
|
11
|
+
readonly nextCursor?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function jobRunsOutput(args?: JobRunsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<JobRunsResult>;
|
|
14
|
+
export interface JobRunsOutputArgs {
|
|
15
|
+
cursor?: pulumi.Input<string>;
|
|
16
|
+
jobName?: pulumi.Input<string>;
|
|
17
|
+
limit?: pulumi.Input<number>;
|
|
18
|
+
}
|