getDevice

Retrieve information about a device.

Example Usage

variables:
example:
fn::invoke:
function: aws:networkmanager:getDevice
arguments:
globalNetworkIdId: ${globalNetworkId}
deviceId: ${deviceId}

Return

A collection of values returned by getDevice.

Parameters

argument

A collection of arguments for invoking getDevice.


suspend fun getDevice(deviceId: String, globalNetworkId: String, tags: Map<String, String>? = null): GetDeviceResult

Return

A collection of values returned by getDevice.

Parameters

deviceId

ID of the device.

globalNetworkId

ID of the global network.

tags

Key-value tags for the device.

See also


suspend fun getDevice(argument: suspend GetDevicePlainArgsBuilder.() -> Unit): GetDeviceResult

Return

A collection of values returned by getDevice.

Parameters

argument

Builder for com.pulumi.aws.networkmanager.kotlin.inputs.GetDevicePlainArgs.

See also