aws-native.networkmanager.getDevice
Explore with Pulumi AI
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:
- Device
Id string The ID of the device.
- Global
Network stringId The ID of the global network.
- Device
Id string The ID of the device.
- Global
Network stringId The ID of the global network.
- device
Id String The ID of the device.
- global
Network StringId The ID of the global network.
- device
Id string The ID of the device.
- global
Network stringId The ID of the global network.
- device_
id str The ID of the device.
- global_
network_ strid The ID of the global network.
- device
Id String The ID of the device.
- global
Network StringId The ID of the global network.
getDevice Result
The following output properties are available:
- Description string
The description of the device.
- Device
Arn string The Amazon Resource Name (ARN) of the device.
- Device
Id string The ID of the device.
- Location
Pulumi.
Aws Native. Network Manager. Outputs. Device Location The site location.
- Model string
The device model
- Serial
Number string The device serial number.
- Site
Id string The site ID.
- List<Pulumi.
Aws Native. Network Manager. Outputs. Device Tag> The tags for the device.
- Type string
The device type.
- Vendor string
The device vendor.
- Description string
The description of the device.
- Device
Arn string The Amazon Resource Name (ARN) of the device.
- Device
Id string The ID of the device.
- Location
Device
Location The site location.
- Model string
The device model
- Serial
Number string The device serial number.
- Site
Id string The site ID.
- []Device
Tag The tags for the device.
- Type string
The device type.
- Vendor string
The device vendor.
- description String
The description of the device.
- device
Arn String The Amazon Resource Name (ARN) of the device.
- device
Id String The ID of the device.
- location
Device
Location The site location.
- model String
The device model
- serial
Number String The device serial number.
- site
Id String The site ID.
- List<Device
Tag> The tags for the device.
- type String
The device type.
- vendor String
The device vendor.
- description string
The description of the device.
- device
Arn string The Amazon Resource Name (ARN) of the device.
- device
Id string The ID of the device.
- location
Device
Location The site location.
- model string
The device model
- serial
Number string The device serial number.
- site
Id string The site ID.
- Device
Tag[] 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
Device
Location The site location.
- model str
The device model
- serial_
number str The device serial number.
- site_
id str The site ID.
- Sequence[Device
Tag] The tags for the device.
- type str
The device type.
- vendor str
The device vendor.
- description String
The description of the device.
- device
Arn String The Amazon Resource Name (ARN) of the device.
- device
Id String The ID of the device.
- location Property Map
The site location.
- model String
The device model
- serial
Number String The device serial number.
- site
Id String The site ID.
- List<Property Map>
The tags for the device.
- type String
The device type.
- vendor String
The device vendor.
Supporting Types
DeviceLocation
DeviceTag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0