import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Desktops in Oracle Cloud Infrastructure Desktops service. * * Returns a list of desktops filtered by the specified parameters. You can limit the results to an availability domain, desktop name, desktop OCID, desktop state, pool OCID, or compartment OCID. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDesktops = oci.desktops.getDesktops({ * compartmentId: compartmentId, * availabilityDomain: desktopAvailabilityDomain, * desktopPoolId: testDesktopPool.id, * displayName: desktopDisplayName, * id: desktopId, * state: desktopState, * }); * ``` */ export declare function getDesktops(args: GetDesktopsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDesktops. */ export interface GetDesktopsArgs { /** * The name of the availability domain. */ availabilityDomain?: string; /** * The OCID of the compartment of the desktop pool. */ compartmentId: string; /** * The OCID of the desktop pool. */ desktopPoolId?: string; /** * A filter to return only results with the given displayName. */ displayName?: string; filters?: inputs.Desktops.GetDesktopsFilter[]; /** * A filter to return only results with the given OCID. */ id?: string; /** * A filter to return only results with the given lifecycleState. */ state?: string; } /** * A collection of values returned by getDesktops. */ export interface GetDesktopsResult { readonly availabilityDomain?: string; readonly compartmentId: string; /** * The list of desktop_collection. */ readonly desktopCollections: outputs.Desktops.GetDesktopsDesktopCollection[]; readonly desktopPoolId?: string; /** * A user friendly display name. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.Desktops.GetDesktopsFilter[]; /** * The OCID of the desktop. */ readonly id?: string; /** * The state of the desktop. */ readonly state?: string; } /** * This data source provides the list of Desktops in Oracle Cloud Infrastructure Desktops service. * * Returns a list of desktops filtered by the specified parameters. You can limit the results to an availability domain, desktop name, desktop OCID, desktop state, pool OCID, or compartment OCID. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDesktops = oci.desktops.getDesktops({ * compartmentId: compartmentId, * availabilityDomain: desktopAvailabilityDomain, * desktopPoolId: testDesktopPool.id, * displayName: desktopDisplayName, * id: desktopId, * state: desktopState, * }); * ``` */ export declare function getDesktopsOutput(args: GetDesktopsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDesktops. */ export interface GetDesktopsOutputArgs { /** * The name of the availability domain. */ availabilityDomain?: pulumi.Input; /** * The OCID of the compartment of the desktop pool. */ compartmentId: pulumi.Input; /** * The OCID of the desktop pool. */ desktopPoolId?: pulumi.Input; /** * A filter to return only results with the given displayName. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only results with the given OCID. */ id?: pulumi.Input; /** * A filter to return only results with the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getDesktops.d.ts.map