-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgetUser.ts
More file actions
49 lines (44 loc) · 1.51 KB
/
getUser.ts
File metadata and controls
49 lines (44 loc) · 1.51 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
// *** 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 getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("fivetran:index/getUser:getUser", {
"id": args.id,
}, opts, utilities.getPackage());
}
/**
* A collection of arguments for invoking getUser.
*/
export interface GetUserArgs {
id: string;
}
/**
* A collection of values returned by getUser.
*/
export interface GetUserResult {
readonly createdAt: string;
readonly email: string;
readonly familyName: string;
readonly givenName: string;
readonly id: string;
readonly invited: boolean;
readonly loggedInAt: string;
readonly phone: string;
readonly picture: string;
readonly role: string;
readonly verified: boolean;
}
export function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUserResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("fivetran:index/getUser:getUser", {
"id": args.id,
}, opts, utilities.getPackage());
}
/**
* A collection of arguments for invoking getUser.
*/
export interface GetUserOutputArgs {
id: pulumi.Input<string>;
}