@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.
- package/README.md +6 -0
- package/dist/agent.d.ts +53 -0
- package/dist/agent.js +87 -0
- package/dist/agent.js.map +1 -0
- package/dist/app.d.ts +39 -0
- package/dist/app.js +66 -0
- package/dist/app.js.map +1 -0
- package/dist/appDeployments.d.ts +18 -0
- package/dist/appDeployments.js +26 -0
- package/dist/appDeployments.js.map +1 -0
- package/dist/config/index.d.ts +1 -0
- package/dist/config/index.js +21 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/vars.d.ts +2 -0
- package/dist/config/vars.js +19 -0
- package/dist/config/vars.js.map +1 -0
- package/dist/database.d.ts +38 -0
- package/dist/database.js +66 -0
- package/dist/database.js.map +1 -0
- package/dist/eventDeliveries.d.ts +22 -0
- package/dist/eventDeliveries.js +32 -0
- package/dist/eventDeliveries.js.map +1 -0
- package/dist/eventRoute.d.ts +50 -0
- package/dist/eventRoute.js +81 -0
- package/dist/eventRoute.js.map +1 -0
- package/dist/eventSource.d.ts +42 -0
- package/dist/eventSource.js +67 -0
- package/dist/eventSource.js.map +1 -0
- package/dist/events.d.ts +20 -0
- package/dist/events.js +30 -0
- package/dist/events.js.map +1 -0
- package/dist/function.d.ts +49 -0
- package/dist/function.js +76 -0
- package/dist/function.js.map +1 -0
- package/dist/functionRuns.d.ts +18 -0
- package/dist/functionRuns.js +28 -0
- package/dist/functionRuns.js.map +1 -0
- package/dist/image.d.ts +41 -0
- package/dist/image.js +69 -0
- package/dist/image.js.map +1 -0
- package/dist/imageVersions.d.ts +13 -0
- package/dist/imageVersions.js +22 -0
- package/dist/imageVersions.js.map +1 -0
- package/dist/index.d.ts +87 -0
- package/dist/index.js +128 -0
- package/dist/index.js.map +1 -0
- package/dist/logs.d.ts +21 -0
- package/dist/logs.js +30 -0
- package/dist/logs.js.map +1 -0
- package/dist/machine.d.ts +45 -0
- package/dist/machine.js +75 -0
- package/dist/machine.js.map +1 -0
- package/dist/messages.d.ts +18 -0
- package/dist/messages.js +26 -0
- package/dist/messages.js.map +1 -0
- package/dist/metricsQuery.d.ts +17 -0
- package/dist/metricsQuery.js +24 -0
- package/dist/metricsQuery.js.map +1 -0
- package/dist/metricsQueryRange.d.ts +23 -0
- package/dist/metricsQueryRange.js +28 -0
- package/dist/metricsQueryRange.js.map +1 -0
- package/dist/observabilityHealthcheck.d.ts +13 -0
- package/dist/observabilityHealthcheck.js +19 -0
- package/dist/observabilityHealthcheck.js.map +1 -0
- package/dist/package.json +21 -0
- package/dist/permissionRole.d.ts +35 -0
- package/dist/permissionRole.js +60 -0
- package/dist/permissionRole.js.map +1 -0
- package/dist/permissionRoleBinding.d.ts +38 -0
- package/dist/permissionRoleBinding.js +70 -0
- package/dist/permissionRoleBinding.js.map +1 -0
- package/dist/permissionRoleRule.d.ts +43 -0
- package/dist/permissionRoleRule.js +73 -0
- package/dist/permissionRoleRule.js.map +1 -0
- 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 +25 -0
- package/dist/provider.js +43 -0
- package/dist/provider.js.map +1 -0
- package/dist/scripts/postinstall.js +68 -0
- package/dist/secret.d.ts +34 -0
- package/dist/secret.js +63 -0
- package/dist/secret.js.map +1 -0
- package/dist/threads.d.ts +18 -0
- package/dist/threads.js +28 -0
- package/dist/threads.js.map +1 -0
- package/dist/traceDetail.d.ts +19 -0
- package/dist/traceDetail.js +26 -0
- package/dist/traceDetail.js.map +1 -0
- package/dist/tracesSearch.d.ts +15 -0
- package/dist/tracesSearch.js +24 -0
- package/dist/tracesSearch.js.map +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +11 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/input.d.ts +1 -0
- package/dist/types/input.js +5 -0
- package/dist/types/input.js.map +1 -0
- package/dist/types/output.d.ts +60 -0
- package/dist/types/output.js +5 -0
- package/dist/types/output.js.map +1 -0
- package/dist/users.d.ts +16 -0
- package/dist/users.js +26 -0
- package/dist/users.js.map +1 -0
- package/dist/utilities.d.ts +8 -0
- package/dist/utilities.js +101 -0
- package/dist/utilities.js.map +1 -0
- package/dist/workspaceMembership.d.ts +36 -0
- package/dist/workspaceMembership.js +65 -0
- package/dist/workspaceMembership.js.map +1 -0
- package/package.json +26 -0
package/README.md
ADDED
package/dist/agent.d.ts
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class Agent extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing Agent 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): Agent;
|
|
12
|
+
/**
|
|
13
|
+
* Returns true if the given object is an instance of Agent. 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 Agent;
|
|
17
|
+
readonly agentId: pulumi.Output<string>;
|
|
18
|
+
readonly cpu: pulumi.Output<number | undefined>;
|
|
19
|
+
readonly digest: pulumi.Output<string | undefined>;
|
|
20
|
+
readonly idleDeleteAfterSeconds: pulumi.Output<number | undefined>;
|
|
21
|
+
readonly idleStopAfterSeconds: pulumi.Output<number | undefined>;
|
|
22
|
+
readonly imageName: pulumi.Output<string>;
|
|
23
|
+
readonly instructions: pulumi.Output<string>;
|
|
24
|
+
readonly memoryMb: pulumi.Output<number | undefined>;
|
|
25
|
+
readonly model: pulumi.Output<string | undefined>;
|
|
26
|
+
readonly name: pulumi.Output<string>;
|
|
27
|
+
readonly provider: pulumi.Output<string>;
|
|
28
|
+
readonly workingDir: pulumi.Output<string | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* Create a Agent resource with the given unique name, arguments, and options.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resource.
|
|
33
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
34
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
35
|
+
*/
|
|
36
|
+
constructor(name: string, args: AgentArgs, opts?: pulumi.CustomResourceOptions);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The set of arguments for constructing a Agent resource.
|
|
40
|
+
*/
|
|
41
|
+
export interface AgentArgs {
|
|
42
|
+
cpu?: pulumi.Input<number>;
|
|
43
|
+
digest?: pulumi.Input<string>;
|
|
44
|
+
idleDeleteAfterSeconds?: pulumi.Input<number>;
|
|
45
|
+
idleStopAfterSeconds?: pulumi.Input<number>;
|
|
46
|
+
imageName: pulumi.Input<string>;
|
|
47
|
+
instructions: pulumi.Input<string>;
|
|
48
|
+
memoryMb?: pulumi.Input<number>;
|
|
49
|
+
model?: pulumi.Input<string>;
|
|
50
|
+
name: pulumi.Input<string>;
|
|
51
|
+
provider: pulumi.Input<string>;
|
|
52
|
+
workingDir?: pulumi.Input<string>;
|
|
53
|
+
}
|
package/dist/agent.js
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
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.Agent = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class Agent extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Agent 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 Agent(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of Agent. 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'] === Agent.__pulumiType;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create a Agent 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.imageName === undefined) && !opts.urn) {
|
|
42
|
+
throw new Error("Missing required property 'imageName'");
|
|
43
|
+
}
|
|
44
|
+
if ((!args || args.instructions === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'instructions'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'name'");
|
|
49
|
+
}
|
|
50
|
+
if ((!args || args.provider === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'provider'");
|
|
52
|
+
}
|
|
53
|
+
resourceInputs["cpu"] = args ? args.cpu : undefined;
|
|
54
|
+
resourceInputs["digest"] = args ? args.digest : undefined;
|
|
55
|
+
resourceInputs["idleDeleteAfterSeconds"] = args ? args.idleDeleteAfterSeconds : undefined;
|
|
56
|
+
resourceInputs["idleStopAfterSeconds"] = args ? args.idleStopAfterSeconds : undefined;
|
|
57
|
+
resourceInputs["imageName"] = args ? args.imageName : undefined;
|
|
58
|
+
resourceInputs["instructions"] = args ? args.instructions : undefined;
|
|
59
|
+
resourceInputs["memoryMb"] = args ? args.memoryMb : undefined;
|
|
60
|
+
resourceInputs["model"] = args ? args.model : undefined;
|
|
61
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
62
|
+
resourceInputs["provider"] = args ? args.provider : undefined;
|
|
63
|
+
resourceInputs["workingDir"] = args ? args.workingDir : undefined;
|
|
64
|
+
resourceInputs["agentId"] = undefined /*out*/;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
resourceInputs["agentId"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["cpu"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["digest"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["idleDeleteAfterSeconds"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["idleStopAfterSeconds"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["imageName"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["instructions"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["memoryMb"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["model"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["provider"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["workingDir"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(Agent.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.Agent = Agent;
|
|
85
|
+
/** @internal */
|
|
86
|
+
Agent.__pulumiType = 'agentcloud:index:Agent';
|
|
87
|
+
//# sourceMappingURL=agent.js.map
|
|
@@ -0,0 +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,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;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,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,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,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E,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA3FL,sBA4FC;AA/EG,gBAAgB;AACO,kBAAY,GAAG,wBAAwB,CAAC"}
|
package/dist/app.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class App extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing App 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): App;
|
|
12
|
+
/**
|
|
13
|
+
* Returns true if the given object is an instance of App. 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 App;
|
|
17
|
+
readonly appId: pulumi.Output<string>;
|
|
18
|
+
readonly appUrl: pulumi.Output<string | undefined>;
|
|
19
|
+
readonly healthcheckPath: pulumi.Output<string | undefined>;
|
|
20
|
+
readonly name: pulumi.Output<string>;
|
|
21
|
+
readonly port: pulumi.Output<number | undefined>;
|
|
22
|
+
readonly status: pulumi.Output<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Create a App 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: AppArgs, opts?: pulumi.CustomResourceOptions);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The set of arguments for constructing a App resource.
|
|
34
|
+
*/
|
|
35
|
+
export interface AppArgs {
|
|
36
|
+
healthcheckPath?: pulumi.Input<string>;
|
|
37
|
+
name: pulumi.Input<string>;
|
|
38
|
+
port?: pulumi.Input<number>;
|
|
39
|
+
}
|
package/dist/app.js
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
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.App = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class App extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing App 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 App(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of App. 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'] === App.__pulumiType;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create a App 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["healthcheckPath"] = args ? args.healthcheckPath : undefined;
|
|
45
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
46
|
+
resourceInputs["port"] = args ? args.port : undefined;
|
|
47
|
+
resourceInputs["appId"] = undefined /*out*/;
|
|
48
|
+
resourceInputs["appUrl"] = undefined /*out*/;
|
|
49
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
resourceInputs["appId"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["appUrl"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["healthcheckPath"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["port"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
58
|
+
}
|
|
59
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
60
|
+
super(App.__pulumiType, name, resourceInputs, opts);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.App = App;
|
|
64
|
+
/** @internal */
|
|
65
|
+
App.__pulumiType = 'agentcloud:index:App';
|
|
66
|
+
//# sourceMappingURL=app.js.map
|
package/dist/app.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC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M;YACH,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,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,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AAhEL,kBAiEC;AApDG,gBAAgB;AACO,gBAAY,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
export declare function appDeployments(args: AppDeploymentsArgs, opts?: pulumi.InvokeOptions): Promise<AppDeploymentsResult>;
|
|
4
|
+
export interface AppDeploymentsArgs {
|
|
5
|
+
appName: string;
|
|
6
|
+
cursor?: string;
|
|
7
|
+
limit?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface AppDeploymentsResult {
|
|
10
|
+
readonly items: outputs.AppDeployment[];
|
|
11
|
+
readonly nextCursor?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function appDeploymentsOutput(args: AppDeploymentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<AppDeploymentsResult>;
|
|
14
|
+
export interface AppDeploymentsOutputArgs {
|
|
15
|
+
appName: pulumi.Input<string>;
|
|
16
|
+
cursor?: pulumi.Input<string>;
|
|
17
|
+
limit?: pulumi.Input<number>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.appDeploymentsOutput = exports.appDeployments = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function appDeployments(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("agentcloud:index:appDeployments", {
|
|
11
|
+
"appName": args.appName,
|
|
12
|
+
"cursor": args.cursor,
|
|
13
|
+
"limit": args.limit,
|
|
14
|
+
}, opts);
|
|
15
|
+
}
|
|
16
|
+
exports.appDeployments = appDeployments;
|
|
17
|
+
function appDeploymentsOutput(args, opts) {
|
|
18
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
19
|
+
return pulumi.runtime.invokeOutput("agentcloud:index:appDeployments", {
|
|
20
|
+
"appName": args.appName,
|
|
21
|
+
"cursor": args.cursor,
|
|
22
|
+
"limit": args.limit,
|
|
23
|
+
}, opts);
|
|
24
|
+
}
|
|
25
|
+
exports.appDeploymentsOutput = appDeploymentsOutput;
|
|
26
|
+
//# sourceMappingURL=appDeployments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appDeployments.js","sourceRoot":"","sources":["../appDeployments.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC;AAYD,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./vars";
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
// Export members:
|
|
20
|
+
__exportStar(require("./vars"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const __config = new pulumi.Config("agentcloud");
|
|
7
|
+
Object.defineProperty(exports, "apiUrl", {
|
|
8
|
+
get() {
|
|
9
|
+
return __config.get("apiUrl");
|
|
10
|
+
},
|
|
11
|
+
enumerable: true,
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "workspaceSlug", {
|
|
14
|
+
get() {
|
|
15
|
+
return __config.get("workspaceSlug");
|
|
16
|
+
},
|
|
17
|
+
enumerable: true,
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=vars.js.map
|
|
@@ -0,0 +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,eAAe,EAAE;IAC5C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IACzC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 resolvedEndpoint: pulumi.Output<string>;
|
|
20
|
+
readonly resolvedSecretKey: pulumi.Output<string>;
|
|
21
|
+
readonly secretKey: pulumi.Output<string | undefined>;
|
|
22
|
+
readonly status: pulumi.Output<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Create a Database 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: DatabaseArgs, opts?: pulumi.CustomResourceOptions);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The set of arguments for constructing a Database resource.
|
|
34
|
+
*/
|
|
35
|
+
export interface DatabaseArgs {
|
|
36
|
+
name: pulumi.Input<string>;
|
|
37
|
+
secretKey?: pulumi.Input<string>;
|
|
38
|
+
}
|
package/dist/database.js
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
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["secretKey"] = args ? args.secretKey : undefined;
|
|
46
|
+
resourceInputs["databaseId"] = undefined /*out*/;
|
|
47
|
+
resourceInputs["resolvedEndpoint"] = undefined /*out*/;
|
|
48
|
+
resourceInputs["resolvedSecretKey"] = undefined /*out*/;
|
|
49
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
resourceInputs["databaseId"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["resolvedEndpoint"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["resolvedSecretKey"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["secretKey"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
58
|
+
}
|
|
59
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
60
|
+
super(Database.__pulumiType, name, resourceInputs, opts);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.Database = Database;
|
|
64
|
+
/** @internal */
|
|
65
|
+
Database.__pulumiType = 'agentcloud:index:Database';
|
|
66
|
+
//# sourceMappingURL=database.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"database.js","sourceRoot":"","sources":["../database.ts"],"names":[],"mappings":";AAAA,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,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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
export declare function eventDeliveries(args?: EventDeliveriesArgs, opts?: pulumi.InvokeOptions): Promise<EventDeliveriesResult>;
|
|
4
|
+
export interface EventDeliveriesArgs {
|
|
5
|
+
cursor?: string;
|
|
6
|
+
eventId?: string;
|
|
7
|
+
limit?: number;
|
|
8
|
+
routeId?: string;
|
|
9
|
+
status?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface EventDeliveriesResult {
|
|
12
|
+
readonly items: outputs.EventDelivery[];
|
|
13
|
+
readonly nextCursor?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function eventDeliveriesOutput(args?: EventDeliveriesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<EventDeliveriesResult>;
|
|
16
|
+
export interface EventDeliveriesOutputArgs {
|
|
17
|
+
cursor?: pulumi.Input<string>;
|
|
18
|
+
eventId?: pulumi.Input<string>;
|
|
19
|
+
limit?: pulumi.Input<number>;
|
|
20
|
+
routeId?: pulumi.Input<string>;
|
|
21
|
+
status?: pulumi.Input<string>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.eventDeliveriesOutput = exports.eventDeliveries = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function eventDeliveries(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
+
return pulumi.runtime.invoke("agentcloud:index:eventDeliveries", {
|
|
12
|
+
"cursor": args.cursor,
|
|
13
|
+
"eventId": args.eventId,
|
|
14
|
+
"limit": args.limit,
|
|
15
|
+
"routeId": args.routeId,
|
|
16
|
+
"status": args.status,
|
|
17
|
+
}, opts);
|
|
18
|
+
}
|
|
19
|
+
exports.eventDeliveries = eventDeliveries;
|
|
20
|
+
function eventDeliveriesOutput(args, opts) {
|
|
21
|
+
args = args || {};
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("agentcloud:index:eventDeliveries", {
|
|
24
|
+
"cursor": args.cursor,
|
|
25
|
+
"eventId": args.eventId,
|
|
26
|
+
"limit": args.limit,
|
|
27
|
+
"routeId": args.routeId,
|
|
28
|
+
"status": args.status,
|
|
29
|
+
}, opts);
|
|
30
|
+
}
|
|
31
|
+
exports.eventDeliveriesOutput = eventDeliveriesOutput;
|
|
32
|
+
//# sourceMappingURL=eventDeliveries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eventDeliveries.js","sourceRoot":"","sources":["../eventDeliveries.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;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,MAAM,CAAC,kCAAkC,EAAE;QAC7D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0CAUC;AAcD,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAAiC;IACrG,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,kCAAkC,EAAE;QACnE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sDAUC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class EventRoute extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing EventRoute 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): EventRoute;
|
|
12
|
+
/**
|
|
13
|
+
* Returns true if the given object is an instance of EventRoute. 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 EventRoute;
|
|
17
|
+
readonly filter: pulumi.Output<{
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
} | undefined>;
|
|
20
|
+
readonly functionName: pulumi.Output<string>;
|
|
21
|
+
readonly matchType: pulumi.Output<string>;
|
|
22
|
+
readonly matchValue: pulumi.Output<string>;
|
|
23
|
+
readonly maxRetries: pulumi.Output<number | undefined>;
|
|
24
|
+
readonly name: pulumi.Output<string>;
|
|
25
|
+
readonly routeId: pulumi.Output<string>;
|
|
26
|
+
readonly status: pulumi.Output<string>;
|
|
27
|
+
readonly timeoutMs: pulumi.Output<number | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Create a EventRoute resource with the given unique name, arguments, and options.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resource.
|
|
32
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
33
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
34
|
+
*/
|
|
35
|
+
constructor(name: string, args: EventRouteArgs, opts?: pulumi.CustomResourceOptions);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The set of arguments for constructing a EventRoute resource.
|
|
39
|
+
*/
|
|
40
|
+
export interface EventRouteArgs {
|
|
41
|
+
filter?: pulumi.Input<{
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}>;
|
|
44
|
+
functionName: pulumi.Input<string>;
|
|
45
|
+
matchType: pulumi.Input<string>;
|
|
46
|
+
matchValue: pulumi.Input<string>;
|
|
47
|
+
maxRetries?: pulumi.Input<number>;
|
|
48
|
+
name: pulumi.Input<string>;
|
|
49
|
+
timeoutMs?: pulumi.Input<number>;
|
|
50
|
+
}
|