AWS Native

v0.29.0 published on Thursday, Sep 8, 2022 by Pulumi

getDevice

The AWS::NetworkManager::Device type describes a device.

Using getDevice

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDevice(args: GetDeviceArgs, opts?: InvokeOptions): Promise<GetDeviceResult>
function getDeviceOutput(args: GetDeviceOutputArgs, opts?: InvokeOptions): Output<GetDeviceResult>
def get_device(device_id: Optional[str] = None,
               global_network_id: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetDeviceResult
def get_device_output(device_id: Optional[pulumi.Input[str]] = None,
               global_network_id: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetDeviceResult]
func LookupDevice(ctx *Context, args *LookupDeviceArgs, opts ...InvokeOption) (*LookupDeviceResult, error)
func LookupDeviceOutput(ctx *Context, args *LookupDeviceOutputArgs, opts ...InvokeOption) LookupDeviceResultOutput

> Note: This function is named LookupDevice in the Go SDK.

public static class GetDevice 
{
    public static Task<GetDeviceResult> InvokeAsync(GetDeviceArgs args, InvokeOptions? opts = null)
    public static Output<GetDeviceResult> Invoke(GetDeviceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDeviceResult> getDevice(GetDeviceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:networkmanager:getDevice
  Arguments:
    # Arguments dictionary

The following arguments are supported:

DeviceId string

The ID of the device.

GlobalNetworkId string

The ID of the global network.

DeviceId string

The ID of the device.

GlobalNetworkId string

The ID of the global network.

deviceId String

The ID of the device.

globalNetworkId String

The ID of the global network.

deviceId string

The ID of the device.

globalNetworkId string

The ID of the global network.

device_id str

The ID of the device.

global_network_id str

The ID of the global network.

deviceId String

The ID of the device.

globalNetworkId String

The ID of the global network.

getDevice Result

The following output properties are available:

Description string

The description of the device.

DeviceArn string

The Amazon Resource Name (ARN) of the device.

DeviceId string

The ID of the device.

Location Pulumi.AwsNative.NetworkManager.Outputs.DeviceLocation

The site location.

Model string

The device model

SerialNumber string

The device serial number.

SiteId string

The site ID.

Tags List<Pulumi.AwsNative.NetworkManager.Outputs.DeviceTag>

The tags for the device.

Type string

The device type.

Vendor string

The device vendor.

Description string

The description of the device.

DeviceArn string

The Amazon Resource Name (ARN) of the device.

DeviceId string

The ID of the device.

Location DeviceLocation

The site location.

Model string

The device model

SerialNumber string

The device serial number.

SiteId string

The site ID.

Tags []DeviceTag

The tags for the device.

Type string

The device type.

Vendor string

The device vendor.

description String

The description of the device.

deviceArn String

The Amazon Resource Name (ARN) of the device.

deviceId String

The ID of the device.

location DeviceLocation

The site location.

model String

The device model

serialNumber String

The device serial number.

siteId String

The site ID.

tags List<DeviceTag>

The tags for the device.

type String

The device type.

vendor String

The device vendor.

description string

The description of the device.

deviceArn string

The Amazon Resource Name (ARN) of the device.

deviceId string

The ID of the device.

location DeviceLocation

The site location.

model string

The device model

serialNumber string

The device serial number.

siteId string

The site ID.

tags DeviceTag[]

The tags for the device.

type string

The device type.

vendor string

The device vendor.

description str

The description of the device.

device_arn str

The Amazon Resource Name (ARN) of the device.

device_id str

The ID of the device.

location DeviceLocation

The site location.

model str

The device model

serial_number str

The device serial number.

site_id str

The site ID.

tags Sequence[DeviceTag]

The tags for the device.

type str

The device type.

vendor str

The device vendor.

description String

The description of the device.

deviceArn String

The Amazon Resource Name (ARN) of the device.

deviceId String

The ID of the device.

location Property Map

The site location.

model String

The device model

serialNumber String

The device serial number.

siteId String

The site ID.

tags List<Property Map>

The tags for the device.

type String

The device type.

vendor String

The device vendor.

Supporting Types

DeviceLocation

Address string

The physical address.

Latitude string

The latitude.

Longitude string

The longitude.

Address string

The physical address.

Latitude string

The latitude.

Longitude string

The longitude.

address String

The physical address.

latitude String

The latitude.

longitude String

The longitude.

address string

The physical address.

latitude string

The latitude.

longitude string

The longitude.

address str

The physical address.

latitude str

The latitude.

longitude str

The longitude.

address String

The physical address.

latitude String

The latitude.

longitude String

The longitude.

DeviceTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0