1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. networkmanager
  5. getDevice

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.networkmanager.getDevice

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 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)
    // 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:

    AwsLocation Pulumi.AwsNative.NetworkManager.Outputs.DeviceAwsLocation
    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.AwsNative.NetworkManager.Outputs.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.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the device.
    Type string
    The device type.
    Vendor string
    The device vendor.
    AwsLocation DeviceAwsLocation
    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.
    Tags Tag
    The tags for the device.
    Type string
    The device type.
    Vendor string
    The device vendor.
    awsLocation DeviceAwsLocation
    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.
    tags List<Tag>
    The tags for the device.
    type String
    The device type.
    vendor String
    The device vendor.
    awsLocation DeviceAwsLocation
    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.
    tags Tag[]
    The tags for the device.
    type string
    The device type.
    vendor string
    The device vendor.
    aws_location DeviceAwsLocation
    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.
    tags 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.
    tags List<Property Map>
    The tags for the device.
    type String
    The device type.
    vendor String
    The device vendor.

    Supporting Types

    DeviceAwsLocation

    SubnetArn string
    The Amazon Resource Name (ARN) of the subnet that the device is located in.
    Zone string
    The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.
    SubnetArn string
    The Amazon Resource Name (ARN) of the subnet that the device is located in.
    Zone string
    The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.
    subnetArn String
    The Amazon Resource Name (ARN) of the subnet that the device is located in.
    zone String
    The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.
    subnetArn string
    The Amazon Resource Name (ARN) of the subnet that the device is located in.
    zone string
    The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.
    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.
    subnetArn String
    The Amazon Resource Name (ARN) of the subnet that the device is located in.
    zone String
    The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

    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.

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi