import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * The users data source describes a list of users in a tailnet * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as tailscale from "@pulumi/tailscale"; * * const all_users = tailscale.getUsers({}); * ``` */ export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getUsers. */ export interface GetUsersArgs { /** * Filters the users list to elements whose role is the provided value. */ role?: string; /** * Filters the users list to elements whose type is the provided value. */ type?: string; } /** * A collection of values returned by getUsers. */ export interface GetUsersResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Filters the users list to elements whose role is the provided value. */ readonly role?: string; /** * Filters the users list to elements whose type is the provided value. */ readonly type?: string; /** * The list of users in the tailnet */ readonly users: outputs.GetUsersUser[]; } /** * The users data source describes a list of users in a tailnet * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as tailscale from "@pulumi/tailscale"; * * const all_users = tailscale.getUsers({}); * ``` */ export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getUsers. */ export interface GetUsersOutputArgs { /** * Filters the users list to elements whose role is the provided value. */ role?: pulumi.Input; /** * Filters the users list to elements whose type is the provided value. */ type?: pulumi.Input; }