UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

56 lines 1.79 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"); /** * Provides details about an existing Network Manager device. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.networkmanager.getDevice({ * globalNetworkId: globalNetworkId, * deviceId: deviceId, * }); * ``` */ function getDevice(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:networkmanager/getDevice:getDevice", { "deviceId": args.deviceId, "globalNetworkId": args.globalNetworkId, "tags": args.tags, }, opts); } exports.getDevice = getDevice; /** * Provides details about an existing Network Manager device. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.networkmanager.getDevice({ * globalNetworkId: globalNetworkId, * deviceId: deviceId, * }); * ``` */ function getDeviceOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:networkmanager/getDevice:getDevice", { "deviceId": args.deviceId, "globalNetworkId": args.globalNetworkId, "tags": args.tags, }, opts); } exports.getDeviceOutput = getDeviceOutput; //# sourceMappingURL=getDevice.js.map