UNPKG

pulumi-infisical

Version:

A Pulumi provider for managing Infisical secrets management platform, dynamically bridged from the Terraform Infisical provider with support for projects, secrets, identity management, integrations, and access controls.

91 lines 3.19 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class ProjectUser extends pulumi.CustomResource { /** * Get an existing ProjectUser resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectUserState, opts?: pulumi.CustomResourceOptions): ProjectUser; /** * Returns true if the given object is an instance of ProjectUser. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ProjectUser; /** * The membershipId of the project user */ readonly membershipId: pulumi.Output<string>; /** * The id of the project */ readonly projectId: pulumi.Output<string>; /** * The roles assigned to the project user */ readonly roles: pulumi.Output<outputs.ProjectUserRole[]>; /** * The user details of the project user */ readonly user: pulumi.Output<outputs.ProjectUserUser>; /** * The usename of the user. By default its the email */ readonly username: pulumi.Output<string>; /** * Create a ProjectUser resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ProjectUserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ProjectUser resources. */ export interface ProjectUserState { /** * The membershipId of the project user */ membershipId?: pulumi.Input<string | undefined>; /** * The id of the project */ projectId?: pulumi.Input<string | undefined>; /** * The roles assigned to the project user */ roles?: pulumi.Input<pulumi.Input<inputs.ProjectUserRole>[] | undefined>; /** * The user details of the project user */ user?: pulumi.Input<inputs.ProjectUserUser | undefined>; /** * The usename of the user. By default its the email */ username?: pulumi.Input<string | undefined>; } /** * The set of arguments for constructing a ProjectUser resource. */ export interface ProjectUserArgs { /** * The id of the project */ projectId: pulumi.Input<string>; /** * The roles assigned to the project user */ roles: pulumi.Input<pulumi.Input<inputs.ProjectUserRole>[]>; /** * The usename of the user. By default its the email */ username: pulumi.Input<string>; } //# sourceMappingURL=projectUser.d.ts.map