@sl-testing/ac-pulumi 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/README.md +6 -0
  2. package/dist/agent.d.ts +53 -0
  3. package/dist/agent.js +87 -0
  4. package/dist/agent.js.map +1 -0
  5. package/dist/app.d.ts +39 -0
  6. package/dist/app.js +66 -0
  7. package/dist/app.js.map +1 -0
  8. package/dist/appDeployments.d.ts +18 -0
  9. package/dist/appDeployments.js +26 -0
  10. package/dist/appDeployments.js.map +1 -0
  11. package/dist/config/index.d.ts +1 -0
  12. package/dist/config/index.js +21 -0
  13. package/dist/config/index.js.map +1 -0
  14. package/dist/config/vars.d.ts +2 -0
  15. package/dist/config/vars.js +19 -0
  16. package/dist/config/vars.js.map +1 -0
  17. package/dist/database.d.ts +38 -0
  18. package/dist/database.js +66 -0
  19. package/dist/database.js.map +1 -0
  20. package/dist/eventDeliveries.d.ts +22 -0
  21. package/dist/eventDeliveries.js +32 -0
  22. package/dist/eventDeliveries.js.map +1 -0
  23. package/dist/eventRoute.d.ts +50 -0
  24. package/dist/eventRoute.js +81 -0
  25. package/dist/eventRoute.js.map +1 -0
  26. package/dist/eventSource.d.ts +42 -0
  27. package/dist/eventSource.js +67 -0
  28. package/dist/eventSource.js.map +1 -0
  29. package/dist/events.d.ts +20 -0
  30. package/dist/events.js +30 -0
  31. package/dist/events.js.map +1 -0
  32. package/dist/function.d.ts +49 -0
  33. package/dist/function.js +76 -0
  34. package/dist/function.js.map +1 -0
  35. package/dist/functionRuns.d.ts +18 -0
  36. package/dist/functionRuns.js +28 -0
  37. package/dist/functionRuns.js.map +1 -0
  38. package/dist/image.d.ts +41 -0
  39. package/dist/image.js +69 -0
  40. package/dist/image.js.map +1 -0
  41. package/dist/imageVersions.d.ts +13 -0
  42. package/dist/imageVersions.js +22 -0
  43. package/dist/imageVersions.js.map +1 -0
  44. package/dist/index.d.ts +87 -0
  45. package/dist/index.js +128 -0
  46. package/dist/index.js.map +1 -0
  47. package/dist/logs.d.ts +21 -0
  48. package/dist/logs.js +30 -0
  49. package/dist/logs.js.map +1 -0
  50. package/dist/machine.d.ts +45 -0
  51. package/dist/machine.js +75 -0
  52. package/dist/machine.js.map +1 -0
  53. package/dist/messages.d.ts +18 -0
  54. package/dist/messages.js +26 -0
  55. package/dist/messages.js.map +1 -0
  56. package/dist/metricsQuery.d.ts +17 -0
  57. package/dist/metricsQuery.js +24 -0
  58. package/dist/metricsQuery.js.map +1 -0
  59. package/dist/metricsQueryRange.d.ts +23 -0
  60. package/dist/metricsQueryRange.js +28 -0
  61. package/dist/metricsQueryRange.js.map +1 -0
  62. package/dist/observabilityHealthcheck.d.ts +13 -0
  63. package/dist/observabilityHealthcheck.js +19 -0
  64. package/dist/observabilityHealthcheck.js.map +1 -0
  65. package/dist/package.json +21 -0
  66. package/dist/permissionRole.d.ts +35 -0
  67. package/dist/permissionRole.js +60 -0
  68. package/dist/permissionRole.js.map +1 -0
  69. package/dist/permissionRoleBinding.d.ts +38 -0
  70. package/dist/permissionRoleBinding.js +70 -0
  71. package/dist/permissionRoleBinding.js.map +1 -0
  72. package/dist/permissionRoleRule.d.ts +43 -0
  73. package/dist/permissionRoleRule.js +73 -0
  74. package/dist/permissionRoleRule.js.map +1 -0
  75. package/dist/provider/darwin-arm64/pulumi-resource-agentcloud +0 -0
  76. package/dist/provider/linux-x64/pulumi-resource-agentcloud +0 -0
  77. package/dist/provider.d.ts +25 -0
  78. package/dist/provider.js +43 -0
  79. package/dist/provider.js.map +1 -0
  80. package/dist/scripts/postinstall.js +68 -0
  81. package/dist/secret.d.ts +34 -0
  82. package/dist/secret.js +63 -0
  83. package/dist/secret.js.map +1 -0
  84. package/dist/threads.d.ts +18 -0
  85. package/dist/threads.js +28 -0
  86. package/dist/threads.js.map +1 -0
  87. package/dist/traceDetail.d.ts +19 -0
  88. package/dist/traceDetail.js +26 -0
  89. package/dist/traceDetail.js.map +1 -0
  90. package/dist/tracesSearch.d.ts +15 -0
  91. package/dist/tracesSearch.js +24 -0
  92. package/dist/tracesSearch.js.map +1 -0
  93. package/dist/types/index.d.ts +3 -0
  94. package/dist/types/index.js +11 -0
  95. package/dist/types/index.js.map +1 -0
  96. package/dist/types/input.d.ts +1 -0
  97. package/dist/types/input.js +5 -0
  98. package/dist/types/input.js.map +1 -0
  99. package/dist/types/output.d.ts +60 -0
  100. package/dist/types/output.js +5 -0
  101. package/dist/types/output.js.map +1 -0
  102. package/dist/users.d.ts +16 -0
  103. package/dist/users.js +26 -0
  104. package/dist/users.js.map +1 -0
  105. package/dist/utilities.d.ts +8 -0
  106. package/dist/utilities.js +101 -0
  107. package/dist/utilities.js.map +1 -0
  108. package/dist/workspaceMembership.d.ts +36 -0
  109. package/dist/workspaceMembership.js +65 -0
  110. package/dist/workspaceMembership.js.map +1 -0
  111. package/package.json +26 -0
