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 Instance Devices in Oracle Cloud Infrastructure Core service. * * Gets a list of all the devices for given instance. You can optionally filter results by device availability. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInstanceDevices = oci.core.getInstanceDevices({ * instanceId: testInstance.id, * isAvailable: instanceDeviceIsAvailable === "true", * name: instanceDeviceName, * }); * ``` */ export declare function getInstanceDevices(args: GetInstanceDevicesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInstanceDevices. */ export interface GetInstanceDevicesArgs { filters?: inputs.Core.GetInstanceDevicesFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. */ instanceId: string; /** * A filter to return only available devices or only used devices. */ isAvailable?: boolean; /** * A filter to return only devices that match the given name exactly. */ name?: string; } /** * A collection of values returned by getInstanceDevices. */ export interface GetInstanceDevicesResult { /** * The list of devices. */ readonly devices: outputs.Core.GetInstanceDevicesDevice[]; readonly filters?: outputs.Core.GetInstanceDevicesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceId: string; /** * The flag denoting whether device is available. */ readonly isAvailable?: boolean; /** * The device name. */ readonly name?: string; } /** * This data source provides the list of Instance Devices in Oracle Cloud Infrastructure Core service. * * Gets a list of all the devices for given instance. You can optionally filter results by device availability. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInstanceDevices = oci.core.getInstanceDevices({ * instanceId: testInstance.id, * isAvailable: instanceDeviceIsAvailable === "true", * name: instanceDeviceName, * }); * ``` */ export declare function getInstanceDevicesOutput(args: GetInstanceDevicesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getInstanceDevices. */ export interface GetInstanceDevicesOutputArgs { filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. */ instanceId: pulumi.Input; /** * A filter to return only available devices or only used devices. */ isAvailable?: pulumi.Input; /** * A filter to return only devices that match the given name exactly. */ name?: pulumi.Input; } //# sourceMappingURL=getInstanceDevices.d.ts.map