UNPKG

@pulumi/juniper-mist

Version:

A Pulumi package for creating and managing Juniper Mist resources.

166 lines (165 loc) 3.88 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides the list of Devices in the Org inventory. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as junipermist from "@pulumi/juniper-mist"; * * const inventory = junipermist.org.getInventory({ * orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550", * mac: "485a0d000000", * model: "EX4100-F-12P", * serial: "F00000000000", * unassigned: false, * vc: true, * vcMac: "485a0d000001", * siteId: "4a422ae5-7ca0-4599-87a3-8e49aa63685f", * }); * ``` */ export declare function getInventory(args: GetInventoryArgs, opts?: pulumi.InvokeOptions): Promise<GetInventoryResult>; /** * A collection of arguments for invoking getInventory. */ export interface GetInventoryArgs { /** * MAC address */ mac?: string; /** * Device model */ model?: string; orgId: string; /** * Device serial */ serial?: string; /** * Site id if assigned, null if not assigned */ siteId?: string; /** * enum: `ap`, `gateway`, `switch` */ type?: string; /** * To display Unassigned devices */ unassigned?: boolean; /** * To display Virtual Chassis members */ vc?: boolean; /** * Virtual Chassis MAC Address */ vcMac?: string; } /** * A collection of values returned by getInventory. */ export interface GetInventoryResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * MAC address */ readonly mac?: string; /** * Device model */ readonly model?: string; readonly orgId: string; readonly orgInventories: outputs.org.GetInventoryOrgInventory[]; /** * Device serial */ readonly serial?: string; /** * Site id if assigned, null if not assigned */ readonly siteId?: string; /** * enum: `ap`, `gateway`, `switch` */ readonly type?: string; /** * To display Unassigned devices */ readonly unassigned?: boolean; /** * To display Virtual Chassis members */ readonly vc?: boolean; /** * Virtual Chassis MAC Address */ readonly vcMac?: string; } /** * This data source provides the list of Devices in the Org inventory. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as junipermist from "@pulumi/juniper-mist"; * * const inventory = junipermist.org.getInventory({ * orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550", * mac: "485a0d000000", * model: "EX4100-F-12P", * serial: "F00000000000", * unassigned: false, * vc: true, * vcMac: "485a0d000001", * siteId: "4a422ae5-7ca0-4599-87a3-8e49aa63685f", * }); * ``` */ export declare function getInventoryOutput(args: GetInventoryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInventoryResult>; /** * A collection of arguments for invoking getInventory. */ export interface GetInventoryOutputArgs { /** * MAC address */ mac?: pulumi.Input<string>; /** * Device model */ model?: pulumi.Input<string>; orgId: pulumi.Input<string>; /** * Device serial */ serial?: pulumi.Input<string>; /** * Site id if assigned, null if not assigned */ siteId?: pulumi.Input<string>; /** * enum: `ap`, `gateway`, `switch` */ type?: pulumi.Input<string>; /** * To display Unassigned devices */ unassigned?: pulumi.Input<boolean>; /** * To display Virtual Chassis members */ vc?: pulumi.Input<boolean>; /** * Virtual Chassis MAC Address */ vcMac?: pulumi.Input<string>; }