@@ -0,0 +1,81 @@
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.EventRoute = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class EventRoute extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing EventRoute 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 EventRoute(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
19
+ }
20
+ /**
21
+ * Returns true if the given object is an instance of EventRoute. 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'] === EventRoute.__pulumiType;
29
+ }
30
+ /**
31
+ * Create a EventRoute 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.functionName === undefined) && !opts.urn) {
42
+ throw new Error("Missing required property 'functionName'");
43
+ }
44
+ if ((!args || args.matchType === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'matchType'");
46
+ }
47
+ if ((!args || args.matchValue === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'matchValue'");
49
+ }
50
+ if ((!args || args.name === undefined) && !opts.urn) {
51
+ throw new Error("Missing required property 'name'");
52
+ }
53
+ resourceInputs["filter"] = args ? args.filter : undefined;
54
+ resourceInputs["functionName"] = args ? args.functionName : undefined;
55
+ resourceInputs["matchType"] = args ? args.matchType : undefined;
56
+ resourceInputs["matchValue"] = args ? args.matchValue : undefined;
57
+ resourceInputs["maxRetries"] = args ? args.maxRetries : undefined;
58
+ resourceInputs["name"] = args ? args.name : undefined;
59
+ resourceInputs["timeoutMs"] = args ? args.timeoutMs : undefined;
60
+ resourceInputs["routeId"] = undefined /*out*/;
61
+ resourceInputs["status"] = undefined /*out*/;
62
+ }
63
+ else {
64
+ resourceInputs["filter"] = undefined /*out*/;
65
+ resourceInputs["functionName"] = undefined /*out*/;
66
+ resourceInputs["matchType"] = undefined /*out*/;
67
+ resourceInputs["matchValue"] = undefined /*out*/;
68
+ resourceInputs["maxRetries"] = undefined /*out*/;
69
+ resourceInputs["name"] = undefined /*out*/;
70
+ resourceInputs["routeId"] = undefined /*out*/;
71
+ resourceInputs["status"] = undefined /*out*/;
72
+ resourceInputs["timeoutMs"] = undefined /*out*/;
73
+ }
74
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
75
+ super(EventRoute.__pulumiType, name, resourceInputs, opts);
76
+ }
77
+ }
78
+ exports.EventRoute = EventRoute;
79
+ /** @internal */
80
+ EventRoute.__pulumiType = 'agentcloud:index:EventRoute';
81
+ //# sourceMappingURL=eventRoute.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eventRoute.js","sourceRoot":"","sources":["../eventRoute.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,UAAU,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAYD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAoB,EAAE,IAAmC;QAC/E,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,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAA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AC;SAChD;aAAM;YACH,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,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,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAlFL,gCAmFC;AAtEG,gBAAgB;AACO,uBAAY,GAAG,6BAA6B,CAAC"}
@@ -0,0 +1,42 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class EventSource extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing EventSource 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): EventSource;
12
+ /**
13
+ * Returns true if the given object is an instance of EventSource. 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 EventSource;
17
+ readonly config: pulumi.Output<{
18
+ [key: string]: any;
19
+ } | undefined>;
20
+ readonly kind: pulumi.Output<string>;
21
+ readonly name: pulumi.Output<string>;
22
+ readonly sourceId: pulumi.Output<string>;
23
+ readonly status: pulumi.Output<string>;
24
+ /**
25
+ * Create a EventSource resource with the given unique name, arguments, and options.
26
+ *
27
+ * @param name The _unique_ name of the resource.
28
+ * @param args The arguments to use to populate this resource's properties.
29
+ * @param opts A bag of options that control this resource's behavior.
30
+ */
31
+ constructor(name: string, args: EventSourceArgs, opts?: pulumi.CustomResourceOptions);
32
+ }
33
+ /**
34
+ * The set of arguments for constructing a EventSource resource.
35
+ */
36
+ export interface EventSourceArgs {
37
+ config?: pulumi.Input<{
38
+ [key: string]: any;
39
+ }>;
40
+ kind: pulumi.Input<string>;
41
+ name: pulumi.Input<string>;
42
+ }
@@ -0,0 +1,67 @@
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.EventSource = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class EventSource extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing EventSource 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 EventSource(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
19
+ }
20
+ /**
21
+ * Returns true if the given object is an instance of EventSource. 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'] === EventSource.__pulumiType;
29
+ }
30
+ /**
31
+ * Create a EventSource 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.kind === undefined) && !opts.urn) {
42
+ throw new Error("Missing required property 'kind'");
43
+ }
44
+ if ((!args || args.name === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'name'");
46
+ }
47
+ resourceInputs["config"] = args ? args.config : undefined;
48
+ resourceInputs["kind"] = args ? args.kind : undefined;
49
+ resourceInputs["name"] = args ? args.name : undefined;
50
+ resourceInputs["sourceId"] = undefined /*out*/;
51
+ resourceInputs["status"] = undefined /*out*/;
52
+ }
53
+ else {
54
+ resourceInputs["config"] = undefined /*out*/;
55
+ resourceInputs["kind"] = undefined /*out*/;
56
+ resourceInputs["name"] = undefined /*out*/;
57
+ resourceInputs["sourceId"] = undefined /*out*/;
58
+ resourceInputs["status"] = undefined /*out*/;
59
+ }
60
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
61
+ super(EventSource.__pulumiType, name, resourceInputs, opts);
62
+ }
63
+ }
64
+ exports.EventSource = EventSource;
65
+ /** @internal */
66
+ EventSource.__pulumiType = 'agentcloud:index:EventSource';
67
+ //# sourceMappingURL=eventSource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eventSource.js","sourceRoot":"","sources":["../eventSource.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,SAAg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,OAAO,CAAC;SAChD;aAAM;YACH,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,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,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAhEL,kCAiEC;AApDG,gBAAgB;AACO,wBAAY,GAAG,8BAA8B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ export declare function events(args?: EventsArgs, opts?: pulumi.InvokeOptions): Promise<EventsResult>;
4
+ export interface EventsArgs {
5
+ cursor?: string;
6
+ limit?: number;
7
+ sourceId?: string;
8
+ type?: string;
9
+ }
10
+ export interface EventsResult {
11
+ readonly items: outputs.EventEnvelope[];
12
+ readonly nextCursor?: string;
13
+ }
14
+ export declare function eventsOutput(args?: EventsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<EventsResult>;
15
+ export interface EventsOutputArgs {
16
+ cursor?: pulumi.Input<string>;
17
+ limit?: pulumi.Input<number>;
18
+ sourceId?: pulumi.Input<string>;
19
+ type?: pulumi.Input<string>;
20
+ }
package/dist/events.js ADDED
@@ -0,0 +1,30 @@
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.eventsOutput = exports.events = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function events(args, opts) {
9
+ args = args || {};
10
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
11
+ return pulumi.runtime.invoke("agentcloud:index:events", {
12
+ "cursor": args.cursor,
13
+ "limit": args.limit,
14
+ "sourceId": args.sourceId,
15
+ "type": args.type,
16
+ }, opts);
17
+ }
18
+ exports.events = events;
19
+ function eventsOutput(args, opts) {
20
+ args = args || {};
21
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
22
+ return pulumi.runtime.invokeOutput("agentcloud:index:events", {
23
+ "cursor": args.cursor,
24
+ "limit": args.limit,
25
+ "sourceId": args.sourceId,
26
+ "type": args.type,
27
+ }, opts);
28
+ }
29
+ exports.eventsOutput = eventsOutput;
30
+ //# sourceMappingURL=events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.js","sourceRoot":"","sources":["../events.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,MAAM,CAAC,IAAiB,EAAE,IAA2B;IACjE,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,yBAAyB,EAAE;QACpD,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wBASC;AAaD,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAAiC;IACnF,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,yBAAyB,EAAE;QAC1D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oCASC"}
@@ -0,0 +1,49 @@
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 command: pulumi.Output<string>;
18
+ readonly digest: pulumi.Output<string | undefined>;
19
+ readonly functionId: pulumi.Output<string>;
20
+ readonly imageName: pulumi.Output<string>;
21
+ readonly inputSchema: pulumi.Output<{
22
+ [key: string]: any;
23
+ } | undefined>;
24
+ readonly maxParallelRuns: pulumi.Output<number | undefined>;
25
+ readonly name: pulumi.Output<string>;
26
+ readonly timeoutSeconds: pulumi.Output<number | undefined>;
27
+ /**
28
+ * Create a Function resource with the given unique name, arguments, and options.
29
+ *
30
+ * @param name The _unique_ name of the resource.
31
+ * @param args The arguments to use to populate this resource's properties.
32
+ * @param opts A bag of options that control this resource's behavior.
33
+ */
34
+ constructor(name: string, args: FunctionArgs, opts?: pulumi.CustomResourceOptions);
35
+ }
36
+ /**
37
+ * The set of arguments for constructing a Function resource.
38
+ */
39
+ export interface FunctionArgs {
40
+ command: pulumi.Input<string>;
41
+ digest?: pulumi.Input<string>;
42
+ imageName: pulumi.Input<string>;
43
+ inputSchema?: pulumi.Input<{
44
+ [key: string]: any;
45
+ }>;
46
+ maxParallelRuns?: pulumi.Input<number>;
47
+ name: pulumi.Input<string>;
48
+ timeoutSeconds?: pulumi.Input<number>;
49
+ }
@@ -0,0 +1,76 @@
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.command === undefined) && !opts.urn) {
42
+ throw new Error("Missing required property 'command'");
43
+ }
44
+ if ((!args || args.imageName === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'imageName'");
46
+ }
47
+ if ((!args || args.name === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'name'");
49
+ }
50
+ resourceInputs["command"] = args ? args.command : undefined;
51
+ resourceInputs["digest"] = args ? args.digest : undefined;
52
+ resourceInputs["imageName"] = args ? args.imageName : undefined;
53
+ resourceInputs["inputSchema"] = args ? args.inputSchema : undefined;
54
+ resourceInputs["maxParallelRuns"] = args ? args.maxParallelRuns : undefined;
55
+ resourceInputs["name"] = args ? args.name : undefined;
56
+ resourceInputs["timeoutSeconds"] = args ? args.timeoutSeconds : undefined;
57
+ resourceInputs["functionId"] = undefined /*out*/;
58
+ }
59
+ else {
60
+ resourceInputs["command"] = undefined /*out*/;
61
+ resourceInputs["digest"] = undefined /*out*/;
62
+ resourceInputs["functionId"] = undefined /*out*/;
63
+ resourceInputs["imageName"] = undefined /*out*/;
64
+ resourceInputs["inputSchema"] = undefined /*out*/;
65
+ resourceInputs["maxParallelRuns"] = undefined /*out*/;
66
+ resourceInputs["name"] = undefined /*out*/;
67
+ resourceInputs["timeoutSeconds"] = undefined /*out*/;
68
+ }
69
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"function.js","sourceRoot":"","sources":["../function.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,EAA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KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA5EL,4BA6EC;AAhEG,gBAAgB;AACO,qBAAY,GAAG,2BAA2B,CAAC"}
@@ -0,0 +1,18 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ export declare function functionRuns(args?: FunctionRunsArgs, opts?: pulumi.InvokeOptions): Promise<FunctionRunsResult>;
4
+ export interface FunctionRunsArgs {
5
+ cursor?: string;
6
+ functionName?: string;
7
+ limit?: number;
8
+ }
9
+ export interface FunctionRunsResult {
10
+ readonly items: outputs.FunctionRun[];
11
+ readonly nextCursor?: string;
12
+ }
13
+ export declare function functionRunsOutput(args?: FunctionRunsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<FunctionRunsResult>;
14
+ export interface FunctionRunsOutputArgs {
15
+ cursor?: pulumi.Input<string>;
16
+ functionName?: pulumi.Input<string>;
17
+ limit?: pulumi.Input<number>;
18
+ }
@@ -0,0 +1,28 @@
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.functionRunsOutput = exports.functionRuns = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function functionRuns(args, opts) {
9
+ args = args || {};
10
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
11
+ return pulumi.runtime.invoke("agentcloud:index:functionRuns", {
12
+ "cursor": args.cursor,
13
+ "functionName": args.functionName,
14
+ "limit": args.limit,
15
+ }, opts);
16
+ }
17
+ exports.functionRuns = functionRuns;
18
+ function functionRunsOutput(args, opts) {
19
+ args = args || {};
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("agentcloud:index:functionRuns", {
22
+ "cursor": args.cursor,
23
+ "functionName": args.functionName,
24
+ "limit": args.limit,
25
+ }, opts);
26
+ }
27
+ exports.functionRunsOutput = functionRunsOutput;
28
+ //# sourceMappingURL=functionRuns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functionRuns.js","sourceRoot":"","sources":["../functionRuns.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,+BAA+B,EAAE;QAC1D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oCAQC;AAYD,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAAiC;IAC/F,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,+BAA+B,EAAE;QAChE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC"}
@@ -0,0 +1,41 @@
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 contextPath: pulumi.Output<string | undefined>;
18
+ readonly dockerfilePath: pulumi.Output<string | undefined>;
19
+ readonly imageId: pulumi.Output<string>;
20
+ readonly name: pulumi.Output<string>;
21
+ readonly registryRef: pulumi.Output<string | undefined>;
22
+ readonly sourceType: pulumi.Output<string>;
23
+ /**
24
+ * Create a Image resource with the given unique name, arguments, and options.
25
+ *
26
+ * @param name The _unique_ name of the resource.
27
+ * @param args The arguments to use to populate this resource's properties.
28
+ * @param opts A bag of options that control this resource's behavior.
29
+ */
30
+ constructor(name: string, args: ImageArgs, opts?: pulumi.CustomResourceOptions);
31
+ }
32
+ /**
33
+ * The set of arguments for constructing a Image resource.
34
+ */
35
+ export interface ImageArgs {
36
+ contextPath?: pulumi.Input<string>;
37
+ dockerfilePath?: pulumi.Input<string>;
38
+ name: pulumi.Input<string>;
39
+ registryRef?: pulumi.Input<string>;
40
+ sourceType: pulumi.Input<string>;
41
+ }
package/dist/image.js ADDED
@@ -0,0 +1,69 @@
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["contextPath"] = args ? args.contextPath : undefined;
48
+ resourceInputs["dockerfilePath"] = args ? args.dockerfilePath : undefined;
49
+ resourceInputs["name"] = args ? args.name : undefined;
50
+ resourceInputs["registryRef"] = args ? args.registryRef : undefined;
51
+ resourceInputs["sourceType"] = args ? args.sourceType : undefined;
52
+ resourceInputs["imageId"] = undefined /*out*/;
53
+ }
54
+ else {
55
+ resourceInputs["contextPath"] = undefined /*out*/;
56
+ resourceInputs["dockerfilePath"] = undefined /*out*/;
57
+ resourceInputs["imageId"] = undefined /*out*/;
58
+ resourceInputs["name"] = undefined /*out*/;
59
+ resourceInputs["registryRef"] = undefined /*out*/;
60
+ resourceInputs["sourceType"] = undefined /*out*/;
61
+ }
62
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
63
+ super(Image.__pulumiType, name, resourceInputs, opts);
64
+ }
65
+ }
66
+ exports.Image = Image;
67
+ /** @internal */
68
+ Image.__pulumiType = 'agentcloud:index:Image';
69
+ //# sourceMappingURL=image.js.map
@@ -0,0 +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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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;IASD;;;;;;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,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,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAA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AG,wBAAwB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ export declare function imageVersions(args: ImageVersionsArgs, opts?: pulumi.InvokeOptions): Promise<ImageVersionsResult>;
4
+ export interface ImageVersionsArgs {
5
+ imageVersionId: string;
6
+ }
7
+ export interface ImageVersionsResult {
8
+ readonly imageVersion: outputs.ImageVersion;
9
+ }
10
+ export declare function imageVersionsOutput(args: ImageVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ImageVersionsResult>;
11
+ export interface ImageVersionsOutputArgs {
12
+ imageVersionId: pulumi.Input<string>;
13
+ }
@@ -0,0 +1,22 @@
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.imageVersionsOutput = exports.imageVersions = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function imageVersions(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("agentcloud:index:imageVersions", {
11
+ "imageVersionId": args.imageVersionId,
12
+ }, opts);
13
+ }
14
+ exports.imageVersions = imageVersions;
15
+ function imageVersionsOutput(args, opts) {
16
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
17
+ return pulumi.runtime.invokeOutput("agentcloud:index:imageVersions", {
18
+ "imageVersionId": args.imageVersionId,
19
+ }, opts);
20
+ }
21
+ exports.imageVersionsOutput = imageVersionsOutput;
22
+ //# sourceMappingURL=imageVersions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"imageVersions.js","sourceRoot":"","sources":["../imageVersions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AASD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE;QACjE,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}