@sl-testing/ac-pulumi 0.1.10 → 0.1.11
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 +7 -3
- package/dist/agentRuns.d.ts +20 -0
- package/dist/{users.js → agentRuns.js} +12 -8
- package/dist/agentRuns.js.map +1 -0
- package/dist/{agent.d.ts → agentTemplate.d.ts} +14 -12
- package/dist/{agent.js → agentTemplate.js} +20 -13
- package/dist/agentTemplate.js.map +1 -0
- package/dist/config/vars.d.ts +1 -1
- package/dist/config/vars.js +2 -2
- package/dist/config/vars.js.map +1 -1
- package/dist/database.d.ts +2 -4
- package/dist/database.js +4 -6
- package/dist/database.js.map +1 -1
- package/dist/function.d.ts +4 -2
- package/dist/function.js +8 -4
- package/dist/function.js.map +1 -1
- package/dist/image.d.ts +2 -0
- package/dist/image.js +4 -0
- package/dist/image.js.map +1 -1
- package/dist/imageVersions.d.ts +2 -0
- package/dist/imageVersions.js +2 -0
- package/dist/imageVersions.js.map +1 -1
- package/dist/index.d.ts +18 -21
- package/dist/index.js +24 -27
- package/dist/index.js.map +1 -1
- package/dist/job.d.ts +2 -0
- package/dist/job.js +4 -0
- package/dist/job.js.map +1 -1
- package/dist/jobRuns.d.ts +2 -0
- package/dist/jobRuns.js +2 -0
- package/dist/jobRuns.js.map +1 -1
- package/dist/logs.d.ts +2 -0
- package/dist/logs.js +2 -0
- package/dist/logs.js.map +1 -1
- package/dist/machine.d.ts +2 -0
- package/dist/machine.js +4 -0
- package/dist/machine.js.map +1 -1
- package/dist/messages.d.ts +4 -2
- package/dist/messages.js +4 -2
- package/dist/messages.js.map +1 -1
- package/dist/package.json +2 -2
- package/dist/{permissionRole.d.ts → projectRole.d.ts} +11 -9
- package/dist/{permissionRole.js → projectRole.js} +15 -11
- package/dist/projectRole.js.map +1 -0
- package/dist/{permissionRoleBinding.d.ts → projectRoleBinding.d.ts} +11 -9
- package/dist/{permissionRoleBinding.js → projectRoleBinding.js} +15 -11
- package/dist/projectRoleBinding.js.map +1 -0
- package/dist/{permissionRoleRule.d.ts → projectRoleRule.d.ts} +11 -9
- package/dist/{permissionRoleRule.js → projectRoleRule.js} +15 -11
- package/dist/projectRoleRule.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 +3 -3
- package/dist/provider.js +1 -5
- package/dist/provider.js.map +1 -1
- package/dist/scripts/postinstall.js +13 -5
- package/dist/secret.d.ts +3 -0
- package/dist/secret.js +6 -0
- package/dist/secret.js.map +1 -1
- package/dist/service.d.ts +2 -0
- package/dist/service.js +4 -0
- package/dist/service.js.map +1 -1
- package/dist/serviceDeploymentResource.d.ts +40 -0
- package/dist/serviceDeploymentResource.js +73 -0
- package/dist/serviceDeploymentResource.js.map +1 -0
- package/dist/serviceDeployments.d.ts +4 -2
- package/dist/serviceDeployments.js +4 -2
- package/dist/serviceDeployments.js.map +1 -1
- package/dist/types/output.d.ts +9 -15
- package/package.json +3 -3
- package/dist/agent.js.map +0 -1
- package/dist/permissionRole.js.map +0 -1
- package/dist/permissionRoleBinding.js.map +0 -1
- package/dist/permissionRoleRule.js.map +0 -1
- package/dist/threads.d.ts +0 -18
- package/dist/threads.js +0 -28
- package/dist/threads.js.map +0 -1
- package/dist/users.d.ts +0 -16
- package/dist/users.js.map +0 -1
- package/dist/workspaceMembership.d.ts +0 -36
- package/dist/workspaceMembership.js +0 -65
- package/dist/workspaceMembership.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.types = exports.config = exports.
|
|
5
|
+
exports.types = exports.config = exports.serviceDeploymentsOutput = exports.serviceDeployments = exports.ServiceDeploymentResource = exports.Service = exports.Secret = exports.Provider = exports.ProjectRoleRule = exports.ProjectRoleBinding = exports.ProjectRole = exports.messagesOutput = exports.messages = exports.Machine = exports.logsOutput = exports.logs = exports.jobRunsOutput = exports.jobRuns = exports.Job = exports.imageVersionsOutput = exports.imageVersions = exports.Image = exports.Function = exports.Database = exports.AgentTemplate = exports.agentRunsOutput = exports.agentRuns = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
exports.
|
|
9
|
-
|
|
8
|
+
exports.agentRuns = null;
|
|
9
|
+
exports.agentRunsOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["agentRuns", "agentRunsOutput"], () => require("./agentRuns"));
|
|
11
|
+
exports.AgentTemplate = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["AgentTemplate"], () => require("./agentTemplate"));
|
|
10
13
|
exports.Database = null;
|
|
11
14
|
utilities.lazyLoad(exports, ["Database"], () => require("./database"));
|
|
12
15
|
exports.Function = null;
|
|
@@ -29,29 +32,23 @@ utilities.lazyLoad(exports, ["Machine"], () => require("./machine"));
|
|
|
29
32
|
exports.messages = null;
|
|
30
33
|
exports.messagesOutput = null;
|
|
31
34
|
utilities.lazyLoad(exports, ["messages", "messagesOutput"], () => require("./messages"));
|
|
32
|
-
exports.
|
|
33
|
-
utilities.lazyLoad(exports, ["
|
|
34
|
-
exports.
|
|
35
|
-
utilities.lazyLoad(exports, ["
|
|
36
|
-
exports.
|
|
37
|
-
utilities.lazyLoad(exports, ["
|
|
35
|
+
exports.ProjectRole = null;
|
|
36
|
+
utilities.lazyLoad(exports, ["ProjectRole"], () => require("./projectRole"));
|
|
37
|
+
exports.ProjectRoleBinding = null;
|
|
38
|
+
utilities.lazyLoad(exports, ["ProjectRoleBinding"], () => require("./projectRoleBinding"));
|
|
39
|
+
exports.ProjectRoleRule = null;
|
|
40
|
+
utilities.lazyLoad(exports, ["ProjectRoleRule"], () => require("./projectRoleRule"));
|
|
38
41
|
exports.Provider = null;
|
|
39
42
|
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
40
43
|
exports.Secret = null;
|
|
41
44
|
utilities.lazyLoad(exports, ["Secret"], () => require("./secret"));
|
|
42
45
|
exports.Service = null;
|
|
43
46
|
utilities.lazyLoad(exports, ["Service"], () => require("./service"));
|
|
47
|
+
exports.ServiceDeploymentResource = null;
|
|
48
|
+
utilities.lazyLoad(exports, ["ServiceDeploymentResource"], () => require("./serviceDeploymentResource"));
|
|
44
49
|
exports.serviceDeployments = null;
|
|
45
50
|
exports.serviceDeploymentsOutput = null;
|
|
46
51
|
utilities.lazyLoad(exports, ["serviceDeployments", "serviceDeploymentsOutput"], () => require("./serviceDeployments"));
|
|
47
|
-
exports.threads = null;
|
|
48
|
-
exports.threadsOutput = null;
|
|
49
|
-
utilities.lazyLoad(exports, ["threads", "threadsOutput"], () => require("./threads"));
|
|
50
|
-
exports.users = null;
|
|
51
|
-
exports.usersOutput = null;
|
|
52
|
-
utilities.lazyLoad(exports, ["users", "usersOutput"], () => require("./users"));
|
|
53
|
-
exports.WorkspaceMembership = null;
|
|
54
|
-
utilities.lazyLoad(exports, ["WorkspaceMembership"], () => require("./workspaceMembership"));
|
|
55
52
|
// Export sub-modules:
|
|
56
53
|
const config = require("./config");
|
|
57
54
|
exports.config = config;
|
|
@@ -61,8 +58,8 @@ const _module = {
|
|
|
61
58
|
version: utilities.getVersion(),
|
|
62
59
|
construct: (name, type, urn) => {
|
|
63
60
|
switch (type) {
|
|
64
|
-
case "agentcloud:index:
|
|
65
|
-
return new exports.
|
|
61
|
+
case "agentcloud:index:AgentTemplate":
|
|
62
|
+
return new exports.AgentTemplate(name, undefined, { urn });
|
|
66
63
|
case "agentcloud:index:Database":
|
|
67
64
|
return new exports.Database(name, undefined, { urn });
|
|
68
65
|
case "agentcloud:index:Function":
|
|
@@ -73,18 +70,18 @@ const _module = {
|
|
|
73
70
|
return new exports.Job(name, undefined, { urn });
|
|
74
71
|
case "agentcloud:index:Machine":
|
|
75
72
|
return new exports.Machine(name, undefined, { urn });
|
|
76
|
-
case "agentcloud:index:
|
|
77
|
-
return new exports.
|
|
78
|
-
case "agentcloud:index:
|
|
79
|
-
return new exports.
|
|
80
|
-
case "agentcloud:index:
|
|
81
|
-
return new exports.
|
|
73
|
+
case "agentcloud:index:ProjectRole":
|
|
74
|
+
return new exports.ProjectRole(name, undefined, { urn });
|
|
75
|
+
case "agentcloud:index:ProjectRoleBinding":
|
|
76
|
+
return new exports.ProjectRoleBinding(name, undefined, { urn });
|
|
77
|
+
case "agentcloud:index:ProjectRoleRule":
|
|
78
|
+
return new exports.ProjectRoleRule(name, undefined, { urn });
|
|
82
79
|
case "agentcloud:index:Secret":
|
|
83
80
|
return new exports.Secret(name, undefined, { urn });
|
|
84
81
|
case "agentcloud:index:Service":
|
|
85
82
|
return new exports.Service(name, undefined, { urn });
|
|
86
|
-
case "agentcloud:index:
|
|
87
|
-
return new exports.
|
|
83
|
+
case "agentcloud:index:ServiceDeploymentResource":
|
|
84
|
+
return new exports.ServiceDeploymentResource(name, undefined, { urn });
|
|
88
85
|
default:
|
|
89
86
|
throw new Error(`unknown resource type ${type}`);
|
|
90
87
|
}
|
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;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAI5B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAChE,QAAA,eAAe,GAAiD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,EAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OA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AAA;AACrE,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,YAAY,EAAE;IACjD,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,6BAA6B,EAAE;YACxC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/dist/job.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare class Job extends pulumi.CustomResource {
|
|
|
23
23
|
readonly jobId: pulumi.Output<string>;
|
|
24
24
|
readonly maxParallelRuns: pulumi.Output<number | undefined>;
|
|
25
25
|
readonly name: pulumi.Output<string>;
|
|
26
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
26
27
|
readonly timeoutSeconds: pulumi.Output<number | undefined>;
|
|
27
28
|
/**
|
|
28
29
|
* Create a Job resource with the given unique name, arguments, and options.
|
|
@@ -45,5 +46,6 @@ export interface JobArgs {
|
|
|
45
46
|
}>;
|
|
46
47
|
maxParallelRuns?: pulumi.Input<number>;
|
|
47
48
|
name: pulumi.Input<string>;
|
|
49
|
+
projectId?: pulumi.Input<string>;
|
|
48
50
|
timeoutSeconds?: pulumi.Input<number>;
|
|
49
51
|
}
|
package/dist/job.js
CHANGED
|
@@ -53,6 +53,7 @@ class Job extends pulumi.CustomResource {
|
|
|
53
53
|
resourceInputs["inputSchema"] = args?.inputSchema;
|
|
54
54
|
resourceInputs["maxParallelRuns"] = args?.maxParallelRuns;
|
|
55
55
|
resourceInputs["name"] = args?.name;
|
|
56
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
56
57
|
resourceInputs["timeoutSeconds"] = args?.timeoutSeconds;
|
|
57
58
|
resourceInputs["jobId"] = undefined /*out*/;
|
|
58
59
|
}
|
|
@@ -64,9 +65,12 @@ class Job extends pulumi.CustomResource {
|
|
|
64
65
|
resourceInputs["jobId"] = undefined /*out*/;
|
|
65
66
|
resourceInputs["maxParallelRuns"] = undefined /*out*/;
|
|
66
67
|
resourceInputs["name"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
67
69
|
resourceInputs["timeoutSeconds"] = undefined /*out*/;
|
|
68
70
|
}
|
|
69
71
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
const replaceOnChanges = { replaceOnChanges: ["projectId"] };
|
|
73
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
70
74
|
super(Job.__pulumiType, name, resourceInputs, opts);
|
|
71
75
|
}
|
|
72
76
|
}
|
package/dist/job.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job.js","sourceRoot":"","sources":["../job.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,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,GAAG,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,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,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;
|
|
1
|
+
{"version":3,"file":"job.js","sourceRoot":"","sources":["../job.ts"],"names":[],"mappings":";AA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AAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AAjFL,kBAkFC;AArEG,gBAAgB;AACO,gBAAY,GAAG,sBAAsB,CAAC"}
|
package/dist/jobRuns.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export interface JobRunsArgs {
|
|
|
5
5
|
cursor?: string;
|
|
6
6
|
jobName?: string;
|
|
7
7
|
limit?: number;
|
|
8
|
+
projectId?: string;
|
|
8
9
|
}
|
|
9
10
|
export interface JobRunsResult {
|
|
10
11
|
readonly items: outputs.JobRun[];
|
|
@@ -15,4 +16,5 @@ export interface JobRunsOutputArgs {
|
|
|
15
16
|
cursor?: pulumi.Input<string>;
|
|
16
17
|
jobName?: pulumi.Input<string>;
|
|
17
18
|
limit?: pulumi.Input<number>;
|
|
19
|
+
projectId?: pulumi.Input<string>;
|
|
18
20
|
}
|
package/dist/jobRuns.js
CHANGED
|
@@ -12,6 +12,7 @@ function jobRuns(args, opts) {
|
|
|
12
12
|
"cursor": args.cursor,
|
|
13
13
|
"jobName": args.jobName,
|
|
14
14
|
"limit": args.limit,
|
|
15
|
+
"projectId": args.projectId,
|
|
15
16
|
}, opts);
|
|
16
17
|
}
|
|
17
18
|
exports.jobRuns = jobRuns;
|
|
@@ -22,6 +23,7 @@ function jobRunsOutput(args, opts) {
|
|
|
22
23
|
"cursor": args.cursor,
|
|
23
24
|
"jobName": args.jobName,
|
|
24
25
|
"limit": args.limit,
|
|
26
|
+
"projectId": args.projectId,
|
|
25
27
|
}, opts);
|
|
26
28
|
}
|
|
27
29
|
exports.jobRunsOutput = jobRunsOutput;
|
package/dist/jobRuns.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jobRuns.js","sourceRoot":"","sources":["../jobRuns.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AA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3D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sCASC"}
|
package/dist/logs.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare function logs(args: LogsArgs, opts?: pulumi.InvokeOptions): Promi
|
|
|
4
4
|
export interface LogsArgs {
|
|
5
5
|
contains?: string;
|
|
6
6
|
limit?: number;
|
|
7
|
+
projectId?: string;
|
|
7
8
|
runId: string;
|
|
8
9
|
since?: string;
|
|
9
10
|
until?: string;
|
|
@@ -15,6 +16,7 @@ export declare function logsOutput(args: LogsOutputArgs, opts?: pulumi.InvokeOut
|
|
|
15
16
|
export interface LogsOutputArgs {
|
|
16
17
|
contains?: pulumi.Input<string>;
|
|
17
18
|
limit?: pulumi.Input<number>;
|
|
19
|
+
projectId?: pulumi.Input<string>;
|
|
18
20
|
runId: pulumi.Input<string>;
|
|
19
21
|
since?: pulumi.Input<string>;
|
|
20
22
|
until?: pulumi.Input<string>;
|
package/dist/logs.js
CHANGED
|
@@ -10,6 +10,7 @@ function logs(args, opts) {
|
|
|
10
10
|
return pulumi.runtime.invoke("agentcloud:index:logs", {
|
|
11
11
|
"contains": args.contains,
|
|
12
12
|
"limit": args.limit,
|
|
13
|
+
"projectId": args.projectId,
|
|
13
14
|
"runId": args.runId,
|
|
14
15
|
"since": args.since,
|
|
15
16
|
"until": args.until,
|
|
@@ -21,6 +22,7 @@ function logsOutput(args, opts) {
|
|
|
21
22
|
return pulumi.runtime.invokeOutput("agentcloud:index:logs", {
|
|
22
23
|
"contains": args.contains,
|
|
23
24
|
"limit": args.limit,
|
|
25
|
+
"projectId": args.projectId,
|
|
24
26
|
"runId": args.runId,
|
|
25
27
|
"since": args.since,
|
|
26
28
|
"until": args.until,
|
package/dist/logs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logs.js","sourceRoot":"","sources":["../logs.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,IAAI,CAAC,IAAc,EAAE,IAA2B;IAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE;QAClD,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;
|
|
1
|
+
{"version":3,"file":"logs.js","sourceRoot":"","sources":["../logs.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,IAAI,CAAC,IAAc,EAAE,IAA2B;IAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE;QAClD,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oBAUC;AAcD,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAAiC;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uBAAuB,EAAE;QACxD,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC"}
|
package/dist/machine.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export declare class Machine extends pulumi.CustomResource {
|
|
|
21
21
|
readonly machineId: pulumi.Output<string>;
|
|
22
22
|
readonly memoryMb: pulumi.Output<number | undefined>;
|
|
23
23
|
readonly name: pulumi.Output<string>;
|
|
24
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
24
25
|
readonly status: pulumi.Output<string>;
|
|
25
26
|
readonly workingDir: pulumi.Output<string | undefined>;
|
|
26
27
|
/**
|
|
@@ -41,5 +42,6 @@ export interface MachineArgs {
|
|
|
41
42
|
imageName: pulumi.Input<string>;
|
|
42
43
|
memoryMb?: pulumi.Input<number>;
|
|
43
44
|
name: pulumi.Input<string>;
|
|
45
|
+
projectId?: pulumi.Input<string>;
|
|
44
46
|
workingDir?: pulumi.Input<string>;
|
|
45
47
|
}
|
package/dist/machine.js
CHANGED
|
@@ -49,6 +49,7 @@ class Machine extends pulumi.CustomResource {
|
|
|
49
49
|
resourceInputs["imageName"] = args?.imageName;
|
|
50
50
|
resourceInputs["memoryMb"] = args?.memoryMb;
|
|
51
51
|
resourceInputs["name"] = args?.name;
|
|
52
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
52
53
|
resourceInputs["workingDir"] = args?.workingDir;
|
|
53
54
|
resourceInputs["imageVersionId"] = undefined /*out*/;
|
|
54
55
|
resourceInputs["machineId"] = undefined /*out*/;
|
|
@@ -62,10 +63,13 @@ class Machine extends pulumi.CustomResource {
|
|
|
62
63
|
resourceInputs["machineId"] = undefined /*out*/;
|
|
63
64
|
resourceInputs["memoryMb"] = undefined /*out*/;
|
|
64
65
|
resourceInputs["name"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
65
67
|
resourceInputs["status"] = undefined /*out*/;
|
|
66
68
|
resourceInputs["workingDir"] = undefined /*out*/;
|
|
67
69
|
}
|
|
68
70
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
71
|
+
const replaceOnChanges = { replaceOnChanges: ["projectId"] };
|
|
72
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
69
73
|
super(Machine.__pulumiType, name, resourceInputs, opts);
|
|
70
74
|
}
|
|
71
75
|
}
|
package/dist/machine.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"machine.js","sourceRoot":"","sources":["../machine.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,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,OAAO,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EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAjFL,0BAkFC;AArEG,gBAAgB;AACO,oBAAY,GAAG,0BAA0B,CAAC"}
|
package/dist/messages.d.ts
CHANGED
|
@@ -2,9 +2,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
export declare function messages(args: MessagesArgs, opts?: pulumi.InvokeOptions): Promise<MessagesResult>;
|
|
4
4
|
export interface MessagesArgs {
|
|
5
|
+
agentId: string;
|
|
5
6
|
cursor?: string;
|
|
6
7
|
limit?: number;
|
|
7
|
-
|
|
8
|
+
projectId?: string;
|
|
8
9
|
}
|
|
9
10
|
export interface MessagesResult {
|
|
10
11
|
readonly items: outputs.Message[];
|
|
@@ -12,7 +13,8 @@ export interface MessagesResult {
|
|
|
12
13
|
}
|
|
13
14
|
export declare function messagesOutput(args: MessagesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<MessagesResult>;
|
|
14
15
|
export interface MessagesOutputArgs {
|
|
16
|
+
agentId: pulumi.Input<string>;
|
|
15
17
|
cursor?: pulumi.Input<string>;
|
|
16
18
|
limit?: pulumi.Input<number>;
|
|
17
|
-
|
|
19
|
+
projectId?: pulumi.Input<string>;
|
|
18
20
|
}
|
package/dist/messages.js
CHANGED
|
@@ -8,18 +8,20 @@ const utilities = require("./utilities");
|
|
|
8
8
|
function messages(args, opts) {
|
|
9
9
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
10
|
return pulumi.runtime.invoke("agentcloud:index:messages", {
|
|
11
|
+
"agentId": args.agentId,
|
|
11
12
|
"cursor": args.cursor,
|
|
12
13
|
"limit": args.limit,
|
|
13
|
-
"
|
|
14
|
+
"projectId": args.projectId,
|
|
14
15
|
}, opts);
|
|
15
16
|
}
|
|
16
17
|
exports.messages = messages;
|
|
17
18
|
function messagesOutput(args, opts) {
|
|
18
19
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
19
20
|
return pulumi.runtime.invokeOutput("agentcloud:index:messages", {
|
|
21
|
+
"agentId": args.agentId,
|
|
20
22
|
"cursor": args.cursor,
|
|
21
23
|
"limit": args.limit,
|
|
22
|
-
"
|
|
24
|
+
"projectId": args.projectId,
|
|
23
25
|
}, opts);
|
|
24
26
|
}
|
|
25
27
|
exports.messagesOutput = messagesOutput;
|
package/dist/messages.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.js","sourceRoot":"","sources":["../messages.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2BAA2B,EAAE;QACtD,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,
|
|
1
|
+
{"version":3,"file":"messages.js","sourceRoot":"","sources":["../messages.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2BAA2B,EAAE;QACtD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4BAQC;AAaD,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2BAA2B,EAAE;QAC5D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC"}
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/agentcloud",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"main": "bin/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc",
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
"pulumi": {
|
|
15
15
|
"resource": true,
|
|
16
16
|
"name": "agentcloud",
|
|
17
|
-
"version": "0.1.
|
|
17
|
+
"version": "0.1.11"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -1,35 +1,37 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class ProjectRole extends pulumi.CustomResource {
|
|
3
3
|
/**
|
|
4
|
-
* Get an existing
|
|
4
|
+
* Get an existing ProjectRole 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): ProjectRole;
|
|
12
12
|
/**
|
|
13
|
-
* Returns true if the given object is an instance of
|
|
13
|
+
* Returns true if the given object is an instance of ProjectRole. 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 ProjectRole;
|
|
17
17
|
readonly description: pulumi.Output<string | undefined>;
|
|
18
18
|
readonly name: pulumi.Output<string>;
|
|
19
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
19
20
|
readonly roleId: pulumi.Output<string>;
|
|
20
21
|
/**
|
|
21
|
-
* Create a
|
|
22
|
+
* Create a ProjectRole resource with the given unique name, arguments, and options.
|
|
22
23
|
*
|
|
23
24
|
* @param name The _unique_ name of the resource.
|
|
24
25
|
* @param args The arguments to use to populate this resource's properties.
|
|
25
26
|
* @param opts A bag of options that control this resource's behavior.
|
|
26
27
|
*/
|
|
27
|
-
constructor(name: string, args:
|
|
28
|
+
constructor(name: string, args: ProjectRoleArgs, opts?: pulumi.CustomResourceOptions);
|
|
28
29
|
}
|
|
29
30
|
/**
|
|
30
|
-
* The set of arguments for constructing a
|
|
31
|
+
* The set of arguments for constructing a ProjectRole resource.
|
|
31
32
|
*/
|
|
32
|
-
export interface
|
|
33
|
+
export interface ProjectRoleArgs {
|
|
33
34
|
description?: pulumi.Input<string>;
|
|
34
35
|
name: pulumi.Input<string>;
|
|
36
|
+
projectId?: pulumi.Input<string>;
|
|
35
37
|
}
|
|
@@ -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.ProjectRole = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
class
|
|
8
|
+
class ProjectRole extends pulumi.CustomResource {
|
|
9
9
|
/**
|
|
10
|
-
* Get an existing
|
|
10
|
+
* Get an existing ProjectRole 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 PermissionRole 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 ProjectRole(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 ProjectRole. 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'] === ProjectRole.__pulumiType;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* Create a
|
|
31
|
+
* Create a ProjectRole 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.
|
|
@@ -43,18 +43,22 @@ class PermissionRole extends pulumi.CustomResource {
|
|
|
43
43
|
}
|
|
44
44
|
resourceInputs["description"] = args?.description;
|
|
45
45
|
resourceInputs["name"] = args?.name;
|
|
46
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
46
47
|
resourceInputs["roleId"] = undefined /*out*/;
|
|
47
48
|
}
|
|
48
49
|
else {
|
|
49
50
|
resourceInputs["description"] = undefined /*out*/;
|
|
50
51
|
resourceInputs["name"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
51
53
|
resourceInputs["roleId"] = undefined /*out*/;
|
|
52
54
|
}
|
|
53
55
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
54
|
-
|
|
56
|
+
const replaceOnChanges = { replaceOnChanges: ["projectId"] };
|
|
57
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
58
|
+
super(ProjectRole.__pulumiType, name, resourceInputs, opts);
|
|
55
59
|
}
|
|
56
60
|
}
|
|
57
|
-
exports.
|
|
61
|
+
exports.ProjectRole = ProjectRole;
|
|
58
62
|
/** @internal */
|
|
59
|
-
|
|
60
|
-
//# sourceMappingURL=
|
|
63
|
+
ProjectRole.__pulumiType = 'agentcloud:index:ProjectRole';
|
|
64
|
+
//# sourceMappingURL=projectRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectRole.js","sourceRoot":"","sources":["../projectRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,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gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA5DL,kCA6DC;AAhDG,gBAAgB;AACO,wBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -1,37 +1,39 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class ProjectRoleBinding extends pulumi.CustomResource {
|
|
3
3
|
/**
|
|
4
|
-
* Get an existing
|
|
4
|
+
* Get an existing ProjectRoleBinding 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): ProjectRoleBinding;
|
|
12
12
|
/**
|
|
13
|
-
* Returns true if the given object is an instance of
|
|
13
|
+
* Returns true if the given object is an instance of ProjectRoleBinding. 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 ProjectRoleBinding;
|
|
17
17
|
readonly bindingId: pulumi.Output<string>;
|
|
18
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
18
19
|
readonly roleId: pulumi.Output<string>;
|
|
19
20
|
readonly roleName: pulumi.Output<string>;
|
|
20
21
|
readonly subjectId: pulumi.Output<string>;
|
|
21
22
|
readonly subjectType: pulumi.Output<string>;
|
|
22
23
|
/**
|
|
23
|
-
* Create a
|
|
24
|
+
* Create a ProjectRoleBinding resource with the given unique name, arguments, and options.
|
|
24
25
|
*
|
|
25
26
|
* @param name The _unique_ name of the resource.
|
|
26
27
|
* @param args The arguments to use to populate this resource's properties.
|
|
27
28
|
* @param opts A bag of options that control this resource's behavior.
|
|
28
29
|
*/
|
|
29
|
-
constructor(name: string, args:
|
|
30
|
+
constructor(name: string, args: ProjectRoleBindingArgs, opts?: pulumi.CustomResourceOptions);
|
|
30
31
|
}
|
|
31
32
|
/**
|
|
32
|
-
* The set of arguments for constructing a
|
|
33
|
+
* The set of arguments for constructing a ProjectRoleBinding resource.
|
|
33
34
|
*/
|
|
34
|
-
export interface
|
|
35
|
+
export interface ProjectRoleBindingArgs {
|
|
36
|
+
projectId?: pulumi.Input<string>;
|
|
35
37
|
roleName: pulumi.Input<string>;
|
|
36
38
|
subjectId: pulumi.Input<string>;
|
|
37
39
|
subjectType: 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.ProjectRoleBinding = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
class
|
|
8
|
+
class ProjectRoleBinding extends pulumi.CustomResource {
|
|
9
9
|
/**
|
|
10
|
-
* Get an existing
|
|
10
|
+
* Get an existing ProjectRoleBinding 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 PermissionRoleBinding 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 ProjectRoleBinding(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 ProjectRoleBinding. 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'] === ProjectRoleBinding.__pulumiType;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* Create a
|
|
31
|
+
* Create a ProjectRoleBinding 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.
|
|
@@ -47,6 +47,7 @@ class PermissionRoleBinding extends pulumi.CustomResource {
|
|
|
47
47
|
if (args?.subjectType === undefined && !opts.urn) {
|
|
48
48
|
throw new Error("Missing required property 'subjectType'");
|
|
49
49
|
}
|
|
50
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
50
51
|
resourceInputs["roleName"] = args?.roleName;
|
|
51
52
|
resourceInputs["subjectId"] = args?.subjectId;
|
|
52
53
|
resourceInputs["subjectType"] = args?.subjectType;
|
|
@@ -55,16 +56,19 @@ class PermissionRoleBinding extends pulumi.CustomResource {
|
|
|
55
56
|
}
|
|
56
57
|
else {
|
|
57
58
|
resourceInputs["bindingId"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
58
60
|
resourceInputs["roleId"] = undefined /*out*/;
|
|
59
61
|
resourceInputs["roleName"] = undefined /*out*/;
|
|
60
62
|
resourceInputs["subjectId"] = undefined /*out*/;
|
|
61
63
|
resourceInputs["subjectType"] = undefined /*out*/;
|
|
62
64
|
}
|
|
63
65
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
64
|
-
|
|
66
|
+
const replaceOnChanges = { replaceOnChanges: ["projectId"] };
|
|
67
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
68
|
+
super(ProjectRoleBinding.__pulumiType, name, resourceInputs, opts);
|
|
65
69
|
}
|
|
66
70
|
}
|
|
67
|
-
exports.
|
|
71
|
+
exports.ProjectRoleBinding = ProjectRoleBinding;
|
|
68
72
|
/** @internal */
|
|
69
|
-
|
|
70
|
-
//# sourceMappingURL=
|
|
73
|
+
ProjectRoleBinding.__pulumiType = 'agentcloud:index:ProjectRoleBinding';
|
|
74
|
+
//# sourceMappingURL=projectRoleBinding.js.map
|