import * as pulumi from "@pulumi/pulumi"; /** * This data source can read the Username configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@pulumi/iosxe"; * * const example = iosxe.getUsername({ * name: "user1", * }); * ``` */ export declare function getUsername(args: GetUsernameArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getUsername. */ export interface GetUsernameArgs { /** * A device name from the provider configuration. */ device?: string; name: string; } /** * A collection of values returned by getUsername. */ export interface GetUsernameResult { /** * description string with max 128 characters */ readonly description: string; /** * A device name from the provider configuration. */ readonly device?: string; /** * The path of the retrieved object. */ readonly id: string; readonly name: string; readonly password: string; readonly passwordEncryption: string; /** * Set user privilege level */ readonly privilege: number; readonly secret: string; readonly secretEncryption: string; } /** * This data source can read the Username configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@pulumi/iosxe"; * * const example = iosxe.getUsername({ * name: "user1", * }); * ``` */ export declare function getUsernameOutput(args: GetUsernameOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getUsername. */ export interface GetUsernameOutputArgs { /** * A device name from the provider configuration. */ device?: pulumi.Input; name: pulumi.Input; }