@lbrlabs/pulumi-dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
57 lines (56 loc) • 1.67 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* This data source allows you to specify the email address of the user and produces an ordered list of group IDs this user is a member of
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dynatrace from "@pulumi/dynatrace";
*
* const userA = dynatrace.getIamUser({
* email: "me@home.com",
* });
* export const groups = userA.then(userA => userA.groups);
* ```
*/
export declare function getIamUser(args: GetIamUserArgs, opts?: pulumi.InvokeOptions): Promise<GetIamUserResult>;
/**
* A collection of arguments for invoking getIamUser.
*/
export interface GetIamUserArgs {
email: string;
}
/**
* A collection of values returned by getIamUser.
*/
export interface GetIamUserResult {
readonly email: string;
readonly groups: string[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
}
/**
* This data source allows you to specify the email address of the user and produces an ordered list of group IDs this user is a member of
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dynatrace from "@pulumi/dynatrace";
*
* const userA = dynatrace.getIamUser({
* email: "me@home.com",
* });
* export const groups = userA.then(userA => userA.groups);
* ```
*/
export declare function getIamUserOutput(args: GetIamUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIamUserResult>;
/**
* A collection of arguments for invoking getIamUser.
*/
export interface GetIamUserOutputArgs {
email: pulumi.Input<string>;
}