Module Class
The module identity on a device.
- Inheritance
-
Module
Constructor
Module(**kwargs)
Parameters
- managed_by
- str
Identifies who manages this module. For instance, this value is "IotEdge" if the edge runtime owns this module.
- generation_id
- str
The IoT Hub generated, case-sensitive string up to 128 characters long. This value is used to distinguish modules with the same moduleId, when they have been deleted and re-created.
- connection_state
- str or <xref:protocol.models.enum>
The connection state of the device. Possible values include: 'Disconnected', 'Connected'
- connection_state_updated_time
- datetime
The date and time the connection state was last updated.
- last_activity_time
- datetime
The date and time the device last connected, received, or sent a message.
- cloud_to_device_message_count
- int
The number of cloud-to-module messages currently queued to be sent to the module.
- authentication
- AuthenticationMechanism
The authentication mechanism used by the module when connecting to the service and edge hub.
Feedback
Submit and view feedback for