UNPKG

@pulumi/sdwan

Version:

A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1

56 lines 1.71 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getDeviceOutput = exports.getDevice = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * 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", * }); * ``` */ function getDevice(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("sdwan:index/getDevice:getDevice", { "name": args.name, "serialNumber": args.serialNumber, }, opts); } exports.getDevice = getDevice; /** * 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", * }); * ``` */ function getDeviceOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("sdwan:index/getDevice:getDevice", { "name": args.name, "serialNumber": args.serialNumber, }, opts); } exports.getDeviceOutput = getDeviceOutput; //# sourceMappingURL=getDevice.js.map