import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * The devices data source describes a list of devices in a tailnet * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as tailscale from "@pulumi/tailscale"; * * const sampleDevices = tailscale.getDevices({ * namePrefix: "example-", * }); * ``` */ export declare function getDevices(args?: GetDevicesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDevices. */ export interface GetDevicesArgs { /** * Filters the device list to elements whose name has the provided prefix */ namePrefix?: string; } /** * A collection of values returned by getDevices. */ export interface GetDevicesResult { /** * The list of devices in the tailnet */ readonly devices: outputs.GetDevicesDevice[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Filters the device list to elements whose name has the provided prefix */ readonly namePrefix?: string; } /** * The devices data source describes a list of devices in a tailnet * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as tailscale from "@pulumi/tailscale"; * * const sampleDevices = tailscale.getDevices({ * namePrefix: "example-", * }); * ``` */ export declare function getDevicesOutput(args?: GetDevicesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDevices. */ export interface GetDevicesOutputArgs { /** * Filters the device list to elements whose name has the provided prefix */ namePrefix?: pulumi.Input; }