def by_device_management_troubleshooting_event_id(self,device_management_troubleshooting_event_id: str) -> DeviceManagementTroubleshootingEventItemRequestBuilder:
        """
        Provides operations to manage the troubleshootingEvents property of the microsoft.graph.deviceManagement entity.
        param device_management_troubleshooting_event_id: The unique identifier of deviceManagementTroubleshootingEvent
        Returns: DeviceManagementTroubleshootingEventItemRequestBuilder
        """
        if device_management_troubleshooting_event_id is None:
            raise TypeError("device_management_troubleshooting_event_id cannot be null.")
        from .item.device_management_troubleshooting_event_item_request_builder import DeviceManagementTroubleshootingEventItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["deviceManagementTroubleshootingEvent%2Did"] = device_management_troubleshooting_event_id
        return DeviceManagementTroubleshootingEventItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the troubleshootingEvents property of the microsoft.graph.deviceManagement entity.
        param device_management_troubleshooting_event_id: The unique identifier of deviceManagementTroubleshootingEvent
        Returns: DeviceManagementTroubleshootingEventItemRequestBuilder
        
msgraph/generated/device_management/troubleshooting_events/troubleshooting_events_request_builder.py