We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.networkmanager.getDevice
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
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)
public static Output<GetDeviceResult> getDevice(GetDeviceArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:networkmanager:getDevice
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DeviceId string
- The ID of the device.
- GlobalNetwork stringId 
- The ID of the global network.
- DeviceId string
- The ID of the device.
- GlobalNetwork stringId 
- The ID of the global network.
- deviceId String
- The ID of the device.
- globalNetwork StringId 
- The ID of the global network.
- deviceId string
- The ID of the device.
- globalNetwork stringId 
- The ID of the global network.
- device_id str
- The ID of the device.
- global_network_ strid 
- The ID of the global network.
- deviceId String
- The ID of the device.
- globalNetwork StringId 
- The ID of the global network.
getDevice Result
The following output properties are available:
- AwsLocation Pulumi.Aws Native. Network Manager. Outputs. Device Aws Location 
- The Amazon Web Services location of the device, if applicable.
- CreatedAt string
- The date and time that the device was created.
- 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.Aws Native. Network Manager. Outputs. Device Location 
- The site location.
- Model string
- The device model
- SerialNumber string
- The device serial number.
- SiteId string
- The site ID.
- State string
- The state of the device.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- The tags for the device.
- Type string
- The device type.
- Vendor string
- The device vendor.
- AwsLocation DeviceAws Location 
- The Amazon Web Services location of the device, if applicable.
- CreatedAt string
- The date and time that the device was created.
- 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.
- State string
- The state of the device.
- Tag
- The tags for the device.
- Type string
- The device type.
- Vendor string
- The device vendor.
- awsLocation DeviceAws Location 
- The Amazon Web Services location of the device, if applicable.
- createdAt String
- The date and time that the device was created.
- 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.
- state String
- The state of the device.
- List<Tag>
- The tags for the device.
- type String
- The device type.
- vendor String
- The device vendor.
- awsLocation DeviceAws Location 
- The Amazon Web Services location of the device, if applicable.
- createdAt string
- The date and time that the device was created.
- 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.
- state string
- The state of the device.
- Tag[]
- The tags for the device.
- type string
- The device type.
- vendor string
- The device vendor.
- aws_location DeviceAws Location 
- The Amazon Web Services location of the device, if applicable.
- created_at str
- The date and time that the device was created.
- 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.
- state str
- The state of the device.
- Sequence[root_Tag]
- The tags for the device.
- type str
- The device type.
- vendor str
- The device vendor.
- awsLocation Property Map
- The Amazon Web Services location of the device, if applicable.
- createdAt String
- The date and time that the device was created.
- 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.
- state String
- The state of the device.
- List<Property Map>
- The tags for the device.
- type String
- The device type.
- vendor String
- The device vendor.
Supporting Types
DeviceAwsLocation  
- subnet_arn str
- The Amazon Resource Name (ARN) of the subnet that the device is located in.
- zone str
- The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.
DeviceLocation 
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi