-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgetWorkerPool.ts
More file actions
50 lines (45 loc) · 1.69 KB
/
Copy pathgetWorkerPool.ts
File metadata and controls
50 lines (45 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "./utilities";
export function getWorkerPool(args: GetWorkerPoolArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkerPoolResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("spacelift:index/getWorkerPool:getWorkerPool", {
"id": args.id,
"workerPoolId": args.workerPoolId,
}, opts, utilities.getPackage());
}
/**
* A collection of arguments for invoking getWorkerPool.
*/
export interface GetWorkerPoolArgs {
id?: string;
workerPoolId: string;
}
/**
* A collection of values returned by getWorkerPool.
*/
export interface GetWorkerPoolResult {
readonly config: string;
readonly description: string;
readonly driftDetectionRunLimit: number;
readonly id: string;
readonly labels: string[];
readonly name: string;
readonly spaceId: string;
readonly workerPoolId: string;
}
export function getWorkerPoolOutput(args: GetWorkerPoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkerPoolResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("spacelift:index/getWorkerPool:getWorkerPool", {
"id": args.id,
"workerPoolId": args.workerPoolId,
}, opts, utilities.getPackage());
}
/**
* A collection of arguments for invoking getWorkerPool.
*/
export interface GetWorkerPoolOutputArgs {
id?: pulumi.Input<string | undefined>;
workerPoolId: pulumi.Input<string>;
}