@pulumi/sdwan
Version:
A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1
82 lines (81 loc) • 2.02 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* This data source can read the Device .
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdwan from "@pulumi/sdwan";
*
* const example = sdwan.getDevice({
* serialNumber: "12B53B6E42654E01B98C77C347CE216E",
* name: "Controller01",
* });
* ```
*/
export declare function getDevice(args?: GetDeviceArgs, opts?: pulumi.InvokeOptions): Promise<GetDeviceResult>;
/**
* A collection of arguments for invoking getDevice.
*/
export interface GetDeviceArgs {
/**
* The hostname of a device
*/
name?: string;
/**
* Serial number for device. Could be board or virtual identifier
*/
serialNumber?: string;
}
/**
* A collection of values returned by getDevice.
*/
export interface GetDeviceResult {
/**
* List of returned devices
*/
readonly devices: outputs.GetDeviceDevice[];
/**
* The id of the object
*/
readonly id: string;
/**
* The hostname of a device
*/
readonly name?: string;
/**
* Serial number for device. Could be board or virtual identifier
*/
readonly serialNumber?: string;
}
/**
* This data source can read the Device .
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdwan from "@pulumi/sdwan";
*
* const example = sdwan.getDevice({
* serialNumber: "12B53B6E42654E01B98C77C347CE216E",
* name: "Controller01",
* });
* ```
*/
export declare function getDeviceOutput(args?: GetDeviceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDeviceResult>;
/**
* A collection of arguments for invoking getDevice.
*/
export interface GetDeviceOutputArgs {
/**
* The hostname of a device
*/
name?: pulumi.Input<string>;
/**
* Serial number for device. Could be board or virtual identifier
*/
serialNumber?: pulumi.Input<string>;
}