AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.networkmanager.getDevice
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 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:
- 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:
- Aws
Location Pulumi.Aws Native. Network Manager. Outputs. Device Aws Location - The Amazon Web Services location of the device, if applicable.
- Created
At string - The date and time that the device was created.
- 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.
- 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.
- Aws
Location DeviceAws Location - The Amazon Web Services location of the device, if applicable.
- Created
At string - The date and time that the device was created.
- 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.
- 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 String - The date and time that the device was created.
- 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.
- state String
- The state of the device.
- List<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 string - The date and time that the device was created.
- 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.
- 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
Device
Location - 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.
- aws
Location Property Map - The Amazon Web Services location of the device, if applicable.
- created
At String - The date and time that the device was created.
- 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.
- 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
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi