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 { /** * Filter the results to only include users with a specific role. Valid values are `owner`, `member`, `admin`, `it-admin`, `network-admin`, `billing-admin`, and `auditor`. */ role?: string; /** * Filter the results to only include users of a specific type. Valid values are `member` or `shared`. */ type?: string; } /** * A collection of values returned by getUsers. */ export interface GetUsersResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Filter the results to only include users with a specific role. Valid values are `owner`, `member`, `admin`, `it-admin`, `network-admin`, `billing-admin`, and `auditor`. */ readonly role?: string; /** * Filter the results to only include users of a specific type. Valid values are `member` or `shared`. */ 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 { /** * Filter the results to only include users with a specific role. Valid values are `owner`, `member`, `admin`, `it-admin`, `network-admin`, `billing-admin`, and `auditor`. */ role?: pulumi.Input; /** * Filter the results to only include users of a specific type. Valid values are `member` or `shared`. */ type?: pulumi.Input; }