describe_device
(**kwargs)¶Returns information about a device.
See also: AWS API Documentation
Request Syntax
response = client.describe_device(
DeviceId='string'
)
[REQUIRED]
The device's ID.
{
'AlternateSoftwares': [
{
'Version': 'string'
},
],
'Arn': 'string',
'Brand': 'AWS_PANORAMA'|'LENOVO',
'CreatedTime': datetime(2015, 1, 1),
'CurrentNetworkingStatus': {
'Ethernet0Status': {
'ConnectionStatus': 'CONNECTED'|'NOT_CONNECTED'|'CONNECTING',
'HwAddress': 'string',
'IpAddress': 'string'
},
'Ethernet1Status': {
'ConnectionStatus': 'CONNECTED'|'NOT_CONNECTED'|'CONNECTING',
'HwAddress': 'string',
'IpAddress': 'string'
},
'LastUpdatedTime': datetime(2015, 1, 1),
'NtpStatus': {
'ConnectionStatus': 'CONNECTED'|'NOT_CONNECTED'|'CONNECTING',
'IpAddress': 'string',
'NtpServerName': 'string'
}
},
'CurrentSoftware': 'string',
'Description': 'string',
'DeviceAggregatedStatus': 'ERROR'|'AWAITING_PROVISIONING'|'PENDING'|'FAILED'|'DELETING'|'ONLINE'|'OFFLINE'|'LEASE_EXPIRED'|'UPDATE_NEEDED'|'REBOOTING',
'DeviceConnectionStatus': 'ONLINE'|'OFFLINE'|'AWAITING_CREDENTIALS'|'NOT_AVAILABLE'|'ERROR',
'DeviceId': 'string',
'LatestAlternateSoftware': 'string',
'LatestDeviceJob': {
'ImageVersion': 'string',
'JobType': 'OTA'|'REBOOT',
'Status': 'PENDING'|'IN_PROGRESS'|'VERIFYING'|'REBOOTING'|'DOWNLOADING'|'COMPLETED'|'FAILED'
},
'LatestSoftware': 'string',
'LeaseExpirationTime': datetime(2015, 1, 1),
'Name': 'string',
'NetworkingConfiguration': {
'Ethernet0': {
'ConnectionType': 'STATIC_IP'|'DHCP',
'StaticIpConnectionInfo': {
'DefaultGateway': 'string',
'Dns': [
'string',
],
'IpAddress': 'string',
'Mask': 'string'
}
},
'Ethernet1': {
'ConnectionType': 'STATIC_IP'|'DHCP',
'StaticIpConnectionInfo': {
'DefaultGateway': 'string',
'Dns': [
'string',
],
'IpAddress': 'string',
'Mask': 'string'
}
},
'Ntp': {
'NtpServers': [
'string',
]
}
},
'ProvisioningStatus': 'AWAITING_PROVISIONING'|'PENDING'|'SUCCEEDED'|'FAILED'|'ERROR'|'DELETING',
'SerialNumber': 'string',
'Tags': {
'string': 'string'
},
'Type': 'PANORAMA_APPLIANCE_DEVELOPER_KIT'|'PANORAMA_APPLIANCE'
}
Response Structure
Beta software releases available for the device.
Details about a beta appliance software update.
The appliance software version.
The device's ARN.
The device's maker.
When the device was created.
The device's networking status.
The status of Ethernet port 0.
The device's connection status.
The device's physical address.
The device's IP address.
The status of Ethernet port 1.
The device's connection status.
The device's physical address.
The device's IP address.
When the network status changed.
Details about a network time protocol (NTP) server connection.
The connection's status.
The IP address of the server.
The domain name of the server.
The device's current software version.
The device's description.
A device's aggregated status. Including the device's connection status, provisioning status, and lease status.
The device's connection status.
The device's ID.
The most recent beta software release.
A device's latest job. Includes the target image version, and the job status.
The target version of the device software.
The job's type.
Status of the latest device job.
The latest software version available for the device.
The device's lease expiration time.
The device's name.
The device's networking configuration.
Settings for Ethernet port 0.
How the device gets an IP address.
Network configuration for a static IP connection.
The connection's default gateway.
The connection's DNS address.
The connection's IP address.
The connection's DNS mask.
Settings for Ethernet port 1.
How the device gets an IP address.
Network configuration for a static IP connection.
The connection's default gateway.
The connection's DNS address.
The connection's IP address.
The connection's DNS mask.
Network time protocol (NTP) server settings.
NTP servers to use, in order of preference.
The device's provisioning status.
The device's serial number.
The device's tags.
The device's type.
Exceptions
Panorama.Client.exceptions.ValidationException
Panorama.Client.exceptions.AccessDeniedException
Panorama.Client.exceptions.ResourceNotFoundException
Panorama.Client.exceptions.InternalServerException