import * as pulumi from "@pulumi/pulumi"; /** * The ``rabbitmq.User`` resource creates and manages a user. * * > **Note:** All arguments including username and password will be stored in the raw state as plain-text. * [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as rabbitmq from "@pulumi/rabbitmq"; * * const test = new rabbitmq.User("test", { * name: "mctest", * password: "foobar", * tags: [ * "administrator", * "management", * ], * }); * ``` * * ## Import * * Users can be imported using the `name`, e.g. * * ```sh * $ pulumi import rabbitmq:index/user:User test mctest * ``` */ export declare class User extends pulumi.CustomResource { /** * Get an existing User 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, state?: UserState, opts?: pulumi.CustomResourceOptions): User; /** * Returns true if the given object is an instance of User. 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 User; /** * The name of the user. */ readonly name: pulumi.Output; /** * The password of the user. The value of this argument * is plain-text so make sure to secure where this is defined. */ readonly password: pulumi.Output; /** * Which permission model to apply to the user. Valid * options are: management, policymaker, monitoring, and administrator. */ readonly tags: pulumi.Output; /** * Create a User 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: UserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering User resources. */ export interface UserState { /** * The name of the user. */ name?: pulumi.Input; /** * The password of the user. The value of this argument * is plain-text so make sure to secure where this is defined. */ password?: pulumi.Input; /** * Which permission model to apply to the user. Valid * options are: management, policymaker, monitoring, and administrator. */ tags?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a User resource. */ export interface UserArgs { /** * The name of the user. */ name?: pulumi.Input; /** * The password of the user. The value of this argument * is plain-text so make sure to secure where this is defined. */ password: pulumi.Input; /** * Which permission model to apply to the user. Valid * options are: management, policymaker, monitoring, and administrator. */ tags?: pulumi.Input[] | undefined>; } //# sourceMappingURL=user.d.ts.map