import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Device data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up a device by id * const myDevice = scm.getDevice({ * id: "007099000023642", * }); * export const scmDeviceOutput = { * id: myDevice.then(myDevice => myDevice.id), * name: myDevice.then(myDevice => myDevice.name), * hostname: myDevice.then(myDevice => myDevice.hostname), * model: myDevice.then(myDevice => myDevice.model), * family: myDevice.then(myDevice => myDevice.family), * folder: myDevice.then(myDevice => myDevice.folder), * isConnected: myDevice.then(myDevice => myDevice.isConnected), * softwareVersion: myDevice.then(myDevice => myDevice.softwareVersion), * ipAddress: myDevice.then(myDevice => myDevice.ipAddress), * macAddress: myDevice.then(myDevice => myDevice.macAddress), * uptime: myDevice.then(myDevice => myDevice.uptime), * }; * ``` */ export declare function getDevice(args: GetDeviceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDevice. */ export interface GetDeviceArgs { /** * The folder containing the device */ folder?: string; /** * The UUID of the device */ id: string; /** * The name of the device */ name?: string; } /** * A collection of values returned by getDevice. */ export interface GetDeviceResult { /** * Anti virus version */ readonly antiVirusVersion: string; /** * App release date */ readonly appReleaseDate: string; /** * App version */ readonly appVersion: string; /** * Av release date */ readonly avReleaseDate: string; /** * Available licensess */ readonly availableLicensesses: outputs.GetDeviceAvailableLicensess[]; /** * Connected since */ readonly connectedSince: string; /** * The description of the device */ readonly description: string; /** * Dev cert detail */ readonly devCertDetail: string; /** * Dev cert expiry date */ readonly devCertExpiryDate: string; /** * The display name of the device */ readonly displayName: string; /** * The product family of the device */ readonly family: string; /** * The folder containing the device */ readonly folder: string; /** * Gp client verion */ readonly gpClientVerion: string; /** * Gp data version */ readonly gpDataVersion: string; /** * Ha peer serial */ readonly haPeerSerial: string; /** * Ha peer state */ readonly haPeerState: string; /** * Ha state */ readonly haState: string; /** * The hostname of the device */ readonly hostname: string; /** * The UUID of the device */ readonly id: string; /** * Installed licenses */ readonly installedLicenses: outputs.GetDeviceInstalledLicense[]; /** * Iot release date */ readonly iotReleaseDate: string; /** * Iot version */ readonly iotVersion: string; /** * The IPv4 address of the device */ readonly ipAddress: string; /** * Ip v6 address */ readonly ipV6Address: string; /** * Is connected */ readonly isConnected: boolean; /** * Labels assigned to the device */ readonly labels: string[]; /** * License match */ readonly licenseMatch: boolean; /** * Log db version */ readonly logDbVersion: string; /** * The MAC address of the device */ readonly macAddress: string; /** * The model of the device */ readonly model: string; /** * The name of the device */ readonly name: string; /** * Snippets associated with the device */ readonly snippets: string[]; /** * Software version */ readonly softwareVersion: string; /** * The Terraform ID. */ readonly tfid: string; /** * Threat release date */ readonly threatReleaseDate: string; /** * Threat version */ readonly threatVersion: string; /** * Uptime */ readonly uptime: string; /** * Url db type */ readonly urlDbType: string; /** * Url db ver */ readonly urlDbVer: string; /** * Vm state */ readonly vmState: string; /** * Wf release date */ readonly wfReleaseDate: string; /** * Wf ver */ readonly wfVer: string; } /** * Device data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up a device by id * const myDevice = scm.getDevice({ * id: "007099000023642", * }); * export const scmDeviceOutput = { * id: myDevice.then(myDevice => myDevice.id), * name: myDevice.then(myDevice => myDevice.name), * hostname: myDevice.then(myDevice => myDevice.hostname), * model: myDevice.then(myDevice => myDevice.model), * family: myDevice.then(myDevice => myDevice.family), * folder: myDevice.then(myDevice => myDevice.folder), * isConnected: myDevice.then(myDevice => myDevice.isConnected), * softwareVersion: myDevice.then(myDevice => myDevice.softwareVersion), * ipAddress: myDevice.then(myDevice => myDevice.ipAddress), * macAddress: myDevice.then(myDevice => myDevice.macAddress), * uptime: myDevice.then(myDevice => myDevice.uptime), * }; * ``` */ export declare function getDeviceOutput(args: GetDeviceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDevice. */ export interface GetDeviceOutputArgs { /** * The folder containing the device */ folder?: pulumi.Input; /** * The UUID of the device */ id: pulumi.Input; /** * The name of the device */ name?: pulumi.Input; } //# sourceMappingURL=getDevice.d.ts.map