@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
22 lines • 907 B
TypeScript
import { ConnectedDeviceAddressSourceEnum } from './xdslModemConfig/ConnectedDeviceAddressSourceEnum';
import { Ip } from '../Ip';
/** Connected Device */
export interface ConnectedDevice {
/** The state of this device on the modem */
active: boolean;
/** How did the device got its IP address */
addressSource: ConnectedDeviceAddressSourceEnum;
/** Host name given by the device to the modem */
hostName: string;
/** The date time of the last update of thoses information */
informationDate: string;
/** On which interface is connected the device */
interfaceType: string;
/** The IP address of the device */
ipAddress: Ip;
/** The remaining time in seconds of the DHCP lease of this device (-1 means infinite) */
leaseTimeRemaining: number;
/** MAC address of the device */
macAddress: string;
}
//# sourceMappingURL=ConnectedDevice.d.ts.map