@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
73 lines (72 loc) • 1.87 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for retrieving a Harness user
*/
export declare function getUser(args?: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
/**
* A collection of arguments for invoking getUser.
*/
export interface GetUserArgs {
/**
* The email of the user.
*/
email?: string;
/**
* Unique identifier of the user
*/
id?: string;
}
/**
* A collection of values returned by getUser.
*/
export interface GetUserResult {
/**
* The email of the user.
*/
readonly email?: string;
/**
* Unique identifier of the user
*/
readonly id?: string;
/**
* Flag indicating whether or not the users email has been verified.
*/
readonly isEmailVerified: boolean;
/**
* Flag indicating whether or not the user was imported from an identity provider.
*/
readonly isImportedFromIdentityProvider: boolean;
/**
* Flag indicating whether or not the users password has expired.
*/
readonly isPasswordExpired: boolean;
/**
* Flag indicating whether or not two-factor authentication is enabled for the user.
*/
readonly isTwoFactorAuthEnabled: boolean;
/**
* Flag indicating whether or not the user is locked out.
*/
readonly isUserLocked: boolean;
/**
* The name of the user.
*/
readonly name: string;
}
/**
* Data source for retrieving a Harness user
*/
export declare function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUserResult>;
/**
* A collection of arguments for invoking getUser.
*/
export interface GetUserOutputArgs {
/**
* The email of the user.
*/
email?: pulumi.Input<string>;
/**
* Unique identifier of the user
*/
id?: pulumi.Input<string>;
}